actually i have done single file attachment in ruby on rails, now i
want to do multiple attachment, but the problem is when i am trying to
display the second file name from the params for the testing purpose, i
got the error, please can anyone correct the error.
@filename = @picture.original_filename
render_text @filename1 = @picture1.original_filename
my Error is:
undefined method `original_filename’ for “”:String