This project is archived and is in readonly mode.

#6222 ✓committed
Akira Matsuda

accept String value for render_partial :as option

Reported by Akira Matsuda | December 25th, 2010 @ 03:28 PM | in 3.1

Currently, render_partial :as option only accepts a Symbol value.
This seems a little bit unnatural since it accepts the partial name by String. IMO it's annoying to use different syntax for "partial name" and "variable name".

Attached a patch to accept both String and Symbol.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href=""></a>

Referenced by