jeudi 19 mars 2015

Undefined method for SchemaPlus when migrating

When I run rake db:migrate, every time I get this error:



undefined method `from_table' for #<SchemaPlus::ActiveRecord::ConnectionAdapters::ForeignKeyDefinition:0x0000000820d6d8>


It's not a huge problem because the migration is always ok after that. But I would like to fix this.


So, I checked SchemaPlus (foreign_key_definition.rb) code an I could see that there are a lot of from_table calls.


Link to the code: http://ift.tt/1BZNrZA


The project is using schema_plus (1.1.2) and rails (3.2.2)


Is this any dependency or conflict that can be solved?


Aucun commentaire:

Enregistrer un commentaire