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 32
32
- [ #1488 ] ( https://github.com/rails-api/active_model_serializers/pull/1488 ) Require ActiveSupport's string inflections (@nate00 )
33
33
34
34
Misc:
35
+ - [ #1482 ] ( https://github.com/rails-api/active_model_serializers/pull/1482 ) Document JSON API implementation defs and progress in class. (@bf4 )
35
36
- [ #1551 ] ( https://github.com/rails-api/active_model_serializers/pull/1551 ) Added codebeat badge (@korzonek )
36
37
- [ #1527 ] ( https://github.com/rails-api/active_model_serializers/pull/1527 ) Refactor fragment cache class. (@groyoh )
37
38
- [ #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)
84
84
end
85
85
86
86
# 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
92
93
end
93
94
end
You can’t perform that action at this time.
0 commit comments