Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<%= form_for([@post, Comment.new], remote: true) do |form| %>
Your comment: <br>
<%= form.text_area :body, size: '50x20' %><br>
<%= form.submit %>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.