{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/af9205139328f6d7237b9e6a01b0334d?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"af9205139328f6d7237b9e6a01b0334d","url":"https://api.github.com/users/mattmeikos","login":"mattmeikos","id":450754},"labels":[],"updated_at":"2011-11-14T09:45:54Z","assignee":null,"comments":1,"closed_at":null,"url":"https://api.github.com/repos/Arcath/Adauth/issues/18","body":"i get the response \r\n\r\n\r\nextra  Add this code to your ApplicationController\r\n\r\n              helper_method :current_user\r\n\r\n              def current_user\r\n                  @current_user ||= User.find(session[:user_id]) if session[:user_id]\r\n              end\r\n\r\nand then it stops\r\n\r\nany resolutions?","html_url":"https://github.com/Arcath/Adauth/issues/18","title":"while running rails g adauth:all","number":18,"id":2226829,"created_at":"2011-11-14T06:10:53Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/4dea71e9df9a75bddd0c6aac8095065b?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"4dea71e9df9a75bddd0c6aac8095065b","url":"https://api.github.com/users/Arcath","login":"Arcath","id":19609},"updated_at":"2011-11-14T09:45:54Z","url":"https://api.github.com/repos/Arcath/Adauth/issues/comments/2728312","body":"that is the end of the generator, all you need to do now is copy that code into your application controller and edit `config/initializers/adauth.rb` to your settings.\r\n\r\n","id":2728312,"created_at":"2011-11-14T09:45:54Z"}}