Hopefully workarounded rails bug.