update config stuff to be more inline with rails 4
Merge pull request #23 from devfu/rails4-take2

update config stuff to be more inline with rails 4