aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | | 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
|
* 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