in lib/generators/aws_record/base.rb [45:66]
def parse_attributes!
self.attributes = (attributes || []).map do |attr|
begin
GeneratedAttribute.parse(attr)
rescue ArgumentError => e
@parse_errors << e
next
end
end
self.attributes = self.attributes.compact
if options['password_digest']
self.attributes << GeneratedAttribute.new("password_digest", :string_attr, :digest => true)
end
if options['timestamps']
self.attributes << GeneratedAttribute.parse("created:datetime:default_value{Time.now}")
self.attributes << GeneratedAttribute.parse("updated:datetime:default_value{Time.now}")
end
end