diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-01-06 11:33:04 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-06 11:33:04 -0600 |
commit | 88fd569ba0faaecbc88ab26e24dc15f12e14fd6e (patch) | |
tree | 7a49232eafd1935d398deaa765c882e126879dbc | |
parent | 0d5ce7c52555c859ca5d6fb10abb4f6424d785c7 (diff) | |
download | rails-88fd569ba0faaecbc88ab26e24dc15f12e14fd6e.tar.gz rails-88fd569ba0faaecbc88ab26e24dc15f12e14fd6e.tar.bz2 rails-88fd569ba0faaecbc88ab26e24dc15f12e14fd6e.zip |
Remove config.gem deprecation stub since its not "deprecated" but
completely removed.
This makes feature detection easier with config.respond_to?(:gem)
-rw-r--r-- | railties/lib/rails/deprecation.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/railties/lib/rails/deprecation.rb b/railties/lib/rails/deprecation.rb index 3c5b8bdec7..155166a113 100644 --- a/railties/lib/rails/deprecation.rb +++ b/railties/lib/rails/deprecation.rb @@ -15,11 +15,3 @@ RAILS_ROOT = (Class.new(ActiveSupport::Deprecation::DeprecationProxy) do ActiveSupport::Deprecation.warn(msg, callstack) end end).new - -module Rails - class Configuration - def gem(*args) - ActiveSupport::Deprecation.warn("config.gem has been deprecated in favor of the Gemfile.") - end - end -end
\ No newline at end of file |