Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 88fd569ba0faaecbc88ab26e24dc15f12e14fd6e 1 parent 0d5ce7c
@josh josh authored
Showing with 0 additions and 8 deletions.
  1. +0 −8 railties/lib/rails/deprecation.rb
View
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
Please sign in to comment.
Something went wrong with that request. Please try again.