aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_dispatch/middleware
Commit message (Collapse)AuthorAgeFilesLines
...
* | favor composition over inheritance, have FlashHash delegate to a HashAaron Patterson2011-04-061-7/+40
|/
* CookieJar should prefer composition over inheritanceAaron Patterson2011-04-061-6/+10
|
* raise if someone tries to modify the cookies when it was already streamed ↵Santiago Pastorino2011-04-061-0/+12
| | | | back to the client or converted to HTTP headers
* Add ClosedError message to the initializerSantiago Pastorino2011-04-062-5/+9
|
* raise if someone tries to modify the flash when it was already streamed back ↵Santiago Pastorino2011-04-051-1/+19
| | | | to the client or converted to HTTP headers
* correction to the outputted controller name in the diagnostics error ↵Josh Kalderimis2011-03-241-1/+1
| | | | | | template, test included Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-048-72/+165
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: activerecord/CHANGELOG activerecord/lib/active_record/association_preload.rb activerecord/lib/active_record/associations.rb activerecord/lib/active_record/associations/class_methods/join_dependency.rb activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb activerecord/lib/active_record/associations/has_many_association.rb activerecord/lib/active_record/associations/has_many_through_association.rb activerecord/lib/active_record/associations/has_one_association.rb activerecord/lib/active_record/associations/has_one_through_association.rb activerecord/lib/active_record/associations/through_association_scope.rb activerecord/lib/active_record/reflection.rb activerecord/test/cases/associations/has_many_through_associations_test.rb activerecord/test/cases/associations/has_one_through_associations_test.rb activerecord/test/cases/reflection_test.rb activerecord/test/cases/relations_test.rb activerecord/test/fixtures/memberships.yml activerecord/test/models/categorization.rb activerecord/test/models/category.rb activerecord/test/models/member.rb activerecord/test/models/reference.rb activerecord/test/models/tagging.rb
| * Use run_callbacks; the generated _run_<name>_callbacks method is not a ↵John Firebaugh2011-01-312-5/+5
| | | | | | | | | | | | public interface. Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
| * Add tld_length option when using domain :all in cookiesbrainopia2011-01-211-9/+9
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Support list of possible domains for cookiesbrainopia2011-01-211-0/+3
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * use raise to create exceptions and to set the backtraceAaron Patterson2011-01-121-1/+1
| |
| * reraising should be in the rescue blockAaron Patterson2011-01-121-1/+1
| |
| * Refactor to handle the X-Cascade without having to raise an exceptionKrekoten' Marjan2011-01-091-12/+12
| |
| * render :template is faster than render :fileSantiago Pastorino2011-01-012-5/+4
| |
| * This is not needed anymoreSantiago Pastorino2011-01-011-3/+0
| |
| * Don't deprecate to_prepare.José Valim2010-12-231-4/+4
| |
| * Clean up callbacks should also be called on exceptions.José Valim2010-12-231-0/+3
| |
| * Typo (request -> response)John Firebaugh2010-12-211-1/+1
| |
| * Expand ActionDispatch::Reloader docsJohn Firebaugh2010-12-211-6/+14
| |
| * Small changes on AD::Reloader.José Valim2010-12-201-20/+3
| |
| * Replace AD::Callbacks.to_prepare with AD::Reloader.to_prepareJohn Firebaugh2010-12-201-25/+6
| | | | | | | | Signed-off-by: José Valim <jose.valim@gmail.com>
| * Introduce ActionDispatch::ReloaderJohn Firebaugh2010-12-201-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | Based on the implementation on the 2-3-stable branch, patches by Hongli Lai <hongli@phusion.nl>, and helpful suggestions from José Valim. Hongli Lai's patches included locking around the request cycle; this is now handled by Rack::Lock (https://github.com/rack/rack/issues/issue/87/). [#2873] Signed-off-by: José Valim <jose.valim@gmail.com>
| * Fix edge cases for domain :all option on cookie storebrainopia2010-12-161-2/+5
|/ | | | | | | | Dont set explicit domain for cookies if host is not a domain name [#6002 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Resolving LH #5986, cookies doc updatesAditya Sanghi2010-11-261-3/+10
|
* Ensure that Rails.env is defined firstAndrew White2010-10-271-1/+1
|
* Don't write out secure cookies unless the request is secureAndrew White2010-10-251-3/+11
|
* Show exceptions rescues the original exceptionLes Hill and Sandro Turriate2010-10-121-0/+13
| | | | | | [#5784 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Ensure the proper content type is returned for static files.José Valim2010-10-041-3/+3
|
* Initialize sid should just skip instance variables.José Valim2010-10-041-0/+7
|
* Rely on Rack::Session stores API for more compatibility across the Ruby world.José Valim2010-10-033-321/+76
|
* no need to check for nil?Neeraj Singh2010-09-301-1/+1
|
* Avoid (@_var ||= nil) pattern by using initialize methods and ensuring ↵José Valim2010-09-292-2/+5
| | | | everyone calls super as expected.
* Remove more warnings on AP.Emilio Tagua2010-09-281-2/+2
|
* Remove method if exists, avoid calling Array#first so many times.Emilio Tagua2010-09-281-3/+5
|
* Initialize @compiled_at if it is not.Emilio Tagua2010-09-281-0/+1
|
* Remove warings from rescues: don't define more than once debug_hash method ↵Emilio Tagua2010-09-281-2/+2
| | | | and ask if @response if defined.
* Remove remaining warnings on _trace by adding parenthesis to gsub arguments.Emilio Tagua2010-09-281-3/+3
|
* Use parenthesis to avoid ambiguous first argument warning.Emilio Tagua2010-09-281-1/+1
|
* No need to call super here. Use yield instead block.callEmilio Tagua2010-09-281-3/+2
|
* Only send secure cookies over SSL.W. Andrew Loe III2010-09-131-1/+4
|
* Cleanup deprecations in Action DispatchCarlos Antonio da Silva2010-09-061-5/+0
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Do not use ActionController::Base.page_cache_extension in initialize to not ↵Piotr Sarnacki2010-09-041-4/+8
| | | | load more ActiveSupport than we need
* Optimize ActionDispatch::StaticPiotr Sarnacki2010-09-041-51/+35
|
* Modified ActionDispatch::Static to allow passing multiple rootsPiotr Sarnacki2010-09-031-10/+50
|
* require 'active_support/dependencies' in action_dispatch/middleware/stackPiotr Sarnacki2010-09-031-0/+1
|
* Revert "Setup explicit requires for files with exceptions. Removed them from ↵José Valim2010-09-021-1/+0
| | | | | | | | autoloading." Booting a new Rails application does not work after this commit [#5359 state:open] This reverts commit 38a421b34d0b414564e919f67d339fac067a56e6.
* Setup explicit requires for files with exceptions. Removed them from ↵Łukasz Strzałkowski2010-09-021-0/+1
| | | | | | autoloading. Signed-off-by: José Valim <jose.valim@gmail.com>
* Use common terminologyJoost Baaij2010-08-271-3/+3
|
* mention the alert and notice accessors on the flashJoost Baaij2010-08-271-0/+5
|
* expand cookie examples with signed and permanent methodsJoost Baaij2010-08-271-2/+11
|