Skip to content

Instantly share code, notes, and snippets.

View Augustin-Grenne's full-sized avatar
💻
while (alive) { code() }

Augustin Grenné Augustin-Grenne

💻
while (alive) { code() }
View GitHub Profile
@viola
viola / gist:1070410
Created July 7, 2011 20:00
Example of fetching Hash (key,value) to the simple_form collection.
-- model
some sort of constant hash:
HASH_NAME = {
0 => "Choose:",
1 => "On-Campus Recruiting - CSO",·
2 => "CSO Staff Referral",
3 => "Faculty Contact",·
4 => "Career Day",·
5 => "CSO Summer Job Listing",·
6 => "Alumni Contact",·