Re: extend an acts_as plugin

Chris Braddock
Wed, 19 Jan 2011 18:56:41 -0000

The extending part was easy.  I was overthinking it I guess.

class User < ActiveRecord::Base

  acts_as_taggable_on :interests

  def tag(*args)
    # do whatever
    super
  end

end

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at