3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

新規登録画面 エラー出力

Posted at

  記事では、Rails6.0.4.6を使用

ブログ投稿画面より、新規登録画面に遷移した際に出力されたエラー

feed.rb
undefined method url for "#<ActionDispatch::Http::UploadedFile: >":String

  【原因】
      app/models/feeb.rb

 モデムにアップローダ機能を定義する
 mount_uploader :image, ImageUploader
 の記載が抜けていた。

3
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?