mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-24 14:56: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 ||= {}
|
self._attributes_data ||= {}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
extend ActiveSupport::Autoload
|
||||||
autoload :Attribute
|
autoload :Attribute
|
||||||
|
|
||||||
# Return the +attributes+ of +object+ as presented
|
# Return the +attributes+ of +object+ as presented
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user