My User model can create either an Employer or a Jobseeker , depending on whether the Boolean attribute of Employer true or not.
User
Employer
Jobseeker
What I want to do is separate pages for Employer and Jobseeker , not just separate areas. The pages will have completely different tables.
Many thanks!
You can simply register your model twice, but name it differently each time.
ActiveAdmin.register User, as: 'Employer' do # ... end ActiveAdmin.register User, as: 'Jobseeker' do # ... end
Source: https://habr.com/ru/post/1213461/More articles:The easiest way to support registration from VSTO AddIn - c #typescript parent class calls derived function - inheritanceHow to add the "Share on whatsapp" button on a mobile site for iOS - javascriptWhy is the main function in Java located in the class? - javaA generic type indicates an incompatible type for a more restrictive purpose - javaDownload SAPUI5 Model - javascriptHow do you automatically align method arguments in Swift with a colon? - xcodeScalaFX: HelloWorld compilation error - scalaWhy do threads behave differently with the other body of the run method? - javaTo treat (some) valgrind warnings as errors? - c ++All Articles