Current User, Database etc ..

Are there methods for the model object to get the current_user, and
current_database? I was hoping that this would be available as methods
from the connection object.

For example
  model.connection.db_user
  model.connection.db_name

Is there a group for ActiveRecord, where I can post this?

YourActiveRecordModel.configurations[ Rails.env ][ 'username' ]
YourActiveRecordModel.configurations[ Rails.env ][ 'database' ]

This is how you can get the info from an activerecord object, if
you're not using active record or if you're using a custom made
solution it obviously won't work.