Displaying 1 result from an estimated 1 matches for "submited_by".
Did you mean:
submitted_by
2010 Jun 17
7
Why do rails calls a method when I'm calling a property?
...nd_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 => story_votes_path(@story) do %>
<%= submit_tag ''Shovealo!'' %>...