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

- old
+ new

@@ -21,11 +21,11 @@ As opposed to ```rails-settings``` and forks, ```method_missing``` isn't used anywhere. *HURRAY!* ## Supported versions The latest versions of -* Rails 3.2 & 4.0 +* Rails 3.2, 4.0, & 4.1 * Ruby 1.9.3 & 2.0.0 * SQLite, MySQL, and PostgreSQL Every valid combination is [tested via Travis](https://travis-ci.org/mceachen/druthers). @@ -41,14 +41,16 @@ # This is not required, but allows for more than just string values: serialize :value # This will be used as the value of `Setting.quest` if it is not set. - def default_quest + def self.default_quest "to find the holy grail" end - # This validation will be only run for instances whose key == "favourite_color": + # This validation will be only run for instances whose key == "favourite_color" + # Note that this isn't a class method, as the validation needs access to the + # instance value. def validate_favourite_colour add_error("we're right out of teal, sorry") if value == "teal" end end ```