Rails running different database interation by user?

Dear sir,
I am familiar how Ruby on Rails creates a
\myapplication\config\database.yml file for each project.
Is there a way that I could use a separate database for each user?
Obviously, I’m attempting to create a web based appication that
maintains separate and distinct databases for each user/group/project
entity.
I don’t mean to ramble on here, but in most web enabled applications the
programmer creates a connection prior to making any SQL call. This isn’t
the case with RonR, but in the same way, when a user logs in, could I
amend the standard (applicationName_production) connection?
Thank you,
David