Sha256: 100291957c7fb2dbcb425a51736c94afebcebc9bb480b2fc894a0e70c26e5ce1

Contents?: true

Size: 539 Bytes

Versions: 12

Compression:

Stored size: 539 Bytes

Contents

class HomeController < ApplicationController
  def index
    @users = User.all

    Ratchetio.report_message("Test message from controller with no data", "debug")
    Ratchetio.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
      Ratchetio.report_exception(e, ratchetio_request_data, ratchetio_person_data)
    end
  end

  def cause_exception
    foo = bar
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ratchetio-0.5.2 spec/dummyapp/app/controllers/home_controller.rb
ratchetio-0.5.1 spec/dummyapp/app/controllers/home_controller.rb
ratchetio-0.5.0 spec/dummyapp/app/controllers/home_controller.rb
ratchetio-0.4.11 spec/dummyapp/app/controllers/home_controller.rb
ratchetio-0.4.10 spec/dummyapp/app/controllers/home_controller.rb
ratchetio-0.4.9 spec/dummyapp/app/controllers/home_controller.rb
ratchetio-0.4.8 spec/dummyapp/app/controllers/home_controller.rb
ratchetio-0.4.7 spec/dummyapp/app/controllers/home_controller.rb
ratchetio-0.4.6 spec/dummyapp/app/controllers/home_controller.rb
ratchetio-0.4.5 spec/dummyapp/app/controllers/home_controller.rb
ratchetio-0.4.4 spec/dummyapp/app/controllers/home_controller.rb
ratchetio-0.4.3 spec/dummyapp/app/controllers/home_controller.rb