initial rails 4 support
Merge pull request #2 from sharpyfox/rails_4

Rails 4 support