Sha256: 7282462439dc27797e86605415f9241c1577df5141283c5efc83ef780cf0d68e
Contents?: true
Size: 612 Bytes
Versions: 37
Compression:
Stored size: 612 Bytes
Contents
class HomeController < ApplicationController def index @users = User.all Rollbar.report_message("Test message from controller with no data", "debug") Rollbar.report_message("Test message from controller with extra data", "debug", :foo => "bar", :num_users => @users.length) end def report_exception begin foo = bar rescue => e Rollbar.report_exception(e, rollbar_request_data, rollbar_person_data) end end def cause_exception foo = bar end def current_user User.find_by_encrypted_password(cookies[:session_id]) end end
Version data entries
37 entries across 37 versions & 1 rubygems