Skip to content

Commit

Permalink
Change callbacks used to save tags.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathan Viney committed Mar 18, 2009
1 parent 1a08877 commit cdcd667
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/acts_as_taggable.rb
Expand Up @@ -11,7 +11,9 @@ def acts_as_taggable
has_many :tags, :through => :taggings

before_save :save_cached_tag_list
after_save :save_tags

after_create :save_tags
after_update :save_tags

include ActiveRecord::Acts::Taggable::InstanceMethods
extend ActiveRecord::Acts::Taggable::SingletonMethods
Expand Down

0 comments on commit cdcd667

Please sign in to comment.