Class: RequestLogAnalyzer::FileFormat::RailsDevelopment

Inherits:
Rails
  • Object
show all
Defined in:
lib/request_log_analyzer/file_format/rails_development.rb

Overview

The RailsDevelopment FileFormat is an extention to the default Rails file format. It includes all lines of the normal Rails file format, but parses SQL queries and partial rendering lines as well.

Constant Summary

Constants inherited from Rails

RequestLogAnalyzer::FileFormat::Rails::LINE_COLLECTIONS, RequestLogAnalyzer::FileFormat::Rails::LINE_DEFINITIONS, RequestLogAnalyzer::FileFormat::Rails::RAILS_21_COMPLETED, RequestLogAnalyzer::FileFormat::Rails::RAILS_22_COMPLETED, RequestLogAnalyzer::FileFormat::Rails::REQUEST_CATEGORIZER

Instance Attribute Summary

Attributes inherited from Base

#line_definitions, #report_trackers

Class Method Summary collapse

Methods inherited from Rails

report_trackers

Methods inherited from Base

#captures?, format_definition, inherited, #initialize, line_definition, #parse_line, report, #request, #request_class, #setup_environment, #valid?

Constructor Details

This class inherits a constructor from RequestLogAnalyzer::FileFormat::Base

Class Method Details

.createObject



7
8
9
10
# File 'lib/request_log_analyzer/file_format/rails_development.rb', line 7

def self.create
  puts 'DEPRECATED: use --rails-format development instead!'
  super('development')
end