Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update README.md #17

Merged
merged 1 commit into from

2 participants

@Paxa

Note for migration from gem rails-settings

@Paxa Paxa Update README.md
Note for migration from gem rails-settings
d3fd1fe
@huacnlee huacnlee merged commit c13dc8a into from
@Paxa

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 28, 2012
  1. @Paxa

    Update README.md

    Paxa authored
    Note for migration from gem rails-settings
This page is out of date. Refresh to see the latest.
Showing with 8 additions and 0 deletions.
  1. +8 −0 README.md
View
8 README.md
@@ -25,6 +25,14 @@ Generate your settings:
$ rails g settings <settings_name>
```
+Note: If you migrating from gem `rails-settings` then make sure you have it in your model
+
+```ruby
+class Settings < RailsSettings::CachedSettings
+ ...
+end
+```
+
Now just put that migration in the database with:
```bash
Something went wrong with that request. Please try again.