button_scopes to class_attribute