aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-01-22 16:46:45 +0100
committerPratik Naik <pratiknaik@gmail.com>2010-01-22 22:20:00 +0530
commit5c53ffe1dbb3ece45ed58ed5b005e9c104f61842 (patch)
tree768041b801c255d35cc2bbce8008a521223330d7 /actionpack
parent1a750da130223867195503d284cf4c73a345eee5 (diff)
downloadrails-5c53ffe1dbb3ece45ed58ed5b005e9c104f61842.tar.gz
rails-5c53ffe1dbb3ece45ed58ed5b005e9c104f61842.tar.bz2
rails-5c53ffe1dbb3ece45ed58ed5b005e9c104f61842.zip
Add missing require for Object#try [#3771 state:resolved]
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/render/rendering.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/render/rendering.rb b/actionpack/lib/action_view/render/rendering.rb
index ec278ca783..7c33f1334a 100644
--- a/actionpack/lib/action_view/render/rendering.rb
+++ b/actionpack/lib/action_view/render/rendering.rb
@@ -1,3 +1,5 @@
+require 'active_support/core_ext/object/try'
+
module ActionView
module Rendering
# Returns the result of a render that's dictated by the options hash. The primary options are: