Permalink
Browse files

upgraded to use correct class attribute method for rails 3.2

  • Loading branch information...
1 parent eef853e commit eb2229be19e345a686270695c5d426ce69a49fbe @kbaum committed Jan 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/is_taggable.rb
View
@@ -20,7 +20,7 @@ def to_s
module ActiveRecordExtension
def is_taggable(*kinds)
- class_inheritable_accessor :tag_kinds
+ class_attribute :tag_kinds
self.tag_kinds = kinds.map(&:to_s).map(&:singularize)
self.tag_kinds << :tag if kinds.empty?

0 comments on commit eb2229b

Please sign in to comment.