Edit Record

<% form_for :record, @record, :url => mg_records_url do |f| %> <%= f.error_messages %> <%= render 'records_form', :f => f %> <% end %>