Marcel Molina
|
2b6ad48ea3
|
Evaluate expression for assert_difference in the scope of the block
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6701 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-08 06:27:10 +00:00 |
|
Marcel Molina
|
5a9dc1231c
|
Fix typo and clarify code examples in documentation for assert_difference.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6694 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-08 03:57:28 +00:00 |
|
Marcel Molina
|
689b529ea8
|
Simplify API of assert_difference by passing in an expression that is evaluated before and after the passed in block. See documenation for examples of new API. [Marcel Molina Jr.]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6693 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-08 03:54:34 +00:00 |
|
Tobias Lütke
|
8f5c83bdea
|
Added assert_difference and assert_no_difference to test/unit assertions
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6647 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-05-01 21:02:37 +00:00 |
|
David Heinemeier Hansson
|
70ac560e42
|
Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-28 15:57:29 +00:00 |
|
Jeremy Kemper
|
ddd243a9c1
|
Pull file from xml value only if it's a Hash. Closes #8190.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6583 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-26 01:14:17 +00:00 |
|
David Heinemeier Hansson
|
15f06ea8c2
|
XML values can be nil
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6582 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-26 01:08:07 +00:00 |
|
David Heinemeier Hansson
|
6a85955642
|
Added parsing of file type in Hash.xml_in so you can easily do file uploads with base64 from an API [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6578 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-25 17:25:44 +00:00 |
|
David Heinemeier Hansson
|
57352f86d4
|
Improved performance by relying less on exception raising #8159 [Blaine]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6571 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-24 16:58:24 +00:00 |
|
David Heinemeier Hansson
|
635c7f43dd
|
Run with the latest versions so beta gems will work
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6548 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-21 17:06:16 +00:00 |
|
David Heinemeier Hansson
|
178880ef7c
|
Use XSD-compatible type names for Hash#to_xml and make the converters extendable #8047 [Tim Pope]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6546 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-21 14:12:05 +00:00 |
|
David Heinemeier Hansson
|
c87d242bf7
|
Added yielding of builder in Hash#to_xml [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-19 22:32:39 +00:00 |
|
David Heinemeier Hansson
|
a0e78f7442
|
Fixed that parameters from XML should also be presented in a hash with indifferent access [DHH] Hash#with_indifferent_access now also converts hashes kept in arrays to indifferent access (makes it easier to treat HTML and XML parameters the same) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6532 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-04-16 22:17:59 +00:00 |
|
Jeremy Kemper
|
27ba5edef1
|
Hash#to_xml supports YAML attributes; ActiveRecord::Base#to_xml support serialized attributes. Closes #7502.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6444 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-18 07:30:09 +00:00 |
|
Sam Stephenson
|
3202fbabe6
|
Refactor ActiveSupport::JSON to be less obtuse. Add support for JSON decoding by way of Syck with ActiveSupport::JSON.decode(json_string). Prevent hash keys that are JavaScript reserved words from being unquoted during encoding.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6443 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-18 07:05:58 +00:00 |
|
Jeremy Kemper
|
46f092097b
|
alias_method_chain preserves the original method's visibility. Closes #7854.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6441 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-18 03:16:53 +00:00 |
|
Nicholas Seckar
|
d16aa4e039
|
Fix changelog line
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6427 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-14 23:30:08 +00:00 |
|
Nicholas Seckar
|
4eec5f4fbb
|
Update Dependencies to ignore constants inherited from ancestors. Closes #6951.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-14 23:27:28 +00:00 |
|
Jeremy Kemper
|
93db1989fe
|
Fix to_datetime test broken by DST change. Closes #7797.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6389 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-12 05:54:26 +00:00 |
|
Jeremy Kemper
|
8a7275e7f4
|
Array#to_query preserves its ordering. References #7756.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6378 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-11 13:26:28 +00:00 |
|
Jeremy Kemper
|
e17df19b86
|
Allow array and hash query parameters. Array route parameters are converted/to/a/path as before. References #6765, #7462. Closes #7047.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6343 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-06 07:47:23 +00:00 |
|
Jeremy Kemper
|
df57f53d09
|
Time#since overflows to DateTime. Introduce Time#to_datetime. Closes #7715.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6335 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-05 08:34:42 +00:00 |
|
Jeremy Kemper
|
8437baa44b
|
Out-of-range Time calculations transparently overflow to DateTime. Closes #7706.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6305 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-04 04:51:33 +00:00 |
|
Jeremy Kemper
|
70d7b3752f
|
Test DateTime native type in migrations. References #7649.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6304 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-04 04:33:55 +00:00 |
|
Jeremy Kemper
|
543622959a
|
DateTime calculations analogous to the Date and Time extensions. Closes #7693.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6303 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-03-04 04:12:42 +00:00 |
|
Michael Koziarski
|
62ac3279e8
|
Add missing files
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-28 00:49:01 +00:00 |
|
Michael Koziarski
|
1902ef6caa
|
Give DateTime correct .to_s implementations, lets it play nice with ActiveRecord quoting. [gbuesing] Closes #7649
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-27 23:25:16 +00:00 |
|
Michael Koziarski
|
203932ec88
|
Add File.atomic_write to prevent users from seeing half written files. Useful for situations like Page Caching and the like. [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6262 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-27 23:16:06 +00:00 |
|
Michael Koziarski
|
c9770d8a5a
|
Allow users to provide custom formatters to Logger. [aeden] Closes #7106, #2484
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-25 00:07:54 +00:00 |
|
Jeremy Kemper
|
002c0aeef3
|
Hash#to_query CGI-escapes its keys.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6148 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-11 06:29:04 +00:00 |
|
Jeremy Kemper
|
39ae7025e8
|
Don't test for hash sort order.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6147 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-11 04:40:58 +00:00 |
|
Jeremy Kemper
|
9daddf0116
|
Deprecation: warn on stderr if RAILS_DEFAULT_LOGGER isn't set yet.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6140 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-08 00:17:39 +00:00 |
|
Michael Koziarski
|
517bf0814e
|
Fix for DateTime superclass mismatch errors seen on some linux distributions. [Koz]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6121 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-04 21:17:49 +00:00 |
|
Rick Olson
|
4790228bc4
|
fix problem with EMPTY_INHERITABLE_ATTRIBUTES being redefined
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6115 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-04 19:23:27 +00:00 |
|
Rick Olson
|
0a454cd73e
|
fix #write_inheritable_attribute bug that crept in
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-04 18:33:54 +00:00 |
|
Rick Olson
|
3340261515
|
Optimize Class Inheritable Attributes so that unnecessary hashes are not created. Closes #7472 [Bruce Perens]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6110 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-04 18:20:04 +00:00 |
|
Jeremy Kemper
|
593b1b837d
|
Ruby 1.8-cvs and 1.9 define a private Time#to_date that overrides Active Support. Make it public to preserve compatibility.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6099 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-02-01 18:06:16 +00:00 |
|
David Heinemeier Hansson
|
e720ba0b5f
|
Remove noisy nodoc for Ruby 1.8.4
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6083 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 17:42:44 +00:00 |
|
Jeremy Kemper
|
50c1150e53
|
Mark the last release in the changelog.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6076 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 15:54:42 +00:00 |
|
Jeremy Kemper
|
b0ed5057e0
|
Full test coverage for Inflector. Closes #7228.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6075 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 15:52:45 +00:00 |
|
Jeremy Kemper
|
17fee001a9
|
:db format for Date#to_s
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6060 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 07:36:34 +00:00 |
|
Rick Olson
|
5e85a1c7f8
|
Added :instance_writer option to #mattr_writer/accessor, #cattr_writer/accessor, and #class_inheritable_writer to skip the creation of the instance writer. [Rick]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6050 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 01:18:51 +00:00 |
|
Rick Olson
|
eca93d0970
|
Rename test file so it's not ignored by rake
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6049 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-28 00:47:32 +00:00 |
|
David Heinemeier Hansson
|
0aa0c84c17
|
Nodoc the irrelevant (from 1.2)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6044 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-26 21:37:38 +00:00 |
|
David Heinemeier Hansson
|
92af801465
|
Make to_query safe against nils
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6039 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-24 22:33:17 +00:00 |
|
David Heinemeier Hansson
|
35433859bd
|
Added Hash#to_query to turn a hash of values into a form-encoded query string [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6038 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-24 22:12:31 +00:00 |
|
Nicholas Seckar
|
6ee09b6a0a
|
Increase test coverage for subclasses_of. Closes #7335.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6036 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-24 20:47:32 +00:00 |
|
Rick Olson
|
be7f86e37a
|
Added test coverage for Inflector.inflections.clear. Closes #7179. [Rich Collins]. Remove unused code from Duration#inspect. Closes #7180. [Rich Collins]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 05:32:08 +00:00 |
|
Rick Olson
|
a44cee2549
|
ActiveSupport::Multibyte::Handlers::UTF8Handler should raise when a range and an integer are passed in (just like the native implementation). Closes #7176 [Rich Collins]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6021 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 05:27:25 +00:00 |
|
Rick Olson
|
f3f691eaf2
|
A couple extra tests for #classify. Closes #7273. [Josh Susser]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6019 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
|
2007-01-23 05:11:34 +00:00 |
|