3 ms·
Then check out http://guides.rubyonrails.org/ http://guides.rubyonrails.org/ Excellent, high-quality, up-to-date documentation for almost any Rails topic you ca
by FooBarWidget 18y ago
Then check out http://guides.rubyonrails.org/ http://guides.rubyonrails.org/
Excellent, high-quality, up-to-date documentation for almost any Rails topic you can imagine. Even the API docs have improved leaps and bounds -- yes, send_file is documented as well.
And FYI: send_file has been around since Rails 1.0.0. It's not exactly "state of the art".
- mechanical_fish 18y agosend_file has been around since Rails 1.0.0 I'm sure it has. But so have components, and FastCGI, and webrick, and old-school Test::Unit [1], and fixtures, and the art of constructing CRUD routes one at a time by hand instead of using map.resources and RESTful routing. And a lot of other things which are extinct, deprecated, considered harmful, frowned upon, or generally ignored in favor of newer alternatives. A blog post doesn't have to contain something new to be informative. Sometimes the fact that it doesn't contain anything new is informative: It suggests that the old solution is still considered the canonical solution. [2] Thanks for the Guides recommendation, by the way. A very useful resource, indeed. -- [1] That is: Test::Unit without Shoulda and/or Rspec enhancement, which seem to be all the rage these days. [2] Of course, you have to be confident that the blogger you're reading has actually been paying attention.
- hello_moto 18y agoI went to the site and saw a lot of "yellow" warning icons. "Guides marked with this icon are currently being worked on. While they might still be useful to you, they may contain incomplete information and even errors." I don't mean to jerk them off, I think the guides are much better than they were in the past.