Forum: Ruby on Rails country_options / state_options ???

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
18451542088c3fdf2006357909d467ba?d=identicon&s=25 Nguma Monene (Guest)
on 2007-07-16 01:40
(Received via mailing list)
I stumbled upon a very undocumented feature:
country_options and state_options form helpers

I dont see anyone using those in numerous address forms tutorials and
The first thing that comes to mind is that its probably more efficient
to create country and states tables and use foreign keys rather than
storing the value for every row...

Maybe it is very obvious, but for someone as unexperienced as i am, it
is not.

Could anyone point me to a good example using those?

This topic is locked and can not be replied to.