Skip to content

How to deal with multiple user models? #190

@rathboma

Description

@rathboma

Hey folks,

I have both Customer and User 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?

# config/initializers/heya.rb
Heya.configure do |config|
  config.user_types = ["MyUser", "MyCustomer"]
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions