Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 13, 2012
Commits on Mar 22, 2012
  1. [ACTIVEMODEL] Fixed and cleaned up URL-escaping of document type

    authored
    This commit builds on work done in 5151ff9.
    
    It properly URL-encodes document types when storing/removing/retrieving documents in the index
    and when executing searches.
    
    It decodes the document types when building the results (`Results::Collection`).
    
    It adds a number of unit and integration tests to check and document the behaviour.
    
    It closes #201, closes #204, closes #264 and closes #271.
Commits on Nov 30, 2011
  1. @vhyza

    [PERSISTENCE] Changed that search in persistence returns instances of…

    authored vhyza committed
    … model not Item
Commits on Nov 29, 2011
  1. [ACTIVEMODEL] Added support for property defaults in Tire::Model::Per…

    authored
    …sistence
    
    In the new implementation of the `property` method, you can define default values for your model attributes:
    
        class Article
          include Tire::Model::Persistence
    
          property :title
          property :tags, :default => []
        end
    
        Article.create title: 'Test'
    
        Article.all.first.title
        # => 'Test'
    
        Article.all.first.tags
        # => []
Commits on Sep 20, 2011
  1. @vwall

    Added support for Kaminari

    vwall authored committed
Commits on Sep 1, 2011
  1. [ACTIVEMODEL] Implemented all Tire features for models via a `MyModel…

    authored
    ….tire` and `MyModel#tire` proxies for better isolation
    
    Brings the Tire methods into the model class only when not trampling on someone other's foot (`settings`, `update_index`, etc.)
    
    These three calls are thus equivalent:
    
        class Article
          # ...
          mapping do
            indexes :id, :type => 'string', :index => :not_analyzed
          end
        end
    
        class Article
          # ...
          tire.mapping do
            indexes :id, :type => 'string', :index => :not_analyzed
          end
        end
    
        class Article
          # ...
          tire do
            mapping do
              indexes :id, :type => 'string', :index => :not_analyzed
            end
          end
        end
    
    Closes #8, closes #9.
Commits on Aug 21, 2011
  1. @andrewtimberlake

    Changed `MyModel.search` implementation so it allows passing the :pag…

    andrewtimberlake authored committed
    …e, :per_page and :sort options to block-style searches
    
    Closes #66.
Commits on Aug 18, 2011
Commits on May 1, 2011
Commits on Apr 29, 2011
  1. [ACTIVEMODEL] Fixed error where persistent model was not found with a…

    authored
    … list of IDs in ES 0.16, implemented via `ids` query
    
    See: elastic/elasticsearch#865
Something went wrong with that request. Please try again.