Greetings,
I am trying to get a button to generate with id="view-blog-1-comments" and it seems the button_to_remote function is ignoring my call. Could some one set me straight on what I am doing wrong here.
<%= button_to_remote 'View Comments', :url => blog_comments_path(blog), :html => {:id => "view-blog-#{blog.id}-comments"}, :method => :get %>
Thanks in advance!