Hello!

I have same trouble :(

Does you already write patch for this?
I'm use rails 2.0.1
Thank you!


James Herdman wrote:
> Okay, Googlers.  I have this figured out.  I don't have a good
> solution, but I have a work-around until I can write a patch.
> 
> You'll notice in Ryan Bate's method that he has you use an ":index =>
> nil" option on text_fields for your fields_for.  This option is _not_
> recognized by the select helper.  Until I can write a patch, you need
> to use the select_tag helper as follows:
> 
> select_tag('project[task_attributes][][some_selectable_attribute]',
> options_for_select(some_options, selected_option)
> 
> It's ugly, it's fragile, and it's not DRY.  However, it'll keep you
> moving until I can get a patch written this weekend.
> 
> James

-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to