diff options
author | Xavier Noria <fxn@hashref.com> | 2010-03-28 14:15:02 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-03-28 14:15:02 +0200 |
commit | 76f024ac8db82490a99c71d0d8951d677e3bc9bc (patch) | |
tree | 4fda85acd8a48e5a678c55cb894005fa1226ad54 /actionmailer/lib/action_mailer | |
parent | 105f9b8154bbee88b45e0bb9de949206cbc1ba02 (diff) | |
download | rails-76f024ac8db82490a99c71d0d8951d677e3bc9bc.tar.gz rails-76f024ac8db82490a99c71d0d8951d677e3bc9bc.tar.bz2 rails-76f024ac8db82490a99c71d0d8951d677e3bc9bc.zip |
adds missing requires for Object#blank? and Object#present?
Diffstat (limited to 'actionmailer/lib/action_mailer')
-rw-r--r-- | actionmailer/lib/action_mailer/base.rb | 1 | ||||
-rw-r--r-- | actionmailer/lib/action_mailer/old_api.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/actionmailer/lib/action_mailer/base.rb b/actionmailer/lib/action_mailer/base.rb index 0519783d02..793cd53518 100644 --- a/actionmailer/lib/action_mailer/base.rb +++ b/actionmailer/lib/action_mailer/base.rb @@ -2,6 +2,7 @@ require 'mail' require 'action_mailer/tmail_compat' require 'action_mailer/collector' require 'active_support/core_ext/array/wrap' +require 'active_support/core_ext/object/blank' module ActionMailer #:nodoc: # Action Mailer allows you to send email from your application using a mailer model and views. diff --git a/actionmailer/lib/action_mailer/old_api.rb b/actionmailer/lib/action_mailer/old_api.rb index c7f341d46c..7c59a8ae50 100644 --- a/actionmailer/lib/action_mailer/old_api.rb +++ b/actionmailer/lib/action_mailer/old_api.rb @@ -1,4 +1,5 @@ require 'active_support/core_ext/object/try' +require 'active_support/core_ext/object/blank' module ActionMailer module OldApi #:nodoc: |