Skip to content
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...
1 parent 0d5ce7c commit 88fd569ba0faaecbc88ab26e24dc15f12e14fd6e @josh josh committed
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

0 comments on commit 88fd569

Please sign in to comment.
Something went wrong with that request. Please try again.