using with scope_out
-
Chris Wanstrath
- State changed from new to open
- Assigned user changed from Chris Wanstrath to Mislav
-
Deleted User
I've just updated the patch....
with_scope adds a method which can be used like with_scope to use the defined scope.
So in the example above a method Task.with_recent_incomplete is added. In the new version of the patch, if this method exists it evaluates the count within it.
Still not sure if this is a good idea or not ...dependencies between plugins, but it's proved useful for me!
Cheers
Rupert
-
Jack Danger
+1 for this patch.
Scope out is killer useful. So's will paginate. Any chance we can get them to play nice?
-
Chris Wanstrath
- State changed from open to resolved
(from [326]) will_paginate: add in support for the scope_out plugin [rupertv, Chris Wanstrath] [#70 state:resolved]
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.