aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | assert_template matches against RegexpGrant Hutchins2012-03-101-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows for more strict template assertions, while maintaining backward compatibility. For example, if you use assert_template("foo/bar") and "foo/bar/baz" was rendered, the test passes. But if you use assert_template(%r{\Afoo/bar\Z}), you will catch that a different template was rendered. Also, if you passed an unsupported argument to assert_template() in the past, it would silently succeed. Now it raises an ArgumentError.
* | | | | | Merge pull request #5380 from benmmurphy/escape_unicode_paragraph_separatorAaron Patterson2012-03-121-1/+3
|\ \ \ \ \ \ | | | | | | | | | | | | | | ensure u2029 is escaped in escape_javascript helper
| * | | | | | ensure u2029 is escaped in escape_javascript helperbenmmurphy2012-03-111-1/+3
| | | | | | |
* | | | | | | Merge pull request #5366 from parndt/fix_issue_5324José Valim2012-03-114-21/+16
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | Fixes #5324 by removing default size options from input:text and default cols and rows options from textarea.
| * | | | | | Fix unintended removal of 'cols' from a text_area example.Philip Arndt2012-03-121-1/+1
| | | | | | |
| * | | | | | Fixes #5324 by removing default size options from input:text and default ↵Philip Arndt2012-03-104-22/+17
| | |/ / / / | |/| | | | | | | | | | | | | | | | cols and rows options from textarea.
* | | | | | Merge pull request #5326 from lest/patch-2Michael Koziarski2012-03-101-2/+18
|\ \ \ \ \ \ | |_|/ / / / |/| | | | | configure how unverified request will be handled
| * | | | | configure how unverified request will be handledSergey Nartimov2012-03-091-2/+18
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | can be configured using `:with` option in `protect_from_forgery` method or `request_forgery_protection_method` config option possible values: - :reset_session (default) - :exception new applications are generated with: protect_from_forgery :with => :exception
* | | | | AbstractController.action_methods should return a SetSantiago Pastorino2012-03-101-2/+3
| |/ / / |/| | |
* | | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-091-0/+10
|\ \ \ \ | |/ / / |/| | |
| * | | copy edits [ci skip]Vijay Dev2012-03-071-2/+2
| | | |
| * | | Add some docs for ActionController::Base.without_modulesCarlos Antonio da Silva2012-03-061-0/+10
| | | |
* | | | Set the rendered_format on respond_to.José Valim2012-03-071-0/+1
| | | |
* | | | Just change the formats on first render, closes #5307, closes #5308.José Valim2012-03-071-2/+7
| | | |
* | | | Merge pull request #5310 from Serabe/layout_for_partials_with_collectionsJosé Valim2012-03-061-1/+46
|\ \ \ \ | | | | | | | | | | Adds :layout option to render :partial when a collection is given.
| * | | | Adds line to change log and update documentation.Sergio Arbeo2012-03-071-0/+37
| | | | |
| * | | | Adds :layout option to render :partial when a collection is given.Sergio Arbeo2012-03-061-1/+9
| | | | |
* | | | | Refactor AD::UploadedFile, and raise sooner if tempfile is not presentCarlos Antonio da Silva2012-03-061-8/+6
| | | | |
* | | | | Remove unused ActionController::SessionManagementSantiago Pastorino2012-03-063-11/+0
| | | | |
* | | | | Avoid ImplicitRender just call render directlySantiago Pastorino2012-03-061-3/+1
| | | | |
* | | | | Clean up module docs [ci skip]Vijay Dev2012-03-072-27/+27
| |_|_|/ |/| | | | | | | | | | | Removed some useless docstrings and no-doc'ed some.
* | | | Merge pull request #5298 from sikachu/master-fix-responderJosé Valim2012-03-062-12/+13
|\ \ \ \ | | | | | | | | | | Always passing a respond block from to responder
| * | | | Always passing a respond block from to responderPrem Sichanugrist2012-03-052-12/+13
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | We should let the responder to decide what to do with the given overridden response block, and not short circuit it. Fixes #5280
* / / / Compute asset paths from the request if ENV["RAILS_RELATIVE_URL_ROOT"] is ↵Dwayne Litzenberger2012-03-051-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | not set. This should fix the following issue: "Rails is not a Rack Application (SCRIPT_NAME vs. relative_url_root ?)" https://github.com/rails/rails/issues/910
* | | Merge pull request #5290 from steveklabnik/masterJosé Valim2012-03-051-3/+3
|\ \ \ | | | | | | | | Added parsing of arbitrary media type parameters.
| * | | Added parsing of arbitrary media type parameters.Steve Klabnik2012-03-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Based on #4918. Related to #4127.
* | | | force response body to be read in assert_templateSergey Nartimov2012-03-051-0/+4
|/ / /
* | | Route root helper shortcutBrian Cardarella2012-03-031-0/+5
| | | | | | | | | | | | Allow the root route helper to accept just a string
* | | Merge pull request #5246 from lest/patch-2José Valim2012-03-031-1/+1
|\ \ \ | | | | | | | | simplify namespace assignment in fields_for
| * | | simplify namespace assignment in fields_forSergey Nartimov2012-03-021-1/+1
| | | |
* | | | remove usages of AS::OrderedHashVishnu Atrai2012-03-031-1/+1
| |/ / |/| |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-03-031-1/+1
|\ \ \
| * | | Removed max-stale from the setting the cache-headers in the response as ↵Anuj Dutta2012-03-021-1/+1
| | | | | | | | | | | | | | | | max-stale is a cache request header.
* | | | Turn off verbose mode of rack-cache, we still have X-Rack-Cache to check ↵Santiago Pastorino2012-03-031-1/+1
| |/ / |/| | | | | | | | | | | | | | that info Closes #5245
* | | Can't cache url_options on a controller levelPiotr Sarnacki2012-03-021-11/+12
| | | | | | | | | | | | | | | It fails if routes from to railties are called in one context, for example: blog.posts_path and main_app.users_path
* | | don't pass unnecessary argumentSergey Nartimov2012-03-021-2/+2
| | |
* | | Merge pull request #5242 from rails/opt_routesJosé Valim2012-03-026-39/+98
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-20/+27
| | | |
| * | | Optimize path helpers.José Valim2012-03-025-29/+81
| | |/ | |/|
* | | Fix #5238, rendered_format is not set when template is not renderedPiotr Sarnacki2012-03-021-0/+2
| | |
* | | Allow fieldsets to be created without a block.Ben Pickles2012-03-011-2/+1
|/ /
* | Merge branch 'master-security'Aaron Patterson2012-03-012-4/+3
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
| * | use AS::SafeBuffer#clone_empty for flushing the output_bufferAkira Matsuda2012-02-201-1/+1
| | |
| * | fix output safety issue with select optionsSergey Nartimov2012-02-201-3/+3
| | |
* | | Tap, tap goes the middlewareJeremy Kemper2012-02-291-4/+1
| | |
* | | Merge pull request #5203 from avakhov/anonymous-controller-layoutAaron Patterson2012-02-291-0/+4
|\ \ \ | | | | | | | | Fix layout lookup for anonymous controller
| * | | Fix layout lookup for anonymous controllerAlexey Vakhov2012-02-281-0/+4
| | |/ | |/|
* | | Merge pull request #5219 from ↵Aaron Patterson2012-02-292-4/+5
|\ \ \ | | | | | | | | | | | | | | | | 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-242-4/+5
| | | | | | | | | | | | | | | | constraints on the querystring. Issue #2781
* | | | fix api doc [ci skip]Vijay Dev2012-03-011-1/+1
| | | |