賢くなりたいトイプードルの日記

データサイエンス系の話をメインにしていきます

mysql2

Mysql2::Error: Column 'カラム名' in where clause is ambiguousの解決方法

Ruby On Railsアプリ開発中に”Mysql2::Error: Column 'カラム名' in where clause is ambiguous”というエラーが出た。和訳すると、「where節の中の'カラム名'っていうカラムが曖昧です」

Make sure that `gem install mysql2 -v が消えないときの対処法

railsアプリのsidekiqを立ち上げようと思ったら Could not find mysql2-0.4.10 in any of the sources って怒られる。 そこでbundle installすると今度は Installing mysql2 0.4.10 with native extensions Gem::Ext::BuildError: ERROR: Failed to build ge…