class method
self.runtime
Ruby on Rails 5.2.8.1
Since v3.0.20 Last seen in v7.1.6Signature
self.runtime()
No documentation comment.
Source
# File activerecord/lib/active_record/log_subscriber.rb, line 11
def self.runtime
ActiveRecord::RuntimeRegistry.sql_runtime ||= 0
end
Defined in activerecord/lib/active_record/log_subscriber.rb line 11
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::LogSubscriber