I have an option in  dropdown like "Add new option" written using 
 grouped_collection_select. 

And when user clicks on the "Add new option". A pop up dialog appears to 
add a new value. And when I click create it hits the database and adds the 
value to the db. 

But It never updates the dropdown list. Suggest me a way to auto refresh 
only the current dropdown with the new vales in db when a new value is 
added.



Ram 

-- 
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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/47bIB7geJVgJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to