diff --git a/lib/forgery.rb b/lib/forgery.rb index 7283932..0f01a7e 100644 --- a/lib/forgery.rb +++ b/lib/forgery.rb @@ -31,6 +31,5 @@ # Loading rails forgeries to override current forgery methods and add new forgeries # Only run this for Rails < 3.0 since we need to use a Railtie to initialize >= 3.0 Forgery.load_from! "#{Forgery.rails_root}/lib/forgery" if Forgery.rails? && Rails::VERSION::STRING < "3.0.0" -Forgery::FileWriter.write_to! "#{Forgery.rails_root}/lib/forgery" if Forgery.rails? && Rails::VERSION::STRING < "3.0.0" # Include our Railtie if Rails >= 3.0.0 require 'forgery/forgery_railtie' if Forgery.rails? && Rails::VERSION::STRING >= "3.0.0"