We just added a couple of observers to our Rails application. Now, when running migrations from scratch we get an error saying that a table doesn't exist (duh, we haven't migrated yet). The error is thrown because a plugin in a model is being loaded that asks for column_names.
I am assuming that the observers are causing the models to be loaded because when we comment out the observers line in application.rb, the error is not thrown.
How do I run migrations without loading observers and models?
or
How do I ask for the column_names in my plugin in a way that won't throw an error when running migrations?