instance method
add_bind
Ruby on Rails 8.1.2
Since v6.0.6Signature
add_bind(obj, &)
No documentation comment.
Parameters
-
objreq -
&req
Source
# File activerecord/lib/active_record/statement_cache.rb, line 81
def add_bind(obj, &)
@binds << obj
@parts << Substitute.new
self
end
Defined in activerecord/lib/active_record/statement_cache.rb line 81
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::StatementCache::PartialQueryCollector