diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-01-18 09:49:05 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-18 09:49:38 -0600 |
commit | 68b76a38eb83db8515336ec2e7fd8191798386be (patch) | |
tree | 396db460d1d6a1aefcc68bc48cd6b6c977113309 /railties/lib/rails/deprecation.rb | |
parent | e27bfad6a5f9e9171148226dee7ce51d41731ea7 (diff) | |
download | rails-68b76a38eb83db8515336ec2e7fd8191798386be.tar.gz rails-68b76a38eb83db8515336ec2e7fd8191798386be.tar.bz2 rails-68b76a38eb83db8515336ec2e7fd8191798386be.zip |
Cleanup deprecation notices.
Diffstat (limited to 'railties/lib/rails/deprecation.rb')
-rw-r--r-- | railties/lib/rails/deprecation.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/deprecation.rb b/railties/lib/rails/deprecation.rb index 43f08d13df..f28da5a6b0 100644 --- a/railties/lib/rails/deprecation.rb +++ b/railties/lib/rails/deprecation.rb @@ -11,7 +11,7 @@ RAILS_ROOT = (Class.new(ActiveSupport::Deprecation::DeprecationProxy) do end def warn(callstack, called, args) - msg = "RAILS_ROOT is deprecated! Use Rails.root instead." + msg = "RAILS_ROOT is deprecated! Use Rails.root instead" ActiveSupport::Deprecation.warn(msg, callstack) end end).new @@ -26,7 +26,7 @@ RAILS_ENV = (Class.new(ActiveSupport::Deprecation::DeprecationProxy) do end def warn(callstack, called, args) - msg = "RAILS_ENV is deprecated! Use Rails.env instead." + msg = "RAILS_ENV is deprecated! Use Rails.env instead" ActiveSupport::Deprecation.warn(msg, callstack) end end).new @@ -41,7 +41,7 @@ RAILS_DEFAULT_LOGGER = (Class.new(ActiveSupport::Deprecation::DeprecationProxy) end def warn(callstack, called, args) - msg = "RAILS_DEFAULT_LOGGER is deprecated! Use Rails.logger instead." + msg = "RAILS_DEFAULT_LOGGER is deprecated! Use Rails.logger instead" ActiveSupport::Deprecation.warn(msg, callstack) end end).new |