Suppose an ActiveRecord named "Relationships". It has an attribute "participants" which is an array containing people ID. Now I want to find the records that contain a certain people ID. How should I query it?
Suppose an ActiveRecord named "Relationships". It has an attribute "participants" which is an array containing people ID. Now I want to find the records that contain a certain people ID. How should I query it?