If I make several database queries in a single request, are they
guaranteed to use the same database connection handle? We have an
application using postgresql where users have their own schema''s. I
have before and after filters using
ActiveRecord::Base.connection.execute that set the session
authorization and search_path, then I do 1 or 2 queries using AR. I
want to make sure that the queries using AR are using the same
connection handle as the before and after filters are. I''m assuming
that rails assigns one connection handle per request, but I wanted to
make sure.
Chris