toshizou-Rails

エラー(トラブルシューティング)

RSpecで発生したエラーめも(随時追加予定)

この記事でやること 開発環境 RequestSpecでのエラー ArgumentError: x is not a valid column_name この記事でやること RSpecで発生したエラーとその解決方法を 開発環境 MacOS: Mojave Ruby: 2.5.7 Rails: 5.1.7 RSpec(rspec-rails): 4.0.1 (Dockerを使用)…

Railsアプリ作成するときに遭遇したエラーたち(随時追加、Docker環境含む)

Ruby can't add a new key into hash during iteration Rails環境構築・作成時のエラー An error occurred while installing mysql2 (0.5.3), and Bundler cannot continue.Make sure that gem install mysql2 -v '0.5.3' --source 'https://rubygems.org/' …