Alright, so.. Let's try this:
1) I have a view which one way or another calls a controller action and
wants to update a div.
2) This controller action finds a collection of records and does a
render :partial with said collection
(e.g. : @patients with Patient.last and Patient.first)

3) ... What's the partial going to look like? This is where I don't
understand how to use collections.

If I do a ":collection => " call, what exactly am I asking Rails to do..
And then how do I help it do that?
-- 
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