README.md in clean_model-0.0.2 vs README.md in clean_model-0.0.3

- old
+ new

@@ -38,9 +38,22 @@ person.assign_attributes first_name: 'Jorge' person.attributes -> {first_name: 'Jorge', last_name: 'Doe'} +### Defaults + + class Person + include CleanModel::Base + + attribute :first_name, default: 'John' + attribute :last_name + end + + person = Person.new + person.first_name -> 'John' + person.last_name -> nil + ### Active Model validations class Person include CleanModel::Base