rails 4 scope patch