_ pagination Webã¢ããªã±ã¼ã·ã§ã³ã§ã¯ããªã¹ããé·ããªã£ãæã«è¤æ°ãã¼ã¸ã«åãã¦ã ã次ã¸ããåã¸ãã®ãããªããã²ã¼ã·ã§ã³ãè¡ããã¨ãå¤ãã ãã¨ãã°ãGoogleã®æ¤ç´¢çµæã¿ãããªã ããã£ã¦çµæ§é¢åãªã®ã ããRailsã§ã¯paginateã¨ããã¡ã½ããã«ãã£ã¦ ç°¡åã«å®è£ ã§ããã ã¾ãã¯ãã³ã³ããã¼ã©å´ã®ã³ã¼ãã«ã def list @question_pages, @questions = paginate(:question, :per_page => 5, :conditions => "category_id = 1", :order_by => "date desc") end ã®ããã«æ¸ãã¦ããã paginateã®ç¬¬ä¸å¼æ°ã«ã¯ã¢ãã«ã®åå*1ã 第äºå¼æ°ã«ã¯ä»¥ä¸ã®ãããªãªãã·ã§ã³ãæå®ã§ããã class_name ã¢ãã«ã®ã¯ã©ã¹å per_page ä¸ãã¼
{{#tags}}- {{label}}
{{/tags}}