Michael Ward
Results
2
comments of
Michael Ward
In `rails console`: Load the user that was created by membership registration ``` > current_user = User.last => # ``` ``` > !(current_user.role_ids & [REFINERY_ROLE_ID, SUPERUSER_ROLE_ID]).empty? => false ``` It...
I have found that modifying the `create` method in `members_controller.rb` and adding `sign_in(@member)` fixes the problem. At the moment I don't understand how this controller can function correctly without this...