Hi folks,
I made a simple class for managing sets of AR objects. You can see intended usage in the Github readme.
The basic idea is to implement a Set class so that it conforms to the ActiveRecord interface, meaning we can save, delete, validate, set/get attributes of the set just like we would a single AR object. You should be able to swap the Set out for an individual AR object in any of your actions/classes without having to significantly alter your code.
Let me know if you want to help out! It’s already most of the way there but I’d love to get feedback.