On Tuesday, September 23, 2014 12:32:22 AM UTC-7, Petr Kaleta wrote:
>
> DB.get(Sequel.lit("'a=>b'::hstore")).class # => Sequel::Postgres::HStore
>
> This works as expected. I think that problem is once manipulating
> with Sequel::Postgres::JSONHash or Sequel::Postgres::HStore directly
> (directly means changing value of some key)...
>
> model.hstore_attr = { foo: 'bar' }
> model.save # works
> model.hstore_attr # => { foo: 'bar' }
>
What is model.hstore_attr.class here?
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sequel-talk.
For more options, visit https://groups.google.com/d/optout.