フォームを作成し送信しようとしたら、
no implicit conversion of nil into String
と言われてた、nilからstringへの暗黙の了解がない…?
https://teratail.com/questions/171144
上の記事を参考に…
.to_sをテキストを用いる変数につけたら無事使えました。
.to_sはString型であることを明示して取り出すメソッド。
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
フォームを作成し送信しようとしたら、
no implicit conversion of nil into String
と言われてた、nilからstringへの暗黙の了解がない…?
https://teratail.com/questions/171144
上の記事を参考に…
.to_sをテキストを用いる変数につけたら無事使えました。
.to_sはString型であることを明示して取り出すメソッド。
Register as a new user and use Qiita more conveniently
Go to list of users who liked