generators/truck/truck_generator.rb in trucker-0.4.1 vs generators/truck/truck_generator.rb in trucker-0.5.0
- old
+ new
@@ -25,10 +25,10 @@
password:
EOS
m.append "config/database.yml", snippet
- snippet = 'config.load_paths += %W( #{RAILS_ROOT}/app/models/legacy )'
+ snippet = 'config.autoload_paths += %W( #{RAILS_ROOT}/app/models/legacy )'
m.insert_after "config/environment.rb", snippet, '^Rails::Initializer\.run do.+$'
end
end