David Heinemeier Hansson
|
55854c4195
|
Added cascading eager loading that allows for queries like Author.find(:all, :include=> { :posts=> :comments }), which will fetch all authors, their posts, and the comments belonging to those posts in a single query (using LEFT OUTER JOIN) #3913 [anna@wota.jp]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3769 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 23:33:10 +00:00 |
|
David Heinemeier Hansson
|
30caefdfc7
|
Backed out of that. PStore doesnt support suffix :(
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3768 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 22:49:52 +00:00 |
|
David Heinemeier Hansson
|
a1d70a5329
|
Backed out of that. PStore doesnt support suffix :(
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3767 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 22:41:59 +00:00 |
|
David Heinemeier Hansson
|
56b75a7e04
|
CHANGED DEFAILT: File-based sessions now have a suffix of ".rails_session" instead of a prefix called "ruby_sess." [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3766 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 22:31:50 +00:00 |
|
David Heinemeier Hansson
|
fc7e06f3e0
|
Words of caution
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3765 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 21:34:59 +00:00 |
|
David Heinemeier Hansson
|
b339170271
|
Added -a/--with-assets option to rails generator that will include default assets for application layout, javascript, and stylesheet [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3764 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 21:30:14 +00:00 |
|
David Heinemeier Hansson
|
b059ceb94f
|
Migrations should use symbols now that the schema dumper is switching to that as well [Suggested by Robby Russel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3763 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 20:08:01 +00:00 |
|
Jamis Buck
|
ff881c7f8b
|
Make counter cache work when replacing an association (closes #3245). Thanks for the patch!
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 19:42:41 +00:00 |
|
David Heinemeier Hansson
|
eb01d35109
|
Added socket cleanup for lighttpd, both before and after [DHH] Added automatic creation of tmp/ when running script/server [DHH] Added silence_stream that'll work on both STDERR or STDOUT or any other stream and deprecated silence_stderr in the process [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 19:39:26 +00:00 |
|
Jamis Buck
|
c0fb67c0f8
|
Make migrations verbose
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3760 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 18:46:51 +00:00 |
|
David Heinemeier Hansson
|
bfaf71cbc2
|
We need to silence_stderr on the call to svn in order not to get errors when svn is not available or the app is not checked in
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3759 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 18:04:55 +00:00 |
|
David Heinemeier Hansson
|
3dcf7fe4e9
|
Fixed that Date was in incorrect format in tasks.yml (closes #4072) [mlaster@metavillage.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3758 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 17:17:43 +00:00 |
|
David Heinemeier Hansson
|
e3bfd08cbc
|
Fixed Effect.Appear in effects.js to work with floats in Safari (closes #3524, #3813, #3044) [Thomas Fuchs]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3757 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 17:12:03 +00:00 |
|
Jamis Buck
|
964b67dd0e
|
Make counter_cache work with polymorphic belongs_to
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-04 15:11:17 +00:00 |
|
Jamis Buck
|
c0d2477886
|
remove explicit dependency mechanism setting in console_app
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3755 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-03 21:24:39 +00:00 |
|
David Heinemeier Hansson
|
2e67f1adc8
|
RJS now does enumerations, baby! (closes #3876) [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3754 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-03 19:34:23 +00:00 |
|
David Heinemeier Hansson
|
116658e69b
|
Fixed that calling HasOneProxy#build_model repeatedly would cause saving to happen (closes #4058) [anna@wota.jp]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3753 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-03 06:25:39 +00:00 |
|
David Heinemeier Hansson
|
9ed7430b94
|
Fixed test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3752 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-03 05:59:04 +00:00 |
|
David Heinemeier Hansson
|
711ce826a7
|
Fixed type (closes #3999)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3751 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-03 03:21:13 +00:00 |
|
David Heinemeier Hansson
|
3d4965765c
|
Fix a ton of issues with AWS (yes, Kent saved it from being unbundled in 1.1) #4038 [Kent Sibilev]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3750 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-03 03:19:37 +00:00 |
|
David Heinemeier Hansson
|
94725b02bc
|
Added reload! method to script/console to reload all models and others that include Reloadable without quitting the console (closes #4056) [esad@esse.at]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3749 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-03 03:00:55 +00:00 |
|
David Heinemeier Hansson
|
e9d6429ad3
|
Added that rake rails:freeze:edge will now just export all the contents of the frameworks instead of just lib, so stuff like rails:update:scripts, rails:update:javascripts, and script/server on lighttpd still just works (closes #4047) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-03 02:54:30 +00:00 |
|
Jeremy Kemper
|
68ff2ebbea
|
fix unreplaced class var
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3747 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 22:04:38 +00:00 |
|
Jeremy Kemper
|
215852745b
|
Revert allow_concurrency change for better testing. Retrieve_connection in two steps to avoid side-effect bug (yuk).
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3745 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 14:36:06 +00:00 |
|
David Heinemeier Hansson
|
a4c6442612
|
More docs for observers (closes #3996) [Robby Russel]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 03:02:51 +00:00 |
|
David Heinemeier Hansson
|
7864d0e012
|
Added fix for upload problems with lighttpd from Safari/IE to config/lighttpd.conf (closes #3999) [thijs@fngtps.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3743 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 02:56:26 +00:00 |
|
David Heinemeier Hansson
|
b0245a57d6
|
No longer needed (closes #4017)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3742 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 02:54:34 +00:00 |
|
David Heinemeier Hansson
|
456ddc6f61
|
Doc fix (closes #4014) [thijs@fngtps.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3741 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 02:53:57 +00:00 |
|
David Heinemeier Hansson
|
3fb29b172f
|
Fixed that default image extension was not appended when using a full URL with AssetTagHelper#image_tag (closes #4032, #3728) [rubyonrails@beautifulpixel.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3740 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 01:54:53 +00:00 |
|
David Heinemeier Hansson
|
4c5db2c7ea
|
Fixed that Array#to_sentence will return "" on an empty array instead of ", and" (closes #3842, #4031) [rubyonrails@beautifulpixel.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3739 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 01:51:52 +00:00 |
|
David Heinemeier Hansson
|
3574ab3059
|
Added that page caching will only happen if the response code is less than 400 (closes #4033) [g.bucher@teti.ch]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3738 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 01:48:56 +00:00 |
|
David Heinemeier Hansson
|
f62b8af688
|
Catch requirement of Sybase adapter, if we cant, dont have it
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 01:37:41 +00:00 |
|
David Heinemeier Hansson
|
5ba5dd68da
|
Dont require sybase unless you try to connect
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3736 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 01:31:29 +00:00 |
|
David Heinemeier Hansson
|
ec4dd572e7
|
Added Sybase database adapter that relies on the Sybase Open Client bindings (see http://raa.ruby-lang.org/project/sybase-ctlib) (closes #3765) [John Sheets]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3735 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 01:25:50 +00:00 |
|
David Heinemeier Hansson
|
6a3f4c932a
|
Added Sybase database adapter that relies on the Sybase Open Client bindings (see http://raa.ruby-lang.org/project/sybase-ctlib) (closes #3765) [John Sheets]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3734 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 01:15:41 +00:00 |
|
David Heinemeier Hansson
|
8fdb4bc8f6
|
Added test:uncommitted to test changes since last checkin to Subversion (closes #4035) [technomancy@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3733 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-02 00:17:53 +00:00 |
|
Jeremy Kemper
|
a434cec2e6
|
(duh :)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3732 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 22:14:00 +00:00 |
|
Jeremy Kemper
|
d28c0f7405
|
Typo in stale thread removal.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 22:09:46 +00:00 |
|
Jeremy Kemper
|
2b02596b96
|
Clear stale, cached connections left behind by defunct threads. Eliminate duplicate connection cache.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3730 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 22:08:00 +00:00 |
|
Jeremy Kemper
|
7568f18a2a
|
Clear stale, cached connections left behind by defunct threads. Eliminate duplicate connection cache.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3729 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 22:05:41 +00:00 |
|
Jeremy Kemper
|
d8641ca34f
|
CHANGED DEFAULT: set ActiveRecord::Base.allow_concurrency to false. Most AR usage is in single-threaded applications.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3728 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 22:04:30 +00:00 |
|
Marcel Molina
|
0d92ce59ff
|
Make Enumerable#group_by return a Hash (sacrificing the preservation of ordering) so that it is more compatible with the version that is in Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3727 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 21:12:18 +00:00 |
|
Marcel Molina
|
1fdf578c17
|
Add Enumerable#group_by and Array#in_groups_of
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 20:32:10 +00:00 |
|
Jamis Buck
|
8368b5960b
|
restore elided TestProcess#assigns method
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3725 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 19:40:37 +00:00 |
|
Jamis Buck
|
abeb77b286
|
Make TestProcess methods public for access via Integration::Session. Make return values from some of the Integration::Session methods sane.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3724 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 16:37:11 +00:00 |
|
Jeremy Kemper
|
9ded584ec3
|
Help script/about print the correct svn revision when in a non-English locale. Closes #4026.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3723 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 16:30:09 +00:00 |
|
David Heinemeier Hansson
|
a8d085adf0
|
Make calculations typecasty! (closes #4016) [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3722 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 16:25:14 +00:00 |
|
Jamis Buck
|
32e0bebbb9
|
Use require instead of load with the integration stuff. Add helper method for creating new sessions.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3721 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 16:22:26 +00:00 |
|
David Heinemeier Hansson
|
6f9ac79011
|
Update old alias too
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3720 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 16:13:33 +00:00 |
|
Scott Barron
|
9fcbd37d9c
|
When freezing to edge, we should also export railties/bin and railties/html so
that rails:update:scripts and rails:update:javascripts still function.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2006-03-01 16:02:50 +00:00 |
|