Patched to work with older Rails versions

The current_config method is not defined in earlier versions of ActiveRecord::Tasks::DatabaseTasks
See: https://github.com/rails/rails/blob/master/activerecord/lib/active_record/tasks/database_tasks.rb#L57
Merge pull request #2 from johnschult/patch-1

Patched to work with older Rails versions