/ File Upload / Check if Paperclip attachment exists?

<% if @user.avatar.exists? %>
       <%= image_tag @user.avatar.url(:medium) %>
 <% end %>

 

No video for this post.

No issues for this post.

by ryzalyusoff