Hello,
please have a look on the following code snippet
class Foo < Sequel:Model
one_to_many :bars do |ds|
# how can I get here a reference to a current Foo model instance? Or at
least current Foo model primary_key
end
end
Btw I am using
Sequel::Model.freeze_descendents
Thanks a lot
--
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/af55778e-a586-4520-a60f-378d90cb220bo%40googlegroups.com.