Require ActiveSupport's string/inflections

We depend on string/inflections to define String#underscore.
This commit is contained in:
Nate Sullivan 2016-01-30 23:29:43 -08:00
parent f5ec8ed9d4
commit 3c1fe0fd0f
2 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
Breaking changes:
Features:
Fixes:
- [#1488](https://github.com/rails-api/active_model_serializers/pull/1488) Require ActiveSupport's string inflections (@nate00)
Misc:
### v0.10.0.rc4 (2016/01/27 11:00 +00:00)

View File

@ -1,6 +1,7 @@
require 'active_model'
require 'active_support'
require 'active_support/core_ext/object/with_options'
require 'active_support/core_ext/string/inflections'
module ActiveModelSerializers
extend ActiveSupport::Autoload
autoload :Model