[Rails] Re: Migration: updating a column

2010-07-29 Thread Ar Chron
Have you tried change_column in a migration? http://api.rubyonrails.org/classes/ActiveRecord/Migration.html -- Posted via http://www.ruby-forum.com/. -- 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

[Rails] Re: Migration: updating a column

2010-07-29 Thread Eric Yen
Thanks. I was under the impression that change_column was only for renaming. On Jul 29, 9:19 am, Ar Chron li...@ruby-forum.com wrote: Have you tried change_column in a migration? http://api.rubyonrails.org/classes/ActiveRecord/Migration.html -- Posted viahttp://www.ruby-forum.com/. --

Re: [Rails] Re: Migration: updating a column

2010-07-29 Thread Colin Law
On 29 July 2010 15:42, Eric Yen e...@ericyen.com wrote: Thanks. I was under the impression that change_column was only for renaming. Please don't top post on this list. Thanks. rename_column is for renaming, change_column is for changing the attributes of the col. Column On Jul 29, 9:19