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
rick 3c4c6bd0df * Add pluggable JSON backends with support for the JSON gem. [rick]
Example: ActiveSupport::JSON.backend = "JSONGem"

  All internal Rails JSON encoding is now handled by ActiveSupport::JSON.encode().  Use of #to_json is not recommended, as it may clash with other libraries that overwrite it.  However, you can recover Rails specific functionality
  if you really want to use #to_json.

    gem 'json'
    ActiveSupport::JSON.backend = "JSONGem"

    class ActiveRecord::Base
      alias to_json rails_to_json
    end
2009-04-23 00:08:40 -07:00
..
class Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
module Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
array_ext_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
base64_ext_test.rb ActiveSupport::Base64.encode64s since Base64 is deprecated 2008-02-07 21:50:46 +00:00
bigdecimal.rb Added tests [#279 state:resolved] (Nicholas Schlueter) 2008-06-02 22:05:27 -05:00
blank_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
cgi_ext_test.rb Explicit test dependencies 2009-03-28 23:56:14 -07:00
class_test.rb Explicit test dependencies 2009-03-29 00:08:35 -07:00
date_ext_test.rb Explicit test dependencies 2009-03-29 00:08:35 -07:00
date_time_ext_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
duplicable_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
duration_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
enumerable_test.rb Explicit test dependencies 2009-03-28 23:56:14 -07:00
exception_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
file_test.rb Explicit test dependencies 2009-03-29 00:08:35 -07:00
float_ext_test.rb * Introduce ActiveSupport.core_ext Integer, %w(conversions time etc) 2009-03-21 04:35:15 -07:00
hash_ext_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
integer_ext_test.rb Explicit test dependencies 2009-03-28 23:56:14 -07:00
kernel_test.rb Explicit test dependencies 2009-03-28 23:56:14 -07:00
load_error_test.rb Explicit test dependencies 2009-03-28 23:56:14 -07:00
module_test.rb Explicit test dependencies 2009-03-28 23:56:14 -07:00
name_error_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
numeric_ext_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
object_and_class_ext_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
object_ext_test.rb Object#tap for Ruby < 1.8.7 2009-01-07 13:19:48 -08:00
proc_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
range_ext_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
string_ext_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
symbol_test.rb require abstract_unit directly since test is in load path 2008-01-05 13:31:04 +00:00
time_ext_test.rb Fix dependencies revealed by testing in isolation 2009-04-22 18:54:13 -07:00
time_with_zone_test.rb * Add pluggable JSON backends with support for the JSON gem. [rick] 2009-04-23 00:08:40 -07:00
uri_ext_test.rb Explicit test dependencies 2009-03-29 00:12:17 -07:00