method

build_default_constraint

rails latest stable - Class: ActiveRecord::Persistence::ClassMethods
build_default_constraint()
private

Called by _update_record and _delete_record to build `where` clause from default scopes. Skips empty scopes.