Displaying 1 result from an estimated 1 matches for "mgut".
Did you mean:
mgmt
2007 Nov 06
2
Valid options from hash
Which is the best way to create a thin key/value related to some
model? where a field only could insert those values (keys as 0,1) and
where could be showed the values (as Red, Blue) from a drop-list
COLOUR_OPTIONS = {0=>"Red", 1=>"Blue"}
t.string :colour
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the