README.md in rails-settings-cached-0.2.0 vs README.md in rails-settings-cached-0.2.1
- old
+ new
@@ -24,16 +24,9 @@
Now just put that migration in the database with:
rake db:migrate
## Usage
-
-You need create a class in `app/models/setting.rb` :
-
- # app/models/setting.rb
- # extension RailsSettings::CachedSettings
- class Setting < RailsSettings::CachedSettings
- end
The syntax is easy. First, lets create some settings to keep track of:
Setting.admin_password = 'supersecret'
Setting.date_format = '%m %d, %Y'