Jeremy Kemper
|
16c3ec7b28
|
Simplify some rails info methods
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-19 04:21:02 +00:00 |
|
Jeremy Kemper
|
11a75f9a38
|
Ruby 1.9 compat: Update idiosyncratic block variable usage. Closes #10546.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8435 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-19 01:18:45 +00:00 |
|
Jeremy Kemper
|
a5ca52f4a5
|
Missed commit. References #10554.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8434 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-18 21:26:01 +00:00 |
|
Jeremy Kemper
|
f91acf0258
|
Ruby 1.9 compat: move from the deprecated Base64 module to ActiveSupport::Base64. Closes #10554.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8433 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-18 21:14:07 +00:00 |
|
Jeremy Kemper
|
2bdac92dcf
|
Toplevel test task uses the same rake it was invoked with
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8432 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-18 21:12:45 +00:00 |
|
Jeremy Kemper
|
ab9e4c0eaa
|
Ruby 1.9 compatibility. References #1689.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8431 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-17 18:54:55 +00:00 |
|
David Heinemeier Hansson
|
0f6c86ff40
|
Added delete_via_redirect and put_via_redirect to integration testing (closes #10497) [philodespotos]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-17 00:39:19 +00:00 |
|
David Heinemeier Hansson
|
be0c45365c
|
Docfix (closes #10369) [revans]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8428 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-17 00:18:27 +00:00 |
|
David Heinemeier Hansson
|
dcc1549512
|
Fix rdoc task name (closes #10392) [murphy]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-17 00:16:15 +00:00 |
|
David Heinemeier Hansson
|
436da684dc
|
Allow headers[Accept] to be set by hand when calling xml_http_request (closes #10461) [BMorearty]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-17 00:10:18 +00:00 |
|
David Heinemeier Hansson
|
26e10218bc
|
Added OPTIONS to list of default accepted HTTP methods (closes #10449) [holoway]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8425 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-17 00:06:24 +00:00 |
|
David Heinemeier Hansson
|
c92a7cea05
|
Docfix (closes #10493)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8424 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:59:23 +00:00 |
|
David Heinemeier Hansson
|
1aa456d26f
|
Fix doc (closes #10526)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8423 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:55:22 +00:00 |
|
David Heinemeier Hansson
|
d6859a7216
|
Add tests for html_escape, and remove an unneeded backslash (closes #10511) [fxn]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:53:45 +00:00 |
|
David Heinemeier Hansson
|
56e646296a
|
Added option to pass proc to ActionController::Base.asset_host for maximum configurability (closes #10521) [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8421 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:50:02 +00:00 |
|
David Heinemeier Hansson
|
d7e6df43a9
|
Proper attribution in CHANGELOG
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8420 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:36:35 +00:00 |
|
David Heinemeier Hansson
|
69edebf0f1
|
Prepare for 2.0.2 release
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8419 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:30:30 +00:00 |
|
David Heinemeier Hansson
|
1427a49dc9
|
Doc fixing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8418 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:27:05 +00:00 |
|
David Heinemeier Hansson
|
a50284d28f
|
Changed the default database from mysql to sqlite3, so now running "rails myapp" will have a config/database.yml thats setup for SQLite3 (which in OS X Leopard is installed by default, so is the gem, so everything Just Works with no database configuration at all). To get a Rails application preconfigured for MySQL, just run "rails -d mysql myapp" [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8417 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:22:56 +00:00 |
|
David Heinemeier Hansson
|
d8f2fea813
|
Turned on ActionView::Base.cache_template_loading by default in config/environments/production.rb to prevent file system stat calls for every template loading to see if it changed (this means that you have to restart the application to see template changes in production mode) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8416 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-16 23:10:48 +00:00 |
|
Jeremy Kemper
|
7af985f74f
|
Update changelog for Ruby 1.9 compat patches
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8413 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:30:25 +00:00 |
|
Jeremy Kemper
|
6743504ba2
|
Revert const_missing bypass in favor of Duration constant lookup tweak
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8412 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:30:17 +00:00 |
|
Jeremy Kemper
|
3df9fb53ac
|
More changelog updates
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:30:04 +00:00 |
|
Jeremy Kemper
|
2f61985540
|
Mark that render tests crash Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8410 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:29:45 +00:00 |
|
Jeremy Kemper
|
ee0ea35d91
|
Ruby 1.9 compat: helpers
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8409 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:29:36 +00:00 |
|
Jeremy Kemper
|
525cac7f82
|
Note that filters test crashes Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8408 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:29:24 +00:00 |
|
Jeremy Kemper
|
a3143eaa98
|
Ruby 1.9 compat: account for new, non-flattening Array#to_s
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8407 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:29:15 +00:00 |
|
Jeremy Kemper
|
f85089aabb
|
Fixes for standalone tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8406 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:29:04 +00:00 |
|
Jeremy Kemper
|
11dde5ca2f
|
Ruby 1.9 compat: cookies
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8405 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:28:53 +00:00 |
|
Jeremy Kemper
|
2703d55935
|
Ruby 1.9 compat: use String#ord to escape filenames for compiled method names
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8404 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:28:42 +00:00 |
|
Jeremy Kemper
|
6d5ee8dab3
|
Ruby 1.9 compat: 'a'.ord == 'a'[0]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8403 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:28:32 +00:00 |
|
Jeremy Kemper
|
aa4ad404c6
|
Ruby 1.9 compat: shadowed vars, kcode
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8402 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:28:20 +00:00 |
|
Jeremy Kemper
|
cefea3c677
|
Remove missing default helper warnings
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8401 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:28:06 +00:00 |
|
Jeremy Kemper
|
70117b0294
|
Introduce (in /Users/jeremy/rails/git/trunk) to output a crytographically secure secret key for use with cookie sessions.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8400 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:27:56 +00:00 |
|
Jeremy Kemper
|
887870f20c
|
Ruby 1.9 compat: define Duration#== [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8399 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:27:41 +00:00 |
|
Jeremy Kemper
|
bb152cd8ca
|
Ruby 1.9 compat: normalize date and time xmlschema to match Ruby's formatting [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:27:29 +00:00 |
|
Jeremy Kemper
|
3d90733e93
|
Ruby 1.9 compat: prefer builtin String#starts_ and ends_with? if available [chuyeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8397 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:27:11 +00:00 |
|
Jeremy Kemper
|
8d8b573275
|
Bypass const_missing lookup for toplevel constants. Optimizes for Ruby 1.9 const_defined.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8396 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 02:12:39 +00:00 |
|
Rick Olson
|
ce102e3af9
|
Ensure optimistic locking handles nil #lock_version values properly. Closes #10510 [rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 01:45:30 +00:00 |
|
Rick Olson
|
abd7cf343c
|
Make the Fixtures Test::Unit enhancements more supporting for double-loaded test cases. Closes #10379 [brynary]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8392 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-15 01:23:05 +00:00 |
|
David Heinemeier Hansson
|
1ceccdeb7f
|
Added more specific exceptions for 400, 401, and 403 (all descending from ClientError so existing rescues will work) (closes #10326) [trek]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8390 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-14 23:09:46 +00:00 |
|
David Heinemeier Hansson
|
f5c17790e1
|
We love whitespace
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-14 22:52:35 +00:00 |
|
David Heinemeier Hansson
|
f60e3aa1ae
|
Fixed that local database creation should consider 127.0.0.1 local (closes #9026) [parcelbrat]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-14 22:32:54 +00:00 |
|
David Heinemeier Hansson
|
519c5c7547
|
Docfix (closes #10429) [jamesh/ssoroka]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8387 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-14 18:12:08 +00:00 |
|
David Heinemeier Hansson
|
3486d54007
|
Fixed that functional tests generated for scaffolds should use fixture calls instead of hard-coded IDs (closes #10435) [boone]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8386 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-14 18:09:14 +00:00 |
|
David Heinemeier Hansson
|
78727dd8e2
|
Fixed that ActionView#file_exists? would be incorrect if @first_render is set (closes #10569) [dbussink]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8385 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-14 18:07:20 +00:00 |
|
David Heinemeier Hansson
|
7a224356a8
|
Added that Array#to_param calls to_param on all it's elements (closes #10473) [brandon]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8384 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-14 18:02:04 +00:00 |
|
David Heinemeier Hansson
|
3aa54c5e44
|
Added db:migrate:redo and db:migrate:reset for rerunning existing migrations #10431, (closes #10432) [matt]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8383 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-14 17:51:02 +00:00 |
|
David Heinemeier Hansson
|
9187ed8656
|
Added db:migrate:redo for rerunning existing migrations (closes #10431) [matt]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8382 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-14 17:47:56 +00:00 |
|
Marcel Molina
|
9661395d38
|
Remove references to nonexistent :joins documentation. Closes #10498 [tpope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8381 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-13 19:51:44 +00:00 |
|