Forum: Ruby on Rails acts_as_taggable and mechanize

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Zooman Jee (Guest)
on 2006-02-28 11:32
(Received via mailing list)
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.
This topic is locked and can not be replied to.