Single attribute join via belongs_to
What is the correct way to join a subset of attributes to a resource through a belongs_to relation?
For instance, with post has many users and post belongs_to user, i want only the public?(true) fields joined onto the post struct
does this belong in a prepare() maybe? or is it a calculation?
2 Replies