I have inside app a directory called csv and inside this dir I have a file called names.csv I want to use File.read(path:string)
app
csv
names.csv
File.read(path:string)
Thanks for above answers, It also worked this way for me:
"#{Rails.root}/public/spreadsheets/file_name.xlsx"