title: Best_In_Place inline edits with nested attributes
body: <p>I am currently trying to use the best_in_place gem in order to do inline editing within an HTML table. I am showing a cart in cart's show view. Within the cart's show view, I have the ability to add lineItems. When an LineItem is created, a new Available record is also created with a lineItem_id and then it's shown in the cart with its lineitem. Both the Cart and LineItem tables come from an external database and because of that, I can't add columns to so that is why I can't just add an available boolean attribute to the LineItem.</p>
  
  <pre><code>**cart.rb
  class Cart &lt;&lt; AR::Base
   has many LineItems
  end
  
  **line_item.rb
  class LineItems &lt;&lt;AR::Base
   belongs_to Cart
   has_one :available 
   accepts_nested_attributes_for :available 
  end
  
  **available.rb
  class Available&lt;&lt;AR::Base
   belongs_to LineItems
  end
  
  
  **views/cart/show.html.erb
  @cart.lineitems.each do |line_items|
      &lt;td&gt;&lt;%= line_item.price %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%=line_item.name %&gt;&lt;/td&gt;
      &lt;td&gt;&lt;%= best_in_place line_item.available.boolean, :boolean, :path =&gt; line_items_path, :type =&gt;  type: :checkbox, collection: %w[No Yes] %&gt;&lt;/td&gt;  
  end
  </code></pre>
  
  <p>I want to be able to edit the line_item.available.boolean within the html table which is on the cart show view using best_in_place but I am not having any luck.. Any help would be AMAZING! =] I know after reading around that it's not possible using nested attributes, but If I could get rid off the available model somehow and have a field in the show table that I can edit for a line_item to see whether or not the lineItem is available, that would also be great. I am open to any ideas! </p>