title: rails admin uninitialized constant Country::Person
body: <p>When I click on Countries in rails_admin navigation I get </p>
  
  <pre><code>NameError in RailsAdmin::Main#index
  
  uninitialized constant Country::Person
  
  raise NameError.new("uninitialized constant #{candidates.first}", candidates.first)
  </code></pre>
  
  <p>I'm using User model but not Person. I think I need to configure it somehow. But where to do this?</p>
  
  <p>here's my rails admin initializer</p>
  
  <pre><code>  ## == Devise ==
     config.authenticate_with do
       warden.authenticate! scope: :user
     end
     config.current_user_method(&amp;:current_user)
  
    ## == Cancan ==
     config.authorize_with :cancan 
  
    ### More at https://github.com/sferik/rails_admin/wiki/Base-configuration
  
    config.model "User" do
        edit do
          field :admin
          field :username
          field :email
          field :password
        end
      end
  
    config.actions do
      dashboard                     # mandatory
      index                         # mandatory
      new
      export
      bulk_delete
      show
      edit
      delete
      show_in_app
  
      ## With an audit adapter, you can add:
      # history_index
      # history_show
    end
  </code></pre>