Commit Graph

20 Commits

Author SHA1 Message Date
Akira Matsuda 8a3803697f I said, Tag is not Renderable 2011-02-14 11:23:52 +09:00
Akira Matsuda 9f3d3944cb refactor tags (Part II)
* prefer more testable and clearer way
* actually fixed a bug that Link was_not a Page. now everything conforms to the document, I believe
2011-02-13 22:59:25 +09:00
Akira Matsuda 6bfab14f10 :params option for the paginator
this overrides each pagination link's url_for option
2011-02-13 18:37:04 +09:00
Akira Matsuda 2a7514a53e more tests to ensure that default per_page does not affect other models 2011-02-12 01:04:25 +09:00
Akira Matsuda 31b213a760 prepare for spec (part II) 2011-02-12 01:04:25 +09:00
Akira Matsuda 575a0b303b "paginates_per" is a declarative DSL to set default per_page value for each model 2011-02-12 01:04:25 +09:00
Akira Matsuda dd77a7dcb3 introduce modules to characterize each tag 2011-02-11 16:53:37 +09:00
Akira Matsuda 23186e5c9c fixes #2 show nothing when num_page == 1 2011-02-09 01:41:43 +09:00
Akira Matsuda 0c12f5b639 use HTML5 <nav> tag for the container 2011-02-08 11:25:43 +09:00
Akira Matsuda af61af9132 introducing Steak 2011-02-08 11:21:39 +09:00
Akira Matsuda 0a06feeb97 r g steak:spec users 2011-02-08 11:19:05 +09:00
Akira Matsuda e9361b44cf r g steak:install 2011-02-08 11:19:05 +09:00
Akira Matsuda 94b65da63f extract the app from config file 2011-02-08 11:19:04 +09:00
Akira Matsuda 20484f9c02 rename method
s/tagify/tagify_links/g
2011-02-07 00:12:08 +09:00
Akira Matsuda 8036619ae6 default PER_PAGE to 25 2011-02-06 20:11:45 +09:00
Akira Matsuda fa674a64cc partialize tags 2011-02-05 23:45:49 +09:00
Akira Matsuda bd2f1b5e23 the first implementation of pagination helper 2011-02-05 23:45:49 +09:00
Akira Matsuda bfa1449f16 implement AR scopes 2011-02-05 23:45:49 +09:00
Akira Matsuda ff721e02d5 prepare for the specs 2011-02-05 23:45:49 +09:00
Akira Matsuda 4db3397b4d Initial commit to kaminari. 2011-02-05 22:32:10 +09:00