search for: shoveadas

Displaying 1 result from an estimated 1 matches for "shoveadas".

2010 Jun 17
7
Why do rails calls a method when I'm calling a property?
...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"> <% form_remote_tag :url...