ãªã¹ããä¾ãã°Googleã®æ¤ç´¢çµæã®ããã«è¡¨ç¤ºãããéã pagenator ã¯é常ã«ä¾¿å©ã§ããããããããã©ã«ãã® ãã¼ã¸ãã¼ã¿ã¼ã¯ã¡ãã£ã¨è¤éãªãã¨ããããã¨ãã㨠åä»ã«æãã¾ãã ä¾ãã°ããcommentãã¨ãããã¼ã¿ãgenerate scaffold ã«ã¦ä½æããã¨ãcomment_controller.rbã« def list @comment_pages, @comments = paginate :comments, :per_page => 10 end ã¨ä½æããã¾ãããããããããç¹å®ã®äººã®ã³ã¡ã³ãã ãèãããã¨ããã¨ããã®è¡¨ç¤ºã§ã¯åä»ã§ãã LoginGeneratorã«ã¦ä½ããããuserãã«ãã®ã³ã¡ã³ããhas_one ããã¦ããã¨ãã¾ãããããã®ããã«æ¸ãã¾ãã def list comments = User.find(@session['user']
{{#tags}}- {{label}}
{{/tags}}