jkrall / analytical

Gem for managing multiple analytics services in your rails app.
MIT License
380 stars 92 forks source link

Fix Rails version check in api.rb #34

Closed ressu closed 12 years ago

ressu commented 12 years ago

This fixes Issue #33

I modified the Rails version check so that it shouldn't break in the future. I guess there are better ways of doing this, but at least it's better than hardcoding version 3.1 to the source.

jkrall commented 12 years ago

Appreciate the pull request, it forced me to take a look at this. I did the version check a little differently, but I think it will work just the same.

Thanks for figuring this one out!