Fix eager loading on Rails 4.1