aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* raise an error if the old router draw method is used, along with a message ↵Josh Kalderimis2011-05-031-0/+6
| | | | advising them to either upgrade their routes or add rails_legacy_mapper to their Gemfile
* Multipart is now fixed in Rack.José Valim2011-05-031-14/+8
|
* Fix broken params_wrapper_test on 1.8.7 :bomb:Prem Sichanugrist2011-05-031-36/+80
| | | | | I have to keep in mind that 1.8.7 does *not* preserve the hash order. Guys, let's move to use 1.9.2 in production!
* Improve performance for filtered parameters and add tests.José Valim2011-05-031-0/+11
|
* Move most processing to load time for performance and improve test suite.José Valim2011-05-031-12/+27
|
* removing auto_link and moving it to the rails_autolink gem. :bomb:Aaron Patterson2011-05-021-254/+0
|
* Koz asked to test something crazy.José Valim2011-05-021-0/+12
|
* Add ignore_accept_header config to AD::Request.José Valim2011-05-021-0/+22
|
* Add `ActionController::ParamsWrapper` to wrap parameters into a nested hashPrem Sichanugrist2011-05-033-0/+278
| | | This will allow us to do a rootless JSON/XML request to server.
* Tidy up pending TODOs after discussion with Mr. Gatoz (@wycats).José Valim2011-05-011-7/+7
|
* log errors when an exception happens when streaming.José Valim2011-05-012-2/+19
|
* Add a test for rendering from the controller context.José Valim2011-05-011-0/+54
|
* More cleanup and moving responsibilities around.José Valim2011-05-011-5/+5
|
* Remove more dependencies from the view.José Valim2011-05-011-4/+3
|
* Remove dependency from _template.José Valim2011-05-012-7/+5
|
* Merged pull request #327 from dcrec1/master.José Valim2011-04-281-0/+11
|\ | | | | Prefix option for number_to_human_size
| * added a :prefix option to number_to_human_sizeDiego Carrion2011-04-271-0/+11
| |
* | Allow a label with the value option to have value-specific translations.Jason Garber2011-04-271-1/+11
|/
* prevent errors when passing a frozen string as a param to ↵misfo2011-04-281-0/+12
| | | | | | | ActionController::TestCase#process since ActionDispatch::Http::Parameters#encode_params will force encoding on all params strings (when using an encoding aware Ruby), dup all strings passed into process. This prevents modification of params passed in and, more importantly, doesn't barf when a frozen string is passed thanks and high fives to kinsteronline
* asset helpers should understand scheme-relative URLsChad Krsek2011-04-261-0/+15
|
* Revert "asset helpers should understand scheme-relative URLs"Chad Krsek2011-04-251-15/+0
| | | | This reverts commit 057412ce38ead06307a887dca333837a99f84f22.
* asset helpers should understand scheme-relative URLsChad Krsek2011-04-251-0/+15
|
* added test for number_to_phone with an empty string and area code trueDiego Carrion2011-04-251-0/+1
| | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix tests, main_app mounted helper must be defined explicitly now.Piotr Sarnacki2011-04-251-0/+1
|
* rename test case to better describe use caseDavid Chelimsky2011-04-251-6/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Replace example hostname with "example.com".Joost Baaij2011-04-211-12/+12
| | | | | The hostname used in these comments actually exists, which is undesirable. See also RFC 2606.
* Don't reuse a closed flash when using nowFlorent Piteau2011-04-201-0/+8
|
* Let's use inheritance here, shall we?José Valim2011-04-191-0/+8
|
* Switch to asset_path and make it available in the Sprockets::Context (now ↵David Heinemeier Hansson2011-04-191-22/+18
| | | | you can do asset_path("logo.png") in a stylesheet.css.erb file and get fingerprinting)
* All assets, including images, audio, and video, now uses the asset pipeline ↵David Heinemeier Hansson2011-04-192-0/+19
| | | | when its on
* Do not stream on HTTP/1.0.José Valim2011-04-191-0/+8
|
* Output a redirect to the 500 page if something happens when streaming.José Valim2011-04-191-1/+23
| | | | | | Currently, we output: "><script type="text/javascript">window.location = "/500.html"</script></html>
* Do not inherit from Rack::Response, remove a shit-ton of unused code.José Valim2011-04-191-16/+0
|
* Be sure to not store the closed flash in the session.José Valim2011-04-191-1/+8
|
* Test explicit skip.José Valim2011-04-181-1/+10
|
* Just define the controller if fibers are defined.José Valim2011-04-181-2/+2
|
* Body... wanna *stream* my body? Body... such a thrill my body!José Valim2011-04-181-0/+62
| | | | | Added stream as class level method to make it explicit when to stream. Render also accepts :stream as option.
* content_for should work with provide.José Valim2011-04-166-6/+30
|
* Add more tests, ensure we never yield outside the fiber context and that we ↵José Valim2011-04-161-0/+8
| | | | swap buffers when moving from parent to child.
* Basic tests for streaming. Basic tests for provide.José Valim2011-04-162-2/+69
|
* The magic medicine worked.José Valim2011-04-161-7/+13
|
* Yo dawg, I heard you like streaming. So I put a fiber, inside a block, ↵José Valim2011-04-161-1/+1
| | | | inside a body, so you can stream.
* Buffer should be an option passed down to template rendering.José Valim2011-04-163-72/+0
|
* Initial work on fibered layout.José Valim2011-04-162-1/+28
|
* switch to using comments to comment thingsAaron Patterson2011-04-151-2/+1
|
* render :once, YAGNI.José Valim2011-04-151-86/+0
|
* Make static faster as we don't have to serve multiple paths anymore.José Valim2011-04-152-55/+1
|
* ActionView::PathSet# accepts String or ArrayDavid Chelimsky2011-04-131-0/+29
| | | | | | - Closes #6692 Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-135-5/+5
| | | | | | After a long list of discussion about the performance problem from using varargs and the reason that we can't find a great pair for it, it would be best to remove support for it for now. It will come back if we can find a good pair for it. For now, Bon Voyage, `#among?`.
* fixes the name of a testXavier Noria2011-04-131-1/+1
|