/ Published in: Rails

creates something like list_49 with the 49 corresponding to id of record in database.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<% @lists.each do |list| %> <div id="<%= dom_id(list) %>"> ... rest of list ... </div> <% end %>
Comments
