1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/test/core_ext
Kelly Stannard ebd27d5714 Better error message for String#to_date
I did this because to_date gives a very unhelpful error message if you
do not pass in a correct date. In the process I think this cleans up the
 code nicely and even better it tends to be slightly faster than the
 current implementation.

Benchmark
https://gist.github.com/4440875
2013-01-04 16:39:18 +00:00
..
class Add instance_accessor option to class_attribute 2012-05-22 00:28:34 +04:00
module Fix some assert_raise calls containing messages in Active Support 2012-10-28 17:54:24 -02:00
object Remove .rb from require sentences 2012-09-21 16:57:15 -05:00
array_ext_test.rb Use Integer#div instead of Integer#/ to avoid side effects from mathn 2012-11-16 03:20:55 -05:00
bigdecimal_test.rb Moving NumberHelpers from ActionView to ActiveSupport 2012-05-27 18:14:21 -07:00
blank_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
class_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
date_and_time_behavior.rb Date.beginning_of_week thread local and beginning_of_week application config option added (default is Monday) 2012-09-18 17:18:19 +03:00
date_ext_test.rb Remove assert_nothing_raised 2013-01-03 23:14:57 -03:00
date_time_ext_test.rb Remove assert_nothing_raised 2013-01-03 23:14:57 -03:00
deep_dup_test.rb Keep all methods in object/deep_dup 2012-05-06 11:13:15 -07:00
duplicable_test.rb Remove special cases for duplicable? on Class and Module 2012-05-17 03:00:31 -04:00
duration_test.rb Rename ActiveSupport::BasicObject to ActiveSupport::ProxyObject 2012-12-07 14:13:56 -05:00
enumerable_test.rb Fix Range#sum optimized version 2012-05-25 17:46:53 +04:00
file_test.rb revises a brittle test in Active Support 2012-08-22 23:10:33 +02:00
hash_ext_test.rb Refactor Hash.from_xml. 2012-12-21 23:49:43 +00:00
integer_ext_test.rb Document Integer#ordinal available in PR #2072. 2012-02-04 18:46:19 +05:30
kernel_test.rb Kernel#capture replaced by version which can catch output from subprocesses 2012-11-01 13:36:40 +04:00
load_error_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
marshal_test.rb Patched Marshal#load to work with constant autoloading (active_support/dependecies.rb) (issue #8167) 2012-12-01 14:00:16 +02:00
module_test.rb Nice and easy delegation to the class 2012-09-11 23:05:19 -04:00
name_error_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
numeric_ext_test.rb Remove assert_nothing_raised 2013-01-03 23:14:57 -03:00
object_and_class_ext_test.rb Add Object#try! with the old NoMethodError raising behavior 2012-07-27 12:33:02 -05:00
proc_test.rb deprecate Proc#bind that can cause symbol memory leak 2012-03-22 22:25:55 +03:00
range_ext_test.rb Added ability to compare date/time with infinity 2013-01-04 02:41:09 +01:00
regexp_ext_test.rb use AS::TestCase as the base class 2012-01-05 17:12:46 -08:00
string_ext_test.rb Better error message for String#to_date 2013-01-04 16:39:18 +00:00
struct_test.rb backporting Struct#to_h from ruby 2.0 2012-11-13 11:11:11 -08:00
thread_test.rb Alias refute methods to assert_not and perfer assert_not on tests 2012-12-31 13:58:52 -03:00
time_ext_test.rb Remove assert_nothing_raised 2013-01-03 23:14:57 -03:00
time_with_zone_test.rb Remove assert_nothing_raised 2013-01-03 23:14:57 -03:00
uri_ext_test.rb Convert URI.parser.parse to URI.parse, and remove ruby 1.8.x code. 2012-01-19 20:27:16 +09:00