ryanb/nested_form — pull request #226 by achempion (2012-12-29 13:46:38+00:00)
Title: Update lib/nested_form/builder_mixin.rb

I use twitter bootstrap and for my form and I needed use a tabs
gem nested form make wrap all .fields_for fields, but if it don't needed,
we can't disable it

like my nested has_many model for example:
%ul.nav.nav-tabs#project-tabs
%li.active= link_to ...
%li= link_to ...
.tab-content
= f.simple_fields_for :project_contents do |content|
.tab-pane
But if will make wrap fields_for - it's will crashed tabs

For disable it, after commit - In your nested model
def self.wrapper_off?
true
end