Description
If a user is logged in and accesses his profile page at http://<host>/users/<id>, the page doesn't show and the application log has the following error :
NoMethodError (undefined method `outgoing_invite_ids' for nil:NilClass):
app/controllers/users_controller.rb:210:in `invites_for_friend_links'
app/controllers/users_controller.rb:42:in `show'
thin (1.0.0) lib/thin/connection.rb:63:in `pre_process'
thin (1.0.0) lib/thin/connection.rb:54:in `process'
thin (1.0.0) lib/thin/connection.rb:39:in `receive_data'
eventmachine (0.12.6) lib/eventmachine.rb:1283:in `event_callback'