Adding support for Rails >=3.2.13 (NOTE: this is experimental - it works for me, and that's good enough)