Skip to content

Commit

Permalink
Fix eager load of Serializers on Active Model
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosantoniodasilva committed Jan 17, 2014
1 parent a497272 commit 486db21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activemodel/lib/active_model.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ module Serializers
end end
end end


def eager_load! def self.eager_load!
super super
ActiveModel::Serializer.eager_load! ActiveModel::Serializers.eager_load!

This comment has been minimized.

Copy link
@egilburg

egilburg Jan 17, 2014

Contributor

Would ActiveModel namespace be implied here?

This comment has been minimized.

Copy link
@carlosantoniodasilva

carlosantoniodasilva Jan 17, 2014

Author Member

Yeah it'd, not a big deal though 👍

end end
end end


Expand Down

0 comments on commit 486db21

Please sign in to comment.