Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix eager load of Serializers on Active Model

  • Loading branch information...
commit 486db21f919c39cef76b487be45290b7561307e8 1 parent a497272
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 activemodel/lib/active_model.rb
View
4 activemodel/lib/active_model.rb
@@ -59,9 +59,9 @@ module Serializers
end
end
- def eager_load!
+ def self.eager_load!
super
- ActiveModel::Serializer.eager_load!
+ ActiveModel::Serializers.eager_load!

Would ActiveModel namespace be implied here?

Yeah it'd, not a big deal though :+1:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.