Use Rails.root if defined to determine db path
Merge pull request #46 from rzane/use-rails-root-with-absolute-path

Fix connection config and use Rails.root if defined to determine db path