Class: Property::AttributeError
- Inherits:
-
ActiveRecord::Error
- Object
- ActiveRecord::Error
- Property::AttributeError
- Defined in:
- lib/property/properties.rb
Instance Method Summary collapse
- #default_options ⇒ Object
-
#value ⇒ Object
SECURITY: MAKE SURE WE DO NOT SEND.
Instance Method Details
#default_options ⇒ Object
3 4 5 6 7 |
# File 'lib/property/properties.rb', line 3 def .reverse_merge :scope => [:activerecord, :errors], :model => @base.class.human_name, :attribute => @base.class.human_attribute_name(attribute.to_s) end |
#value ⇒ Object
SECURITY: MAKE SURE WE DO NOT SEND. Value is already in ‘options’.
11 12 13 |
# File 'lib/property/properties.rb', line 11 def value nil end |