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
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.