Fix compatibility after rails 3.2.16 release
https://github.com/crowdint/spree/commit/3fd1535e75d383fa7119d2f3b985f8c12731302c