Caller can add on the .to_a themselves if they want to trigger fetch. But returning the Relation is more flexible, as it lets the caller also chain on other things, say work.ordered_viewable_members.where(role: something), which I am looking to use for PDF work, ref #2492
Caller can add on the .to_a themselves if they want to trigger fetch. But returning the Relation is more flexible, as it lets the caller also chain on other things, say
work.ordered_viewable_members.where(role: something)
, which I am looking to use for PDF work, ref #2492