aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove script/performance/profiler in favour of performance integration tests.Pratik Naik2009-01-185-178/+7
| | | | | | To continue using script/performance/profiler, install the request_profiler plugin : script/plugin install git://github.com/rails/request_profiler.git
* Add ActionMailer::Base#enable_starttls_auto option for enabling/disabling ↵Jose' Valim2009-01-182-7/+25
| | | | | | STARTTLS. [#1731 state:resolved] Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Build query string and POST params parser on top of Rack::Request. Also ↵Joshua Peek2009-01-1712-333/+190
| | | | switch our multipart parser to use Racks. Moved XML, JSON, and YAML parsers into ActionController::ParamsParser middleware [#1661 state:resolved]
* Add test coverage for fixing Safari 2 trailing null characterJoshua Peek2009-01-171-0/+12
|
* Refactor Object#try to use inheritance. [#1774 state:resolved]Josh Susser2009-01-182-17/+30
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix has_and_belongs_to_many_associations tests. #1738Pratik Naik2009-01-182-3/+3
|
* Decouple the local cache strategy from MemCacheStore for reuse with other ↵Lourens Naude2009-01-175-77/+137
| | | | | | remote stores [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Ensure any method sent to RewindableIO reads the original IO object [#1767 ↵Joshua Peek2009-01-172-25/+9
| | | | state:resolved]
* Lock middleware has been committed upstreamJoshua Peek2009-01-176-40/+46
|
* Cache columns for has_and_belongs_to_many associationslukeludwig2009-01-173-3/+28
| | | | | This avoids repeatedly calling SHOW COLUMNS when the association is queried [#1738 state:committed]
* Fix performance regressionJeremy Kemper2009-01-162-2/+6
|
* Skip respond_to check so rack.input doesn't have to implement itJeremy Kemper2009-01-161-2/+2
|
* Make ActioMailer quoting test play nice with Ruby 1.9 [#1726 state:resolved]Mike Gunderloy2009-01-161-2/+4
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* Fix date_select within fields_for with an index [#1666 state:resolved] ↵Josh2009-01-162-20/+85
| | | | | | [Josh, Frederick Cheung] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Dup keys in OrderedHash to prevent them from being modified [#1676 ↵Brandon Keepers2009-01-162-10/+31
| | | | | | state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Fix dirty handling of nullable non-integer numeric columns [#1692 ↵Carlos Kozuszko2009-01-162-0/+25
| | | | | | state:resolved] Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Make belongs_to :dependent => :destroy destroy self before associated ↵Ben VandenBos2009-01-162-3/+4
| | | | | | | | object [#1079 state:resolved] If foreign key constraints are in place then deleteing the associated object first will cause a foreign key violation Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com>
* Fix the AR json serialization tests to comply with the earlier change to ↵Michael Koziarski2009-01-161-1/+1
| | | | quote keys correctly
* Properly quote json keys.Michael Koziarski2009-01-162-4/+4
| | | | | According to the RFC and the json.org site all json keys must be strings, and those strings must be quoted with double quotes. [#1755 state:committed]
* Added in a local per request cache to MemCacheStore. It acts as a buffer to ↵Nahum Wild2009-01-153-20/+167
| | | | | | stop unneccessary requests being sent through to memcache [#1653 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Fixed broken after_save callback; was being called when before_create was ↵Michael Lovitt2009-01-163-5/+48
| | | | | | | canceled or before_update was canceled Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1735 state:committed]
* Fixing bug on ActiveRecord::Dirty#field_changed? for nullable numeric ↵Carlos Kozuszko2009-01-162-3/+3
| | | | | | | columns, NULL gets stored in database for blank (i.e. '') values. Only integer columns were considered. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1692 state:committed]
* Fix PostgreSQL unit test failures that only occur when using the old ↵Hongli Lai (Phusion)2009-01-133-12/+13
| | | | | | | | 'postgres' driver. [#1748 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Use Rack's MethodOverride lib [#1699 state:resolved]Joshua Peek2009-01-134-27/+2
|
* Update multipart tests to expose (another) bug in Rack's multipart parserJoshua Peek2009-01-137-16/+34
|
* Add RewindableInput wrapper to fix issues with middleware that impolitely ↵Joshua Peek2009-01-135-8/+128
| | | | eat up non-rewindable input
* Explicitly read as binary in multipart_body for Windows [#1065 state:resolved]Bryan Ash2009-01-132-8/+8
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Use :key instead of old :session_key in session_store.rb generator and docs ↵Cody Fauser2009-01-133-5/+5
| | | | | | [#1746 state:resovled] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Remove legacy reloadable? method from ActiveRecord::SessionStore [#1745 ↵Cody Fauser2009-01-131-5/+0
| | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Revert "HTTP Digest authentication [#1230 state:resolved]"Pratik Naik2009-01-134-432/+2
| | | | | | | | | This reverts commit 45dee3842d68359a189fe7c0729359bd5a905ea4. Reasons : 1. The code is not working in it's current state 2. Should not be using exceptions for flow control
* Change Object#try to raise NoMethodError on private methods and always ↵Pratik Naik2009-01-133-11/+13
| | | | return nil when Object is nil [Pratik Naik, Lawrence Pit]
* TimeWithZone#xmlschema accepts optional fraction_digits argument [#1725 ↵Nicholas Dainty2009-01-113-2/+17
| | | | state:resolved]
* Merge branch 'master' of git@github.com:rails/railsJeremy Kemper2009-01-102-201/+171
|\
| * Refactor request urlencoded params parsing testsJoshua Peek2009-01-102-201/+171
| |
* | Introduce transaction_joinable flag to mark that the fixtures transaction ↵Jeremy Kemper2009-01-106-47/+45
| | | | | | | | | | | | can't joined, a new savepoint is required even if :requires_new is not set. Use :requires_new option instead of :nest. Update changelog. [#383 state:committed]
* | Merge branch 'master' into savepointsJeremy Kemper2009-01-10260-7401/+9763
|\|
| * Moved query string parsing tests into the request tests folderJoshua Peek2009-01-101-0/+0
| |
| * Refactor request multipart params parsing testsJoshua Peek2009-01-103-169/+167
| |
| * Refactor request xml params parsing testsJoshua Peek2009-01-092-54/+88
| |
| * Refactor request json params parsing testsJoshua Peek2009-01-092-22/+45
| |
| * Ensure we override Rack::Request's POST method tooJoshua Peek2009-01-092-2/+7
| |
| * Refactor request query string parsing testsJoshua Peek2009-01-093-106/+122
| |
| * Inherit ActionController::Request from Rack::RequestJoshua Peek2009-01-092-29/+7
| |
| * Process time should be wall time when benchmarkingPratik Naik2009-01-091-1/+1
| |
| * Fix test broken by test process changesJeremy Kemper2009-01-071-7/+4
| |
| * Remove Content-Length header from :no_content responsesJeremy Kemper2009-01-072-4/+12
| |
| * Set assigns for integration tests alsoJeremy Kemper2009-01-071-2/+5
| |
| * Take care not to mix in public methodsJeremy Kemper2009-01-071-9/+10
| |
| * Use instance_eval instead of adding an accessor to the classJeremy Kemper2009-01-071-2/+1
| |
| * Include process methods in ActionController::TestCase only. No need to ↵Jeremy Kemper2009-01-0713-82/+60
| | | | | | | | alias_method_chain :process either.