instance method
unprepared_statement
Ruby on Rails 4.2.9
Since v4.0.13Signature
unprepared_statement()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_adapters/abstract_adapter.rb, line 171
def unprepared_statement
old_prepared_statements, @prepared_statements = @prepared_statements, false
yield
ensure
@prepared_statements = old_prepared_statements
end
Defined in activerecord/lib/active_record/connection_adapters/abstract_adapter.rb line 171
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::AbstractAdapter