Hi,
I'm trying to define multiple choices inside the rails model. In Django I would do something like this:
location = models.CharField( max_length=3, choices=LOCATION_CHOICES, help_text="Which location do you prefer?" )
LOCATION_CHOICES = ( ('AMS', 'Amsterdam'), ('RTM', 'Rotterdam'), ('HAG', 'The Hague'), )
What is the Rails equivalent of the above code? I've tried searching the Rails docs and Googling, but with no luck.
Thanks!