class method
self.runtime
Ruby on Rails 4.1.16
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 9
def self.runtime
ActiveRecord::RuntimeRegistry.sql_runtime ||= 0
end
Defined in activerecord/lib/active_record/log_subscriber.rb line 9
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::LogSubscriber