aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-09-21 11:42:51 +0200
committerYves Senn <yves.senn@gmail.com>2014-09-21 11:45:54 +0200
commitfac25eb7b03a5db44d53b204cbaab6582d91d526 (patch)
tree7adc0c30f3216ee217ae41f98c7a33e32cc77b69 /guides/source
parentcdbb20618669055c6bbed6c414e467e579681231 (diff)
parent994d3ebe9bea5164a4383d408f9a0b6733ae2bc7 (diff)
downloadrails-fac25eb7b03a5db44d53b204cbaab6582d91d526.tar.gz
rails-fac25eb7b03a5db44d53b204cbaab6582d91d526.tar.bz2
rails-fac25eb7b03a5db44d53b204cbaab6582d91d526.zip
Merge pull request #16979 from square/standardize-call-style
Standardize on `Rails.application` [ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/4_2_release_notes.md2
-rw-r--r--guides/source/active_job_basics.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/4_2_release_notes.md b/guides/source/4_2_release_notes.md
index 5aed0c9358..f3f6942135 100644
--- a/guides/source/4_2_release_notes.md
+++ b/guides/source/4_2_release_notes.md
@@ -322,7 +322,7 @@ Please refer to the [Changelog][railties] for detailed changes.
namespace: my_app_development
# config/production.rb
- MyApp::Application.configure do
+ Rails.application.configure do
config.middleware.use ExceptionNotifier, config_for(:exception_notification)
end
```
diff --git a/guides/source/active_job_basics.md b/guides/source/active_job_basics.md
index 7b3081993d..f2831defe6 100644
--- a/guides/source/active_job_basics.md
+++ b/guides/source/active_job_basics.md
@@ -138,7 +138,7 @@ You can easily change your adapter:
```ruby
# be sure to have the adapter gem in your Gemfile and follow the adapter specific
# installation and deployment instructions
-YourApp::Application.config.active_job.queue_adapter = :sidekiq
+Rails.application.config.active_job.queue_adapter = :sidekiq
```