search for: learning_abls_id

Displaying 1 result from an estimated 1 matches for "learning_abls_id".

2007 Jun 30
1
HABTM ReadOnlyRecord
Hi. I get this error: ** ActiveRecord::ReadOnlyRecord ** When i try to update a table called characters_learning_abls that is a habtm relation between characters and learning_abls. The characters_learning_abls table looks like this: ** character_id int(11) unsigned learning_abls_id int(11) unsigned amount double ** Why cant i update this table though the ** Character.find(charId).learning_abls.find(ablId).update_attributes({:amount => 10}) ** Best regards, Emil -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You receive...