add rails 4 support
Merge pull request #5 from steved555/master

add rails 4 support