I am looking for the corresponding tag of the following html code:
<img src="/assets/folder1/<%= @user.fullname %>.jpg" style='height:100%; width: 100%; object-fit: contain' alt="user" />
As you can see the part of the link to the picture is define by the varaiable user.fullname. The html works well but I am looking for the equivalent in Ruby.
Thanks for your support
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…