Flowdock
method

create

Importance_0
v4.2.1 - Show latest stable - 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
      bind_map      = BindMap.new relation.bind_values
      query_builder = connection.cacheable_query relation.arel
      new query_builder, bind_map
    end
Register or log in to add new notes.