Return to Snippet

Revision: 19242
at October 19, 2009 16:24 by deschism

Initial Code
<% @lists.each do |list| %>
  <div id="<%= dom_id(list) %>">
    ... rest of list ...
<% end %>

Initial URL

Initial Description
creates something like list_49 with the 49 corresponding to id of record in database.

Initial Title
Rails DOM helper id

Initial Tags

Initial Language