Ruby on Rails Tuesday, June 26, 2012

Hi,


I want to make a particular existing column unique. I have to same name column in 4 tables. I have created a new migration but not sure what to write inside 

def up
     ...........
     ...........
end


I am using rails 3.2.1. Please help.

--
Regards
Ritesh Ranjan
iPhone Developer & Designer

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment