Displaying 1 result from an estimated 1 matches for "acts_as_taggable_extras".
2009 Sep 11
0
Need help with extending a plugin
...ide
taggable_extensions. I just don''t know how.
Here''s what my current taggable_extensions.rb looks like
module ActiveRecord
module Acts
module TaggableExtras
def self.included(base)
base.extend(ClassMethods)
end
module ClassMethods
def acts_as_taggable_extras(options = {})
include ActiveRecord::Acts::TaggableExtras::InstanceMethods
extend ActiveRecord::Acts::TaggableExtras::SingletonMethods
end
end
module SingletonMethods
#nothing here yet
end
module InstanceMethods
#...some instance...