方法
- N
- W
類別公開方法
new(connection) 連結
來源: 顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 145 def initialize(connection) @connection = connection end
實例公開方法
with_connection() 連結
來源: 顯示 | 在 GitHub 上
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 149 def with_connection yield @connection end