Reputation:
I'm trying to make my comment form remote, but no matter how I add remote: true
, I get an error.
I want to add remote: true
to this line:
<%= form_for [@thing, @comment] do |f| %>
What is the proper syntax to achieve this?
Upvotes: 0
Views: 39