Skip to content
Browse files

Only require the parts of rails we need, remove all the rest

  • Loading branch information...
1 parent 740b8ec commit a3b03ad33839ace6bcff45c7daaad739880db223 @davidjrice davidjrice committed
Showing with 5 additions and 5 deletions.
  1. +3 −3 config/application.rb
  2. +1 −1 config/environments/development.rb
  3. +1 −1 config/environments/test.rb
View
6 config/application.rb
@@ -4,9 +4,9 @@
#
# require "active_record/railtie"
require "action_controller/railtie"
-require "action_mailer/railtie"
-require "active_resource/railtie"
-require "rails/test_unit/railtie"
+#require "action_mailer/railtie"
+#require "active_resource/railtie"
+#require "rails/test_unit/railtie"
if defined?(Bundler)
# If you precompile assets before deploying to production, use this line
View
2 config/environments/development.rb
@@ -14,7 +14,7 @@
config.action_controller.perform_caching = false
# Don't care if the mailer can't send
- config.action_mailer.raise_delivery_errors = false
+ # config.action_mailer.raise_delivery_errors = false
# Print deprecation notices to the Rails logger
config.active_support.deprecation = :log
View
2 config/environments/test.rb
@@ -27,7 +27,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
# Use SQL instead of Active Record's schema dumper when creating the test database.
# This is necessary if your schema can't be completely dumped by the schema dumper,

0 comments on commit a3b03ad

Please sign in to comment.
Something went wrong with that request. Please try again.