mirror of
https://github.com/github/rails.git
synced 2026-01-30 00:38:00 -05:00
efd0bdd9eaf66a361b01739522794ec0c9453d15
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5621 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added GET-masquarading for HEAD, so request.method will return :get even for HEADs. This will help anyone relying on case request.method to automatically work with HEAD and map.resources will also allow HEADs to all GET actions. Rails automatically throws away the response content in a reply to HEAD, so you dont even need to worry about that. If you, for whatever reason, still need to distinguish between GET and HEAD in some edge case, you can use Request#head? and even Request.headers["REQUEST_METHOD"] for get the "real" answer. Closes #6694 [DHH]
Change fixture_path to a class inheritable accessor allowing test cases to have their own custom set of fixtures. Closes #6672 [zdennis]
Use attr_accessor_with_default to dry up attribute initialization. References #6538. [Stuart Halloway]
Description
No description provided
Languages
Ruby
97.9%
CSS
1.5%
HTML
0.5%