Acts_as_taggable and mechanize


#1

Hi,

I’m trying to use both acts_as_taggable and mechanize (WWW::Mechanize)
gems
in my app. The problem is that when I do
require ‘mechanize’
in the app, acts_as_taggable throws the following error.

undefined method `table_name’ for Struct::Tag:Class
coming from …/gems/acts_as_taggable-1.0.4/lib/taggable.rb:150

However it works fine if I don’t include mechanize.

Please provide me some pointers on how to fix this problem.

Thanks.