googlesnet
googlesnet

Reputation: 95

Migration ran successfully but model not updated

I have faced an interesting case. What happened is that i recently switched to data_migrate gem for running migrations in my rails project. In my local system, everything works swiftly. On running migration the schema is updated successfully and the model has also reflected changes as per the migration.

Also in my dev server, everything goes smoothly; migrations are run correctly and the schema is also updated as per the migration. However, in the model, the fields which were supposed to be introduced via migration don't show up in the model. Also checked the status of the migration, i can see the migration being listed.

Possible duplicate of this question but the answer accepted by the OP doesn't help in my case. Any help is highly appreciated!!

Upvotes: 0

Views: 518

Answers (0)

Related Questions