aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-08-09 15:14:00 +0200
committerXavier Noria <fxn@hashref.com>2010-08-09 15:25:21 +0200
commit4f7565c4de1f877547a6b901a8416b18c613acc9 (patch)
tree4b38fceff3eb16aeb9a320a572351de405e0fb98 /actionmailer
parent505546af709082f25444e323ee0f2141a86bbc63 (diff)
downloadrails-4f7565c4de1f877547a6b901a8416b18c613acc9.tar.gz
rails-4f7565c4de1f877547a6b901a8416b18c613acc9.tar.bz2
rails-4f7565c4de1f877547a6b901a8416b18c613acc9.zip
adds missing requires for Object#try
Diffstat (limited to 'actionmailer')
-rw-r--r--actionmailer/lib/action_mailer/deprecated_api.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionmailer/lib/action_mailer/deprecated_api.rb b/actionmailer/lib/action_mailer/deprecated_api.rb
index 0070d8e016..7d57feba04 100644
--- a/actionmailer/lib/action_mailer/deprecated_api.rb
+++ b/actionmailer/lib/action_mailer/deprecated_api.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/object/try'
+
module ActionMailer
# This is the API which is deprecated and is going to be removed on Rails 3.1 release.
# Part of the old API will be deprecated after 3.1, for a smoother deprecation process.