database name and table name in config

added option to specify ActiveRecord database name and table name in
config