aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* | Merge branch 'master' into sprocketsJoshua Peek2011-03-308-5/+173
|\| | | | | | | | | Conflicts: railties/lib/rails/application/configuration.rb
| * Make action_method? public and change implicit rendering to override it instead.José Valim2011-03-301-0/+5
| |
| * Remove 'warning: ambiguous first argument' when running ActionPack testsSebastian Martinez2011-03-292-4/+4
| | | | | | | | Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Move mapper_test to the appropriate locationPrem Sichanugrist2011-03-291-0/+0
| | | | | | | | | | | | It seems like in 89c5b9aee7d7db95cec9e5a934c3761872ab107e Aaron actually put the test in action_dispatch folder. However, there's already a `test/dispatch` directory which I think it's more appropriate. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
| * Update the wildcard route to be non-greedy by default, therefore be able to ↵Prem Sichanugrist2011-03-291-1/+31
| | | | | | | | | | | | | | | | match the (.:format) segment [#6605 state:resolved] After some discussion with Andrew White, it seems like this is a better approach for handling a wildcard route. However, user can still bring back the old behavior by supplying `:format => false` to the route. Signed-off-by: Andrew White <andyw@pixeltrix.co.uk>
| * Added Base.http_basic_authenticate_with to do simple http basic ↵David Heinemeier Hansson2011-03-281-0/+16
| | | | | | | | authentication with a single class method call [DHH]
| * Add controller-specific `force_ssl` method to force web browser to use HTTPS ↵Prem Sichanugrist2011-03-281-0/+83
| | | | | | | | | | | | | | | | protocol This would become useful for site which sometime transferring sensitive information such as account information on particular controller or action. This featured was requested by DHH.
| * Fix alias_method, add testDavid Heinemeier Hansson2011-03-271-0/+1
| |
| * Allow FormHelper#form_for to specify the :method as a direct option instead ↵David Heinemeier Hansson2011-03-261-2/+19
| | | | | | | | of through the :html hash [DHH]
| * correction to the outputted controller name in the diagnostics error ↵Josh Kalderimis2011-03-241-0/+16
| | | | | | | | | | | | template, test included Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>