Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Apr 1, 2009
  1. Raise an exception if search vector column doesn't exist, rather than…

    Oshoma Momoh authored
    … silently creating it.
Commits on Mar 27, 2009
  1. Further modularize #find_by_tsearch and add #tsearch_rank_select_sql.

    Oshoma Momoh authored
    #tsearch_rank_select_sql makes it easier to combine full text search queries with other kinds of queries.
  2. Prettify Ruby code. Purely formatting changes for code readability.

    Oshoma Momoh authored
    Done using the "Code Beautifier" TextMate plugin.
Commits on Mar 26, 2009
  1. Remove :locale option. acts_as_tsearch supported this only with pre-8…

    Oshoma Momoh authored
    ….3 versions of PostgreSQL.
  2. Refactor #find_by_tsearch method to make code more readable and maint…

    Oshoma Momoh authored
    …ainable.
  3. Refactor acts_as_tsearch to make code easier to read and understand.

    Oshoma Momoh authored
    No semantic changes... just prettifying things and removing some lint.
  4. Enable STI subclasses to inherit full text search ability from parent…

    Oshoma Momoh authored
    … classes.
    
    This commit simply changes tsearch_config into a class-inheritable attribute.  This allows subclasses to inherit tsearch_config. 
    
    For example, if we have: 
      class BlogEntry
        acts_as_tsearch :fields => "title"
      end
    
      class SpecialBlogEntry < BlogEntry
      end
    	
    ...then the following calls should yield the same results:
      BlogEntry.find_by_tsearch "serendipity"
      SpecialBlogEntry.find_by_tsearch "serendipity"
Commits on Mar 25, 2009
  1. Remove pre-8.3 compatibility and raise exception unless db is postgre…

    Oshoma Momoh authored
    …s 8.3.
    
    This is almost identical to Miriam's commit 4cad080 except it doesn't include the change for pagination support.
Commits on Mar 20, 2009
  1. @phuesler
  2. @phuesler

    Gracefully fail when table does not exist. This fixes problems with r…

    phuesler authored
    …ake db:drop etc al. Get out of rails way, so that it still can be loaed, even if there is no database
Commits on Mar 18, 2009
  1. @phuesler

    Return a scope instead of a collection. This has several advantages:

    phuesler authored
     * We can combine it with other named scopes
     * It loads lazy
     * Pagination with will_paginate can be calculated on db layer and not on a collection
Commits on Feb 19, 2009
  1. @pka
  2. @pka
  3. @pka
  4. @pka

    Fixed tests for Rails 2.x

    pka authored
  5. @pka
Commits on Sep 20, 2008
  1. will_paginate support.

    Otto Hilska authored
Commits on Sep 11, 2008
  1. @pka
  2. @pka

    Postgres URL added

    pka authored
  3. @pka

    Typos

    pka authored
  4. @pka

    Readme update for 8.3

    pka authored
  5. @pka
Commits on Nov 26, 2007
  1. Fixed - find_by_tsearch raises an exception when using the :includes …

    Barber.Craig authored
    …option without the :order option - refs issue #8 - patch from jamie.flournoy
    
    git-svn-id: http://acts-as-tsearch.googlecode.com/svn/trunk/vendor/plugins/acts_as_tsearch@61 3b581b49-eb29-0410-8f35-9d9d98fae791
  2. Fixed - find_by_tsearch raises an exception when using a HABTM associ…

    Barber.Craig authored
    …ation or the :joins option - refs issue #7 - patch from jamie.flournoy
    
    git-svn-id: http://acts-as-tsearch.googlecode.com/svn/trunk/vendor/plugins/acts_as_tsearch@60 3b581b49-eb29-0410-8f35-9d9d98fae791
  3. Updated - upgraded to Rails 1.2.5 (will upgrade to 1.2.6 shortly)

    Barber.Craig authored
    Fixed - raise RecordNotFound for nil and empty search strings - refs issue #5
    
    
    git-svn-id: http://acts-as-tsearch.googlecode.com/svn/trunk/vendor/plugins/acts_as_tsearch@58 3b581b49-eb29-0410-8f35-9d9d98fae791
Commits on Jun 8, 2007
  1. changing the way testing is handled - moving to a template1 change in…

    wiseleyb authored
    …stead of drop/create work around which wasn't working
    
    git-svn-id: http://acts-as-tsearch.googlecode.com/svn/trunk/vendor/plugins/acts_as_tsearch@54 3b581b49-eb29-0410-8f35-9d9d98fae791
  2. adding dbsetup.sh

    wiseleyb authored
  3. updating rake desc

    wiseleyb authored
Commits on Apr 1, 2007
  1. git-svn-id: http://acts-as-tsearch.googlecode.com/svn/trunk/vendor/pl…

    wiseleyb authored
    …ugins/acts_as_tsearch@47 3b581b49-eb29-0410-8f35-9d9d98fae791
  2. git-svn-id: http://acts-as-tsearch.googlecode.com/svn/trunk/vendor/pl…

    wiseleyb authored
    …ugins/acts_as_tsearch@45 3b581b49-eb29-0410-8f35-9d9d98fae791
  3. git-svn-id: http://acts-as-tsearch.googlecode.com/svn/trunk/vendor/pl…

    wiseleyb authored
    …ugins/acts_as_tsearch@44 3b581b49-eb29-0410-8f35-9d9d98fae791
Commits on Mar 31, 2007
  1. adding Craig Barber's STI model fix and clean up of tsearch criteria …

    wiseleyb authored
    …to make it more google like
    
    git-svn-id: http://acts-as-tsearch.googlecode.com/svn/trunk/vendor/plugins/acts_as_tsearch@41 3b581b49-eb29-0410-8f35-9d9d98fae791
  2. add sample project and plugin

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