Closed esad closed 13 years ago
Currently, if we have the following model
class Person extend Ambry::Model field :email, :name end
when initialized with following yaml data
foo@bar.com: name: Foo
the "email" field won't be set, but is needed to be explicitly present:
foo@bar.com: name: Foo email: foo@bar.com
Yeah, makes sense. Having to specify the key twice is definitely annoying and unnecessary.
Pulled.
Currently, if we have the following model
when initialized with following yaml data
the "email" field won't be set, but is needed to be explicitly present: