Commit ed274490e49e0e2da6f154cecaf846993f6a4fa1

Authored by 大明
Committed by GitHub
1 parent ae24b90b
Exists in master

Update has_magic_fields.rb

Showing 1 changed file with 1 additions and 4 deletions   Show diff stats
lib/has_magic_fields.rb
... ... @@ -4,9 +4,6 @@ require "has_magic_fields/extend"
4 4 module HasMagicFields
5 5 class Engine < ::Rails::Engine
6 6 paths = Dir[File.dirname(__FILE__), '/app/models/**/']
7   -
8   - if Rails.env.production?
9   - config.eager_load_paths += paths
10   - end
  7 + config.eager_load_paths += paths
11 8 end
12 9 end
... ...