send_file method is not working in  rails . Here i have mentioned my
program . The program is

 filename = File.join(RAILS_ROOT, 'public', '4000.xls')

          send_file_options = {
          :length => File.size( filename ),
          :disposition => 'inline',
          :status => "200 OK"
          }

  send_file(  filename , send_file_options  ). Please help me to solve
this    issue.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to