Rails.application.eager_load! instead of require

Fixes #1520
Merge pull request #1576 from printercu/patch-1

Rails.application.eager_load! instead of require