This restores functionality across all rails 3.x