README.md in defaults-1.0.0 vs README.md in defaults-1.0.1

- old
+ new

@@ -8,10 +8,15 @@ Just run `gem install defaults`. ## Usage +Here are the rules: + +1. Assigned attributes have precedence over default values +2. Default values have precedence over database defaults + Add the method call `defaults` to your model. ```ruby class Page < ActiveRecord::Base defaults title: "New page", body: "Put your text here" @@ -38,10 +43,10 @@ Page.default_options = {title: "Here's your new page", body: "Write your page text"} ``` ## Maintainer -* Nando Vieira - http://simplesideias.com.br +* Nando Vieira - http://nandovieira.com ## License (The MIT License)