Use AR::Base.connection instead of database_configuration
Merge pull request #1941 from marcioj/ar_adapter

Use AR::Base.connection instead of database_configuration