Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix Rails version check in api.rb #34

wants to merge 2 commits into


None yet
2 participants

ressu commented Jan 22, 2012

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.

ressu added some commits Jan 22, 2012

A Less of a poor mans fix
This check should be robust enough not to break down on future releases

@jkrall jkrall closed this in 9de8957 Jan 22, 2012


jkrall commented Jan 22, 2012

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment