On Feb 24, 12:44 am, Akhil Kodali <[email protected]> wrote:
> Hi,
>
> Thanks for the reply.
> I should have been clearer Model and A are two different classes.
> Come to think of it...looks like it might not be easily doable.
It's possible you want a many_to_one association:
class A < Sequel::Model
end
class Model < Sequel::Model
many_to_one :a
end
model = Model.new
model.a = A.first
model.save
Jeremy
--
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.