2008-06-20から1日間の記事一覧
<% @post = Post.find(1) -%> <%= link_to ':id が @post', :action => :index, :id => @post %> <%= link_to ':id が @post.id', :action => :index, :id => @post.id %> ってあったときに、この 2 つの link_to はふつうは同じで、 <a href="/home/index/1">:id が @post</a> <a href="/home/index/1">:id が @p</a>…