RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: julio336
How can I use it in production? which option must I pass? Thanks.
Excellent episode, hmm but how can I add some ajax to avoid reload the page when someone votes??
Hi, how can I create a new Comment inside my _form.html.erb of any model? I don't want to go to localhost:3000/products/1/tags to create a new tag, I would like to create it inside new.html.erb view of any model. I have problems with the line:
<% form_for [@commentable, @comment] do |f| %>
How can I use it in production? which option must I pass?
Thanks.
Excellent episode, hmm but how can I add some ajax to avoid reload the page when someone votes??
Hi, how can I create a new Comment inside my _form.html.erb of any model? I don't want to go to localhost:3000/products/1/tags to create a new tag, I would like to create it inside new.html.erb view of any model. I have problems with the line:
<% form_for [@commentable, @comment] do |f| %>