Okay I solved that, partially.  I needed to pass :locals => {:form => 
form} from my view when first rendering the partial.  The problem is, 
though, that on the :onchange event, the partial is rendered through the 
controller, so I can't pass :locals from there.  So after the :onchange 
event, I get the same error with the form.collection_select throwing a 
"Wrong number of arguments 0 for 1" error.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to