Class Tag in both acts_as_taggable and RubyfulSoup

I’m starting to use RubyfulSoup (
RubyfulSoup/), but my Rails app already uses acts_as_taggable.

RubyfulSoup has a Tag class. In order to get the Tag <<
ActiveRecord::Base and this Tag to co-exist, I had to rename the
RubyfulSoup class to TagSoup. This seems to work so far.

This is almost certainly not the best way to do it, but until I run
into a problem or discover a better way (like a module namespace)
it’s the way that will stay in my code.

Does anyone have a better suggestion?


Rob B.
[email protected]

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs