Small change to enable rails4 support

Very small edit to enable rails4 and ruby 2.0, I'm 90% sure it's backwards compatible with the standard mixes of rubies and rails versions. I only tested what I have, 1.9.3, rails 3.2.x and ruby 2 rails 4.