Skip to content

Instantly share code, notes, and snippets.

@gareth
Forked from anonymous/gist:99702
Created April 22, 2009 10:32
Show Gist options
  • Save gareth/99706 to your computer and use it in GitHub Desktop.
Save gareth/99706 to your computer and use it in GitHub Desktop.
<% clients = @clients.select { |c| c.clientID == 2 } %>
<%= clients.map(&:clientID) %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment