このブログはrailsで動かしているのですが、ちょっとrailsを最新にしてみようと思い立って作業をしてみたところ、
acts-as-taggable-on で super: no superclass method `quote_value' が出てしまいました。
acts-as-taggable-onのmasterブランチを参照することでこの問題は解消できます。
https://github.com/mbleigh/acts-as-taggable-on/issues/808#issuecomment-318495139
1.Gemfileを修正する
-gem 'acts-as-taggable-on', '~> 4.0'
+gem 'acts-as-taggable-on', github: 'mbleigh/acts-as-taggable-on', branch: 'master'
2.bundle install
acts-as-taggable-onのVersion 3.5.0はmysqlのアダプターが入ったようなので、 rake acts_as_taggable_on_engine:install:migrations
をしたあとに bundle exec rake db:migrate
を実行してください、
Bundle complete! 78 Gemfile dependencies, 202 gems now installed.
Gems in the group production were not installed.
Bundled gems are installed into ./vendor/bundle.
Post-install message from acts-as-taggable-on:
When upgrading
Re-run the migrations generator
rake acts_as_taggable_on_engine:install:migrations
This will create any new migrations and skip existing ones
Version 3.5.0 has a migration for mysql adapter
railsのバージョンアップにともなって修正したファイルは以下の通りです。