Permalink
Browse files

quell warnings

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4982 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent e2a397f commit 668c64b48d6343f166a4f21cff79337558097c39 @jeremy jeremy committed Sep 4, 2006
View
5 activesupport/lib/active_support/breakpoint.rb
@@ -460,6 +460,11 @@ def result.last_value; end
old_CurrentContext
end
end
+
+ class << self
+ alias :old_parse_opts :parse_opts
+ remove_method :parse_opts
+ end
def IRB.parse_opts() end
class Context #:nodoc:
View
3 activesupport/lib/active_support/deprecation.rb
@@ -65,6 +65,9 @@ def extract_callstack(callstack)
mattr_accessor :behavior
self.behavior = default_behavior
+ # Warnings are not silenced by default.
+ self.silenced = false
+
module ClassMethods
# Declare that a method has been deprecated.
def deprecate(*method_names)

0 comments on commit 668c64b

Please sign in to comment.