Ben Woosley
|
92dbf6ff26
|
Use database cleaner in specs so we don't have to worry about test pollution ourselves
|
2011-04-19 19:01:23 +09:00 |
|
Akira Matsuda
|
465a2d049e
|
fixes #45, #50 quick fix on count to return the actual number of records on AR 3.0
|
2011-04-19 18:57:45 +09:00 |
|
Rolf Timmermans
|
cb65a17c45
|
Do not break ActiveRecord::Base.descendants, by making sure to call super from ActiveRecord::Base.inherited.
|
2011-02-24 09:19:51 +01:00 |
|
Akira Matsuda
|
d0b28fcc5f
|
tests for AR group query
|
2011-02-23 00:20:44 +09:00 |
|
Akira Matsuda
|
3c567d246b
|
avoid possible namespace collision
|
2011-02-18 08:16:56 +09:00 |
|
Akira Matsuda
|
728666c54c
|
minus value for limit also falls back to the default value
and reduced the number of scopings when using default
|
2011-02-17 01:42:34 +09:00 |
|
ITO Koichi
|
4b3a0993da
|
Error happen under model.page(params[:page]).per(params[:per])
|
2011-02-15 18:41:49 +09:00 |
|
Akira Matsuda
|
8036619ae6
|
default PER_PAGE to 25
|
2011-02-06 20:11:45 +09:00 |
|
Akira Matsuda
|
bfa1449f16
|
implement AR scopes
|
2011-02-05 23:45:49 +09:00 |
|