#137 √ invalid
Jani Soila

[PATCH] [SPEC] Proc modifiers for select options

Reported by Jani Soila | July 8th, 2008 @ 03:10 PM | in 0.9.8

It is difficult to make non-trivial modifiers for select options with options_from_collection_for_select and current support for text_method and value_method options.

I added support for proc variables so that if text_method or value_method is kind of proc, then the output will be produced calling it with object. Also included a spec to test this functionality.

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