jkrall/analytical — pull request #35 by nirvdrum (2012-01-24 02:32:16+00:00)
Title: Fixed the Rails version check.

The current version check is:

::Rails::VERSION::STRING.to_i >= 3.1

This fails because an integer has no decimal portion. Changing the to_i to to_f would work in this case, but it'll similarly lose the patch level portion of the version number. The check I'm doing in this pull request uses the same version comparison API that RubyGems uses itself.