aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added element and collection proxies to RJS [DHH]David Heinemeier Hansson2006-02-123-1/+73
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3587 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* save polymorphic joins from the has_many|one association (closes #3812) ↵David Heinemeier Hansson2006-02-124-4/+34
| | | | | | [Rick Olson] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3586 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Changed default lighttpd.conf to use CWD from lighttpd 1.4.10 that allows ↵David Heinemeier Hansson2006-02-123-11/+15
| | | | | | the same configuration to be used for both detach and not. Also ensured that auto-repeaping of FCGIs only happens when lighttpd is not detached. [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3585 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The session should be saved even if the filter chain is stoppedDavid Heinemeier Hansson2006-02-121-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3584 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Modernize flash testsDavid Heinemeier Hansson2006-02-121-41/+26
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3583 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed that flash wasnt being cleared after components refactoring yesterdayDavid Heinemeier Hansson2006-02-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Flash shouldnt depend on components either [DHH]David Heinemeier Hansson2006-02-122-14/+40
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3581 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Stopped the massive bleeding of concerns into ActionController::Base. Base ↵David Heinemeier Hansson2006-02-129-107/+185
| | | | | | no longer knows about flash, filters, or components. This may well have introduced some instability, please do test with apps, especially the ones using components. [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3580 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add JavaScriptGenerator#replace_element for replacing an element's "outer ↵Sam Stephenson2006-02-125-48/+83
| | | | | | HTML". Closes #3246. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3579 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add caution and restyle componentsDavid Heinemeier Hansson2006-02-123-50/+60
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3577 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The components module should also contain the options that pertain to it, so ↵David Heinemeier Hansson2006-02-122-70/+77
| | | | | | collect it all with ClassMethods and InstanceMethods git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3576 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix form_for brokenness due to a shortage of parenthesisNicholas Seckar2006-02-121-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Expose object and object_name from the FormBuilder [DHH]David Heinemeier Hansson2006-02-121-2/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3574 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Clean up style around form_for and friends a bitDavid Heinemeier Hansson2006-02-122-8/+7
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3573 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Remove over-engineered form_for code for a leaner implementation.Nicholas Seckar2006-02-114-34/+27
| | | | | | | Document form_for's :html option. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix constantize to handle names beginning with '::'. Closes #3803.Nicholas Seckar2006-02-113-2/+6
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Syntax error in mysql.sql, Drop table readers and run aaa_create_tables ↵Michael Koziarski2006-02-1010-2/+11
| | | | | | first. [Bob Silva] Closes #3798 git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3568 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add missing models and fixtureMichael Koziarski2006-02-102-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3567 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow has_many :through to work with :include [Michael Schoen]. Closes #3611Michael Koziarski2006-02-1013-4/+73
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3566 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: smarter schema dumps using pk_and_sequence_for(table). Closes #2920.Jeremy Kemper2006-02-092-2/+16
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQLServer: more compatible limit/offset emulation. Closes #3779.Jeremy Kemper2006-02-092-1/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Major components cleanup and speedup. Closes #3527.Jeremy Kemper2006-02-0914-144/+184
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Closes #3784.Jeremy Kemper2006-02-091-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3562 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update AR default timezone docs.Jeremy Kemper2006-02-091-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3561 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* SQL Server cannot sort on type text. This causes three errors in the ↵Jeremy Kemper2006-02-091-2/+2
| | | | | | activerecord test suite, where tests sort on the comments.body or posts.body columns. This patch changes these columns from text to varchar(4096), allowing these tests to proceed (and pass). All activerecord tests now pass under sqlserver. References #3581. [Tom Ward] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3559 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Polymorphic join support for has_one associations (has_one :foo, :as => ↵Jeremy Kemper2006-02-096-4/+24
| | | | | | :bar). Closes #3785. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3558 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* defaults_test gets a dummy test method so it has at least one test to runJeremy Kemper2006-02-091-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3557 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move active_record_store_test.rb to test/activerecord/. Closes #3790.Jeremy Kemper2006-02-091-0/+0
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3556 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* PostgreSQL: correctly parse negative integer column defaults. References #3776.Jeremy Kemper2006-02-094-2/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3554 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Fix pagination problems when using includeMichael Koziarski2006-02-0925-88/+578
| | | | | | | | | | * Introduce Unit Tests for pagination * Allow count to work with :include by using count distinct. [Kevin Clark & Jeremy Hopple] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3553 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add :html option for specifying form tag options in form_forSam Stephenson2006-02-083-2/+23
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3552 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Replace dubious controller parent class in filter docs. Closes #3655, #3722.Marcel Molina2006-02-083-5/+9
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3551 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't interpret the :value option on text_area as an html attribute. Set the ↵Marcel Molina2006-02-083-2/+11
| | | | | | text_area's value. Closes #3752. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3550 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* A more aesthetically pleasing implementation and changelog entryScott Barron2006-02-082-3/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3549 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make String#last behave more like Array#last, i.e.Scott Barron2006-02-082-0/+7
| | | | | | | | "f".last(3) => "f" not "f".last(3) => nil git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add Configuration#after_initialize for specifying a block to be executed ↵Michael Koziarski2006-02-072-2/+25
| | | | | | after the framework is completely initialized. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3547 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix remote_form_for creates a non-ajax form. Closes #3741.Nicholas Seckar2006-02-064-5/+11
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3545 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* ActiveRecord::RecordInvalid now states which validations failed in its ↵Tobias Lütke2006-02-052-2/+4
| | | | | | default error message git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3544 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Update versions to match latest from stableDavid Heinemeier Hansson2006-02-0511-20/+20
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3543 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Don't let arbitrary classes match as controllersNicholas Seckar2006-02-044-2/+14
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3542 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix bad require for rake testNicholas Seckar2006-02-041-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3541 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix routing tests to pass when run independently of the entire AP suiteNicholas Seckar2006-02-041-0/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fix Routing tests. Fix routing where failing to match a controller would ↵Nicholas Seckar2006-02-044-86/+77
| | | | | | prevent the rest of routes from being attempted. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3539 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* fixed small bug in routing which caused the traverse_to_controller mechanism ↵Tobias Lütke2006-02-041-1/+1
| | | | | | | | | to drop out on Multi::Nested::Controllers git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3538 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* added some (pointless) test cases to dependency loading, the more the merrierTobias Lütke2006-02-042-8/+39
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3537 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add :builder => option to form_for and friends. Closes 3268.Nicholas Seckar2006-02-044-23/+127
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3536 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Added delegation support to Module that allows multiple delegations at once ↵David Heinemeier Hansson2006-02-044-1/+77
| | | | | | (unlike Forwardable in the stdlib) [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3535 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Just go with Subclasses instead of OnlySubclassesDavid Heinemeier Hansson2006-02-044-5/+5
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3534 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Just go with Subclasses instead of OnlySubclassesDavid Heinemeier Hansson2006-02-044-14/+12
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3533 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Fixed Class.remove to not blow up on inheritanceDavid Heinemeier Hansson2006-02-041-3/+3
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3532 5ecf4fe2-1ee6-0310-87b1-e25e094e27de