I have a Rails form that is being used for creating and editing a model with a has_many relationship. I\'m very familiar with typical forms with nested models, but my current pr
Not sure if this is what you need, but couldn't you include the model data as a local? like:
<%= render :partial => 'customer_image_show', :locals => { :f => images_form, :customer_image => @customer_image } %>
You can call
f.object
to get to the object that the form is associated with.