aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
Commit message (Collapse)AuthorAgeFilesLines
* call clear_active_connections! in :after_dispatch to give pooled connections ↵Aliaksey Kandratsenka2008-10-042-1/+17
| | | | | | | | | | | back This fixes connection pool exhaustion for web servers which create new thread per connection (e.g. Webrick). integration.rb changes are required to keep test transaction active for several requests. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1171 state:committed]
* Fixed load path for actionmailer and activesupport tests to always load from ↵madlep2008-10-041-1/+1
| | | | | | | | local lib files. [#983 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Call controller_path instance method so it can be easily overridden [#1141 ↵David Masover2008-09-301-2/+2
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fix etag! and last_modified! to work as advertised.Michael Koziarski2008-09-302-3/+44
| | | | Add tests too.
* Remove unneeded interning.Michael Koziarski2008-09-301-3/+2
|
* Add options to field_set_tagAndrew Kaspick2008-09-292-2/+14
| | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1116 state:committed]
* Protect body ivar from being clobbered by the mailer template assignsJoshua Peek2008-09-281-2/+2
|
* Use ActiveSupport::SecureRandom instead of the strange fallback code.Michael Koziarski2008-09-241-22/+2
|
* Merge branch 'patches' into multibyteMichael Koziarski2008-09-223-153/+377
|\
| * Bump the Version constants to align with the *next* release rather than the ↵Michael Koziarski2008-09-221-1/+1
| | | | | | | | | | | | previous release. This allows people tracking non-release gems or git submodules to use the constants.
| * Fixed AssetTag cache with with relative_url_root [#1022 state:resolved]Martin Rehfeld2008-09-222-1/+51
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Refactor AssetTagHelper and fix remaining threadsafe issues.Joshua Peek2008-09-222-152/+326
| |
* | Remove special 1.9 version of excerpt helper.Manfred Stienstra2008-09-211-45/+45
| |
* | Change all calls to String#chars to String#mb_chars. Remove a exception for ↵Manfred Stienstra2008-09-211-87/+41
|/ | | | Ruby <= 1.9.
* Fixed missing template paths on exception [#1082 state:resolved]Claudio Poli2008-09-204-25/+37
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* I18n: Introduce I18n.load_path in favor of I18n.load_translations and change ↵Sven Fuchs2008-09-201-1/+1
| | | | | | Simple backend to load translations lazily. [#1048 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Remove the country_select helper.Michael Koziarski2008-09-184-1645/+0
| | | | | | | | We're in no position to mediate disputes on this matter, and the previous change to use ISO 3166 has offended just as many people as the ad-hoc list did. If you want the old list back you can install the plugin: ruby script/plugin install git://github.com/rails/country_select.git
* Added support for http_only cookies in cookie_store Added unit tests for ↵Pelle Braendgaard2008-09-176-4/+64
| | | | | | | secure and http_only cookies in cookie_store Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1046 state:committed]
* Merge docrailsPratik Naik2008-09-132-15/+15
|
* Switched computed public paths cache over to a simple hash w/ mutexJoshua Peek2008-09-101-15/+17
|
* Disable warnings in AP testsJeremy Kemper2008-09-101-7/+8
|
* Added ActionController::Translation module delegating to I18n #translate/#t ↵Sven Fuchs2008-09-103-0/+41
| | | | | | and #localize/#l [status:committed #1008] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Added image_submit_tag confirm option [status:committed #784]Alastair Brunton2008-09-103-0/+19
| | | | Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* The FormTagHelper#submit_tag helper will now pass along the original value ↵Jose Fernandez2008-09-103-12/+11
| | | | | | of the submit button to the params if the :disable_with option is used [status:committed #633] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
* Only separate loggings with a comma when there are actually two statementsDavid Heinemeier Hansson2008-09-091-1/+2
|
* Stopped logging template compiles as it only clogs up the logDavid Heinemeier Hansson2008-09-092-4/+3
|
* Revert "Revert "Add layout functionality to mailers.""David Heinemeier Hansson2008-09-091-1/+5
| | | | This reverts commit 36c6aa01ee0a7aee5b0510a8e649c44de318b060.
* Revert "Add layout functionality to mailers."David Heinemeier Hansson2008-09-091-5/+1
| | | | This reverts commit e9a8e0053be3b293ab89fb584f1d660063f107aa.
* Ruby 1.9 compat: remove constants from block parametersAkira Matsuda2008-09-091-0/+1
| | | | | | [#1002 state:resolved] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Check for uninitialized instance variablesJeremy Kemper2008-09-084-20/+24
|
* Remove recognized_optimized method before redefining itJeremy Kemper2008-09-081-2/+15
|
* Use defined? check since @view_paths may be uninitializedJeremy Kemper2008-09-081-1/+5
|
* Ensure routing optimizations are cleared when new routes are added [#981 ↵Matt Jones2008-09-073-2/+41
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Use a more sensible resolution on the new millisecond benchmarksDavid Heinemeier Hansson2008-09-053-9/+9
|
* Changed all benchmarking reports to be in millisecondsDavid Heinemeier Hansson2008-09-053-27/+51
|
* Merge docrailsPratik Naik2008-09-037-68/+73
|
* Some performance goodness for inheritable attributes.Clemens Kofler2008-09-032-8/+8
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Some performance goodness for routing.Clemens Kofler2008-09-031-3/+3
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* More symbols for send and respond_to?.Clemens Kofler2008-09-031-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use symbols for send and respond_to?.Clemens Kofler2008-09-031-6/+6
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Removed unnecessary Symbol#to_proc from Asset Tag Helper.Clemens Kofler2008-09-031-1/+1
| | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Don't set Content-Length on 304 responsesJonathan del Strother2008-09-022-1/+7
| | | | | | | | | Commit 8aad8c claimed to do this, but it checks for the 304 status too early, before handle_conditional_get! has overridden it. [#958 state:resolved] Signed-off-by: Jonathan del Strother <jon.delStrother@bestbefore.tv> Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵Jeremy Kemper2008-08-3118-43/+43
| | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb
* Add layout functionality to mailers.Pratik Naik2008-08-311-1/+5
| | | | | Mailer layouts behaves just like controller layouts, except layout names need to have '_mailer' postfix for them to be automatically picked up.
* Fixes optimised named routes generating question mark followed by nothing ↵Luke Melia2008-08-312-2/+9
| | | | | | | when provided an empty hash as the last argument. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#481 state:committed]
* Moved layout exemption logic into the viewJoshua Peek2008-08-315-121/+63
|
* Prefix ActionView::Base private methods with an underscoreJoshua Peek2008-08-315-12/+13
|
* Fix AM tests and add tests for rendering loggingPratik Naik2008-08-313-2/+32
|
* Add lost log messages about template renderingPratik Naik2008-08-312-1/+3
|
* Move layout rendering logic to ActionView::BasePratik Naik2008-08-314-70/+57
|