Commits on Jun 21, 2010
  1. @joegoggins @tomeric

    This commit allows you get all tags for a custom context owned or uno…

    …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)
    joegoggins committed with tomeric Jun 18, 2010
  2. @joegoggins @tomeric

    This commit fixes a bug seen when using the tagged_with("something") …

    …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
    joegoggins committed with tomeric Jun 17, 2010
  3. @maxtilford @tomeric
Commits on Jun 1, 2010
  1. @tomeric

    Revert "Small performance improvement for Rails 3, but not as satisfy…

    …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.
    tomeric committed Jun 1, 2010
  2. @tomeric
  3. @tomeric

    Small performance improvement for Rails 3, but not as satisfying as t…

    …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 :(
    tomeric committed Jun 1, 2010
Commits on May 19, 2010
  1. @tomeric

    Major speed improvement for all_tag_counts in MySQL by joining a quer…

    …y. Tested in PostgreSQL + SQLite as well
    tomeric committed May 19, 2010
  2. @tomeric
  3. @tomeric

    Remove accidental file add

    tomeric committed May 19, 2010
  4. @tomeric
  5. @tomeric

    Version bump to 2.0.6

    tomeric committed May 19, 2010
  6. @tomeric

    Merge branch 'master' of github.com:mbleigh/acts-as-taggable-on

    Conflicts:
    	Gemfile
    	lib/acts_as_taggable_on/compatibility/Gemfile
    	spec/database.yml.sample
    tomeric committed May 19, 2010
  7. @tomeric

    Previous query was broken, this one should do the trick

    Kamil Giszczak committed with tomeric May 19, 2010
  8. @tomeric

    Postgresql require selected columns to apear in group by statement

    and ordered columns to apear in select statement when using distinct,
    so we have to use inner queries.
    Kamil Giszczak committed with tomeric May 19, 2010
  9. @tomeric

    Honor order option in tagged_with method

    Kamil Giszczak committed with tomeric May 19, 2010
  10. @tomeric
  11. @tomeric

    ActiveRecord < 3 joins tables in incorect order

    Kamil Giszczak committed with tomeric May 19, 2010
  12. @tomeric

    We have to explicitly order by id column becouse postgresql doesn't d…

    …o it by default
    Kamil Giszczak committed with tomeric May 19, 2010
  13. @tomeric
  14. @tomeric

    Added postgresql database to test suite

    Kamil Giszczak committed with tomeric May 18, 2010
  15. @tomeric
Commits on May 18, 2010
  1. @tomeric
  2. @tomeric
Commits on May 1, 2010
  1. @tomeric
Commits on Apr 30, 2010
  1. @tomeric

    Bumped version

    tomeric committed Apr 30, 2010
  2. @tomeric

    Version bump to 2.0.5

    tomeric committed Apr 30, 2010
  3. @tomeric
  4. @tomeric
  5. @tomeric

    Namespaced everything (models and helpers included) to ActsAsTaggable…

    …On to avoid conflicts with other plugins
    tomeric committed Apr 30, 2010
  6. @tomeric

    Added a spec to test if quotation marks are properly escaped when usi…

    …ng the tagged_with scope
    tomeric committed Apr 30, 2010
  7. @tomeric

    Fix reload issues

    tomeric committed Apr 30, 2010
  8. @tomeric
  9. @tomeric

    When passing in an object to TagList.from that responds to join (like…

    … an array), join it with the delimiter
    tomeric committed Apr 30, 2010
  10. @codingpains @tomeric
  11. @rpanachi @tomeric