From b3e238a2a1d7156382dca24ee61e98a021de0179 Mon Sep 17 00:00:00 2001 From: Xavier Noria Date: Fri, 22 Jan 2010 16:46:45 +0100 Subject: [PATCH] adds needed require for Object#try, ActionView::Rendering#_render_template uses it --- actionpack/lib/action_view/render/rendering.rb | 2 ++ 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 ec278ca..7c33f13 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: -- 1.6.6