-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
I'm struggling how to get an extended association owner. AFAIK it's proxy_association.owner in ActiveRecord. Does this exist in Mongoid? Or is there another way? Example:
class Something
field :some_field
has_many :whatevers, extend: ExtraStuff
end
module ExtraStuff
def recent
- I need "some_field" here, but there's no "proxy_association"
end
end