From 4bc0f265a0fa7b6aa358fbbce544302193084e7a Mon Sep 17 00:00:00 2001 From: Tim Felgentreff Date: Wed, 6 Jul 2011 14:17:49 +0200 Subject: [PATCH] Fix for safe_concat not working with nil in Rails 2 --- lib/widget/controls/save_as.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/widget/controls/save_as.rb b/lib/widget/controls/save_as.rb index 898fbaffd4..01e3c91118 100644 --- a/lib/widget/controls/save_as.rb +++ b/lib/widget/controls/save_as.rb @@ -15,7 +15,7 @@ class Widget::Controls::SaveAs < Widget::Controls end def cache_key - super + @subject.name + "#{super}#{@subject.name}" end def render_popup_form