Displaying 1 result from an estimated 1 matches for "serializit".
Did you mean:
serialize
2006 Jan 05
3
ActiveRecord model classes not allowed in :expects
Hi,
I have a strange problem while using WebService API which expects an
ActiveRecord derivate.
This is the code of the API ...
------
class HarvesterApi < ActionWebService::API::Base
api_method :send_measurand,
:expects => [{:measurand => Measurand}, {:eaiSystemName =>
:string}]
end
------
... and this of my Model
------
class Measurand < ActiveRecord::Base