lib/spout/models/record.rb
# Only returns records with zero json errors, nil otherwise
Only returns records with zero json errors, nil otherwise
Only returns records with zero json errors nil otherwise
def find_by_id(id)
          file_name = Dir.glob(expected_path(id), File::FNM_CASEFOLD).first
          variable = new(file_name, dictionary_root)
          (variable.errors.size > 0 ? nil : variable)
        end
def find_by_id ( id ) file_name = Dir . glob ( expected_path ( id ) , File :: FNM_CASEFOLD ) . first variable = new ( file_name , dictionary_root ) ( variable . errors . size > 0 ? nil : variable ) end
Only returns records with zero json errors, nil otherwise
Only returns records with zero json errors nil otherwise
id
<not_specific>