ActiveRecord finding from inside a serialized field
- by JP
While working with ActiveRecord I have a table which stores a serialized array of participant usernames for each row. Is there an easy way to search for all rows who contain a specific user?
I realise I could just make a new linked table for the participants, but I feel like that would increase my overhead unnecessarily -- what do you think?