search for: vote_scor

Displaying 2 results from an estimated 2 matches for "vote_scor".

Did you mean: vote_score
2010 May 24
2
Two RJS visual effects will happen at the same time?
I was going to change the background of a div from white to red and then from red back to white, so this is used in an RJS file: page[:vote_score].visual_effect :highlight, :startcolor => ''#ffffff'', :endcolor => ''#ffcccc'' page[:vote_score].visual_effect :highlight, :startcolor => ''#ffcccc'', :endcolor => ''#ffffff'' But looks like they happen at the same ti...
2010 Jun 17
7
Why do rails calls a method when I'm calling a property?
...ories_path else render :action => ''new'' end end def show @story = Story.find_by_id(params[:id]) end end #controller ends here Here''s my view: #View starts here <h2> <%= @story.name %> </h2> <h3> <span id="vote_score"> Shoveadas => <%= @story.votes.size %> </span> </h3> <p class="submited_by"> Agregada por: <%= @story.user.login %> </p> <p> <%= link_to @story.link, @story.link%> </p> <div id="vote_form"> <...