lib/request_log_analyzer/database/base.rb in request-log-analyzer-1.3.4 vs lib/request_log_analyzer/database/base.rb in request-log-analyzer-1.3.5

- old
+ new

@@ -11,11 +11,12 @@ end def line_type self.class.name.underscore.gsub(/_line$/, '').to_sym end - - cattr_accessor :database, :line_definition + + class_inheritable_accessor :line_definition + cattr_accessor :database def self.subclass_from_line_definition(definition) klass = Class.new(RequestLogAnalyzer::Database::Base) klass.set_table_name("#{definition.name}_lines") \ No newline at end of file