aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'ar-test-cleanup' of git://git.geeksomnia.com/railsJeremy Kemper2008-01-2170-320/+296
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8681 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace non-dst-aware TimeZone class with dst-aware class from ↵Geoff Buesing2008-01-214-125/+314
| | | | | | tzinfo_timezone plugin. TimeZone#adjust and #unadjust are no longer available; tzinfo gem must now be present in order to perform time zone calculations, via #local_to_utc and #utc_to_local methods. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Tidy up description for the rake test task. Closes #10598 [akaspick]Michael Koziarski2008-01-201-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8678 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure mime types can be compared with symbols. Closes #10796 [bscofield]Michael Koziarski2008-01-202-1/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8677 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Revert r8669 for now, breaks Action Mailer. Reopens #10800.Jeremy Kemper2008-01-1912-240/+167
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* belongs_to supports :dependent => :destroy and :delete. Closes #10592.Jeremy Kemper2008-01-197-4/+56
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Performance: optimize route recognition. Large speedup for apps with many ↵Jeremy Kemper2008-01-194-13/+165
| | | | | | resource routes. Closes #10835. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8674 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add timing test for large restful route recognition. References #10835 ↵Jeremy Kemper2008-01-192-8/+52
| | | | | | [oleganza] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8673 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce preload query strategy for eager :includes. Closes #9640.Jeremy Kemper2008-01-199-15/+351
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Support aggregations in finder conditions. Closes #10572.Jeremy Kemper2008-01-194-1/+244
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8671 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove dead code. Closes #10698 [garru]Jeremy Kemper2008-01-191-5/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8670 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce TemplateFinder to handle view paths and lookups. Closes #10800.Jeremy Kemper2008-01-1913-168/+240
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8669 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update vendor version numberJeremy Kemper2008-01-191-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8668 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update tmail to r208 versioned as 1.2.2Jeremy Kemper2008-01-1932-1008/+151
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8667 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ruby 1.9 compat: test encoding fixes. Closes #10597 [murphy]Jeremy Kemper2008-01-191-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move rake contrib require to taskJeremy Kemper2008-01-191-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8665 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Extract ActiveSupport::Callbacks from Active Record, test case setup and ↵Jeremy Kemper2008-01-1911-216/+253
| | | | | | teardown, and ActionController::Dispatcher. Closes #10727. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8664 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove table quoting; only pull last_insert_id if there's a primary key.Jeremy Kemper2008-01-191-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8663 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Organize and clean up the Active Record test suite. Closes #10742.Jeremy Kemper2008-01-181-0/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8662 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix pathsJeremy Kemper2008-01-1843-203/+203
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8661 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move tests to casesJeremy Kemper2008-01-1868-515/+513
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8660 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* move schemaJeremy Kemper2008-01-1834-89/+82
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8659 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* move migrationsJeremy Kemper2008-01-1812-7/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8658 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* move assets and modelsJeremy Kemper2008-01-1847-48/+47
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8657 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that modifying has_and_belongs_to_many actions clear the query cache. ↵Rick Olson2008-01-183-6/+28
| | | | | | Closes #10840 [john.andrews] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8653 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Restructure routing into several smaller files. References #10835 [oleganza]Michael Koziarski2008-01-177-1179/+1197
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8652 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct fix for [8647], Closes #6868. [isak]Michael Koziarski2008-01-161-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8650 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introducing DateTime #utc, #utc? and #utc_offset, for duck-typing ↵Geoff Buesing2008-01-163-0/+44
| | | | | | compatibility with Time. Closes #10002 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8649 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't ignore :precision and :scale when adding columns on postgresql. Closes ↵Michael Koziarski2008-01-162-2/+12
| | | | | | #6868 [w.piekutowski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make render :partial recognise form builders and use the _form partial. ↵Michael Koziarski2008-01-166-0/+45
| | | | | | Closes #10814 [djanowski] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8646 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Ensure that the tests use the instance-level view-paths correctly. Closes ↵Michael Koziarski2008-01-162-11/+16
| | | | | | #10820 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8645 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct docs on caching and all.jsMichael Koziarski2008-01-141-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Use non-blocking writing if available. Closes #10794 [lifofifo]Michael Koziarski2008-01-132-4/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8638 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow users to declare other namespaces when using the atom feed helpers. ↵Michael Koziarski2008-01-133-2/+58
| | | | | | Closes #10304 [david.calavera] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8637 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Time#to_json uses Numeric#to_utc_offset_s to output ↵Geoff Buesing2008-01-122-1/+3
| | | | | | cross-platform-consistent representation without having to convert to DateTime. References #9750 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8636 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor number-to-HH:MM-string conversion logic from ↵Geoff Buesing2008-01-125-5/+40
| | | | | | TimeZone#formatted_offset to reusable Numeric#to_utc_offset_s method git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8635 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* don't misbehave when redirecting to nil. Closes #10272 [farleyknight]Michael Koziarski2008-01-122-1/+13
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8633 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add some tests for adv_attr_accessor. Closes #10633 [fcheung]Michael Koziarski2008-01-121-0/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8632 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix a few caching errors, expose a case thats still not working (ref #107330 ↵David Heinemeier Hansson2008-01-126-3/+76
| | | | | | [catfish] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8630 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update scaffold to use labels instead of bold tags. Closes #10757 ↵Rick Olson2008-01-123-4/+4
| | | | | | [zach-inglis-lt3] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8629 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce send_file :x_sendfile => true to send an X-Sendfile response header.Jeremy Kemper2008-01-113-25/+46
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8628 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix issue where Table#references doesn't pass a :null option to a *_type ↵Rick Olson2008-01-113-3/+11
| | | | | | attribute for polymorphic associations. Closes #10753 [railsjitsu] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8627 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed ActionView::Helpers::ActiveRecordHelper::form for when ↵David Heinemeier Hansson2008-01-113-3/+34
| | | | | | protect_from_forgery is used (closes #10739) [jeremyevans] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8626 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Provide a nicer way to access headers. request.headers["Content-Type"] ↵Michael Koziarski2008-01-115-1/+51
| | | | | | instead of request.headers["HTTP_CONTENT_TYPE"] [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8625 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Pass around handler instances, not their classes [Koz]Michael Koziarski2008-01-118-128/+142
| | | | | | | | * Move compilation, rendering and 'compilable?' checks into the Handlers [Koz] * Remove delegate_* methods as the handler is now an instance [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Reorder changelog. References #10766.Jeremy Kemper2008-01-111-3/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8622 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Updated TMail to version 1.2.1 [raasdnil]Rick Olson2008-01-1133-671/+1319
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8620 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move fragment caching from special helper methods to TemplateHandler. Closes ↵Jeremy Kemper2008-01-107-47/+33
| | | | | | #10754 [Josh Peek] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8619 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* UrlWriter respects relative_url_root. Closes #10748.Jeremy Kemper2008-01-103-32/+65
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Resurrect WordNet synonym lookups. Closes #10710.Jeremy Kemper2008-01-102-3/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8615 5ecf4fe2-1ee6-0310-87b1-e25e094e27de