# Country\_options / state\_options?

**URL:** <https://www.ruby-forum.com/t/country-options-state-options/109501>\
**Category:** Rails\
**Created:** [July 16, 2007, 1:40am UTC](https://www.ruby-forum.com/t/country-options-state-options/109501 "2007-07-16T01:40:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nguma\_M](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/278dde/32.png) [@Nguma\_M](https://www.ruby-forum.com/u/Nguma_M)\
**Post date:** [July 16, 2007, 1:40am UTC](https://www.ruby-forum.com/t/country-options-state-options/109501/1 "2007-07-16T01:40:33Z")

</div>

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  
examples.  
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?

thanks
