changed #to_f comparison to #to_s as Rails.version now returns Gem::Version
Merge pull request #29 from krupenik/master

Railtie fixed for Rails4 (broken Rails.version.to_f comparison)