From ea881ca85a1a9df3c25e2ee8668d98416a5c1acb Mon Sep 17 00:00:00 2001 From: jasl Date: Wed, 2 Jan 2013 16:48:09 +0800 Subject: fix block.arity raise nil error when not given a block to "content_tag_for" --- actionpack/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionpack/CHANGELOG.md') diff --git a/actionpack/CHANGELOG.md b/actionpack/CHANGELOG.md index a681a2dc79..8a9be65d10 100644 --- a/actionpack/CHANGELOG.md +++ b/actionpack/CHANGELOG.md @@ -1,5 +1,10 @@ ## Rails 3.2.10 (unreleased) ## +* Fix a bug in `ActionView::Helpers::RecordTagHelper::content_tag_for` + raise `nil:NilClass` without given a block. + + *Jasl* + * Clear url helper methods when routes are reloaded by removing the methods explicitly rather than just clearing the module because it didn't work properly and could be the source of a memory leak. -- cgit v1.2.3