Database error when deleting entry in my rails app.

Posted by Danny McClelland on Stack Overflow See other posts from Stack Overflow or by Danny McClelland
Published on 2010-04-28T11:21:23Z Indexed on 2010/04/28 11:43 UTC
Read the original article Hit count: 262

Filed under:
|

Hi Everyone...again!

I have almost everything in my Rails app working, with the exception of detroying entries. I can destroy entries for companies but not kases and people. The following error show when trying to do so:

SQLite3::SQLException: no such column: kases_people.kase_id: SELECT * FROM "kases"  INNER JOIN "kases_people" ON "kases".id = "kases_people".kase_id WHERE ("kases_people".person_id = 5 ) 

I suspect this is an error with the party model for the has_many :through associations that I dont fully understand.

You can find an up to date version of the app at www.github.com/dannyweb/surveycontrol

Thanks,

Danny

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about database