- collection_select (country)
- collection_select (state)
- 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.