Users are creating accounts on your new Saas. Yay (and not just family and friends or bots). Yay! Now comes the next step from every marketing handbook: capturing newsletter subscriptions.
This article builds on Add Sign Up to Rails 8’ Authentication.
Add a simple checkbox to let users opt in to product updates during signup. Store their preference using Rails Vault and manage the subscription with Rails Courrier.
First, add Rails Vault and Rails Courrier to your Gemfile:
gem "rails_vault"






