aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* removes render :update from viewsXavier Noria2011-04-131-4/+0
|
* removes ActionView::Helpers::PrototypeHelperXavier Noria2011-04-131-476/+0
|
* removes ActionView::Helpers::ScriptaculousHelperXavier Noria2011-04-131-86/+0
|
* removes the RJS template handlerXavier Noria2011-04-1312-78/+11
|
* removes support for render :updateXavier Noria2011-04-1310-400/+0
|
* removes support for RJS in button_to_functionXavier Noria2011-04-131-14/+0
|
* removes assert_select_rjsXavier Noria2011-04-131-351/+0
|
* removes support for RJS in link_to_functionXavier Noria2011-04-131-24/+1
|
* Fixing distance_of_time_in_words range near 2 daysMatt Duncan2011-04-131-3/+3
|
* Merge branch 'master' into sprocketsJoshua Peek2011-04-1216-25/+348
|\
| * Change Object#either? to Object#among? -- thanks to @jamesarosen for the ↵David Heinemeier Hansson2011-04-125-5/+5
| | | | | | | | suggestion!
| * Fix failing test case on masterPrem Sichanugrist2011-04-101-1/+1
| | | | | | | | It turned out that I overlook at some replacements ..
| * Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-117-9/+16
| | | | | | | | There're a lot of places in Rails source code which make a lot of sense to switching to Object#in? or Object#either? instead of using [].include?.
| * Make csrf_meta_tags use the tag helperJames Robinson2011-04-081-5/+3
| | | | | | | | Improved formatting of csrf_helper and improved test coverage
| * Merge branch 'master' of github.com:rails/railsAaron Patterson2011-04-071-3/+3
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'master' of github.com:rails/rails: Cache flash now Revert "Use freeze instead of close!" Revert "Eagerly load Signed and Permanent cookies" cookies here Eagerly load Signed and Permanent cookies Use freeze instead of close!
| | * Revert "Use freeze instead of close!"Santiago Pastorino2011-04-071-6/+0
| | | | | | | | | | | | This reverts commit 29592a7f09dda2e7e1e0a915d9230fe6a9b5c0af.
| | * cookies hereSantiago Pastorino2011-04-071-3/+3
| | |
| | * Use freeze instead of close!Santiago Pastorino2011-04-061-0/+6
| | |
| * | many args does not make sense with the current implementation because of how ↵Aaron Patterson2011-04-061-10/+0
| | | | | | | | | | | | `use` works
| * | getting the flash hash under testAaron Patterson2011-04-061-0/+100
| | |
| * | favor composition over inheritance, have FlashHash delegate to a HashAaron Patterson2011-04-061-4/+4
| |/
| * Delete useless argumentsSantiago Pastorino2011-04-061-6/+6
| |
| * Delete useless env variableSantiago Pastorino2011-04-061-9/+3
| |
| * Add tests to verify that signed and permanent cookies raises if someone triesSantiago Pastorino2011-04-061-0/+51
| | | | | | | | | | to modify the cookies when it was already streamed back to the client or converted to HTTP headers
| * Make process reuse the env var passed as argumentSantiago Pastorino2011-04-061-0/+8
| |
| * raise if someone tries to modify the cookies when it was already streamed ↵Santiago Pastorino2011-04-061-0/+51
| | | | | | | | back to the client or converted to HTTP headers
| * do not return html safe strings from auto_linkAaron Patterson2011-04-051-5/+11
| |
| * raise if someone tries to modify the flash when it was already streamed back ↵Santiago Pastorino2011-04-051-0/+50
| | | | | | | | to the client or converted to HTTP headers
| * Implicit actions named not_implemented can be renderedSantiago Pastorino2011-04-021-2/+11
| |
| * pass respond_with options to controller render when using a template for api ↵Josh Kalderimis2011-03-312-0/+20
| | | | | | | | | | | | navigation Signed-off-by: José Valim <jose.valim@gmail.com>
| * only try to display an api template in responders if the request is a get or ↵Josh Kalderimis2011-03-312-0/+22
| | | | | | | | | | | | there are no errors Signed-off-by: José Valim <jose.valim@gmail.com>
| * when using respond_with with an invalid resource and custom options, the ↵Josh Kalderimis2011-03-311-0/+17
| | | | | | | | | | | | default response status and error messages should be returned Signed-off-by: José Valim <jose.valim@gmail.com>