mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-22 22:06:50 +00:00
Add ActiveSupport::Autoload extension to Attribute.
This commit is contained in:
parent
a586a45863
commit
77095f2a84
@ -9,6 +9,7 @@ module ActiveModel
|
||||
self._attributes_data ||= {}
|
||||
end
|
||||
|
||||
extend ActiveSupport::Autoload
|
||||
autoload :Attribute
|
||||
|
||||
# Return the +attributes+ of +object+ as presented
|
||||
|
||||
Loading…
Reference in New Issue
Block a user