lib/required_query_attributes/relation.rb
def load(*)
      required_query_attributes = @klass.required_query_attributes
      check_required_query_attributes(required_query_attributes) if required_query_attributes
      super
    end
# Intercepts calls to 'load', validating for required attributes before execution
Intercepts calls to 'load', validating for required attributes before execution
Intercepts calls to ' load ' validating for required attributes before execution
def load(*)
      required_query_attributes = @klass.required_query_attributes
      check_required_query_attributes(required_query_attributes) if required_query_attributes
      super
    end
def load ( * ) required_query_attributes = @klass . required_query_attributes check_required_query_attributes ( required_query_attributes ) if required_query_attributes super end
Intercepts calls to 'load', validating for required attributes before execution
Intercepts calls to ' load ' validating for required attributes before execution