class method self.new

Ruby on Rails 4.0.13

Since v4.0.13 Last seen in v4.0.13

Signature

self.new(ignore = Regexp.union(self.class.ignored_sql))

No documentation comment.

Parameters

ignore opt = Regexp.union(self.class.ignored_sql)
Source
# File activerecord/lib/active_record/test_case.rb, line 85
    def initialize(ignore = Regexp.union(self.class.ignored_sql))
      @ignore = ignore
    end

Defined in activerecord/lib/active_record/test_case.rb line 85 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::SQLCounter

Type at least 2 characters to search.

Use the arrow keys to navigate results, Enter to open one, Escape to close.

Keyboard shortcuts

/
Focus search
⌘K / Ctrl-K
Command palette
?
This help
Esc
Close