diff options
author | Sergey Nartimov <just.lest@gmail.com> | 2012-01-07 14:44:47 +0300 |
---|---|---|
committer | Sergey Nartimov <just.lest@gmail.com> | 2012-01-07 14:44:47 +0300 |
commit | 7d862359d0ebe8c173ef2e069dcbf2c69f43d798 (patch) | |
tree | 551a9c764b0f182602a59abcac286c95a0f627c0 /actionmailer | |
parent | ba168e8f067d72f7a21691f4cfdcd40432135246 (diff) | |
download | rails-7d862359d0ebe8c173ef2e069dcbf2c69f43d798.tar.gz rails-7d862359d0ebe8c173ef2e069dcbf2c69f43d798.tar.bz2 rails-7d862359d0ebe8c173ef2e069dcbf2c69f43d798.zip |
get rid of using instance_variable_names method from AS
- instance_variables return symbols in 1.9
- there is instance_variable_defined? method
Diffstat (limited to 'actionmailer')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index f5eb423073..7d8852f961 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -332,7 +332,7 @@ module ActionMailer #:nodoc: include AbstractController::Translation include AbstractController::AssetPaths - self.protected_instance_variables = %w(@_action_has_layout) + self.protected_instance_variables = [:@_action_has_layout] helper ActionMailer::MailHelper |