I know I can use :index => collection_counter with text_fields, but do
they work with any version of select form helpers?
Thanks!
Ian
I know I can use :index => collection_counter with text_fields, but do
they work with any version of select form helpers?
Thanks!
Ian
On 2/17/06, Ian H. [email protected] wrote:
I know I can use :index => collection_counter with text_fields, but do
they work with any version of select form helpers?
Yep. It’s a little confusing at first, because it’s actually the
second set of options:
<%= select ‘object’, ‘method’, @options, {}, {‘index’ => some_counter}
%>
Aha! Thank you!! The api docs are a bit sparse regarding such
things…
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs