1
0
Fork 0
mirror of https://github.com/kaminari/kaminari.git synced 2022-11-09 13:44:37 -05:00
Commit graph

5 commits

Author SHA1 Message Date
Yuki Nishijima
2ac0c19a64 Add next_page and prev_page methods
closes #237
2013-06-17 17:50:11 +09:00
Akira Matsuda
e79935c2d5 num_pages => total_pages 2012-05-25 15:31:53 +09:00
Akira Matsuda
d0cb1837a1 refactor AR, DM, mongoid, and mongo_mapper specs
extract model definitions for each ORM under spec/fake_app, and load them only if target ORM is loaded
by this mechanism, all ORMs share a model name "User", and the other specs such as helper specs and request specs will run polymorphically
2012-05-23 12:44:13 +09:00
Akira Matsuda
854d04af4b [AR, DM, Mongoid, MongoMapper].each {|orm| run orm specs only if orm is loaded } 2012-05-23 12:38:30 +09:00
Akira Matsuda
53bae068e8 categorize model specs 2012-05-23 12:35:38 +09:00