plz help me in retrieving distinct element from db and populate in
combobox?

I hav created a model "location".It has elements
(state,district,province,...)
I want to populate one combobox with distinct state and the other combo
box should display corresponding districts in that state which is
selected.

Can you give me the code for view, and controller
-- 
Posted via http://www.ruby-forum.com/.

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to