Thanks for your quick reply.

For a quick test, I entered http://localhost:3000/data/5.xls into the 
browser.

The response is: "Template is missing"

The code fragment in show is:

    respond_to do |format|
      format.html # show.html.erb
      format.xls  { render :to_excel_2003 => @data }
    end

and to_excel_2003 only contains a debugger call, which is never reached.

Two more questions:
How to overcome the "Template is missing" - an .erb-file doesn't make 
sense here.
How to build the link_to to generate a link to the .xls-file?
-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to