Commit Graph

9 Commits

Author SHA1 Message Date
Akira Matsuda acbcbc8beb Format 2018-11-11 13:04:43 +09:00
tumayun 59a550e932 Fix total_count on loaded relation 2017-11-29 22:24:52 +08:00
Yuki Nishijima 01ec38a1ca Fixed a bug where the #total_count raises an exception
fixes #849
2017-01-13 04:26:43 +00:00
Akira Matsuda c5aca2f5a2 total_count for a loaded Relation that has no @_per can also be calculable using `default_per_page`
Default per_page for a loaded Relation that has no @_per is `default_per_page`
2017-01-05 01:20:34 +09:00
Akira Matsuda 11d4aaf3ed total_count has to be retrieved from DB if loaded AR::Relation is empty
fixes #845
2017-01-05 01:14:59 +09:00
Akira Matsuda 384eead564 Cleanup testing data between test runs 2016-12-08 00:49:14 +09:00
Yuki Nishijima 57d98f8a2e Add more test coverage around select and group 2016-12-01 02:39:31 +00:00
Akira Matsuda 721654ca75 #️⃣ 🚀 🔞 2016-11-22 22:16:57 +09:00
Akira Matsuda f33e2566a6 RSpec => Test/Unit 2016-11-22 21:52:33 +09:00