I am using the acts_as_taggable_on
gem and would like to add a method to one of the gem source files (tag.rb
), but I do not want to change the gem source in any way.
I have tried creating my own tag.rb file to in the /app/models
directory or in the /lib
directory, and then adding the desired method to that file expecting that ruby will merge the two tag.rb files
But when I do I get a NoMethodError: undefined method
...
What am I missing?