> I would use block_magic_zoings, and just define a custom dataset method:
>
> Blorl.dataset_module do
> def block_magic_zoings
> Zoing.join(:blorls, :id=>:blorl_id){ |j, lj, js| S(lj)[:t] <
> S(j)[:magic_t] }.where(:blorl_id=>select(:id))
> end
> end
>
> dataset associations that are instance specific is not something that Sequel
> can handle by default. We could punt and support an association option that
> would allow you to override how dataset_associations handles things, but I
> think it's just better to define your own dataset method in that case, as I
> did here.
sry i need to sleep
> Note that dataset_associations_join only affects associations that use join
> tables, and one_to_many does not use a join table.
yes its on teh docs i just tried everything i could =o(
sry for throwing lots of stuff =o(
and thank you very much! <3
--
Igor
--
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.