We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey folks,
I have both Customer and User models, each represents a different type of user (I know, I know).
Customer
User
The docs let me set a different user model, but is there a way to use heya with two user models at the same time?
Something like this?
# config/initializers/heya.rb Heya.configure do |config| config.user_types = ["MyUser", "MyCustomer"] end
The text was updated successfully, but these errors were encountered:
Hi @rathboma, we don't support multiple user models at the global level, but you should be able to set a different user_type per campaign (see here):
user_type
class UserOnboardingCampaign < ApplicationCampaign user_type "MyUser" # ... end class CustomerOnboardingCampaign < ApplicationCampaign user_type "MyCustomer" # ... end
This is not something I have actually tried doing in practice, however—so you might be the first to explore multi-user campaigns. 😁
Sorry, something went wrong.
If you do try this, would love if you could report back and let me know how it works. I'll leave this open for now as it's an undocumented feature.
Haven't tried this yet, but starting to play around with it.
Actually just googled this question during coding and hit my own issue, lol.
No branches or pull requests
Hey folks,
I have both
Customer
andUser
models, each represents a different type of user (I know, I know).The docs let me set a different user model, but is there a way to use heya with two user models at the same time?
Something like this?
The text was updated successfully, but these errors were encountered: