Hello,
We stumbled upon a bug in our system due to a misunderstanding on how
custom datasets work when they are defined in models.
We have the following example:
```
class User
one_to_many :active_role_assignments, class: RoleAssignment.name do |ds|
ds.active
end
end
```
In another place of the code we are doing something close to this:
```
User.association_join(:active_role_assignments)
```
We were under the impression that `ds.active` was going to considered but
that doesn't seem to be true.
Is there a way to make Sequel consider the custom dataset of the relation?
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 view this discussion on the web visit
https://groups.google.com/d/msgid/sequel-talk/0790b210-5716-49e4-9144-e6323747c421n%40googlegroups.com.