Merge pull request #1352 from bf4/railties

Fix generators (@dgynn); load Railtie only with Rails, ensures caching configured
This commit is contained in:
Benjamin Fleischer
2016-01-18 23:24:40 -05:00
15 changed files with 216 additions and 61 deletions

View File

@@ -24,4 +24,4 @@ preferably inside an initializer.
## Hooks
To run a hook when ActiveModelSerializers is loaded, use `ActiveSupport.on_load(:active_model_serializers) do end`
To run a hook when ActiveModelSerializers is loaded, use `ActiveSupport.on_load(:action_controller) do end`