Displaying 1 result from an estimated 1 matches for "find_by_nom".
Did you mean:
find_by_name
2008 Jul 08
0
Bug with serialized columns in console ?
...lem in my controller and my application and everything works as
expected : Excel exports following the "visa" Hash or "appli" Array
are ok.
But since I added the visa Hash, I can''t load the record with such a
serialized column in the console window :
>> s=Server.find_by_nom "a_server"
ActiveRecord::SerializationTypeMismatch: visa was supposed to be a
Hash, but was a String
from D:/InstantRails-2.0-win/ruby/lib/ruby/gems/1.8/gems/
activerecord-2.0.2/lib/active_record/attribute_methods.rb:244:i
n `unserialize_attribute''
from D:/Instant...