Permalink
Browse files

Fix eager load of Serializers on Active Model

  • Loading branch information...
carlosantoniodasilva committed Jan 17, 2014
1 parent d725728 commit 59b6686046b4d48d31d10d0706c61614ade17713
Showing with 2 additions and 2 deletions.
  1. +2 −2 activemodel/lib/active_model.rb
@@ -60,9 +60,9 @@ module Serializers
end
end
- def eager_load!
+ def self.eager_load!
super
- ActiveModel::Serializer.eager_load!
+ ActiveModel::Serializers.eager_load!
end
end

0 comments on commit 59b6686

Please sign in to comment.