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

Version Path
rollbar-0.11.5 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.11.4 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.11.3 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.11.2 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.11.1 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.14 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.12 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.11 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.10 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.9 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.8 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.7 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.6 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.5 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.4 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.3 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.2 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.1 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.10.0 spec/dummyapp/app/controllers/home_controller.rb
rollbar-0.9.14 spec/dummyapp/app/controllers/home_controller.rb