Traing to reproduce ActiveRecord::AssociationTypeMismatch in a minimal Rails app.