I Followed the answer to my previous question -> Connect Twitter Account to existing Devise Account
but getting a
NameError in Devise::Registrations#edit
uninitialized constant User::Authorization
app/models/user.rb:17:in `has_connection_with'
app/helpers/users_helper.rb:4:in `check_connection'
app/views/devise/registrations/edit.html.erb:57:in `_app_views_devise_registrations_edit_html_erb__1951492867192219113_70202479591960'
I'm trying to fix it, but nothing.. What am i missing ?
Authorization
model missing or relation betweenAuthorization
andUser
is missing.User
should have manyauthorizations
,authorization
belongs touser
.