Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix namespace problem on object which inherit from ActiveSupport::Bas…

…icObject
  • Loading branch information...
commit 7cb44a5092b1362fe9c10271d37c05b25a250e22 1 parent df0a7bf
@spastorino spastorino authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 actionmailer/lib/action_mailer/base.rb
View
4 actionmailer/lib/action_mailer/base.rb
@@ -452,8 +452,8 @@ def initialize(message)
end
def []=(key, value)
- unless value.is_a?(String)
- ActiveSupport::Deprecation.warn("Using a non-String object for a header's value is deprecated. " \
+ unless value.is_a?(::String)
+ ::ActiveSupport::Deprecation.warn("Using a non-String object for a header's value is deprecated. " \
"You specified #{value.inspect} (a #{value.class}) for #{key}", caller)
value = value.to_s
Please sign in to comment.
Something went wrong with that request. Please try again.