mhuggins / multiple_table_inheritance

Multiple Table Inheritance is a plugin designed to allow for multiple table inheritance between your database tables and your ActiveRecord models.
30 stars 4 forks source link

Migrations can't run when database tables don't exist #1

Closed mhuggins closed 12 years ago

mhuggins commented 12 years ago

If a model inherits_from another model before either model's table exists, the rake command will exit before the migrations can run. This is caused by the call to inherits_from attempting to retrieve each model's column_names prior to them being available.

mhuggins commented 12 years ago

Fixed in commit 5f4ece9fa2ef7c4b4e8a3461607b3a3122534d70.