Jeremy Kemper
|
7555073803
|
Ruby 1.9 compat: introduce instance_variable_names. Closes #10630 [Frederick Cheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 05:42:12 +00:00 |
|
Jeremy Kemper
|
16558f6dd8
|
Ensure that test case setup is run even if overridden. Closes #10382.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8497 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 05:21:24 +00:00 |
|
Jeremy Kemper
|
0c0610d398
|
Use extract_options! rather than Hash test + pop. Closes #10628 [ssoroka]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8496 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-28 03:58:01 +00:00 |
|
Jeremy Kemper
|
57c613a601
|
Ruby 1.9 compat: calculations don't assume array implementation of ordered hash. References #1689 [Frederick Cheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8494 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-27 11:18:30 +00:00 |
|
Jeremy Kemper
|
5162e31e5b
|
Ruby 1.9 compat: javascript proxy. References #1689 [Frederick Cheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8493 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-27 11:18:11 +00:00 |
|
Jeremy Kemper
|
41c82e66c1
|
Ruby 1.9 compat: file uploads. References #1689 [Frederick Cheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8492 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-27 11:17:53 +00:00 |
|
Jeremy Kemper
|
699cc15116
|
Move rubyforge task require
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8491 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-27 11:17:34 +00:00 |
|
Jeremy Kemper
|
05a4db5eca
|
Ruby 1.9 compat: don't use obsolete ParseDate
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8490 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-27 11:17:24 +00:00 |
|
Jeremy Kemper
|
d760d882d7
|
Move rubyforge task require
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8489 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-27 11:17:14 +00:00 |
|
Jeremy Kemper
|
e2d4ebdea4
|
Introduce native mongrel handler and push mutex into dispatcher.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8488 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-27 11:17:05 +00:00 |
|
Jeremy Kemper
|
f013e047ef
|
Ruby 1.9 compat: don't modify iterator target within block
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8487 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-27 11:16:51 +00:00 |
|
Jeremy Kemper
|
240b4c527e
|
Ruby 1.9 compat: attribute methods
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-27 11:16:39 +00:00 |
|
Rick Olson
|
e781faddca
|
Fix HTML Sanitizer to allow trailing spaces in CSS style attributes. Closes #10566 [wesley.moxam]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8485 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-23 21:07:20 +00:00 |
|
Jeremy Kemper
|
38f8252e2d
|
Remove leaky unused signal handler for transactions.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-22 19:05:26 +00:00 |
|
Jeremy Kemper
|
fa906778ff
|
Integration tests use ActionController::Dispatcher rather than the old Dispatcher. Closes #10596.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-22 19:03:01 +00:00 |
|
Jeremy Kemper
|
c64a29f6f1
|
Ruby 1.9 compat: dependencies uses Module#local_constant_names. References #1689 [Frederick Cheung]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8482 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-22 18:23:37 +00:00 |
|
Jeremy Kemper
|
8b5f4e474f
|
Ruby 1.9 compat: fix warnings, shadowed block vars, and unitialized instance vars
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8481 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-22 11:26:03 +00:00 |
|
Jeremy Kemper
|
dc901ced44
|
Ruby 1.9 compat: Fixtures inherits Hash instead of YAML::Omap since it's now insertion-ordered. Work around a &:procname crash.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8480 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-22 08:28:57 +00:00 |
|
Jeremy Kemper
|
ef6784f761
|
Ruby 1.9 compat: initializer only sets kcode for Ruby < 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8479 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-22 04:50:27 +00:00 |
|
Jeremy Kemper
|
750f15bc26
|
Ruby 1.9 compat: Class#subclasses is now protected
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8478 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-22 04:50:12 +00:00 |
|
Jeremy Kemper
|
ca812785ec
|
Fold reset! into the run method directly. Make -n options compatible with Ruby 1.9 whose option parser seems to call the block with nil value even when the option is omitted.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8477 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-22 04:49:56 +00:00 |
|
Jeremy Kemper
|
c9d313dc22
|
Request profiler resets after warmup and each run so you don't have to do it in your session script.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-22 02:15:59 +00:00 |
|
Jeremy Kemper
|
a7027a94d4
|
Request profiler: use actual script path and line numbers for backtraces.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8474 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-22 02:15:44 +00:00 |
|
Jeremy Kemper
|
a81333f115
|
Add :default option to time_zone_select. Closes #10590.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8473 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 22:18:07 +00:00 |
|
Jeremy Kemper
|
470fc02096
|
Document custom methods. Closes #10589.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8472 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 21:42:27 +00:00 |
|
Jeremy Kemper
|
a3bfb661e3
|
Update layout docs. Closes #10584 [Cheah Chu Yeow]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8471 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 12:30:29 +00:00 |
|
Jeremy Kemper
|
0333190d1a
|
Rails 1.9 compat: asset tag helper tests
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8470 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 12:26:51 +00:00 |
|
Jeremy Kemper
|
99664d5444
|
Ruby 1.9: use enumerator for blockless Range#step
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 12:26:40 +00:00 |
|
Jeremy Kemper
|
7630b38e22
|
Ruby 1.9 compat: compiled templates test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8468 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 12:26:27 +00:00 |
|
Jeremy Kemper
|
1f98bf101a
|
Ruby 1.9 compat: date helper
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8467 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 12:26:18 +00:00 |
|
Jeremy Kemper
|
5c4469f3a8
|
Ruby 1.9 compat: form helper test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8466 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 12:26:08 +00:00 |
|
Jeremy Kemper
|
79790df40c
|
Ruby 1.9 compat: note failing form options helper test, probably in html-scanner
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8465 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 12:25:55 +00:00 |
|
Jeremy Kemper
|
a4c77f9bc4
|
Ruby 1.9 compat: text helper
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8464 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 11:51:17 +00:00 |
|
Jeremy Kemper
|
8931a6ec16
|
Ruby 1.9 compat: url helper encoding
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8463 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 11:51:01 +00:00 |
|
Jeremy Kemper
|
a1ec3aa6c0
|
Ruby 1.9 compatibility
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8462 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 11:22:03 +00:00 |
|
Jeremy Kemper
|
8e432d9a5b
|
Multibyte: skip String#each_char test for Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8461 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 11:21:54 +00:00 |
|
Jeremy Kemper
|
c95002c284
|
Multibyte: String#chars returns self for Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8460 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 11:21:43 +00:00 |
|
Jeremy Kemper
|
909b2c1acf
|
Multibyte: String#chars uses passthrough handler for Ruby 1.9
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8459 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 11:21:20 +00:00 |
|
Jeremy Kemper
|
2556e67403
|
App generate says sqlite3 is the default and mentions frontbase. Closes #10550 [Cheah Chu Yeow, Will Cannings]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8457 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 03:39:25 +00:00 |
|
Jeremy Kemper
|
f6379bfe15
|
Eager belongs_to :include infers the foreign key from the association name rather than the class name. Closes #10517.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8456 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 01:49:01 +00:00 |
|
Jeremy Kemper
|
15b38efde8
|
Benchmark logs for any level below or equal to the one specified, rather than just equal. Closes #10580 [Dan Manges]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8455 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-21 01:48:20 +00:00 |
|
Jeremy Kemper
|
43fdbd5e1f
|
Hash#symbolize_keys skips keys that can't be symbolized. Closes #10500.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8454 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-20 22:28:47 +00:00 |
|
Jeremy Kemper
|
b72763a96f
|
SQLite: fix rename_ and remove_column for columns with unique indexes. Closes #10576.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8453 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-20 22:28:12 +00:00 |
|
Jeremy Kemper
|
f16cd7220f
|
Ruby 1.9 compat: ENV.delete rather than assigning nil
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-20 22:27:37 +00:00 |
|
Rick Olson
|
5dc831fd9a
|
add passing test for Test::Unit subclasses running #setup properly [brynary]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8445 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-19 22:49:27 +00:00 |
|
Jeremy Kemper
|
0b84af9599
|
Revert [8392]. Closes #10568, reopens #10379.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-19 21:16:27 +00:00 |
|
Jeremy Kemper
|
40bff29889
|
Ruby 1.9 compat: join the buffer array explicitly rather than relying on to_s to flatten it
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8440 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-19 09:40:58 +00:00 |
|
Jeremy Kemper
|
b4e3b5d418
|
Ruby 1.9 compat: check column type more carefully
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8439 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-19 09:31:57 +00:00 |
|
Jeremy Kemper
|
7f53d0485f
|
RubyGems 0.9.5 compat: always set the gem platform
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-19 04:21:24 +00:00 |
|
Jeremy Kemper
|
d7515d4b09
|
Ruby 1.9 compat: use .to_a instead of .map which now returns an enumerator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8437 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-12-19 04:21:12 +00:00 |
|