Skip to content

Commit

Permalink
rm action_mailer & action_resource from dummy_app
Browse files Browse the repository at this point in the history
No need to load this as we are not using. Also clears up this error
after updating to rails4 for the dummy_app:
/usr/local/var/rbenv/versions/2.1.0/lib/ruby/gems/2.1.0/gems/railties-4.0.3/lib/rails/railtie/configuration.rb:95:in
`method_missing': undefined method `action_mailer' for
<Rails::Application::Configuration:0x007f86abbe9d10> (NoMethodError)
  • Loading branch information
ferndopolis committed Feb 21, 2014
1 parent 7dba073 commit d9fbe73
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/dummy_app/config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Pick the frameworks you want:
# require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "active_resource/railtie"
#require "action_mailer/railtie"
#require "active_resource/railtie"
# require "sprockets/railtie"
# require "rails/test_unit/railtie"

Expand Down
2 changes: 1 addition & 1 deletion spec/dummy_app/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
# 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 = :test


# Print deprecation notices to the stderr
Expand Down

0 comments on commit d9fbe73

Please sign in to comment.