On 05/01/2012 03:09 PM, Jeremy Evans wrote:
Dataset and Database instances are not designed to be marshalable. This
may work for your use case:
q.db = nil
s = Marshal.dump(q)
qq = Marshal.load(s)
qq.db = DB
I don't guarantee this works for all datasets, though. Many adapters use
datasets that are instances of anonymous classes, for example.
Thanks, will keep that in mind.
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sequel-talk?hl=en.