simplify rails integration
Merge pull request #21 from timoschilling/engine

simplify rails integration