vendor/plugins/model_stubbing/lib/model_stubbing/model.rb
def retrieve_record(key, attributes = {})
      unless fetch = @stubs[key]
        raise ActiveRecord::RecordNotFound, "Could not find the record defined by '#{key}'."
      end
      fetch.record(attributes)
    end
# Instantiates a stub into a new record.
Instantiates a stub into a new record.
Instantiates a stub into a new record .
def retrieve_record(key, attributes = {})
      unless fetch = @stubs[key]
        raise ActiveRecord::RecordNotFound, "Could not find the record defined by '#{key}'."
      end
      fetch.record(attributes)
    end
def retrieve_record ( key , attributes = { } ) unless fetch = @stubs [ key ] raise ActiveRecord :: RecordNotFound , "Could not find the record defined by '#{key}'." end fetch . record ( attributes ) end
Instantiates a stub into a new record.
Instantiates a stub into a new record .
key
attributes