You could refer the edge guides: http://edgeguides.rubyonrails.org/migrations.html#migrations-and-seed-data
On Sun, Apr 21, 2013 at 4:56 PM, Wins Lin <li...@ruby-forum.com> wrote: > There is no any mention about it neither in API nor in Guide. How to use > these features? The only gist with two sentences is in db/seed.rb file. > That's really not enough. > > -- > 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 unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-talk+unsubscr...@googlegroups.com. > To post to this group, send email to rubyonrails-talk@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.