@recent_posts = @user.recent_posts.limit(5) @favorite_posts = @user.favorite_posts.limit(5) @recent_comments = @user.comments.limit(5) end end <%= render :partial => "users/recent_post", :collection => @recent_posts %> <%= render :partial => "users/favorite_post", :collection => @favorite_posts %> <%= render :partial => "users/recent_comment", :collection => @recent_comments %> Before 13年10月27⽇日星期⽇日