How to remove the issue toster.ru?

Want to remove issues like to be?
October 3rd 19 at 02:07
2 answers
October 3rd 19 at 02:09

If I understood correctly the problem:


def responce_params
 params[:response][:post_id] = params[:post_id]
 params.require(:responce).permit(:price, :comment, :post_id)
end

October 3rd 19 at 02:11

something like this:

@post = Post.find(params[:post_id])
@responce.post = @post

Find more questions by tags Other