Rails 5.1 added :default option to belongs_to
From the changelog

Now if only someone would add it to has_one relationships. Tim says it's harder because then you're setting attributes on another object.
From the changelog

Now if only someone would add it to has_one relationships. Tim says it's harder because then you're setting attributes on another object.