KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am using Active Admin Gem on Ruby on Rails. I have a form in which i have selected category and sub category and then accordingly i have to fill the data. So i created two tables in sqlite added in active admin resouce. Every thing is working fine but the drop down of sub category is not getting filtered based on the category choosen. I am new to Ruby and RoR too. I don't know how to refresh dropdown of the subcategory after selecting category. I know i can do it from AJAX and javascript but i dont know where to code for that? Also, is there any specific filter avaliable in Active Admin which will make it happen without ajax or javascript. Any ideas or help will be highly appreciated.
Tags (comma-separated)
Save Edits
Cancel