aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2010-01-06 11:33:04 -0600
committerJoshua Peek <josh@joshpeek.com>2010-01-06 11:33:04 -0600
commit88fd569ba0faaecbc88ab26e24dc15f12e14fd6e (patch)
tree7a49232eafd1935d398deaa765c882e126879dbc /railties/lib
parent0d5ce7c52555c859ca5d6fb10abb4f6424d785c7 (diff)
downloadrails-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)
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/deprecation.rb8
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