Permalink
Commits on Mar 18, 2011
  1. corrected the relation condition on context_taggings and added tests.…

    … tests fail given previous coditions.
    nhessler committed Jul 27, 2010
Commits on Mar 6, 2011
  1. adding Gemfile.lock to repo

    nhessler committed Mar 6, 2011
  2. .rvmrc should not be vc'd

    nhessler committed Mar 6, 2011
Commits on Jul 27, 2010
  1. corrected the relation condition on context_taggings and added tests.…

    … tests fail given previous coditions.
    nhessler committed Jul 27, 2010
Commits on Jun 21, 2010
  1. 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 17, 2010
  2. 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 16, 2010
Commits on Jun 1, 2010
  1. 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. 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. 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. 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

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

    Kamil Giszczak committed with tomeric May 19, 2010
  6. 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
  7. Honor order option in tagged_with method

    Kamil Giszczak committed with tomeric May 19, 2010
  8. ActiveRecord < 3 joins tables in incorect order

    Kamil Giszczak committed with tomeric May 19, 2010
  9. 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
  10. Added postgresql database to test suite

    Kamil Giszczak committed with tomeric 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