update default scope for rails 4