caffeinate
caffeinate copied to clipboard
A Rails engine for drip campaigns/scheduled sequences and periodical support. Works with ActionMailer, and other things.
Our mailing queue is getting looped when a user is deleted. Looks like the mailer action still gets evaluated, I checked if the mailing was returning nil and indeed it...
`lib/generators/caffeinate/templates/migrations/create_caffeinate_campaign_subscriptions.rb.tt` can be changed as follows to avoid this rollback error: ``` # # (3.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC # (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER...
Not an issue, just nice to see the effort you've put into the project. Thanks for the OS.
Eliminate nags! Fixes #43
Starting in Rails 7.2, alias_attribute with non-attribute targets will raise. Use `alias_method :campaign, :caffeinate_campaign` or define the method manually. backtrace sources this error from the following lines ``` /Users/maxwell/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/caffeinate-2.5.0/app/models/caffeinate/campaign.rb:86:in `subscribe!'...
Following the exact installation flow in readme, the first error you'd encounter is `undefined method 'subscribe!' for OnboardingDripper:Class (NoMethodError)` when `OnboardingDripper.subscribe!(self)` is called (inside `::User`). Looking at `ApplicationDripper` I can't...
`periodical` currently supports `every:` and `start:` when it comes to parameters that control its time sequences. I think of these as ```ruby # :every object periodical :remind_users, every: 5.minutes #...
Curious for your thoughts on this, Josh! We've had a few instances of bugs popping up in our primary production app that ultimately came from a cognitive mismatch between the...
I have an itch to make Caffeinate a lot better, but I'm struggling to find the time to do so. I really like Fibery's pricing for startups: https://fibery.io/startup-program, which is...
I went to the site and saw it was down. Its also mentioned here https://github.com/joshmn/caffeinate-marketing/issues/5