instance method
checkin_connections
Ruby on Rails 2.2.3
Since v2.2.3 Last seen in v2.2.3Signature
checkin_connections()
No documentation comment.
Source
# File actionpack/lib/action_controller/dispatcher.rb, line 175
def checkin_connections
# Don't return connection (and peform implicit rollback) if this request is a part of integration test
return if test_request?
ActiveRecord::Base.clear_active_connections!
end
Defined in actionpack/lib/action_controller/dispatcher.rb line 175
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Dispatcher