preperatory for rails4 without breaking backwards rails3 compatibility, yay @gregawoods.