Displaying 1 result from an estimated 1 matches for "fakeplatform".
2011 Oct 06
5
Simple ActiveRecord serialise problem
...SON
end
Creating a new instance of the class gives an error:
> f = Foo.new
NoMethodError: undefined method `read'' for nil:NilClass
from /Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.0/lib/active_support/whiny_nil.rb:48:in `method_missing''
from /Users/andy/Code/FakePlatform/vendor/gems/Darwin/gems/json-1.4.6/lib/json/common.rb:286:in `load''
from /Users/andy/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-3.1.0/lib/active_record/base.rb:1938:in `block in set_serialized_attributes''
Does anyone have any ideas how to fix this?
It should work (it''...