Permalink
Browse files

Remove config.gem deprecation stub since its not "deprecated" but

completely removed.

This makes feature detection easier with config.respond_to?(:gem)
  • Loading branch information...
josh committed Jan 6, 2010
1 parent 0d5ce7c commit 88fd569ba0faaecbc88ab26e24dc15f12e14fd6e
Showing with 0 additions and 8 deletions.
  1. +0 −8 railties/lib/rails/deprecation.rb
@@ -15,11 +15,3 @@ def warn(callstack, called, args)
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

0 comments on commit 88fd569

Please sign in to comment.