Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing method and argument count errors #42

Open
khash opened this issue Nov 15, 2023 · 0 comments
Open

Missing method and argument count errors #42

khash opened this issue Nov 15, 2023 · 0 comments

Comments

@khash
Copy link

khash commented Nov 15, 2023

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 see any subscribe! methods, but only subscribe.

After changing subscribe! to subscribe, you'd get a undefined method onboarding_completed?'error on::User`

(which is clearly not defined in the app but there is no mention in the docs that it should, or shouldn't be defined, so you can imagine that it can be added to the 'User` class by the gem based on the campaign name)

The view helpers (unsubscribe URL, etc) also don't work as described, since they require arguments that are not passed by the mailer.

I have tried making various changes to make this work, based on that I can't see anyone else having such fundamental issues with the gem and therefore assumed it's something stupid I'm doing, with no luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant