i have something liek this:

class Stuff < Sequel::Model
  one_to_many(
    :some_other_magic_stuffs,
    class: :SomeOtherStuffs,
    graph_block: proc do |j, lj, js|
      S(j)[:created_at] < S(lj)[:magic_time]
    end
  )
end

which gives nice joins.

but i also want it to work as a instance method, so i go ahead and try
to add a `conditions` option, but it doesnt know about instance stuff
liek `magic_time`, but then i try to add a block and it kinda works,
but then it breaks teh associations_dataset because it doesnt know
about instance stuff.

i also tried `association_datasets_join: true`, but it didnt help.

wat should i do now? =o(

<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.

Reply via email to