Displaying 2 results from an estimated 2 matches for "classification_application".
2006 Jan 11
1
HELP!! - ActiveRecord derivates in AWS :expects method
...=>
: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 must be unique"
validates_inclusion_of :cl...
2006 Jan 05
3
ActiveRecord model classes not allowed in :expects
...=>
: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 must be unique"
validates_inclusion_of :cl...