Flowdock
method

replace_bind_variable

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: ClassMethods
replace_bind_variable(value, c = connection) private

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/sanitization.rb, line 162
        def replace_bind_variable(value, c = connection)
          if ActiveRecord::Relation === value
            value.to_sql
          else
            quote_bound_value(value, c)
          end
        end
Register or log in to add new notes.