Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Feb 8, 2015
Commits on Jul 21, 2014
  1. Treat nil argument as blank argument in .search, return an empty array

    All query methods are now consistent in treating nil as a blank query
    and returning an empty result. In the case of .search, an empty result
    is an empty array.
    Assigning an empty string to the argument variable in order to treat it
    exactly the same as an empty string.
Commits on Jul 20, 2014
  1. @merlos

    fixed: exception was rised when in ISO_639.find_by_code(code), code w…

    merlos authored
    …as nil. added some tests for find_by_code
Commits on Oct 24, 2013
  1. @msievers
Commits on Oct 23, 2013
  1. @msievers
Commits on Oct 20, 2013
  1. Indexing mutliple-word phrases in name fields for search.

    Since there are some names that consist of multiple words,
    including those in the reverse index so they are
    refs gh-1
  2. Adding a search method that searches all fields

    This method solves the issue of searching for names that are
    grouped with multiple other names in one of the name fields.
    In addition to the name fields, the .search method also
    returns any records that have code fields matching a search
    In this implementation, a reverse index is generated when
    the class is loaded. Though this adds a very small delay to
    the load time, it's easier to maintain at this time.
    One drawback of the current implementation is that the terms
    are indexed by individual word, so multi-word names won't be
    refs gh-1
Commits on Nov 1, 2012
Commits on Jan 14, 2010
Something went wrong with that request. Please try again.