#242 open
oladywek (at gmail)

Reserved 'index' method/variable bug in partials

Reported by oladywek (at gmail) | April 2nd, 2008 @ 04:08 AM | in 0.9.8

I have the following code structure:

http://pastie.caboo.se/private/r...

<%= index %> in _property.html.erb calls 'index' method from ContactsController.

The problem was solved renaming 'index' to 'i' in the partial.

Might be a bug.

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

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

Shared Ticket Bins