On Sat, Aug 5, 2023 at 3:52 PM [email protected] <[email protected]> wrote:
> For some reason I can't seem to Hash.store.
>
>
>
>
>
>
>
> *a = { :a => "orange", :b => "red", :c => "green" }trial =
> Sequel.hstore(a)ap trial*
>
> Throws error:
>
>
>
>
>
>
>
>
>
>
> *{ :a => "orange", :b => "red", :c =>
> "green"}/users/rich/app.rb:303:in `<main>': undefined method `hstore' for
> Sequel:Module (NoMethodError)trial = Sequel.hstore(a) ^^^^^^^*
>
> I am using Sequel 5.71.0
>
> Any insight appreciated. Cheers
>
Did you load the extension into the Database object, as described in the
documentation (
https://sequel.jeremyevans.net/rdoc-plugins/files/lib/sequel/extensions/pg_hstore_rb.html)
?:
DB.extension :pg_hstore
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sequel-talk/CADGZSScgTKbb83a1Diwqnk%3DcBJPjAVtwAVd%2Bzus%2BhwaR4goybA%40mail.gmail.com.