More 'things I forgot' - using create_with and where in making new records. We can make use of the resulting association to create new records that match our previous parameters.
Share this post
Rails ActiveRecord: create_with, where for…
Share this post
More 'things I forgot' - using create_with and where in making new records. We can make use of the resulting association to create new records that match our previous parameters.