class Property::AttributeError

Public Instance Methods

default_options() click to toggle source
# File lib/property/properties.rb, line 3
def default_options
  options.reverse_merge :scope => [:activerecord, :errors],
                        :model => @base.class.human_name,
                        :attribute => @base.class.human_attribute_name(attribute.to_s)
end
value() click to toggle source

SECURITY: MAKE SURE WE DO NOT SEND. Value is already in ‘options’.

# File lib/property/properties.rb, line 11
def value
  nil
end