aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make sure that exceptions which are thrown outside of the user code try ↵Tobias Lütke2006-11-132-1/+4
| | | | | | | | | their best to be handeled in ApplicationController#rescue_action. This allos handling of ActionController::RoutingError which were previously always handeled by ActionController#Base git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5516 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oracle: automatically detect the primary key. Closes #6594.Jeremy Kemper2006-11-133-5/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5514 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Always clear model associations from session. Closes #4795.Jeremy Kemper2006-11-136-13/+87
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5512 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oracle: to increase performance, prefetch 100 rows and enable similar cursor ↵Jeremy Kemper2006-11-133-3/+18
| | | | | | sharing. Both are configurable in database.yml. Closes #6607. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rails::VERSION::STRING on trunk is 1.2.0Jeremy Kemper2006-11-131-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5507 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rails::VERSION::STRING should always be available. Closes #6244.Jeremy Kemper2006-11-132-73/+81
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5506 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow mailer actions named send by using __send__ internally. Closes #6467.Jeremy Kemper2006-11-133-2/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5505 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* test controller rescuesJeremy Kemper2006-11-135-70/+306
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5504 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* silence const_set warningJeremy Kemper2006-11-131-4/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5503 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* update_element_function is deprecatedJeremy Kemper2006-11-131-10/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5501 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update to Prototype 1.5.0_rc2Sam Stephenson2006-11-124-358/+482
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added Time#end_of_day to get 23:59:59 of that day [DHH]David Heinemeier Hansson2006-11-122-0/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5495 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add grep-based fallback to reaper, so it can work in pidless setups (again)Jamis Buck2006-11-112-10/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove JavaScriptLiteral in favor of ActiveSupport::JSON::Variable.Sam Stephenson2006-11-112-8/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5487 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't quote hash keys in Hash#to_json if they're valid JavaScript identifiers.Sam Stephenson2006-11-114-5/+44
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Only wrap request processing with our USR1 signal handler so FastCGI can ↵Jeremy Kemper2006-11-112-11/+27
| | | | | | trap it and raise an exception while waiting for connections. Idle processes exit immediately rather than waiting for another request; active processes gracefully exit when the request is finished. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Nested class gets qualified names.Jeremy Kemper2006-11-111-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Sync ActionController::StatusCodes::STATUS_CODES with ↵Jeremy Kemper2006-11-112-3/+17
| | | | | | http://www.iana.org/assignments/http-status-codes. Closes #6586. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Oracle: fix limited id selection for eager loading. Closes #6515.Jeremy Kemper2006-11-106-26/+58
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5480 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't inspect unloaded associations. Closes #2905.Jeremy Kemper2006-11-103-0/+35
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: use AUTOINCREMENT primary key in >= 3.1.0. Closes #6588.Jeremy Kemper2006-11-093-1/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5477 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Lazily load the Unicode Database in the UTF-8 Handler [Rick Olson]Rick Olson2006-11-092-22/+35
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5476 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache inheritance_column. Closes #6592.Jeremy Kemper2006-11-094-7/+22
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Multipart form values may have a content type without being treated as ↵Jeremy Kemper2006-11-092-37/+47
| | | | | | uploaded files if they do not provide a filename. Closes #6401. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Alter prior change to use require_dependency instead of require_or_load. ↵Nicholas Seckar2006-11-092-1/+3
| | | | | | Causes ApplicationController to be reloaded again. Closes #6587. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Rake: use absolute paths to load lib and vendor tasks so they may be run ↵Jeremy Kemper2006-11-092-2/+4
| | | | | | outside of RAILS_ROOT. Closes #6584. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* assert_response supports symbolic status codes. Closes #6569.Jeremy Kemper2006-11-073-11/+27
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5466 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update dependencies to delete partially loaded constants.Nicholas Seckar2006-11-073-21/+41
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5464 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update failing autoload tests.Jeremy Kemper2006-11-071-8/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5463 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Firebird: decimal/numeric support. Closes #6408.Jeremy Kemper2006-11-073-11/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5459 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update changelogNicholas Seckar2006-11-071-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5455 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove temporary crutch to help ApplicationController be unloaded. Closes #6496.Nicholas Seckar2006-11-071-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* make add_order a tad faster (Closes #6567)Jamis Buck2006-11-072-4/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Find with :include respects scoped :order. Closes #5850.Jeremy Kemper2006-11-073-1/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix warning and incorrect test triggerNicholas Seckar2006-11-062-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5444 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Cache parsed query parameters. Closes #6559.Jeremy Kemper2006-11-062-7/+10
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Missed pluralize nil test in [5431].Jeremy Kemper2006-11-061-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Failing test for autoloading shadowed exceptions.Jeremy Kemper2006-11-063-83/+128
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Deprecate JavaScriptHelper#update_element_function, which is superseeded by ↵Thomas Fuchs2006-11-065-99/+72
| | | | | | RJS [Thomas Fuchs] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add assert_emails and assert_no_emails to test the number of emails ↵Jeremy Kemper2006-11-058-7/+165
| | | | | | delivered. Closes #6479. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support nil and Array in :conditions => { attr => value } hashes. Closes #6548.Jeremy Kemper2006-11-053-33/+50
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Consistently use LOWER() for uniqueness validations (rather than mixing with ↵Jeremy Kemper2006-11-052-2/+4
| | | | | | UPPER()) so the database can always use a functional index on the lowercased column. Closes #6495. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5434 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix unicode JSON regexp for Onigurama compatibility. Closes #6494.Jeremy Kemper2006-11-052-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5432 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* pluralize helper interprets nil as zero. Closes #6474.Jeremy Kemper2006-11-052-1/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix invalid test fixture exposed by stricter Ruby 1.8.5 multipart parsing. ↵Jeremy Kemper2006-11-052-0/+2
| | | | | | Closes #6524. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* scaffold_resource generator uses _path named routes and head instead of ↵Jeremy Kemper2006-11-052-21/+20
| | | | | | render :nothing => true. Closes #6545. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLite: count(distinct) queries supported in >= 3.2.6, fix calculations ↵Jeremy Kemper2006-11-058-100/+79
| | | | | | workaround, remove count(distinct) query rewrite, cleanup test connection scripts. Closes #6544. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Turns out call_stack slows down the entire app, so just warn that breakpointsScott Barron2006-11-031-8/+2
| | | | | | | don't work with 1.8.5 for now. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Set ActionView::Base.default_form_builder once rather than passing the ↵Jeremy Kemper2006-11-033-3/+36
| | | | | | :builder option to every form or overriding the form helper methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test multiple timezones' DST. Closes #5617.Jeremy Kemper2006-11-031-17/+73
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de