Displaying 2 results from an estimated 2 matches for "measurement_error".
2006 Jan 11
1
HELP!! - ActiveRecord derivates in AWS :expects method
...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"
CLASSIFICATION_APPLICATION = "Application"
CLASSIFICATION_WORKFLOW = "Workflow"
# Validation part
validates_presence_of :name, :genI...
2006 Jan 05
3
ActiveRecord model classes not allowed in :expects
...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"
CLASSIFICATION_APPLICATION = "Application"
CLASSIFICATION_WORKFLOW = "Workflow"
# Validation part
validates_presence_of :name, :genI...