This project is archived and is in readonly mode.

#439 ✓invalid
humbertop

Problem with table names at running tests

Reported by humbertop | June 17th, 2008 @ 06:02 PM

I'm trying to run some tests but I got this error:

ActiveRecord::StatementInvalid: Mysql::Error: Table 'shastic_test.privacy' doesn't exist: DELETE FROM `privacy`

The problem is that I have a table called privacies but I don't have any table called privacy on my database test scheme and I don't know where this table name is comming from.

I have compared my testing database scheme against my testing database scheme and I have not found any difference.

Have anyone had this kind of problem before?

Comments and changes to this ticket

  • Jeremy Kemper

    Jeremy Kemper June 17th, 2008 @ 06:19 PM

    • State changed from “new” to “invalid”
    • Milestone cleared.

    This is a ticket tracker for Rails development, not a support forum. Please see the rubyonrails-talk mailing list or the #rubyonrails IRC channel.

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Pages