hotfix after rails 3.2.12 update