ensure install generator references right rails constant and get tests running on modern ruby
Merge pull request #6 from johnbintz/master

Fix generator generation and tests