Debugging charts_controller.rb