Open benzelano opened 13 years ago
Erik Dahlstrand opened this issue
When going from 0.4.1 to 0.4.2 I get
@@@ ruby .rvm/gems/ree-1.8.7-2010.01/gems/activesupport-2.3.5/lib/active_support/whiny_nil.rb:52:in method_missing’: undefined methodtype_cast’ for nil:NilClass (NoMethodError) .rvm/gems/ree-1.8.7-2010.01/gems/preferences-0.4.2/lib/preferences.rb:321:in preferences’ .rvm/gems/ree-1.8.7-2010.01/gems/activerecord-2.3.5/lib/active_record/base.rb:2197:ininject’ .rvm/gems/ree-1.8.7-2010.01/gems/preferences-0.4.2/lib/preferences.rb:320:in each’ .rvm/gems/ree-1.8.7-2010.01/gems/preferences-0.4.2/lib/preferences.rb:320:ininject’ .rvm/gems/ree-1.8.7-2010.01/gems/preferences-0.4.2/lib/preferences.rb:320:in `preferences’ @@@
method_missing’: undefined method
preferences’ .rvm/gems/ree-1.8.7-2010.01/gems/activerecord-2.3.5/lib/active_record/base.rb:2197:in
each’ .rvm/gems/ree-1.8.7-2010.01/gems/preferences-0.4.2/lib/preferences.rb:320:in
when starting the web server.
original LH ticket
This ticket has 0 attachment(s).
Erik Dahlstrand commented
I finally found the problem. If you remove a preference from the model but don’t remove the corresponding row in the database you get this error.
Erik Dahlstrand opened this issue
When going from 0.4.1 to 0.4.2 I get
@@@ ruby .rvm/gems/ree-1.8.7-2010.01/gems/activesupport-2.3.5/lib/active_support/whiny_nil.rb:52:in
method_missing’: undefined method
type_cast’ for nil:NilClass (NoMethodError) .rvm/gems/ree-1.8.7-2010.01/gems/preferences-0.4.2/lib/preferences.rb:321:inpreferences’ .rvm/gems/ree-1.8.7-2010.01/gems/activerecord-2.3.5/lib/active_record/base.rb:2197:in
inject’ .rvm/gems/ree-1.8.7-2010.01/gems/preferences-0.4.2/lib/preferences.rb:320:ineach’ .rvm/gems/ree-1.8.7-2010.01/gems/preferences-0.4.2/lib/preferences.rb:320:in
inject’ .rvm/gems/ree-1.8.7-2010.01/gems/preferences-0.4.2/lib/preferences.rb:320:in `preferences’ @@@when starting the web server.
original LH ticket
This ticket has 0 attachment(s).