I’m trying to get some ajax stars on my website to update. The CSS code
I have in place expects to put URL’s like this:
I’m trying to use link_to_remote to do the above:
- <%= link_to_remote ("", :update => "stars", :url =>{ :action => :vote, :id => 1, :store => @store.id}, :class => 'one-star', :name => 'Terrible') %>
I have one link_to_remote for each of my star classes but it doesn’t
seem to work. Can anyone help me understand what I’m doing wrong?