[2-2-stable] New syntax to remove 'DEPRECATION WARNING: Calling #scope or #default_scope with a hash is deprecated'