Thanks that was handy and worked out. On another note I just wanted to give a shout/thanks for Forme as well. The serializer was a great help for implementing a flexible pager. Keep up all the great work.
On Thursday, 26 October 2017 16:32:11 UTC-10, Jeremy Evans wrote: > > On Thursday, October 26, 2017 at 12:44:57 PM UTC-7, Kawika wrote: >> >> Revisiting this, is it possible to store state along with a dataset in >> 5.*? How could I accomplish that? Thanks >> > > It's always possible to store additional state when creating a new dataset > (not modifying an existing dataset): > > ds = ds.clone(:some_key=>some_value) > ds.opts[:some_key] > > Dataset state is stored in the opts hash. As long as you don't use the > same keys that Sequel uses, you won't run into problems. > > 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 https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
