# Problem with collection\_select

**URL:** <https://www.ruby-forum.com/t/problem-with-collection-select/137016>\
**Category:** Rails\
**Created:** [May 8, 2008, 10:38am UTC](https://www.ruby-forum.com/t/problem-with-collection-select/137016 "2008-05-08T10:38:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![williamn](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/w/6bbea6/32.png) [@williamn](https://www.ruby-forum.com/u/williamn)\
**Post date:** [May 8, 2008, 10:38am UTC](https://www.ruby-forum.com/t/problem-with-collection-select/137016/1 "2008-05-08T10:38:14Z")

</div>

hi all…

here are my problem:

user has one address and address has one province.

how can i use collection\_select to show list of provinces in user  
controller?

i try @provinces = Province.find(:all) but i got this err message:  
undefined method `assert\_valid\_keys’ for :address:Symbol

any help guys?

thank you.

–william
