Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

upgraded to use correct class attribute method for rails 3.2

  • Loading branch information...
commit eb2229be19e345a686270695c5d426ce69a49fbe 1 parent eef853e
@kbaum authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/is_taggable.rb
View
2  lib/is_taggable.rb
@@ -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?
Please sign in to comment.
Something went wrong with that request. Please try again.