title: Active Admin - refresh second drop down based on first drop down, Ruby on Rails
body: <p>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.</p>
  
  <p>Every thing is working fine but the drop down of sub category is not getting filtered based on the category choosen.</p>
  
  <p>I am new to Ruby and RoR too. I don't know how to refresh dropdown of the subcategory after selecting category.</p>
  
  <p>I know i can do it from AJAX and javascript but i dont know where to code for that?</p>
  
  <p>Also, is there any specific filter avaliable in Active Admin which will make it happen without ajax or javascript.</p>
  
  <p>Any ideas or help will be highly appreciated.</p>