RailsCasts Pro episodes are now free!

Learn more or hide this

bkarstaedt's Profile

GitHub User: bkarstaedt

Site: www.modularweb.net

Comments by

Avatar

I'm using the gem nested_form - it's great! But there's a (beginner) problem I have with its output. The fields_for

ruby
<%= f.fields_for :news_item do |report| %>
...
<% end %>

seems to wrap everything in it in a <div class="fields">...</div>. How to avoid this?