trying to naively fix for rails 4.1