Commit 2b84844fb7608afc14bbc54ef9f9c4efe48d042e
1 parent
7429ad29
Exists in
master
and in
22 other branches
Silencing warning about vendor/plugins/* for now
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
config/application.rb
| @@ -2,6 +2,11 @@ require File.expand_path('../boot', __FILE__) | @@ -2,6 +2,11 @@ require File.expand_path('../boot', __FILE__) | ||
| 2 | 2 | ||
| 3 | require 'rails/all' | 3 | require 'rails/all' |
| 4 | 4 | ||
| 5 | +# FIXME this silences the warnings about Rails 2.3-style plugins under | ||
| 6 | +# vendor/plugins, which are deprecated. Hiding those warnings makes it easier | ||
| 7 | +# to work for now, but we should really look at putting those plugins away. | ||
| 8 | +ActiveSupport::Deprecation.silenced = true | ||
| 9 | + | ||
| 5 | if defined?(Bundler) | 10 | if defined?(Bundler) |
| 6 | # If you precompile assets before deploying to production, use this line | 11 | # If you precompile assets before deploying to production, use this line |
| 7 | Bundler.require(*Rails.groups(:assets => %w(development test))) | 12 | Bundler.require(*Rails.groups(:assets => %w(development test))) |