Delegated Types in Rails, handling models with overlapping attributes
September 05, 2020How to handle active record models with many shared attributes without storing repeated data or null columns.
How to handle active record models with many shared attributes without storing repeated data or null columns.
I recently wanted to implement a feature where I could invite a list of users from a single form to a platform. It wasn’t quite as…
How to ensure only one row has a specific attribute value with Active Record validations