Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix misspelling "intialize" to "initialize"

  • Loading branch information...
commit 4671abe3f172ccfb30d693686be10b558254f3cd 1 parent 3cf609d
@maxtilford maxtilford authored tomeric committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/acts_as_taggable_on/acts_as_taggable_on/cache.rb
View
6 lib/acts_as_taggable_on/acts_as_taggable_on/cache.rb
@@ -11,11 +11,11 @@ def self.included(base)
before_save :save_cached_tag_list
end
- base.intialize_acts_as_taggable_on_cache
+ base.initialize_acts_as_taggable_on_cache
end
module ClassMethods
- def intialize_acts_as_taggable_on_cache
+ def initialize_acts_as_taggable_on_cache
tag_types.map(&:to_s).each do |tag_type|
class_eval %(
def self.caching_#{tag_type.singularize}_list?
@@ -27,7 +27,7 @@ def self.caching_#{tag_type.singularize}_list?
def acts_as_taggable_on(*args)
super(*args)
- intialize_acts_as_taggable_on_cache
+ initialize_acts_as_taggable_on_cache
end
def caching_tag_list_on?(context)
Please sign in to comment.
Something went wrong with that request. Please try again.