I have a strange problem in rails. Whenever I create a new record via scaffold forms for any table I always get a error saying (the table name changes but the ID is always 19):
Couldn’t find AreaGroup with ID=19
or
Couldn’t find Area with ID=19
It seems that when the controller calls save the object always get’s the same ID which is 19. I have removed all javascripts and associations and restarted the rails server but without any luck. Does anybody have a clue what can be causing this?
p.s. I’m using tiny_tds agains SQL Server.
From the TinyTDS Wiki: