title: Rails_admin, Adding model that embeds itself causes infinite loop
body: <p>I have created Mongoid model:</p>
  
  <pre><code>class Profile
     include Mongoid::Document
     include Mongoid::Timestamps
  
     embeds_many :sub_profiles, class_name: 'Profile', cyclic: true, inverse_of: :profile
  
     accepts_nested_attributes_for :sub_profiles
  
  end
  </code></pre>
  
  <p>When I open page where I can create or edit <code>Profile</code> my application just hangs. When I opened logs, it shows me that It tries to <strong>load html templates infinitely and just hangs.</strong></p>
  
  <p>I just wanted to dynamically add new <code>:sub_profiles</code> inside profile. What do I need to do?</p>
  
  <p>When I try to access to my <code>sub_profiles</code> via rails console it works fine.</p>