Displaying 2 results from an estimated 2 matches for "classification_bean".
2006 Jan 11
1
HELP!! - ActiveRecord derivates in AWS :expects method
...asurand => 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, :genId, :classification
validates_uniqueness_of :genId,
:message => "The GenID mu...
2006 Jan 05
3
ActiveRecord model classes not allowed in :expects
...surand => 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, :genId, :classification
validates_uniqueness_of :genId,
:message => "The GenID mu...