ログインユーザーのみ削除ボタンを表示させたい
"> <div class="pe-3 ps-3"> <img src="/storage/{{ $post->user->profile ...
12 search resultsShowing 1~12 results
You need to log-in
"> <div class="pe-3 ps-3"> <img src="/storage/{{ $post->user->profile ...
rails room一覧、room投稿、user設定のエラー解消できず・・・ rails6で宿泊予約アプリのようなものをお勉強として作っています。 github => ...
e App\Models\User; use Auth; class LikeController extends Controll
解決したいこと コメント機能を実装しています。 コメント投稿時にuser_idを渡したいですが、はね返されます。 該当するソースコード Events Controll
before_action :authenticate_user! def create create @comment = current_user.c ...
> </li> </ul> <span>logined: <span class="h6">"{{login_user} ...
y except: :new def new end private # パスワードリセットの期限切れかどうかの確認をする check_expiration if @user ...
前の更新時の認識は勘違いでした。お恥ずかしい。下記のget_userメソッドでparams[:user]でemailが拾えていないことが原因のようです。何か ...
べたところ、47行目の変数に値がないのと、SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'user ...
解決したいこと htmlにて、section要素を中央寄せにしたいのですが、 見慣れないエラーによりcssの適用がブロックされてしまいます。 解決方法を教えてください。 発生 ...
c = sb.Sb() File "/home/ec2-user/environment/auto/sbi.py", line 82, in init se ...
hoolyear=中1&sub=数学(方程式)&type=通常:697 null edu_home2.php?schoolye define('DB_USER ...
12 search resultsShowing 1~12 results
Qiita is a knowledge sharing service for engineers.