Ruby on rails コメント削除機能
ts.each do |c| %> <div class="user-comment"> <% unless c.user.blan ...
280 search resultsShowing 1~20 results
You need to log-in
ts.each do |c| %> <div class="user-comment"> <% unless c.user.blan ...
ties of undefined (reading 'comment') at D:\VScode\list-app\app.js:35:17 at Lay
ts.each do |c| %> <div class="user-comment"> <% unless c.user.blan ...
t_user.relationships.build) do |f| %> エラー箇所→ 9: <%= hidden_field_ ...
d %> </div> </div> <p> <%= @post.content %> %> </p> ...
_id' 'description' 'tags' 'url' 'posted_at' 'saves' 'comments' 'image_url' 'likes' 'id' ...
d %> <div class="comment-wrapper border-top mb-10"> <p cl ...
t_user.comment.new(comment_params) if @comment.save flash[:notice]= m ...
t.rb class class Comment < ApplicationRecord belongs_to :user belo ...
e('comment_id','=','comments.id')->get(); dd($answers); return vie ...
d %> <div class="comment-wrapper border-top mb-10"> <% @
のようなアプリを開発しています 現在、投稿(movie)の配下にあるコメント(comment)に対していいね機能を実装中にLoadErrorが発生しました。 ...
現在、コントローラーからdataとして@commentの情報を取得し、jsファイルで記述。 一旦、通常動作では日付を表示するようにしていますが、jsで同様の動作を期待して $ ...
t_user.comment.new(comment_params)
t.all comment = Comment.new end def create @photo = Photo.f find(para ...
ts.each do |book_comment| %> image_tag book_comment.user.get_profi ...
%> <%= form_with [@post, @comment], local: true do |form| %> <%= form.text ...
def create @trip_article = TripArticle.find(params[:trip_article_id]) @comment = @trip ...
']; $modal_comment = $_P $_POST['modal_comment']; //対象日のデータがあるかチェクする $sql = "
comment], id: "comment-form" do |f| %> <%= f.text_area :comment ...
280 search resultsShowing 1~20 results
Qiita is a knowledge sharing service for engineers.