aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix for failing ActionMailer multipart testsJoshua Peek2009-01-261-2/+2
|
* Add localized templatesJoshua Peek2009-01-255-15/+67
| | | | | | | | # Default locale app/views/messages/index.html.erb # I18n.locale is set to :da (Danish) app/views/messages/index.da.html.erb
* add #available_locales to I18n and I18n::SimpleBackend, flatten translations ↵Sven Fuchs2009-01-253-1/+34
| | | | | | load_path when loading translations [#1714 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* add an inspect method to OrderedHash to make it clear that it is not a ↵Greg Borenstein2009-01-261-0/+4
| | | | | | | species of Array Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1782 state:committed]
* Adding AR tests for JDBC connectionsStephen Bannasch2009-01-267-2/+137
| | | | | | | | | | | | | | | | | New connections: jdbcmysql jdbcpostgresql jdbcsqlite3 jdbcderby jdbch2 jdbchsqldb jdbcpostgresql To test you will need the native database installed (if one is required), activerecord-jdbc-adapter and the specific activerecord-jdbc<database>-adapter for the database you are testing. Run the tests like this: jruby -S rake test_jdbcmysql Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1685 state:committed]
* Remove the irrelevant fixture added in fe6ffce51dc16285094be49244b26591956c2dd6Pratik Naik2009-01-241-8/+0
|
* Make sure inner scope conditions get a preference over the outer onesPratik Naik2009-01-245-3/+43
|
* Fix the changelog entryPratik Naik2009-01-231-2/+2
|
* Minor refactoring of validates_associated to replace #inject with #collect + ↵Josh Susser2009-01-221-1/+1
| | | | | | #all? [#1686 state:committed]
* Setup ActiveRecord QueryCache middleware in the initializerJoshua Peek2009-01-212-5/+4
|
* Only insert metal middleware if any existJoshua Peek2009-01-211-1/+3
|
* Missed RequestParser in ff0a267Joshua Peek2009-01-211-1/+0
|
* Allow empty files to be uploadedJoshua Peek2009-01-204-4/+22
|
* Add MiddlewareStack#swapJoshua Peek2009-01-202-5/+16
| | | | config.middleware.swap ActionController::Session::CookieStore, MySessionStore
* Don't let empty Tempfiles come through as uploaded files [#1785 state:resolved]Mislav Marohnić2009-01-203-1/+17
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Restore cookie store httponly default to true. Remove extraneous dup of ↵Cody Fauser2009-01-202-5/+3
| | | | | | options on initialization [#1784 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Deprecate ActionController::Base#session_enabled?Pratik Naik2009-01-191-1/+1
|
* Improve HTTP Basic authentication testsPratik Naik2009-01-182-54/+88
|
* Merge docrailsPratik Naik2009-01-1883-14024/+11915
|
* Bump up the year in MIT license filesPratik Naik2009-01-1812-12/+12
|
* 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