louis-antonopoulos
louis-antonopoulos
@sumchattering Unfortunately, no. I had to remove `CombineViewModel` from what I was doing.
One challenge I see with attempting to add tracking to links in text-based emails would be how to accurately identify unsubscribe links with respect to the `AhoyEmail.default_options[:unsubscribe_links]` configuration setting.
The solution referenced [above](https://github.com/asdf-vm/asdf-ruby/issues/454#issuecomment-2885320540) worked for 3.4.7: `ASDF_RUBY_BUILD_VERSION=master asdf install ruby 3.4.7`
@joshuap Sure! Here's how we extended `Heya::ApplicationMailer` to include Ahoy Email's [has_history](https://github.com/ankane/ahoy_email?tab=readme-ov-file#message-history) and [track_clicks](https://github.com/ankane/ahoy_email?tab=readme-ov-file#usage): ``` # app/mailers/heya/application_mailer.rb module Heya class ApplicationMailer < ActionMailer::Base has_history track_clicks campaign: -> { params[:step].campaign.name }...
@joshuap What do you think of the above?
Thanks, @joshuap! Thank you for bringing in the extra documentation...it had totally fallen off my radar. I really appreciate it!
If Suspenders continues using the Title gem, it would be helpful for the app to add the `titles/application` keys to `en.yml` so that the user knows where that value is...
(identified while pairing with @stevepolitodesign)
I'm going to be opening a PR to return early as you suggest!
I support staying with the default in Production. As a helper to those who might be surprised by the new behavior, maybe we could add a commented-out section to `production.rb`...