Methods
Attributes
| [R] | ignore |
Class Public methods
new(ignore = self.class.ignored_sql)
Link
Instance Public methods
call(name, start, finish, message_id, values)
Link
# File activerecord/test/cases/helper.rb, line 77 def call(name, start, finish, message_id, values) sql = values[:sql] # FIXME: this seems bad. we should probably have a better way to indicate # the query was cached return if 'CACHE' == values[:name] || ignore.any? { |x| x =~ sql } self.class.log << sql end