Skip to content

Commit

Permalink
add the fact that using reset_column_information can fix the problem
Browse files Browse the repository at this point in the history
  • Loading branch information
lulalala committed Jul 3, 2012
1 parent 12d04f2 commit 5abee72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ As a comparison, do the following:

5. rake db:rollback STEP=3

6. Change just_lookup.rb to be an empty migration
6. Change just_lookup.rb to be an empty migration OR add Item.reset_column_information at the end of that migration

7. rake db:migrate

You would now see that the mode column is filled with values.

This shows just_lookup.rb should be related to the bug
This shows just_lookup.rb should be related to the bug, and reset_column_information is not called for every migrations.

0 comments on commit 5abee72

Please sign in to comment.