ArgumentError in Recipes#show

Showing /home/info/Centurion-2021/app/views/recipes/partials/_template_cellule_recipe_complet03.html.erb where line #113 raised:

Can't resolve image into URL: to_model delegated to attachment, but attachment is nil
Extracted source (around line #113):
111
112
113
114
115
116
              
</div>
<div class="col-4 d-flex flex-column justify-content-center" id="container-ingredients-recipe">
<%= image_tag(recipe.picture02, class: 'img-fluid w-100') %>
<ul class="mt-3" style="padding-inline-start: 30px;">
<% recipe.recipes_ingredients.each do |current_ingredient| %>
<li class="mb-2" style="list-style-type: none;"><%= current_ingredient.content.html_safe %></li>

Trace of template inclusion: app/views/recipes/show.html.erb

Rails.root: /home/info/Centurion-2021

Application Trace | Framework Trace | Full Trace

Request

Parameters:

{"locale"=>"fr", "id"=>"gaufres-salees-fourrees-aux-fromages"}

Response

Headers:

None