I have a little namespace collision here. I am trying to use both
RubyfulSoup (an HTML parser - which I highly recommend by the way) and
the ActionView::Helpers::TextHelper class. Within the TextHelper class,
there’s an attempt to create a new “Tag” object. However, Tag is also
defined in the RubyfulSoup gem and it is this Tag class whose
initialize method is being called (and failing of course).
So, is my choice simply which Gem to hack and fully qualify the class
Or is there a way to force one of the modules to look for the class
definition within itself instead of in the path (I doubt it but I
thought I would ask)?
Any other advice?