-
Notifications
You must be signed in to change notification settings - Fork 8
schema.rb vs. migrations #2
Comments
It's possibly slower to run, especially when you have lots of migrations, compared to one schema loading. If your migrations are broken, you obviously can't use them (which is the case, if you didn't keep them consistent). |
To solve the this run Create Spring.after_fork do
MemoryTestFix::SchemaLoader.init_schema
end |
@mvz Yes, not sure why it ended up here :-) |
@ashes999 some reasons for using TL;DR: Use the default unless there's a clear reason not to. You can always switch later. |
I moved this Q&A to the Wiki. |
Hi,
The docs mention that you can specify
migrate: true
to use migrations instead of the pre-generatedschema.rb
.I'm a bit new to Rails (again). What's the trade-off here? How would I know which one to choose?
The text was updated successfully, but these errors were encountered: