aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | 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
| | | | |
* | | | | adds a nodoc [ci skip]Vijay Dev2012-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | We have an empty api doc page otherwise :)
* | | | | reduced localhost check to two method callsAaron Patterson2012-02-281-2/+3
| | | | |
* | | | | remove unnecessary memcache equire in ActionDispatch::Session::CacheStoreBrian Durand2012-02-281-1/+0
| |/ / / |/| | |
* | | | Change asset_host config language to be more helpful and accurateGabe Hollombe2012-02-281-2/+3
| | | |
* | | | Add a new line after the textarea opening tag.Rafael Mendonça França2012-02-271-1/+1
| | | | | | | | | | | | | | | | Closes #393
* | | | Fix collection_check_boxes and collection_radio_buttons when using localRafael Mendonça França2012-02-261-0/+1
| | | | | | | | | | | | | | | | variables in the form builder
* | | | Add documentation to object method of CollectionHelpers::BuilderRafael Mendonça França2012-02-261-6/+6
| |_|/ |/| |
* | | use content_tag instead stringsVasiliy Ermolovich2012-02-251-3/+4
| | |
* | | Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-02-252-2/+2
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: actionmailer/CHANGELOG.md
| * | | Fix typo in match :to docsJustin Woodbridge2012-02-231-1/+1
| | | |
| * | | Fix AbstractController#controller_path docAlexey Vakhov2012-02-191-1/+1
| | | |
* | | | Merge pull request #5117 from nashby/form-option-refactorJosé Valim2012-02-251-17/+11
|\ \ \ \ | | | | | | | | | | FormOptionsHelper refactor
| * | | | refactor option_text_and_value and option_value_selected? methodsVasiliy Ermolovich2012-02-211-10/+3
| | | | |
| * | | | refactor time_zone_options_for_selectVasiliy Ermolovich2012-02-211-7/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BTW, select works quite faster then find_all: require 'benchmark' n = [1]*100_000_000 Benchmark.bm do |x| x.report { n.select { |a| a > 1 } } x.report { n.find_all { |a| a > 1 } } end user system total real 7.590000 0.010000 7.600000 ( 7.927171) 9.650000 0.010000 9.660000 ( 9.634406)
* | | | | consistently mention first patch, then putXavier Noria2012-02-243-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There was a mix, sometimes patch first, sometimes put first. Use always patch first, since this is going to be the primary verb for updates.
* | | | | uses PATCH for the forms of persisted records, and routes PATCH and PUT to ↵Xavier Noria2012-02-245-14/+9
| | | | | | | | | | | | | | | | | | | | the update action of resources
* | | | | correct fetching :name option in form fieldsVasiliy Ermolovich2012-02-231-3/+3
| |_|/ / |/| | |