Commit Graph

3374 Commits

Author SHA1 Message Date
Rick Olson
9466211d42 fix calculations for the Oracle Adapter (closes #4626) [Michael Schoen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 20:10:44 +00:00
David Heinemeier Hansson
496725022a Fixed that template extensions would be cached development mode #4624 [Stefan Kaes]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4189 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 18:08:31 +00:00
David Heinemeier Hansson
8eb73f43e1 Fixed that that multiparameter assignment doesn't work with aggregations (closes #4620) [Lars Pind]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 16:16:29 +00:00
Nicholas Seckar
64003677b7 Fix type_name_with_module to handle type names that begin with '::'. Closes #4614.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 16:06:38 +00:00
Rick Olson
9935a3561e Enhances plugin#discover allowing it to discover svn:// like URIs (closes #4565) [ruben.nine@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4186 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 15:31:41 +00:00
Rick Olson
52d298a8bd Enable Limit/Offset in Calculations (closes #4558) [lmarlow@yahoo.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 15:23:56 +00:00
David Heinemeier Hansson
944ae628f5 Update versions for Rails 1.1.1
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 05:26:14 +00:00
Sam Stephenson
26e381302c Update to Prototype 1.5.0_rc0
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4182 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 04:57:14 +00:00
Marcel Molina
ac97c7a90e Do filter condition lookup against the actual hash
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 04:50:45 +00:00
Rick Olson
31d8169e3e Fixed that loading including associations returns all results if Load IDs For Limited Eager Loading returns none (closes #4528) [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 04:16:08 +00:00
David Heinemeier Hansson
42d8548e94 Failed test for Marcel to ponder
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 03:51:52 +00:00
David Heinemeier Hansson
0f0d926def Fixed that the -r/--ruby path option of the rails command was not being respected (closes #4549) [ryan.raaum@gmail.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 03:17:42 +00:00
David Heinemeier Hansson
dcee137c7b Fix HasManyAssociation#find bugs when :finder_sql is set (closes #4600) [lagroue@free.fr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4176 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 03:06:36 +00:00
David Heinemeier Hansson
2fa5bf03dd Reflect on aggregation ignores :class_name option (fixes #4599) [lars pind]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4175 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 02:58:32 +00:00
David Heinemeier Hansson
26e187516f Doc fix (closes #4609)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4174 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 02:52:40 +00:00
David Heinemeier Hansson
f2790d0390 invoke / invoke_delegated / invoke_layered check for correct number of args (closes #4610) [jerrett@bravenet.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 02:52:01 +00:00
Michael Koziarski
a86e594997 Stop respond_to? from throwing when instances are created 'irregularly' i.e. yaml loads. [zenspider] Closes #4587
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-06 02:45:19 +00:00
Rick Olson
58c435a3ca Support eager includes when going through a polymorphic has_many association. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4171 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-05 17:11:21 +00:00
Rick Olson
a9fb1544b0 Added support for eagerly including polymorphic has_one associations. (closes #4525) [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4170 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-05 17:01:56 +00:00
Rick Olson
4d232025b7 Added descriptive error messages for invalid has_many :through associations: going through :has_one or :has_and_belongs_to_many [Rick]
Added support for going through a polymorphic has_many association: (closes #4401) [Rick]


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4169 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-05 15:36:02 +00:00
David Heinemeier Hansson
11323ceb28 Added that Dispatcher exceptions should not be shown to the user unless a default log has not been configured. Instead show public/500.html [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-05 04:52:31 +00:00
Marcel Molina
4859b6c09e Honor skipping filters conditionally for only certain actions even when the parent class sets that filter to conditionally be executed only for the same actions. Closes #4522.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4167 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-05 04:39:59 +00:00
David Heinemeier Hansson
3d99d33a64 Fixed that rake clone_structure_to_test should quit on pgsql if the dump is unsuccesful (closes #4585) [augustz@augustz.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4166 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-05 03:15:50 +00:00
David Heinemeier Hansson
203bfb2531 Note difference between fcgis
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4165 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-05 03:10:13 +00:00
David Heinemeier Hansson
c2d53356ac Fix CSS for Windows (closes #4564)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 22:44:40 +00:00
Jamis Buck
3bf3bc228c Delegate xml_http_request in integration tests to the session instance.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4161 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 20:16:29 +00:00
Nicholas Seckar
f4382af543 fsking svn...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 19:41:38 +00:00
Nicholas Seckar
ccadfc3695 Add forgotten testcase
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4159 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 19:40:34 +00:00
Nicholas Seckar
e714b25723 Update the diagnostics template skip the useless '<controller not set>' text.
Fix symbol extensions test case.
Clean paths inside of exception messages and traces.
Add Pathname.clean_within for cleaning all the paths inside of a string.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 19:37:29 +00:00
David Heinemeier Hansson
62dc792a48 CHANGED DEFAULT: Don't parse YAML input by default, but keep it available as an easy option [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4157 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 19:28:25 +00:00
Tobias Lütke
5821096a52 Multiple fixes and optimizations in PostgreSQL adapter, allowing ruby-postgres gem to work properly. Closes #4461
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4156 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 18:53:40 +00:00
Scott Barron
6b3bc1bc52 A better idea, take the -qr HEAD log as before but use the root of the svn
instead of rails trunk.  This allows svn 1.1.x (debian) to work with freeze
edge out of the box, without having to specify REVISION.

References #4356, #4450, #4569.


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4155 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 17:44:34 +00:00
Scott Barron
fb8428fe0d If using svn 1.1.x and no REVISION is specified, give an error message
to the user suggesting they use REVISION.

References #4450
Closes #4569


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4154 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 17:00:17 +00:00
David Heinemeier Hansson
c66b44e76d Reformatted for better readability [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4153 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 16:58:23 +00:00
David Heinemeier Hansson
949bf2937a Get the green light for Oracle AR unit tests (closes #4573) [Michael Schoen]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4152 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 16:33:31 +00:00
David Heinemeier Hansson
4cee09e7a8 Do not convert driver options to strings (closes #4499) [Kent]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4151 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 16:31:56 +00:00
Rick Olson
b818cd9216 fix ruby syntax in comments for the JavascriptGenerator (closes #4577) [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4146 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-04 13:14:35 +00:00
David Heinemeier Hansson
46796e74cf Fixed that rails --version should have the return code of 0 (success) (closes #4560) [blair@orcaware.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4145 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 22:39:36 +00:00
Florian Weber
bb4c6797bf Fixed that AssociationCollection#delete_all should work even if the records of the association are not loaded yet. [Florian Weber]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4144 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 22:37:56 +00:00
David Heinemeier Hansson
109c56df3a Doc fix #3960 [jonrailsdev@shumi.org]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 18:47:49 +00:00
Rick Olson
db7fadd730 Changed those private ActiveRecord methods to take optional third argument :auto instead of nil for performance optimizations. (closes #4456) [Stefan]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4141 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 16:09:47 +00:00
Nicholas Seckar
6c2d167cd9 Abort broken tighter resolution suppression. Closes #4431
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 05:30:43 +00:00
Nicholas Seckar
d0e8d5430a Typo fix
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4139 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 05:21:26 +00:00
Nicholas Seckar
bf109cacf1 Install alias so Rails::InfoController is accessible at /rails_info. Closes #4546.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 05:15:29 +00:00
David Heinemeier Hansson
462c9176a8 Ever so lined up
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 03:34:53 +00:00
Michael Koziarski
a4f74da225 Fix for depot and other applications with .13 style environment.rb files. prints deprecation warnings to the log file
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4136 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 03:06:23 +00:00
David Heinemeier Hansson
f966c279cf Fixed that spawner should daemonize if running in repeat mode [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4135 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 03:03:33 +00:00
David Heinemeier Hansson
0b167dd863 Show tag properly in about
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4134 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 02:46:22 +00:00
David Heinemeier Hansson
802493ca6d Added TAG option for rake rails:freeze:edge, so you can say rake rails:freeze:edge TAG=rel_1-1-0 to lock to the 1.1.0 release [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4133 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-03 02:38:12 +00:00
David Heinemeier Hansson
484e1c65d8 Added docs for to_proc
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4132 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-02 16:28:30 +00:00