aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/helpers/prototype_helper.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2008-06-02 13:49:14 -0700
committerJeremy Kemper <jeremy@bitsweat.net>2008-06-02 21:32:50 -0700
commit4d4c8e298f5396e6b8ace0a10d7f991594aace2d (patch)
tree2a5d4704d307ff2469de6226c9c2fbb691e75e32 /actionpack/lib/action_view/helpers/prototype_helper.rb
parent0bdb7d353b4ac6f5470884360f9a480a16bd709c (diff)
downloadrails-4d4c8e298f5396e6b8ace0a10d7f991594aace2d.tar.gz
rails-4d4c8e298f5396e6b8ace0a10d7f991594aace2d.tar.bz2
rails-4d4c8e298f5396e6b8ace0a10d7f991594aace2d.zip
Don't pass block binding to concat
Diffstat (limited to 'actionpack/lib/action_view/helpers/prototype_helper.rb')
-rw-r--r--actionpack/lib/action_view/helpers/prototype_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/lib/action_view/helpers/prototype_helper.rb b/actionpack/lib/action_view/helpers/prototype_helper.rb
index 602832e470..ed2abba17a 100644
--- a/actionpack/lib/action_view/helpers/prototype_helper.rb
+++ b/actionpack/lib/action_view/helpers/prototype_helper.rb
@@ -382,9 +382,9 @@ module ActionView
args.unshift object
end
- concat(form_remote_tag(options), proc.binding)
+ concat(form_remote_tag(options))
fields_for(object_name, *(args << options), &proc)
- concat('</form>', proc.binding)
+ concat('</form>')
end
alias_method :form_remote_for, :remote_form_for