The class will not work for a rjs call.. html class elements are not
unique by design so that is not a good idea anywho...
Here is a good description for div_for
http://apidock.com/rails/ActionView/Helpers/RecordTagHelper/div_for
It's just a way to create a div that has something todo with the
record that you have. So if you have a @user object with id of 1 you
would get id="user_1" for the div.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---