David Heinemeier Hansson
8382493551
RAILS_ROOT, please
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@4199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-07 18:29:43 +00:00
David Heinemeier Hansson
a60ecc1571
Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an uncommented RAILS_GEM_VERSION line, and not use require_gem [DHH] Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@4198 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-07 18:22:16 +00:00
David Heinemeier Hansson
2120651dde
Fixed that boot.rb would set RAILS_GEM_VERSION twice, not respect an uncommented RAILS_GEM_VERSION line, and not use require_gem [DHH] Added rake rails:update:configs to update config/boot.rb from the latest (also included in rake rails:update) [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@4197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-07 18:21:52 +00:00
David Heinemeier Hansson
e1deb6acca
Now where did that stable go
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@4195 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-04-07 16:39:58 +00:00
David Heinemeier Hansson
2f4093690b
Tagged and branches 1.1
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@4091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-28 05:22:14 +00:00
Jeremy Kemper
ec20838381
r3847@asus: jeremy | 2006-02-26 15:26:53 -0800
...
Apply [3674] to stable. Closes #3591 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3676 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-26 23:26:47 +00:00
Jeremy Kemper
fba571a50a
r3846@asus: jeremy | 2006-02-26 15:24:58 -0800
...
silence test/unit whining DefaultsTest is empty
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3675 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-26 23:26:42 +00:00
Jeremy Kemper
c049ccd786
r3730@asus: jeremy | 2006-02-09 11:42:57 -0800
...
Apply [3559] to stable. Closes #3581 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3560 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-09 19:43:29 +00:00
Jeremy Kemper
f13ddd3eb8
r3724@asus: jeremy | 2006-02-09 10:13:41 -0800
...
Apply [3554] to stable. PostgreSQL: correctly parse negative integer column defaults. Closes #3776 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3555 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-09 18:14:22 +00:00
Nicholas Seckar
4ae6f74612
Show a meaningful error when the DB2 adapter cannot be loaded due to missing dependencies.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3461 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-22 06:30:52 +00:00
Marcel Molina
f999ab089d
Fix case of VERSION option in migration docs. Closes #3521 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-01-18 03:31:14 +00:00
Scott Barron
16a31ccd7d
Apply [3359] to stable branch.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3360 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-30 18:50:29 +00:00
Florian Weber
cf448036b6
Fixed that saving a model with multiple habtm associations would only save the first one.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3332 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-21 16:56:32 +00:00
Thomas Fuchs
37e0d5de89
Update stable to scriptaculous 1.5 final
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3300 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 18:41:10 +00:00
Jeremy Kemper
e8c7d7af48
r3465@asus: jeremy | 2005-12-13 10:15:33 -0800
...
Apply [3298] to stable. Don't used defined? on a scoped constant since it results in a const_missing call.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3299 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 18:37:32 +00:00
Sam Stephenson
cad37c3eaf
Update to Prototype 1.4.0 final
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3297 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 17:51:17 +00:00
Jeremy Kemper
da66198fcd
r3458@asus: jeremy | 2005-12-13 09:33:50 -0800
...
Roll back [3245] on stable. References #3116 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3296 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 17:34:09 +00:00
Jeremy Kemper
2670371690
r3457@asus: jeremy | 2005-12-13 08:52:39 -0800
...
Apply [3293] to stable. MySQL: allow encoding option for mysql.rb driver.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3295 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 17:34:00 +00:00
David Heinemeier Hansson
5da86f8c27
Made ready for 1.0 launch
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3292 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 16:41:44 +00:00
Marcel Molina
11598ac77b
Apply [3290] to stable. Fix typo in benchmarker usage string.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3291 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 02:33:56 +00:00
Marcel Molina
eeb00ea334
Apply [3288] to stable. Fix typo in profiler usage string.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3289 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-13 02:26:15 +00:00
Marcel Molina
d5bfd181d7
Remove duplicate entry from chagnelogs.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3278 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-11 05:09:52 +00:00
Marcel Molina
921c5a7fdc
Apply [3276] to stable. Update instructions on how to find and install generators. Closes #3172 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3277 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-11 05:07:39 +00:00
Jeremy Kemper
4ef417cf96
r3435@asus: jeremy | 2005-12-10 13:40:43 -0800
...
Apply [3274] to stable. MySQL: fixes for the bundled mysql.rb driver. Closes #3160 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3275 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-10 21:41:16 +00:00
David Heinemeier Hansson
65e93a523f
Close h1 with h1 not h2 #3150
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3273 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-10 19:58:02 +00:00
Jeremy Kemper
2018b2a8d2
r3429@asus: jeremy | 2005-12-09 16:55:16 -0800
...
Apply [3270] SQLServer rollup to stable.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3271 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-10 01:44:03 +00:00
Jeremy Kemper
596fe49697
r3421@asus: jeremy | 2005-12-09 15:42:40 -0800
...
Apply [3265] to stable. Name vendor/generators source differently from lib/generators source.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3268 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 23:43:20 +00:00
Jeremy Kemper
4e2e1a1bc6
r3420@asus: jeremy | 2005-12-09 15:38:30 -0800
...
Apply [3264] to stable. MySQL: ensure that @config is set.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3267 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 23:43:16 +00:00
Jeremy Kemper
36619f2084
r3419@asus: jeremy | 2005-12-09 15:36:50 -0800
...
Apply [3165] to stable. MySQL, PostgreSQL: reconnect! also reconfigures the connection. Otherwise, the connection 'loses' its settings if it times out and is reconnected. References #2978 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3266 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 23:43:09 +00:00
Jeremy Kemper
d2b0cc7bf4
r3416@asus: jeremy | 2005-12-09 15:07:21 -0800
...
Apply [3262] to stable. Generator looks in vendor/generators also.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 23:07:28 +00:00
Jeremy Kemper
eb79743b13
r3413@asus: jeremy | 2005-12-09 15:03:42 -0800
...
Apply [3260] to stable. Fix bundled mysql.rb to correctly check for PROTO_41. Fixed scramble41 with nil password. Fixed change_user with PROTO_41.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3261 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 23:03:47 +00:00
Jeremy Kemper
256d28d330
r3410@asus: jeremy | 2005-12-09 10:48:32 -0800
...
Apply [3258] to stable. Fix shebang handling for empty files. Closes #2927 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3259 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 18:48:38 +00:00
Jeremy Kemper
1b4470c82f
r3407@asus: jeremy | 2005-12-09 10:39:00 -0800
...
Apply [3256] to stable. Generator copies files in binary mode. Closes #3156 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3257 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-09 18:39:15 +00:00
Jeremy Kemper
69e4c3c474
r3404@asus: jeremy | 2005-12-08 15:24:44 -0800
...
Apply [3254] to stable. Fix some test failures due to MySQL assumptions. References #3149 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 23:24:52 +00:00
Jeremy Kemper
94a25200a1
r3401@asus: jeremy | 2005-12-07 23:30:11 -0800
...
Apply [3252] to stable. Oracle: active? performs a select instead of a commit. Closes #3133 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3253 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 07:30:18 +00:00
David Heinemeier Hansson
93bd3b00e1
Prepare versions for release
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3250 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 05:56:23 +00:00
David Heinemeier Hansson
57e992dc0f
Remove insignificant classes from docs
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3248 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 05:43:54 +00:00
Jeremy Kemper
a9f4205b21
r3392@asus: jeremy | 2005-12-07 21:10:42 -0800
...
Apply [3246] to stable. MySQL: more robust test for nullified result hashes. Closes #3124 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3247 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 05:11:38 +00:00
Jeremy Kemper
8a19d148b7
r3389@asus: jeremy | 2005-12-07 20:52:39 -0800
...
Apply [3244] to stable. SQLite: find database file when RAILS_ROOT is a symlink. Closes #3116 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3245 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 04:52:51 +00:00
Jeremy Kemper
bd9b27df8b
r3387@asus: jeremy | 2005-12-07 20:48:42 -0800
...
Apply [3242] to stable. Reloading an instance refreshes its aggregations as well as its associations. Closes #3024 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3243 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 04:48:50 +00:00
David Heinemeier Hansson
c6120acc00
Fixed that using :include together with :conditions array in Base.find would cause NoMethodError #2887 [Paul Hammmond]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3241 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 04:46:40 +00:00
Jeremy Kemper
60d68aab53
r3379@asus: jeremy | 2005-12-07 20:42:31 -0800
...
Don't warn on keep_flash in test.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3239 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 04:42:54 +00:00
Jeremy Kemper
67cbb0f04c
r3378@asus: jeremy | 2005-12-07 20:41:47 -0800
...
Apply [3237] to stable. More robust relative url root discovery for SCGI compatibility. This solves the 'SCGI routes problem' -- you no longer need to prefix all your routes with the name of the SCGI mountpoint. Closes #3070 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3238 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 04:42:47 +00:00
Jeremy Kemper
0bb6521649
r3375@asus: jeremy | 2005-12-07 20:36:13 -0800
...
Apply [3235] to stable. PostgreSQL: more robust sequence name discovery. Closes #3087 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3236 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 04:36:22 +00:00
Jeremy Kemper
966b027c71
r3372@asus: jeremy | 2005-12-07 20:25:20 -0800
...
Apply [3233] to stable. Oracle: use syntax compatible with Oracle 8. Closes #3131 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3234 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 04:25:36 +00:00
David Heinemeier Hansson
2c5d342809
Warn people not to change boot.rb
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3232 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 03:54:53 +00:00
David Heinemeier Hansson
d45ca84858
Fixed RDoc warnings [DHH]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3229 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-08 03:23:54 +00:00
Jeremy Kemper
142304b79d
r3363@asus: jeremy | 2005-12-06 22:26:27 -0800
...
Apply #428 changesets to stable: r3000, r3001, r3002, r3025, r3045, r3096, r3148, r3152, r3165, r3189, r3195, r3205, r3216, r3219, r3221, r3222. Closes #428 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-07 06:26:54 +00:00
David Heinemeier Hansson
2deefbade0
Shouldnt overwrite Base documentation
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-06 02:46:18 +00:00
Sam Stephenson
66cd1330a5
Add builtin/ to the gemspec. Closes #3047 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3224 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-06 00:32:57 +00:00
Marcel Molina
cf656ec1f7
Apply [3207] to stable. Fix docs for text_area_tag. Closes #3083 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-02 04:41:03 +00:00
Jeremy Kemper
1c86c6f4d9
r3339@asus: jeremy | 2005-12-01 17:03:16 -0800
...
Apply [3202] to stable. Firebird: updated for FireRuby 0.4.0. Closes #3009 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3204 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-12-02 01:04:54 +00:00
Sam Stephenson
14c2334c84
Bring stable lighttpd server script in-line with trunk
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3199 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-30 19:26:23 +00:00
Marcel Molina
50c5b2817f
Apply [3196] to stable. Make load_fixtures include csv fixtures. Closes #3053 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3197 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-28 23:37:51 +00:00
Nicholas Seckar
786726692f
Apply freeze gems fix to stable
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3192 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-28 00:56:23 +00:00
Florian Weber
b762e0141c
Made test_update_attributes_after_push_without_duplicate_join_table_rows pass with Oracle Adapter.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3187 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-24 12:54:08 +00:00
Jeremy Kemper
6865b66621
r3315@asus: jeremy | 2005-11-23 23:13:48 -0800
...
Apply [3184] to stable. SQLServer: resolve column aliasing/quoting collision when using limit or offset in an eager find. Closes #2974 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3185 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-24 07:16:44 +00:00
Jeremy Kemper
1dc4783707
r3313@asus: jeremy | 2005-11-23 23:03:36 -0800
...
Apply [3182] to stable. Reloading a model doesn't lose track of its connection. Closes #2996 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3183 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-24 07:06:33 +00:00
Jeremy Kemper
98811479f0
r3307@asus: jeremy | 2005-11-23 17:52:14 -0800
...
Apply [3110] to stable. PostgreSQL: the purge_test_database Rake task shouldn't explicitly specify the template0 template when creating a fresh test database. References #2964 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3180 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-24 01:55:39 +00:00
Jeremy Kemper
2b4dd8c6e7
r3306@asus: jeremy | 2005-11-23 17:39:24 -0800
...
Apply [3100], [3108] to stable. Makes new ActiveRecordStore sessions work correctly with components.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3179 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-24 01:55:32 +00:00
Jeremy Kemper
3fcec37473
r3305@asus: jeremy | 2005-11-23 17:33:51 -0800
...
Apply [3151] to stable. Don't put flash in session if sessions are disabled.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-24 01:55:27 +00:00
Jeremy Kemper
15839d56d0
r3303@asus: jeremy | 2005-11-23 17:14:31 -0800
...
Apply [3051], [3052], [3053], [3059] to stable. Brings the Firebird adapter to 1.0. References #1874 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3177 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-24 01:17:30 +00:00
Jeremy Kemper
9c05146f4b
r3296@asus: jeremy | 2005-11-23 13:38:56 -0800
...
Apply [3170] to stable. Credit ticket author. References #2888 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3173 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-23 21:41:57 +00:00
Jeremy Kemper
a766ae6d84
r3285@asus: jeremy | 2005-11-22 13:33:04 -0800
...
Apply [3162] to stable. Model generator: correct relative path to test_helper in unit test.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3172 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-23 21:41:48 +00:00
Jeremy Kemper
cc4deb1610
r3269@asus: jeremy | 2005-11-21 04:46:40 -0800
...
Apply [3148] to stable. Simpler Mysql load test.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3171 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-23 21:41:42 +00:00
Florian Weber
b87294c671
Fixed bug where using update_attribute after pushing a record to a habtm association of the object caused duplicate rows in the join table. #2888
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-23 21:14:47 +00:00
Thomas Fuchs
7d6e3d0857
Make javascript_include_tag :default behave correctly with application.js, fixes #2986
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3164 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-22 23:18:53 +00:00
Marcel Molina
4906b32450
Apply [3159] to stable. Remove superfluous check for pluralize_table_names (use table_name which does this check when it's set).
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3160 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-22 09:06:04 +00:00
Marcel Molina
541da098f0
Apply [3157] to stable. Make ActionController's render honor the :locals option when rendering a :file. Closes #1665 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3158 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-22 08:41:59 +00:00
Marcel Molina
7bf86f2c57
Revert [3140]. Behavior of introducing Kernel.binding causes breakage.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3143 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 09:38:03 +00:00
Jeremy Kemper
81f3a923d7
r3258@asus: jeremy | 2005-11-21 00:33:59 -0800
...
Apply [3139] to stable. Use Kernel.binding rather than binding to allow columns of that name. Closes #2973 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 08:36:13 +00:00
Marcel Molina
4a9847f987
Apply [3136] to stable. Make the db_schema_dump task honor the SCHEMA environment variable if present the way db_schema_import does. Closes #2931 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3138 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 08:04:44 +00:00
Sam Stephenson
743fb60a8a
Strip out trailing &_= for raw post bodies #2868
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3137 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 08:04:28 +00:00
Marcel Molina
6329724293
Apply [3120] to stable. Make help for the console command more explicit about how to specify the desired environment in which to run the console. Closes #2911 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-21 05:35:54 +00:00
Marcel Molina
78e95faec5
Apply #3111 to stable. Correct docs for automatic layout assignment. Closes #2610 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3112 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-20 18:55:26 +00:00
Marcel Molina
371fa97ccc
Apply [3105] to stable. Add tasks to create, drop and rebuild the MySQL and PostgreSQL test databases.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3106 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-20 07:51:27 +00:00
Jeremy Kemper
1aac21ca24
r3201@asus: jeremy | 2005-11-19 21:31:47 -0800
...
Apply [3103] to stable. Document request.env and request.host. Strip trailing whitespace.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3104 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-20 05:33:46 +00:00
Jeremy Kemper
54977e0364
r3199@asus: jeremy | 2005-11-19 21:13:22 -0800
...
Apply [3101] to stable. Allows generator to specify migrations directory. Closes #2960 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3102 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-20 05:15:18 +00:00
Jeremy Kemper
3f2541b4ff
r3190@asus: jeremy | 2005-11-19 20:20:48 -0800
...
Apply [3098] to stable. Introducing the session_migration generator. Creates an add_session_table migration. Closes #2958 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3099 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-20 04:26:21 +00:00
Jeremy Kemper
bed4fec60e
r3178@asus: jeremy | 2005-11-19 01:59:47 -0800
...
Apply [3094] to stable. Use query methods rather than readers in boolean tests for [3092]. References #2949 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3095 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-19 10:01:34 +00:00
Jeremy Kemper
fe09fa278e
r3174@asus: jeremy | 2005-11-19 01:53:00 -0800
...
Apply [3092] to stable. Correct boolean handling in generated reader methods. Closes #2945 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3093 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-19 09:54:55 +00:00
Sam Stephenson
d4039f5246
Update to Prototype 1.4.0_rc4. Closes #2943 (old Array.prototype.reverse behavior can be obtained by passing false as an argument)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3091 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-19 06:59:07 +00:00
Jeremy Kemper
b8ea04f8e8
r3167@asus: jeremy | 2005-11-18 22:47:31 -0800
...
Apply [3089] to stable. Don't generate read methods for columns whose names are not valid ruby method names. Closes #2946 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3090 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-19 06:49:18 +00:00
Jeremy Kemper
beddd9680e
r3157@asus: jeremy | 2005-11-17 21:27:39 -0800
...
Apply [3081] to stable. Eliminate nil from newly generated logfiles. Closes #2927 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3088 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-18 21:22:09 +00:00
Sam Stephenson
dcaa871695
Update to Prototype 1.4.0_rc3. Closes #1893 , #2505 , #2550 , #2748 , #2783 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3079 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-18 00:53:11 +00:00
Jeremy Kemper
9796a587b8
r3149@asus: jeremy | 2005-11-17 12:47:36 -0800
...
Apply [3075] to stable. Document :force option to create_table. Closes #2921 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3077 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 20:49:31 +00:00
Jeremy Kemper
de5980289c
r3148@asus: jeremy | 2005-11-17 12:45:44 -0800
...
Apply [3074] to stable. Don't add the same conditions twice in has_one finder sql. Closes #2916 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3076 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 20:49:24 +00:00
Tobias Lütke
0023cb1b8c
stable merge of 3032 -- Updated docs for in_place_editor by Justin Palmer
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3071 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 05:04:11 +00:00
Tobias Lütke
37664eb90c
stable merge of [3069]
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 04:59:13 +00:00
Marcel Molina
d212f03093
Apply [3067] to stable. Update from LGPL to MIT license as per Minero Aoki's permission.
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3068 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 00:53:29 +00:00
Marcel Molina
afcd3ebcbb
Apply [3065] to stable. Rename Version constant to VERSION. Closes #2802 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3066 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-17 00:38:59 +00:00
Jeremy Kemper
b35d05f594
r3130@asus: jeremy | 2005-11-16 14:37:47 -0800
...
Apply [3063] to stable. Remove CHANGELOG from apidoc Rake task since it isn't included with new apps anymore.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-16 22:39:01 +00:00
Jeremy Kemper
1ec7fb609d
r3120@asus: jeremy | 2005-11-16 13:34:45 -0800
...
Apply [3060] to stable. Remove the unused, slow response_dump and session_dump variables from error pages. Closes #1222 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3061 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-16 21:36:12 +00:00
Nicholas Seckar
113c815c6a
Change Inflector#constantize to use eval instead of const_get
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-16 01:17:28 +00:00
Jeremy Kemper
9decb1a46f
r3077@asus: jeremy | 2005-11-14 14:28:21 -0800
...
Apply [3035] to stable. SQLServer: insert uses given primary key value if not nil rather than SELECT @@IDENTITY. Closes #2866 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3037 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-14 22:29:27 +00:00
Thomas Fuchs
49de64e0a4
Update stable to latest script.aculo.us
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3034 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-14 20:50:49 +00:00
Jeremy Kemper
58c7f2a744
r3073@asus: jeremy | 2005-11-13 23:42:32 -0800
...
Apply [3021] to stable. Correct documentation for Base.delete_all. Closes #1568 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-14 07:43:03 +00:00
Jeremy Kemper
e24096d616
r3070@asus: jeremy | 2005-11-13 20:54:50 -0800
...
Apply [3019] to stable. Oracle: test case for column default parsing. Closes #2788 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3020 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-14 04:55:18 +00:00
Jeremy Kemper
902cb21124
r3066@asus: jeremy | 2005-11-13 20:24:18 -0800
...
Apply [3017] to stable. Update documentation for Migrations. Closes #2861 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-14 04:24:52 +00:00
Jeremy Kemper
e01febbe68
r3063@asus: jeremy | 2005-11-13 16:13:51 -0800
...
Apply [3015] to stable. Update documentation for render :file. Closes #2858 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3016 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-14 00:14:37 +00:00
Jeremy Kemper
364f6d645a
r3058@asus: jeremy | 2005-11-13 16:09:17 -0800
...
Apply [3013] to stable. Note that the ruby-memcache bindings are required to use the memcache store. Closes #2857 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3014 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-14 00:09:42 +00:00
Jeremy Kemper
971b40f59f
r3055@asus: jeremy | 2005-11-13 14:48:48 -0800
...
Apply [3009] to stable: Reapply [2942] which was elided by [2997]. References #2788 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 22:49:19 +00:00
Jeremy Kemper
af0ad4d50b
r3053@asus: jeremy | 2005-11-13 14:37:39 -0800
...
Only include builtin filters whose filenames match /^[a-z][a-z_]*_helper.rb$/ to avoid including operating system metadata such as ._foo_helper.rb. Closes #2855 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3008 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 22:38:39 +00:00
Jeremy Kemper
f0b5630dce
r3037@asus: jeremy | 2005-11-13 00:11:26 -0800
...
Apply [2998] to stable. PostgreSQL: last_insert_id uses select_value rather than using @connection.exec directly.
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@2999 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 08:12:22 +00:00
Jeremy Kemper
532d4e8782
r3033@asus: jeremy | 2005-11-12 23:27:13 -0800
...
Apply [2996] to stable. Much faster Oracle column reflection. Closes #2848 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@2997 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 07:29:02 +00:00
Jeremy Kemper
b970d2055a
r3027@asus: jeremy | 2005-11-12 22:37:45 -0800
...
Apply [2994] to stable. PostgreSQL: correct the sequence discovery fallback query. References #2594 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@2995 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 06:38:35 +00:00
Jeremy Kemper
9403f471b4
r3022@asus: jeremy | 2005-11-12 18:40:42 -0800
...
merge to stable
r3024@asus: jeremy | 2005-11-12 19:00:49 -0800
Apply [2992] to stable. SQLite: the clone_structure_to_test and purge_test_database Rake tasks should always use the test environment. References #2846 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@2993 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 03:01:19 +00:00
Jeremy Kemper
17836f4819
r3008@asus (orig r2978): david | 2005-11-11 01:50:42 -0800
...
Make sure that legacy db tasks also reference :database for SQLite (closes #2830 ) [kazuhiko@fdiary.net ]
r3009@asus (orig r2979): david | 2005-11-11 02:02:44 -0800
Changelogging
r3011@asus (orig r2981): bitsweat | 2005-11-11 10:49:01 -0800
Include the Enumerable module in ActiveRecord::Errors.
r3012@asus (orig r2982): bitsweat | 2005-11-11 15:45:02 -0800
SQLServer: don't report limits for unsupported field types. Closes #2835 .
r3014@asus (orig r2984): minam | 2005-11-11 21:09:05 -0800
Make Validations#create! use the current scope
r3015@asus (orig r2985): bitsweat | 2005-11-12 03:59:54 -0800
r4325@asus: jeremy | 2005-11-12 03:57:46 -0800
PostgreSQL: correctly discover custom primary key sequences. PostgreSQL: smarter sequence name defaults, stricter last_insert_id, warn on pk without sequence. Base.reset_sequence_name analogous to reset_table_name (mostly useful for testing). Base.define_attr_method allows nil values. References #2594 .
r3017@asus (orig r2987): david | 2005-11-12 08:26:23 -0800
Pulled auto-starting browser: More pain than gain
r3019@asus (orig r2989): bitsweat | 2005-11-12 14:28:38 -0800
PostgreSQL: min_messages = warning for AR tests.
r3020@asus (orig r2990): bitsweat | 2005-11-12 17:12:48 -0800
SQLite: the clone_structure_to_test Rake task should always use the test environment. References #2846 .
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@2991 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-13 01:16:59 +00:00
Jamis Buck
e823ef8336
merge from trunk (include Enumerable in AR::Errors, make Validations#create! use current scope)
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@2988 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-12 17:41:59 +00:00
David Heinemeier Hansson
ce6545e574
Pulled auto-starting browser: More pain than gain
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@2986 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-12 16:26:12 +00:00
Jeremy Kemper
e8086859c5
Merge [2982] to stable. SQLServer: don't report limits for unsupported field types. References #2835 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@2983 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-12 02:56:11 +00:00
David Heinemeier Hansson
e0ef631055
Added stable branch to prepare for 1.0 release
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@2980 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-11 10:07:24 +00:00