Make ActiveRecord defer/postpone saving the records you add to an habtm (has_and_belongs_to_many) association until you call model.save, allowing validation in the style of normal attributes.
Required Ruby Version
None
Authors
Tyler Rick, Alessio Caiazza