Displaying 1 result from an estimated 1 matches for "voteup".
2007 Jun 04
1
acts_as_rateable in Beast
...;ve tried link_to_remote and am
loading javascript files but it does not seem to be working, my partial
looks like this:
<div id="<%= asset.id %>">
<%= number_with_precision(asset.rating, 1) %> (<%=
asset.ratings.size %> votes) | <%= link_to_remote("voteup",
{:url => { :controller => "posts", :action =>
"voteup",
:id => asset.id, :rating => 1,
:rateable_type => asset.class.to_s} } ) %>
</div>
Thanks ahead for the help!
--
Posted via http://www....