<% cache "employee_list "do %>
List of all employees:
<% Employee.all.each do |e| %>
<%= link_to e.name, employee_url(e) %>
<% end %>
<% end %>
employee
_list")
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvnok5OsKHzcD2go8FhDtp7wpzLR%3DUiRj-V1P9nHdKTwA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.