<%= hidden_field_tag 'object_id', params[:related_object_id] %> <%= hidden_field_tag 'object_type', params[:related_object_type] %>