Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Nov 1, 2010
Commits on Oct 4, 2010
  1. fixed bug with tagnames caching

    Kevin Watt authored Wesley Beary committed
  2. more sql optimization, removed lower/distinct

    Kevin authored Wesley Beary committed
  3. updated to rails3 arel syntax, and simplified find_tagged_with from c…

    Kevin authored Wesley Beary committed
    …hained find_tagged_with_scope, which it only used. arel syntax allows redefinition easier anyways
  4. removed a table from the join list, removed distinct = vastly improve…

    Kevin authored Wesley Beary committed
    …d performance on large sets of tags/items
  5. add has_many :through for class acting_as_taggable, and access it via…

    Kevin Watt authored Wesley Beary committed
    … tagged_by
Commits on Aug 2, 2010
Commits on Aug 1, 2010
Commits on May 20, 2010
  1. fix typo in readme

    authored
Commits on Oct 5, 2009
  1. fix sorting typo in helper

    Akshay Shah authored committed
Commits on Jul 29, 2009
Commits on Jul 11, 2009
  1. fix missing comma in gemspec

    authored
Commits on Jun 12, 2009
  1. @bjeanes

    Fixed major bug in Tag.with_type_scope

    bjeanes authored committed
    Because we are doing a lot of joins and selecting all columns, ActiveRecord was using the ID from one of the other tables in some cases (at least on SQLite). You can see that in the example below it is using the ID from Tagging.
    
    e.g. (before fix then after)
    
    SQL
    
    $ script/dbconsole
    sqlite> SELECT distinct * FROM "tags" left outer join taggings on taggings.tag_id = tags.id WHERE ("tags"."id" = 4) AND (taggable_type = 'Message') GROUP BY name ORDER BY name ASC;
    4|wtf|1|5|4|9|Message|
    sqlite> SELECT distinct tags.* FROM "tags" left outer join taggings on taggings.tag_id = tags.id WHERE ("tags"."id" = 4) AND (taggable_type = 'Message') GROUP BY name ORDER BY name ASC;
    4|wtf|1
    
    ActiveRecord
    
    $ script/console
    >> # BEFORE
    >> Tag.with_type_scope('Comment') do
    ?>   Tag.find(4)
    >> end
    => #<Tag id: 5, name: "wtf", taggings_count: 1>
    >>
    ?> #AFTER
    >> Tag.with_type_scope('Comment') do
    ?>   Tag.find(4)
    >> end
    => #<Tag id: 4, name: "wtf", taggings_count: 1>
    
    >> Tagging.find(5)
    => #<Tagging id: 5, tag_id: 4, taggable_id: 9, taggable_type: "Message", user_id: nil>
    
    Signed-off-by: Wesley Beary <me@geemus.com>
Commits on Mar 5, 2009
Commits on Feb 28, 2009
  1. fix DISTINCT with ORDER_BY query for postgresql compatibility

    EppO authored committed
    DISTINCT expression must be equal to ORDER BY expression, so LOWER must be added to DISTINCT clause
    
    Signed-off-by: Wesley Beary <me@geemus.com>
Commits on Dec 15, 2008
  1. post pull cleanup

    Wesley Beary authored
Commits on Dec 11, 2008
  1. @maxjustus
  2. @maxjustus

    added user option to Tag.with_type_scope, also made acts_as_tagged or…

    maxjustus authored
    …der tags by name by default
  3. @maxjustus

    added order option for find_tagged_with, fixed tag_list to work prope…

    maxjustus authored
    …rly when finding a tag list belonging to a particular user, while also making it faster by using a sql query rather then ruby code to determine ownership
  4. @maxjustus

    modified group condition in tagged_with_scope to make it behave more …

    maxjustus authored
    …predictably when using :match => :all
  5. @maxjustus
Commits on Dec 6, 2008
  1. add tasks back for css/db tasks, clean up gemspec

    Wesley Beary authored
Commits on Nov 26, 2008
  1. @nagybence

    Basic gem version.

    nagybence authored
Commits on Sep 20, 2008
  1. Changed model names to singular

    Juha Syrjälä authored
  2. Support for table_name_prefix, table_name_suffix etc using #{ModelNam…

    Juha Syrjälä authored
    …e.table_name}
Commits on Sep 19, 2008
  1. Support for table_name_prefix

    Juha Syrjälä authored
Commits on Sep 5, 2008
  1. @pka

    Replaced order by sort option

    pka authored
  2. @pka

    tag_cloud options added

    pka authored
Commits on Aug 12, 2008
  1. @davidlee
Commits on May 15, 2008
  1. @skwp

    Fixed bug: user_id= method overshadowed real user_id method, causing …

    skwp authored
    …activerecord objects
    
    not to retain the assigned user id. Also removed the User lookup as it was unnecessary
    overhead. ActiveRecord already throws an exception if you try to save the object.
Commits on May 14, 2008
  1. @skwp

    Added info on how to test

    skwp authored
Commits on May 13, 2008
  1. @skwp

    Fixed tests due to erroneous entry in the fixtures, and tags expected…

    skwp authored
    … to be in a particular order
  2. @skwp
Commits on May 12, 2008
  1. use a scope for the search so that it will be easier to do more compl…

    monki@geemus.com authored
    …ex queries
    
    git-svn-id: http://svn.devjavu.com/geemus/rails/plugins/acts_as_taggable_redux@13 89c3609e-b12b-0410-95a9-e792c7af2e16
Something went wrong with that request. Please try again.