1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activesupport/lib/active_support
Godfrey Chan 0f33d70e89 Improved compatibility with the stdlib JSON gem.
Previously, calling `::JSON.{generate,dump}` sometimes causes
unexpected failures such as intridea/multi_json#86.

`::JSON.{generate,dump}` now bypasses the ActiveSupport JSON encoder
completely and yields the same result with or without ActiveSupport.
This means that it will **not** call `as_json` and will ignore any
options that the JSON gem does not natively understand. To invoke
ActiveSupport's JSON encoder instead, use `obj.to_json(options)` or
`ActiveSupport::JSON.encode(obj, options)`.
2013-11-14 15:46:43 -08:00
..
cache Stop using method missing for singleton delegation. 2013-11-06 16:32:47 -08:00
concurrency
core_ext Improved compatibility with the stdlib JSON gem. 2013-11-14 15:46:43 -08:00
dependencies
deprecation renames the :abort deprecation behaviour to :raise 2013-08-13 01:44:52 +02:00
inflector Add +capitalize+ option to Inflector.humanize 2013-11-06 13:03:46 -08:00
json Move the JSON extension require statements to the right place. 2013-11-06 18:18:06 -08:00
locale
log_subscriber
multibyte Initializing Codepoint object with default values 2013-09-20 12:50:15 +05:30
notifications use a thread local rather than a queue so events are in the right order 2013-10-30 10:33:36 -07:00
testing
values
xml_mini
all.rb Clean up require ‘active_support/deprecation’ and remove circular require 2013-11-14 12:59:56 +04:00
backtrace_cleaner.rb
benchmarkable.rb
builder.rb
cache.rb Aesthetics 2013-11-03 12:41:58 -08:00
callbacks.rb Fix typo in set_callback docs. [ci skip] 2013-09-06 11:53:17 +03:00
concern.rb
configurable.rb
core_ext.rb
dependencies.rb Add missed require making enable_warnings available 2013-10-15 15:00:06 +04:00
deprecation.rb Changing deprecation_horizon to be Rails 4.2 2013-08-24 23:34:43 -04:00
descendants_tracker.rb
duration.rb Revert "Merge pull request #12480 from iwiznia/master" 2013-10-11 13:05:29 -07:00
file_update_checker.rb clean up some warnings on trunk ruby 2013-10-31 11:47:51 -07:00
file_watcher.rb
gzip.rb
hash_with_indifferent_access.rb
i18n.rb
i18n_railtie.rb
inflections.rb
inflector.rb
json.rb
key_generator.rb
lazy_load_hooks.rb
log_subscriber.rb
logger.rb
logger_silence.rb
message_encryptor.rb
message_verifier.rb
multibyte.rb
notifications.rb Stop using method missing for singleton delegation. 2013-11-06 16:32:47 -08:00
number_helper.rb Minor Refactoring to NumberHelper#number_to_human 2013-10-14 23:52:06 +05:30
option_merger.rb
ordered_hash.rb
ordered_options.rb Fixed grammar error in ordered_options documention. 2013-08-17 04:42:15 -07:00
per_thread_registry.rb Stop using method missing for singleton delegation. 2013-11-06 16:32:47 -08:00
proxy_object.rb
rails.rb
railtie.rb
rescuable.rb
string_inquirer.rb
subscriber.rb Stop using method missing for singleton delegation. 2013-11-06 16:32:47 -08:00
tagged_logging.rb
test_case.rb Use the method provided by minitest to make tests order dependent 2013-11-09 17:07:26 -05:00
time.rb
time_with_zone.rb Fix AS::TimeWithZone#as_json docs 2013-11-07 11:18:52 +02:00
version.rb
xml_mini.rb Revert "Removing obsolete html tags in favor of markdown code block" 2013-08-06 22:16:03 +03:00