rubyonrailsin

A Ruby and Rails talk

Friday, March 19, 2010


[Rails] Re: selective migrations possible?

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

> I prefer to keep one migration per model
It's a bad an unmaintainable idea. I did that when I was a beginner in
RoR.

Simply create migrations to add/remove columns to existing tables. When
you have too many migration files, simply remove them. The whole schema
is saved in schema.rb
--
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 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

Subscribe feeds via e-mail

Blog Archive