Puts default_scope in a block