tomichj / invitation

A Rails gem that can send 'scoped' invitations
MIT License
77 stars 28 forks source link

NoMethodError: undefined method `name' for nil:NilClass #8

Closed itkin closed 7 years ago

itkin commented 7 years ago

Seems @user_model is set while the models are not yet loaded, defaulting to nil

NoMethodError: undefined method `name' for nil:NilClass
from gems/invitation-0.4.1/lib/invitation/configuration.rb:65:in `user_model_class_name'