show do
attributes_table do
# another attributes...
attachment_row :document, label: "Download this"
end
endindex do
# another attributes...
attachment_column :document, truncate: false
end- You can pass
truncateattribute to toggle truncating the filename.attachment_columntruncates by default. - Pass
labelif you want to show another text instead of the filename

