File tree Expand file tree Collapse file tree 7 files changed +398
-7
lines changed
lib/active_model_serializers Expand file tree Collapse file tree 7 files changed +398
-7
lines changed Original file line number Diff line number Diff line change 3434- [ #1488 ] ( https://github.com/rails-api/active_model_serializers/pull/1488 ) Require ActiveSupport's string inflections (@nate00 )
3535
3636Misc:
37+ - [ #1482 ] ( https://github.com/rails-api/active_model_serializers/pull/1482 ) Document JSON API implementation defs and progress in class. (@bf4 )
3738- [ #1551 ] ( https://github.com/rails-api/active_model_serializers/pull/1551 ) Added codebeat badge (@korzonek )
3839- [ #1527 ] ( https://github.com/rails-api/active_model_serializers/pull/1527 ) Refactor fragment cache class. (@groyoh )
3940- [ #1560 ] ( https://github.com/rails-api/active_model_serializers/pull/1560 ) Update rubocop and address its warnings. (@bf4 @groyoh )
Original file line number Diff line number Diff line change @@ -84,10 +84,11 @@ def find_by_name(adapter_name)
8484 end
8585
8686 # Gotta be at the bottom to use the code above it :(
87- require 'active_model_serializers/adapter/base'
88- require 'active_model_serializers/adapter/null'
89- require 'active_model_serializers/adapter/attributes'
90- require 'active_model_serializers/adapter/json'
91- require 'active_model_serializers/adapter/json_api'
87+ extend ActiveSupport ::Autoload
88+ autoload :Base
89+ autoload :Null
90+ autoload :Attributes
91+ autoload :Json
92+ autoload :JsonApi
9293 end
9394end
You can’t perform that action at this time.
0 commit comments