Skip to content

Instantly share code, notes, and snippets.

@phlipper
Created June 5, 2011 19:54
Show Gist options
  • Save phlipper/1009335 to your computer and use it in GitHub Desktop.
Save phlipper/1009335 to your computer and use it in GitHub Desktop.
A few versions of Pete's zombie name script
<% zombie = Zombie.first %>
<p>
<%= link_to zombie.name, zombie %>
</p>
<% zombie = Zombie.first %>
<p>
<%= zombie.name %>
</p>
<a href="/zombies/1">Ash</a>
<% zombie = Zombie.first %>
<p>
<a href="/zombies/1"><%= zombie.name %></a>
</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment