several fixes for making it compatible with rails 4 and rails 3.2.x :
first try to fit rails 4
avoiding a deprecation warning by some small cheat
Merge pull request #1 from mose/deprecation_kill
i would try and find a better variable name than x
Check #32 for a more complete implementation of AR4 support. This pull can be closed.