rails_generators/culerity/templates/config/environments/culerity_development.rb in fletcherm-culerity-0.2.6 vs rails_generators/culerity/templates/config/environments/culerity_development.rb in fletcherm-culerity-0.2.7

- old
+ new

@@ -12,6 +12,11 @@ config.action_controller.allow_forgery_protection = false # Tell Action Mailer not to deliver emails to the real world. # The :test delivery method accumulates sent emails in the # ActionMailer::Base.deliveries array. -config.action_mailer.delivery_method = :test +config.action_mailer.delivery_method = :persistent + +config.after_initialize do + require 'culerity/persistent_delivery' +end +