Displaying 1 result from an estimated 1 matches for "delivery_locations_controller".
2007 Mar 26
5
Session trouble
...get the error
You have a nil object when you didn''t expect it!
The error occurred while evaluating nil.klass
/association_proxy.rb:147:in `raise_on_type_mismatch''
/associations/has_one_association.rb:44:in `replace''
/associations.rb:900:in `delivery_location=''
/delivery_locations_controller.rb:21:in `create''
my Order model has_one :delivery_location
my DeliveryLocation model belongs_to :order
Any suggestions would be awesome.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribe...