On 2008-10-17, at 14:46, Rasmus Rasmussen wrote:
I'm sorry if this is posted in wrong forum. I am new to all of this with
rails and rspec.

Something got messed up when I changed a table's name from 'works' to
'work_periods'. Now the fixture:load thing does not work. Obviously the
old table is still in there in some file.

Anyone have any idea on where to find that file? Where does rspec read
all tables when it deletes table-entries?


rake db:fixtures:load

rake aborted!
Mysql::Error: #42S02Table 'db_development.works' doesn't exist: DELETE FROM works


Hi Rasmus. Have you grepped through your application for "works", and looked for all files named "*works*"? Eg:

$ grep -rni 'works' /path/to/app/
$ find /path/to/app/ -iname '*works*'

Hope that helps,
Nick
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to