mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
a1d2f69377
This is an attempt to address issue #6939, where an earlier migration added a column to the database, and a later migration uses a model and references that column. When both migrations were run together with `rake db:migrate` the column information in memory still referenced the old table structure. Running the migrations separately fixed this, as a new connection was then established before referencing the model. Explicitly calling `reset_column_information` is a more reliable workaround. |
||
---|---|---|
.. | ||
assets | ||
code/getting_started | ||
rails_guides | ||
source | ||
CHANGELOG.md | ||
rails_guides.rb | ||
Rakefile | ||
w3c_validator.rb |