aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test
Commit message (Collapse)AuthorAgeFilesLines
* Adds :layout option to render :partial when a collection is given.Sergio Arbeo2012-03-062-0/+5
|
* Merge pull request #5290 from steveklabnik/masterJosé Valim2012-03-051-0/+6
|\ | | | | Added parsing of arbitrary media type parameters.
| * Added parsing of arbitrary media type parameters.Steve Klabnik2012-03-051-0/+6
| | | | | | | | | | | | Based on #4918. Related to #4127.
* | force response body to be read in assert_templateSergey Nartimov2012-03-051-0/+13
|/
* Merge pull request #5269 from ↵Piotr Sarnacki2012-03-041-1/+0
|\ | | | | | | | | castlerock/remove_unwanted_require_karnel_reporting AS/kernel/reporting no where used in ts_isolated
| * AS/kernel/reporting no where used in ts_isolatedVishnu Atrai2012-03-041-1/+0
| |
* | Route root helper shortcutBrian Cardarella2012-03-031-0/+9
|/ | | | Allow the root route helper to accept just a string
* Merge pull request #5242 from rails/opt_routesJosé Valim2012-03-023-9/+9
|\ | | | | | | | | | | | | | | Optimize routes generation in simple cases. If you pass to the route helper the same amount of arguments as the required segments, route generation will be optimized as a string interpolation. After this commit, `post_path(post)` is about 6.5 times faster, `post_url(post)` is about 5 times.
| * Optimize url helpers.Sergey Nartimov + José Valim2012-03-023-9/+9
| |
* | Fix #5238, rendered_format is not set when template is not renderedPiotr Sarnacki2012-03-021-2/+6
| |
* | Allow fieldsets to be created without a block.Ben Pickles2012-03-011-0/+10
|/
* Merge branch 'master-security'Aaron Patterson2012-03-011-1/+8
|\ | | | | | | | | | | | | | | | | | | | | | | * master-security: Ensure [] respects the status of the buffer. delete vulnerable AS::SafeBuffer#[] use AS::SafeBuffer#clone_empty for flushing the output_buffer add AS::SafeBuffer#clone_empty fix output safety issue with select options Conflicts: actionpack/lib/action_view/helpers/tags/base.rb
| * fix output safety issue with select optionsSergey Nartimov2012-02-201-1/+8
| |
* | Merge pull request #5203 from avakhov/anonymous-controller-layoutAaron Patterson2012-02-291-0/+12
|\ \ | | | | | | Fix layout lookup for anonymous controller
| * | Fix layout lookup for anonymous controllerAlexey Vakhov2012-02-281-0/+12
| | |
* | | Merge pull request #5219 from ↵Aaron Patterson2012-02-291-0/+12
|\ \ \ | |/ / |/| | | | | | | | mattfawcett/2781-fix-querystring-route-constraint-for-testing Fix for #2781
| * | Fix the assert_recognizes test method so that it works when there areMatt Fawcett2012-02-241-0/+12
| | | | | | | | | | | | constraints on the querystring. Issue #2781
* | | Add a new line after the textarea opening tag.Rafael Mendonça França2012-02-272-37/+37
| | | | | | | | | | | | Closes #393
* | | Fix collection_check_boxes and collection_radio_buttons when using localRafael Mendonça França2012-02-261-0/+38
| | | | | | | | | | | | variables in the form builder
* | | Move all the helpers to protected sectionRafael Mendonça França2012-02-261-31/+31
| | |
* | | Adding tests for non-optional glob parametersAndrew White2012-02-261-2/+27
| | |
* | | Remove wrong and redundant code.kennyj2012-02-251-6/+4
| | |
* | | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵Xavier Noria2012-02-242-69/+74
| | | | | | | | | | | | the update action of resources
* | | correct fetching :name option in form fieldsVasiliy Ermolovich2012-02-231-0/+5
|/ /
* | SSL should not be disabled by default in any environment.Pat Allan2012-02-231-14/+0
| |
* | Remove unused global variable in controller filters testAlexey Vakhov2012-02-231-2/+0
| |
* | add some tests, yay!Aaron Patterson2012-02-221-0/+31
| |
* | Merge pull request #5119 from kennyj/fix_5114Aaron Patterson2012-02-221-0/+26
|\ \ | | | | | | Testcase for GH #5114.
| * | Testcase for GH #5114.kennyj2012-02-221-0/+26
| |/
* | Merge pull request #5130 from dlee/revised_patch_verbXavier Noria2012-02-229-17/+129
|\ \ | | | | | | Add config.default_method_for_update to support PATCH
| * | Add config.default_method_for_update to support PATCHDavid Lee2012-02-229-17/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PATCH is the correct HTML verb to map to the #update action. The semantics for PATCH allows for partial updates, whereas PUT requires a complete replacement. Changes: * adds config.default_method_for_update you can set to :patch * optionally use PATCH instead of PUT in resource routes and forms * adds the #patch verb to routes to detect PATCH requests * adds #patch? to Request * changes documentation and comments to indicate support for PATCH This change maintains complete backwards compatibility by keeping :put as the default for config.default_method_for_update.
* | | format lookup for partials is derived from the format in which the template ↵Santiago Pastorino2012-02-223-4/+9
|/ / | | | | | | | | | | is being rendered Closes #5025 part 2
* | Don't wrap the raise with ensureSantiago Pastorino2012-02-211-1/+1
| |
* | Restore lookup formats to the previous value after searching for the failing ↵Santiago Pastorino2012-02-211-1/+2
|/ | | | view
* Merge pull request #5102 from nashby/form-option-refactorJosé Valim2012-02-201-16/+16
|\ | | | | form option refactor
| * refactor options_for_selectVasiliy Ermolovich2012-02-201-16/+16
| |
* | Fix a failing testSantiago Pastorino2012-02-201-0/+2
| |
* | Use the right format when a partial is missing.Santiago Pastorino2012-02-202-0/+8
| | | | | | | | Closes #5025
* | Merge pull request #5101 from ckdake/ckdake_actionview_handler_resetJosé Valim2012-02-201-0/+6
|/ | | | | | | Reset memoized hash keys when new ActionView::Template handler is registered Conflicts: actionpack/lib/action_view/template/handlers.rb
* Merge pull request #5082 from ↵Aaron Patterson2012-02-201-0/+5
|\ | | | | | | | | willbryant/assigns_should_not_stringify_values_master assigns(:foo) should not convert @foo's keys to strings if it happens to be a hash
| * assigns(:foo) should not convert @foo's keys to strings if it happens to be ↵Will Bryant2012-02-181-0/+5
| | | | | | | | a hash
* | Merge pull request #5083 from nashby/grouped-select-optionsJosé Valim2012-02-201-0/+18
|\ \ | | | | | | add selected and disabled options to grouped select
| * | add selected and disabled option to grouped selectVasiliy Ermolovich2012-02-181-0/+18
| |/
* | Remove fixture files with Windows incompatible filenamesAndrew White2012-02-2013-38/+88
| | | | | | | | | | | | Windows doesn't allow `\ / : * ? " < > |` in filenames so create the fixture files at runtime and ignore the incompatible ones when running on Windows.
* | Integration tests support the OPTIONS http methodJeremy Kemper2012-02-191-1/+17
|/
* Merge pull request #3479 from arvida/ensure-date-header-on-expires-inJosé Valim2012-02-181-0/+7
|\ | | | | Ensure Date header on expires_in
| * Added test for setting of HTTP Date header when calling #expires_inarvida2011-10-311-0/+7
| |
* | Fix ActionDispatch::Static to serve files with unencoded PCHARAndrew White2012-02-1713-3/+38
| | | | | | | | | | | | | | | | | | | | | | RFC 3986[1] allows sub-delim characters in path segments unencoded, however Rack::File requires them to be encoded so we use URI's unescape method to leave them alone and then escape them again. Also since the path gets passed to Dir[] we need to escape any glob characters in the path. [1]: http://www.ietf.org/rfc/rfc3986.txt
* | let expires_in accept a must_revalidate flagXavier Noria2012-02-171-0/+20
| |
* | escape static file path to prevent double unescapingSergey Nartimov2012-02-162-0/+5
| |