Sha256: 60957447ee720ec184817225b853ad65062b28d0b89652a639bd7ccff20bf758
Contents?: true
Size: 437 Bytes
Versions: 13
Compression:
Stored size: 437 Bytes
Contents
class Profile # Required dependency for ActiveModel::Errors extend ActiveModel::Naming def initialize @errors = ActiveModel::Errors.new(self) end attr_reader :errors # The following methods are needed to be minimally implemented def read_attribute_for_validation(attr) send(attr) end def Profile.human_attribute_name(attr, options = {}) attr end def Profile.lookup_ancestors [self] end end
Version data entries
13 entries across 13 versions & 1 rubygems