This may be something simple but I need a clarity please. I already have Active rails MODEL Profile(representing Users) so devise is already using the MODEL Profile I know active admin integrates with devise but how can I generate active_admin to use my existing Profile so I can manage all Profiles(users) at back end?
Profile.rb
class Profile < ApplicationRecord
  is_impressionable
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable, :confirmable
            has_many :ads, dependent: :destroy 
end
routes.rb
Rails.application.routes.draw do
  devise_for :admin_users, ActiveAdmin::Devise.config
  ActiveAdmin.routes(self)
  devise_for :profiles
  resources :profiles
  resources :ad
  root 'motors#index'
end
I have also read the active admin documentation which states
If you want to use an existing user class, provide it as an argument:
rails g active_admin:install User
therefore I tried:
rails g active_admin:install Profile but didn't work
 
    