Re: Sequel Extensions
Well there you have it. I tripped over "extensions" in the docs and thought there was special treatment of these. Heh. Thank you. -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to sequel-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/e14bf725-34ec-45e2-ba4b-69c4e737bf96%40googlegroups.com.
Re: Sequel Extensions
On Thursday, February 20, 2020 at 8:34:36 AM UTC-8, BeeRich33 wrote: > > Hi there. > > I can't seem to load an extension: > > Sequel.extension :earthdistance > > Says it cannot load such a file. I tried loading :cube first, but that > too wouldn't load. \dx shows I have both installed. > > Any insight? Obviously PostgreSQL. > Apparently surprisingly, Sequel.extension loads Sequel extensions, not PostgreSQL extensions. You can see what Sequel extensions are available by going to https://sequel.jeremyevans.net/plugins.html and looking under "Global extensions that ship with Sequel". You can use Database#run to run the appropriate CREATE EXTENSION query to add the PostgreSQL extension to the database. You would generally do this in a migration, assuming you are using migrations. Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to sequel-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/a58c33d3-79f0-467d-b50b-6badfd75725f%40googlegroups.com.
Sequel Extensions
Hi there. I can't seem to load an extension: Sequel.extension :earthdistance Says it cannot load such a file. I tried loading :cube first, but that too wouldn't load. \dx shows I have both installed. Any insight? Obviously PostgreSQL. Cheers -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to sequel-talk+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/f883d435-80fe-4fdd-81c6-833a8a04c1b4%40googlegroups.com.
Re: Sequel.extension :paginate - no such file to load -- sequel/extensions/paginate
Ooops :-) On Apr 29, 11:50 pm, Jeremy Evans wrote: > On Apr 29, 2:41 pm, rtacconi wrote: > > > I have a new Rails 3 app and when I try to include > > > Sequel.extension :paginate > > > I get > > > no such file to load -- sequel/extensions/paginate > > > Do you know how I can you pagination with Sequel? > > You spell the extension name correctly: > > Sequel.extension :pagination > > :) > > Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to sequel-talk@googlegroups.com. To unsubscribe from this group, send email to sequel-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
Re: Sequel.extension :paginate - no such file to load -- sequel/extensions/paginate
On Apr 29, 2:41 pm, rtacconi wrote: > I have a new Rails 3 app and when I try to include > > Sequel.extension :paginate > > I get > > no such file to load -- sequel/extensions/paginate > > Do you know how I can you pagination with Sequel? You spell the extension name correctly: Sequel.extension :pagination :) Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to sequel-talk@googlegroups.com. To unsubscribe from this group, send email to sequel-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.
Sequel.extension :paginate - no such file to load -- sequel/extensions/paginate
I have a new Rails 3 app and when I try to include Sequel.extension :paginate I get no such file to load -- sequel/extensions/paginate Do you know how I can you pagination with Sequel? -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To post to this group, send email to sequel-talk@googlegroups.com. To unsubscribe from this group, send email to sequel-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sequel-talk?hl=en.