In a partial, how do I access the ActiveRecord object that's bound to a
<%= f.text_field :name %>
<% if f.(something).new_record? %>
<% end %>
I want to know if the object is new record or not.
I can pass the object itself using :locals, but I want to make it DRY.