Skip to content

Instantly share code, notes, and snippets.

@lando2319
Last active December 17, 2015 16:19
Show Gist options
  • Save lando2319/5637861 to your computer and use it in GitHub Desktop.
Save lando2319/5637861 to your computer and use it in GitHub Desktop.
Breakdown of collection_select rails
<%= f.collection_select(:client, Client.all, :name, :name) %>
collection_select(
[what field is it populating?],
[Where is it getting the data],
[What specifically is being written],
[What information is going to be displayed on the screem])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment