NoMethodError in Profile pageController#show

You have a nil object when you didn't expect it!
The error occurred while evaluating nil.current_senator

RAILS_ROOT: /var/rails/senate/public/../config/..

Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/controllers/profile_page_controller.rb:18:in `show'

Request

Parameters: {"sort_order"=>"javascript", "sort_key"=>"text"}

Show session dump

Response

Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}