I have some static JSON files that I want to get served up in a hurry. Eventually, I'll have them be generated & cache them once a day, but I need to get the service up there in a hurry, so am going to just create the files & have them served up. Should I call something like: render( :file => "/path/to/file.json", :layout => false, :status => :ok )
Or is there a better way? Can't believe I've never had to do this before! Cheers, Doug. -- 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.
