janko-m/sinatra-activerecord — pull request #26 by jamesrwhite (2014-03-31 06:44:36+00:00)
Title: Allow configuring the db_dir

This was something I needed so I thought I'd add it!

This lets you set the directory that activerecord looks for schema.rb etc in. By default it will still look in ````db/```` as it did before.

````ruby
Sinatra::ActiveRecordTasks.db_dir = 'path/to/your/db/diectory'
````