Multiple collection_select

Dear all,

  1. collection_select (country)
  2. collection_select (state)
  3. collection_select (city)

I need to give the query system hierarchically.

(Eg. select India -> then it should populate states in India-> select
state
tamilnadu-> it should populate cities in tamilnadu-> select madras-> It
should get all params values as params[:country], :params[:state],
:params[city]->@list = Table.find(conditions…params[:country],
:params[:state], :params[city]))

This is the exact problem I need. In tutorials, this kind of hierarchal
collection_select options are not available… If clear tutorials
available
kindly tell me… With Advanced Thanks.


With Regards
Palani Kannan. K

watch this

http://railscasts.com/episodes/88-dynamic-select-menus

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