adding support for rails 4
Merge pull request #1 from MikeSilvis/support_for_rails_4

adding support for rails 4