Oops forgot that. But a new require error: *cannot load such file -- sequel/extensions/hstore (LoadError)*
On Saturday, August 5, 2023 at 8:55:20 PM UTC-4 Jeremy Evans wrote: > 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/6c976e89-8e43-46d0-8036-684006c32d57n%40googlegroups.com.
