Displaying 2 results from an estimated 2 matches for "eaisystemname".
2006 Jan 11
1
HELP!! - ActiveRecord derivates in AWS :expects method
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
belongs_to :eai_system
belongs_to :measurement_error
acts_as_tree :order => "genId"
# Constants for validation of measurand scope
CLASSIFICATION_BEAN = "Bean"...
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
belongs_to :eai_system
belongs_to :measurement_error
acts_as_tree :order => "genId"
# Constants for validation of measurand scope
CLASSIFICATION_BEAN = "Bean"...