Rob Biedenharn
2006-Jun-28 04:08 UTC
[Rails] class Tag in both acts_as_taggable and RubyfulSoup
I''m starting to use RubyfulSoup (http://www.crummy.com/software/ 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 Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com
Maybe Matching Threads
- find_by_sql not quoting properly (in acts_as_taggable plugin)
- acts_as_taggable => error: undefined method ''tag''
- acts_as_taggable scoped in another class/table?
- acts_as_taggable plugin to tag multiple fields in a model
- Why doesn''t Rails 1.1 have all the Script.aculo.us 1.6 files?