Help with nested form: User and Artist

Artist is 1:1 with User. User has_one :artist

In my artist model, I have:

  belongs_to :user
  accepts_nested_attributes_for :user

However, in my artist _form, the name column from the user model does
not display. I am doing:

    <% f.fields_for :user do |builder| %>
    <p class="fields">
      <%= builder.label :name %>
      <%= builder.text_field :name %>
    </p>
    <% end %>

How come?

Just figured out that it needed to be:

  <%= f.fields_for :user do |builder| %>

with the "<%=".

Strange why this is not in the docs