lib/lazy_lazer/internal_model.rb
def load_key_strict(key_name)
      meta = ensure_metadata_exists(key_name)
      reload_if_missing(key_name, meta.source_key)
      if !exists_locally?(key_name) && !meta.default_provided?
        raise MissingAttribute, "`#{meta.source_key} is missing for #{@parent}`"
      end
      parse_key(meta, key_name)
    end
def load_key_strict(key_name)
      meta = ensure_metadata_exists(key_name)
      reload_if_missing(key_name, meta.source_key)
      if !exists_locally?(key_name) && !meta.default_provided?
        raise MissingAttribute, "`#{meta.source_key} is missing for #{@parent}`"
      end
      parse_key(meta, key_name)
    end
def load_key_strict ( key_name ) meta = ensure_metadata_exists ( key_name ) reload_if_missing ( key_name , meta . source_key ) if ! exists_locally? ( key_name ) && ! meta . default_provided? raise MissingAttribute , "`#{meta.source_key} is missing for #{@parent}`" end parse_key ( meta , key_name ) end
Load the key and apply transformations to it, skipping the cache.
 @param key_name [Symbol] the key name
 @return [Object] the returned value
 @raise MissingAttribute if the attribute wasn't found and there isn't a default
Load the key and apply transformations to it skipping the cache .