Permalink
Commits on Aug 10, 2010
Commits on Jun 21, 2010
  1. This commit allows you get all tags for a custom context owned or uno…

    joegoggins authored and tomeric committed Jun 17, 2010
    …wned by specifying nil to owner_tags_on.
    
    I searched the codebase for a while but could not find a way to get both with one call,
    and didn't want to invoke both methods then merge them in my controller, thus I added this simple functionality
    
    So now you can do this to get all tags for a given custom context
    
      @thing.owner_tags_on(nil,:custom_context)
  2. This commit fixes a bug seen when using the tagged_with("something") …

    joegoggins authored and tomeric committed Jun 16, 2010
    …method.
    
    I have an ActiveRecord class defined like such:
    
    	class Athlete < ActiveRecord::Base
    		set_table_name "warehouse.ps_person"
    		acts_as_taggable_on :tags
    	end
    
    Athlete.tagged_with("something") creates sql like this:
    
    	SELECT `warehouse`.`ps_person`.* FROM `warehouse`.`ps_person`
    	JOIN taggings warehouse.ps_person_taggings_something_932  ON warehouse.ps_person_taggings_something_932.taggable_id = warehouse.ps_person.emplid AND warehouse.ps_person_taggings_something_932.taggable_type = 'Athlete' AND warehouse.ps_person_taggings_something_932.tag_id = 2
    
    This fix simply uses the undecorated_table_name instead of the table_name to define the basename of the alias
Commits on Jun 1, 2010
  1. Revert "Small performance improvement for Rails 3, but not as satisfy…

    tomeric committed Jun 1, 2010
    …ing as taking the conditions and joins from the original scope and applying them to a new scope. Haven't found out how to do that in Rails 3.0 yet :("
    
    This reverts commit 9385e17.
  2. Small performance improvement for Rails 3, but not as satisfying as t…

    tomeric committed Jun 1, 2010
    …aking the conditions and joins from the original scope and applying them to a new scope. Haven't found out how to do that in Rails 3.0 yet :(
Commits on May 19, 2010
  1. Major speed improvement for all_tag_counts in MySQL by joining a quer…

    tomeric committed May 19, 2010
    …y. Tested in PostgreSQL + SQLite as well
  2. Remove accidental file add

    tomeric committed May 19, 2010
  3. Version bump to 2.0.6

    tomeric committed May 19, 2010
  4. Merge branch 'master' of github.com:mbleigh/acts-as-taggable-on

    tomeric committed May 19, 2010
    Conflicts:
    	Gemfile
    	lib/acts_as_taggable_on/compatibility/Gemfile
    	spec/database.yml.sample
  5. Previous query was broken, this one should do the trick

    Kamil Giszczak authored and tomeric committed May 19, 2010
  6. Postgresql require selected columns to apear in group by statement

    Kamil Giszczak authored and tomeric committed May 19, 2010
    and ordered columns to apear in select statement when using distinct,
    so we have to use inner queries.
  7. Honor order option in tagged_with method

    Kamil Giszczak authored and tomeric committed May 19, 2010
  8. Postgresql uses ILIKE operator to case insensitive pattern matching

    Kamil Giszczak authored and tomeric committed May 19, 2010
  9. ActiveRecord < 3 joins tables in incorect order

    Kamil Giszczak authored and tomeric committed May 19, 2010
  10. We have to explicitly order by id column becouse postgresql doesn't d…

    Kamil Giszczak authored and tomeric committed May 19, 2010
    …o it by default
  11. Added postgresql database to test suite

    Kamil Giszczak authored and tomeric committed May 18, 2010
Commits on May 18, 2010
Commits on May 1, 2010
Commits on Apr 30, 2010
  1. Bumped version

    tomeric committed Apr 30, 2010
  2. Version bump to 2.0.5

    tomeric committed Apr 30, 2010
  3. Namespaced everything (models and helpers included) to ActsAsTaggable…

    tomeric committed Apr 30, 2010
    …On to avoid conflicts with other plugins
  4. Added a spec to test if quotation marks are properly escaped when usi…

    tomeric committed Apr 30, 2010
    …ng the tagged_with scope
  5. Fix reload issues

    tomeric committed Apr 30, 2010
  6. When passing in an object to TagList.from that responds to join (like…

    tomeric committed Apr 30, 2010
    … an array), join it with the delimiter
  7. Fixed migration_generation Join bug

    codingpains authored and tomeric committed Apr 21, 2010