Flowdock
method

create

Importance_0
Ruby on Rails latest stable (v5.2.3) - 0 notes - Class: StatementCache
create(connection, block = Proc.new) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/statement_cache.rb, line 90
    def self.create(connection, block = Proc.new)
      relation = block.call Params.new
      query_builder, binds = connection.cacheable_query(self, relation.arel)
      bind_map = BindMap.new(binds)
      new(query_builder, bind_map, relation.klass)
    end
Register or log in to add new notes.