Hi, I''ve submitted a patch to add new features to migration generator - http://dev.rubyonrails.org/ticket/9166 It removes the previous functionality of auto generating migrations, which generated migration that looked like : add_column :accounts, :ssl_flag, :type, :null => :no?, :default => :maybe? I didn''t really find this useful as you will have to manually edit the migration file in all the cases anyways. With this patch, it enables you to directly run the migration in common cases. So now when you do : script/generate migration AddMoreToPost title:string body:text It generates : class AddMoreToPost < ActiveRecord::Migration def self.up add_column :posts, :title, :string add_column :posts, :body, :text end def self.down remove_column :posts, :body remove_column :posts, :title end end -- Cheers! - Pratik http://m.onkey.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrails-core@googlegroups.com To unsubscribe from this group, send email to rubyonrails-core-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en -~----------~----~----~----~------~----~------~--~---