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

    nhessler committed Jul 27, 2010
    … tests fail given previous coditions.
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 Sep 29, 2010
Commits on Jul 27, 2010
  1. corrected the relation condition on context_taggings and added tests.…

    nhessler committed Jul 27, 2010
    … tests fail given previous coditions.
Commits on Jul 7, 2010
Commits on Jun 21, 2010
  1. This commit allows you get all tags for a custom context owned or uno…

    joegoggins committed with tomeric 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 committed with tomeric 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 committed with tomeric May 19, 2010
  6. Postgresql require selected columns to apear in group by statement

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

    Kamil Giszczak committed with tomeric May 19, 2010
    …o it by default
  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