Since you're using Rails 4 you can also put this file in `/models/concerns`. This path is also auto-loaded so no need to do this `config.autoload_paths << "#{Rails.root}/lib"`