fix AR connection; use ERB for database.yml; >> v0.2.1