Commit 6bbec94473967ce27339fe1cfd10449e4962245e

Authored by freedomprogramer
1 parent 4df66bb9
Exists in master

auto load if not production

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/has_magic_fields/extend.rb
... ... @@ -111,7 +111,7 @@ module HasMagicFields
111 111 end
112 112 end
113 113  
114   - if Rails.env.development?
  114 + if !Rails.env.production?
115 115 %w{ models }.each do |dir|
116 116 path = File.join(File.dirname(__FILE__), '../app', dir)
117 117 $LOAD_PATH << path
... ...