Are you sure that you need to? If you are rendering relationship info
for the user, but that relationship info relies on some other model,
you might be able to:
_relationship_status.html.erb
<% fields_for :relationships, relationships do |fld| %>
<% fld.text_field … %>
<% end %>
The main point being that if you’re rendering a partial that displays
fields for a different model then you don’t need to pass the form
variable, but a reference to that model or collection.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.