I\'ve read a lot of potsts like this, but all the solutions I\'ve seen are in the nomenclature of the models, naming and Rails convention.
Now I have this problem wh
I ran into my own error again !!, when executing rake test
, but in this case thanks to cedricdlb I've found here the solution, quite simply:
rake db:test:prepare
rake db:test:load
I have the same problem and I found that in my migrations I don't have table names in plural form:
For example:
class CreatePosts ActiveRecord::Migration
def change
create_table :posts do |t|
t.string :source
t.string :destination
t.datetime :time
t.timestamps
end
end
end
I have create_table :post
, but when I change it to create_table :posts
.
It start working!!!!