Problem with collection_select

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

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.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs