mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
Require ActiveSupport's string/inflections
We depend on string/inflections to define String#underscore.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user