fixes #2741 - rails 3 syntax