I’m trying to extend the Page module with acts_as_taggable, I added a
under the vendor part with the taggable.rb file and the following files:
This works in perfectly in production, but breaks in development, in
development the first call to an act_as_taggable fucntion works, but any
call after that gives errors like this:
NoMethodError (undefined method `tag’ for #Page:0x3878520)
I know this is a result of class caching and reloading of the class data
at least I assume this is the reason).
Any ideas of how to solve this in devlopment?