Skip to content

Commit 3c1fe0f

Browse files
committed
Require ActiveSupport's string/inflections
We depend on string/inflections to define String#underscore.
1 parent f5ec8ed commit 3c1fe0f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
Breaking changes:
44
Features:
55
Fixes:
6+
- [#1488](https://github.com/rails-api/active_model_serializers/pull/1488) Require ActiveSupport's string inflections (@nate00)
67
Misc:
78

89
### v0.10.0.rc4 (2016/01/27 11:00 +00:00)

lib/active_model_serializers.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
require 'active_model'
22
require 'active_support'
33
require 'active_support/core_ext/object/with_options'
4+
require 'active_support/core_ext/string/inflections'
45
module ActiveModelSerializers
56
extend ActiveSupport::Autoload
67
autoload :Model

0 commit comments

Comments
 (0)