I ran into the same problem when i was trying to implement the acts_as_rateable too. It seemed like my application wasn't picking up the .rjs template at all (where it called page.replace_html "star-ratings-block", :partial => 'rating/ rating', :locals => { :product => @product }
so instead I found that you can put that call in the RatingController:
def rate
( ...other code ...)
render :update do |page|
page.replace_html 'star-ratings-block' , :partial => "rating/ rating", :locals => { :product => @prod}
end
end
See if that works for you...and I'm curious if anyone has any suggestions as to why the .rjs template might not be working.