I don't know Django, but it looks to me like you are trying to setup a
hash.

location_choices can be a local variable, instance variable, constant,
etc depending on your needs.

@location_choices = { "AMS" => "Amsterdam", "RTM" => "Rotterdam" }

If you want it to be a constant, just capitalize it.
Local variable, no @ sign.

Andrew

--

You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to