Skip to content

Commit 77095f2

Browse files
committed
Add ActiveSupport::Autoload extension to Attribute.
1 parent a586a45 commit 77095f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/active_model/serializer/attributes.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ module Attributes
99
self._attributes_data ||= {}
1010
end
1111

12+
extend ActiveSupport::Autoload
1213
autoload :Attribute
1314

1415
# Return the +attributes+ of +object+ as presented

0 commit comments

Comments
 (0)