Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Mar 11, 2011

  1. Michael Grosser

    run tests agains rails 3 and rails 2

    authored
  2. Michael Grosser

    Regenerate gemspec for version 0.3.8

    authored
  3. Michael Grosser

    Version bump to 0.3.8

    authored
  4. Michael Grosser

    add Readme for :query and :mask options

    authored
  5. Franco Catena

    Changes in flexible search options

    Now we can customize the search query with :query => '%{field} LIKE LOWER(%{query})' and the values mask with :mask => '%{value}%'. In this example the generated query is: 'SELECT * FROM models WHERE field_name LIKE LOWER('query_string%') ORDER BY field_name ASC LIMIT 10'
    francocatena authored committed
  6. Franco Catena

    Added a new option :parameter_operator

    Usefull when you whant do something like "LIKE LOWER(?)"
    francocatena authored committed
  7. Franco Catena

    Search with more flexible configuration

    Now we can add :operator for customize the search operator (defaults to 'LIKE'), :mask for customize the query restriction formar (defaults to '%%%s%') and :column_operator for customize the function applied to the column (defaults to 'LOWER(%s)')
    
    The place holder %s can be used in the :mask and :column_operator arguments to indicate the string place or the column name respectively
    
    For example, if you want to use PostgreSQL full text search:
    
    Model.auto_complete_for_name(:operator => '@@', :mask => 'to_tsquery(%s)', :column_operator => 'to_tsvector(%s)')
    
    This would result in a query like "SELECT * FROM models WHERE to_tsvector(name) @@ to_tsquery('some text') ORDER BY name ASC LIMIT 10"
    francocatena authored committed
  8. Michael Grosser

    remove trailing whitespace

    authored

Feb 03, 2011

  1. Michael Grosser

    Regenerate gemspec for version 0.3.7

    authored
  2. Michael Grosser

    Version bump to 0.3.7

    authored
  3. Michael Grosser

    add a comment, since i cannot find a failing test, add Franco Catena …

    …to contributors
    authored
  4. Michael Grosser

    Merge https://github.com/francocatena/simple_auto_complete into franc…

    …ocatena-master
    authored
  5. Michael Grosser

    bundle

    authored
  6. Michael Grosser

    who needs changelogs...

    authored
  7. Michael Grosser

    update readme

    authored

Feb 02, 2011

  1. Franco Catena

    Avoid options modification inside autocomplete_for

    francocatena authored

Jun 28, 2010

  1. Michael Grosser

    Regenerated gemspec for version 0.3.6

    authored
  2. Michael Grosser

    Version bump to 0.3.6

    authored
  3. Michael Grosser

    bugifx

    authored
  4. Michael Grosser

    add Oliver Azevedo Barnes to contributors

    authored

Jun 24, 2010

  1. Michael Grosser

    refactor/dry-up add_by_autocomplete code and rename to add_by_auto_mo…

    …del_attribute for consitency
    authored
  2. Oliver Azevedo Barnes

    small improvements on add_by_auto_complete and its tests

    oliverbarnes authored

Jun 23, 2010

  1. Oliver Azevedo Barnes

    add_by_autocomplete() tests

    oliverbarnes authored

Jun 15, 2010

  1. Oliver Azevedo Barnes

    first stab at autocomplete for associated collections, with add_by_au…

    …tocomplete()
    oliverbarnes authored

May 12, 2010

  1. Michael Grosser

    Regenerated gemspec for version 0.3.5

    authored
  2. Michael Grosser

    Version bump to 0.3.5

    authored
  3. Michael Grosser

    Merge branch 'mergee'

    authored

May 08, 2010

  1. Michael Grosser

    Regenerated gemspec for version 0.3.4

    authored
  2. Michael Grosser

    Version bump to 0.3.4

    authored
  3. Michael Grosser

    update readme with :match option

    authored
  4. Michael Grosser

    add specs for match

    authored
  5. Michael Grosser

    add matches option

    authored
  6. Michael Grosser

    cleanup as suggested in comments

    authored

May 06, 2010

  1. changed to allow the optional passing of an array of multiple fields …

    …to match against
    Mark authored

Apr 14, 2010

  1. Michael Grosser

    Regenerated gemspec for version 0.3.3

    authored
Something went wrong with that request. Please try again.