# Select boxes for country and state

**URL:** <https://www.ruby-forum.com/t/select-boxes-for-country-and-state/154686>\
**Category:** Rails\
**Created:** [December 2, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/select-boxes-for-country-and-state/154686 "2008-12-02T23:08:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ali](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8c91f0/32.png) [@ali](https://www.ruby-forum.com/u/ali)\
**Post date:** [December 2, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/select-boxes-for-country-and-state/154686/1 "2008-12-02T23:08:45Z")

</div>

Hello

I’ve a user model which I would like to assign a state and municipal.

Can some one tell me how should I do that?

I tried “Dynamic Select Boxes” solution, but I couldn’t get the  
expected solution.

I also tried #88(railscast) Dynamic Select Menus, but the event is not  
triggered.

Many thanks
