Rick R wrote in post #966751:
> I'm curious on the best practice to remedy this situation...
>
> I created a habtm migration but forgot the :id => false
>
> I ran the migration (rake db:migrate)
>
> I tried to run my tests and then go the error that made me realize I
> forgot
> the :id => false.
>
> The question is how do I back out my changes?

rake db:rollback (assuming you wrote your down method correctly in the 
migration!).
>

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