Rob Biedenharn wrote in post #969093:
> On Dec 17, 2010, at 10:58 AM, Marnen Laibow-Koser wrote:
>
>>>>> production?
>>
>> In other words, don't edit this file manually; let the schema dumper
>>
>>> approach (the more migrations
>>> # you'll amass, the slower it'll run and the greater likelihood for
>>> issues).
>>
>> That is correct.
>
> *BUT* if your migrations do anything that doesn't get captured into db/
> schema.rb, then you need to either use :sql for the dump (db/
> schema.sql) or you *DO* want to run all the migrations to initialize.

That's correct.  That's why it's vitally important to not write 
migrations in such a way that the schema dumper can't capture them 
(plugins such as Foreigner are a big help in this respect).

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to