This project is archived and is in readonly mode.
<Model>.offset(x).limit(x) unknown offset method exception
-
David Trasbo
- State changed from new to open
- Importance changed from to Low
-
Marcelo Giorgi
- Tag set to activerecord, patched, scope
Hi vhochstein,
Yeah, I totally agree, it should behave in the same way as #limit.
Here I provide a couple of tests and a patch for this case based on your suggestion.
BTW: This patch applies cleanly on master right now.
Any thoughts?
-
Repository
- State changed from open to resolved
(from [72543b2e6358a502257a0e1eac61b0e3164937dd]) Delegate ActiveRecord::Base.offset to scoped methods (analogous to limit) [#5688 <Model>.offset(x).limit(x) unknown offset method exception state:resolved]
Signed-off-by: Santiago Pastorino santiago@wyeworks.com
http://github.com/rails/rails/commit/72543b2e6358a502257a0e1eac61b0... -
Repository
(from [23f728abd5209728114fe4722329fbf860a814ca]) Delegate ActiveRecord::Base.offset to scoped methods (analogous to limit) [#5688 <Model>.offset(x).limit(x) unknown offset method exception state:resolved]
Signed-off-by: Santiago Pastorino santiago@wyeworks.com
http://github.com/rails/rails/commit/23f728abd5209728114fe4722329fb... -
Andrea Campi
- Tag changed from activerecord, patched, scope to activerecord, patch, scope
bulk tags cleanup
