Do you have to use an activeRecord object for div_for?
Perhaps I'm taking the wrong approach for "dynamic" divs

so far my education:

1. id= , is fine for just one div and prototype activity in an RJS (I
got this to work)
2. class= , another option, but I don't see how it can be used
3. div_for , a helper that uses ActiveRecord objects to come up with
multiple divs

Below: code that is my best guess for how to proceed, but it doesn't do
everything it is supposed to do:


<script src='http://pastie.org/472556.js'></script>

<script src='http://pastie.org/472563.js'></script>
-- 
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 rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to