search for: vote_history

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

2010 Jun 17
7
Why do rails calls a method when I'm calling a property?
...n %> </p> <p> <%= link_to @story.link, @story.link%> </p> <div id="vote_form"> <% form_remote_tag :url => story_votes_path(@story) do %> <%= submit_tag ''Shovealo!'' %> <% end %> </div> <ul id="vote_history"> <% if @story.votes.empty? %> <em>Sin shoveadas aun</em> <% else %> <%= render :partial => ''votes/vote'', :collection => @story.votes %> <% end %> </ul> #view ends here From now thank you! -- Posted via http:/...