Basic rails 4 support
Merge pull request #27 from Mehonoshin/master

Basic rails 4 support