how to add unique to a table column in ruby on rails

Posted by ohana on Stack Overflow See other posts from Stack Overflow or by ohana
Published on 2010-05-13T20:19:03Z Indexed on 2010/05/13 20:24 UTC
Read the original article Hit count: 218

Filed under:

hi, I have a table with some columns, now i need to modify one column to make it unique(no duplicate values), how can i do that in ruby on rails?

© Stack Overflow or respective owner

Related posts about ruby-on-rails