Displaying 1 result from an estimated 1 matches for "devicecategory".
Did you mean:
device_category
2006 May 09
2
Problem creating new record
...n in device_categories model. I also add a device
category drop-down box on create page to select required category for
device. Now when I try to create a new device records from front-end I
get the following error message:
ActiveRecord::AssociationTypeMismatch in Device#create
DeviceCategory expected, got String
/app/controllers/device_controller.rb:21:in `create''
script/server:51
Request
Parameters: {"device"=>{"name"=>"asdfsa",
"description"=>"dfasdfasdf", "device_category&quo...