On 7 Dec 2009, at 10:43, doug livesey wrote: > Should I call something like: > render( :file => "/path/to/file.json", :layout => false, :status => :ok ) > > Or is there a better way?
Can't you just put it in the right series of folders under ./public and your webserver (assuming apache/passenger, but should work with others) will serve it straight off the disk for you? C --- Caius Durling [email protected] +44 (0) 7960 268 100 http://caius.name/ -- You received this message because you are subscribed to the Google Groups "NWRUG" 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/nwrug-members?hl=en.
