You could just leave the line as 

    @auths.reject! { |a| a[:source] == database }

If the auth is found, it will return the @auths object (true) and if it's not found, it'll return nil (false)