rails 4 and ruby 2 support

technically rails 2 was already supported, but you would get lots of ugly
deprecation warnings