Class: RailsDb::DashboardController

Inherits:
ApplicationController show all
Defined in:
app/controllers/rails_db/dashboard_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
7
8
9
10
11
12
13
14
15
# File 'app/controllers/rails_db/dashboard_controller.rb', line 4

def index
  Debuggers.print '1. Starting index action'
  begin
    Debuggers.print '2. Before render'
    render
    Debuggers.print '3. After render'
  rescue => e
    Debuggers.print "4. Error in index: #{e.message}"
    puts e.backtrace
    raise
  end
end