views:

288

answers:

1

Hi, Does anybody successfully integrated vestal versions and acts_as_taggable_on plugins? I've added to my app, that using acts_as_taggable_on following line to environment.rb

config.gem 'vestal_versions'  

and on any rake task or generator script call i see

$ ./script/generate
/opt/local/lib/ruby/gems/1.8/gems/rails-2.3.5/lib/rails/
gem_dependency.rb:119:Warning: Gem::Dependency#version_requirements is
deprecated and will be removed on or after August 2010.  Use
#requirement
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/
reflection.rb:187:in `quoted_table_name': undefined method
`quoted_table_name' for VestalVersions::Tagging:Module (NoMethodError)
        from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/associations.rb:1416:in
`configure_dependency_for_has_many'
        from /opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.5/lib/
active_record/associations.rb:824:in `has_many'
        from (eval):3:in `has_many'
        from /opt/local/lib/ruby/gems/1.8/gems/mbleigh-acts-as-
taggable-on-1.0.5/lib/acts_as_taggable_on/acts_as_taggable_on.rb:25:in
`acts_as_taggable_on'
        from /opt/local/lib/ruby/gems/1.8/gems/mbleigh-acts-as-
taggable-on-1.0.5/lib/acts_as_taggable_on/acts_as_taggable_on.rb:24:in
`class_eval'
        from /opt/local/lib/ruby/gems/1.8/gems/mbleigh-acts-as-
taggable-on-1.0.5/lib/acts_as_taggable_on/acts_as_taggable_on.rb:24:in
`acts_as_taggable_on'
        from /opt/local/lib/ruby/gems/1.8/gems/mbleigh-acts-as-
taggable-on-1.0.5/lib/acts_as_taggable_on/acts_as_taggable_on.rb:20:in
`each'
        from /opt/local/lib/ruby/gems/1.8/gems/mbleigh-acts-as-
taggable-on-1.0.5/lib/acts_as_taggable_on/acts_as_taggable_on.rb:20:in
`acts_as_taggable_on' 

Do you know how to solve this?

+1  A: 

I believe someone forked vestal_versions for that very reason: http://github.com/dfurber/vestal_versions

The tag was renamed to tag_version.

Patrick Robertson
He's right. Installing this fork took care of the problem for me. Hopefully it will get merged back into the main repo.
Jimmy Baker