It does work if I just do the straight require instead of the shortcut. Scott
On Mon, Jul 13, 2009 at 9:40 AM, Scott LaBounty <[email protected]> wrote: > Hmm... I put it right after my require Sequel and I get an "undefined > method 'extension' for Sequel:Module (NoMethodError)". Is there something > else I'm missing? I'm running Sequel 3.0.0, do I need to upgrade? > > Scott > > > On Mon, Jul 13, 2009 at 8:58 AM, Jeremy Evans <[email protected]>wrote: > >> >> On Jul 13, 8:27 am, Scott LaBounty <[email protected]> wrote: >> > Jeremy, >> > >> > Sorry to be so slow, but where does the Sequel.extension :pagination >> line >> > go? In the method where I use it? In the class where it's used? >> Somewhere >> > else? >> >> Anytime after you require 'sequel' and before you use the >> Dataset#paginate method. Sequel.extension :pagination is just a >> shortcut for require 'sequel/extensions/pagination'. >> >> Jeremy >> >> >> > > > -- > Scott > http://steamcode.blogspot.com/ > -- Scott http://steamcode.blogspot.com/ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
