I've got a model with custom dataset association
class User < Sequel::Model
module FriendsPager
def paginate
# filter friends dataset here
end
end
one_to_many :friends, :class => User, :extend => FriendsPager, :dataset
=> (proc {|r| ... })
end
So I want to extend just friends association. My question is, how can I
access friends_dataset from paginate method? So I'll be able to filter it
more etc...
Thanks
--
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 http://groups.google.com/group/sequel-talk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.