#1 fixed ActiveRecord config & added db setting file.