On Mar 4, 10:27 am, Ryan Grove <[email protected]> wrote: > For what it's worth, dataset pagination and model hooks are among my > favorite things about Sequel. I like the idea of keeping useful but > not crucial features like this as optional, > maintained-but-not-enhanced members of the main gem, at least until > someone is interested in breaking them off into plugins and enhancing > them.
I actually don't use dataset pagination in any of my apps, and it is really easy to support it with an extension (it's not tied in anywhere else, AFAIK). I think a lot of the methods added to paginated datasets only make sense in a certain context, and since the default limit/offset take care of the general need, I think it's best to move it to an extension. Model hooks aren't going away, I'm just going to move the class methods into a plugin. I think using instance methods gives you more flexibility, and performance should be better too. Jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en -~----------~----~----~----~------~----~------~--~---
