Migration generator fails on habtm relationships
Reported by Andrew Bloomgarden | February 21st, 2011 @ 04:18 AM
The migration generator doesn't work for habtm relationships,
because it tries to call #table_exists?
on
HabtmModelShim
. That method does not exist, so the
generator fails.
Comments and changes to this ticket
-
Andrew Bloomgarden February 21st, 2011 @ 04:28 AM
I wrote a patch for this. Here's the pull request:
-
Tom Locke March 10th, 2011 @ 11:11 PM
- State changed from new to resolved
(from [f229d4a702cb22976de7c39a4f641e3599f3787c]) Fix migration generator for habtm relationships.
The generator tried to call #table_exists? on the
HabtmModelShim, which didn't exist. This adds the
method. [#921 state:resolved]
https://github.com/tablatom/hobo/commit/f229d4a702cb22976de7c39a4f6...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
People watching this ticket
Referenced by
- 921 Migration generator fails on habtm relationships The generator tried to call #table_exists? on the HabtmMo...