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
Jakub Suder 2524cf404c fixed some issues with JSON encoding
- as_json in ActiveModel should return a hash
  and handle :only/:except/:methods options
- Array and Hash should call as_json on their elements
- json methods should not modify options argument

[#5374 state:committed]

Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
2010-09-07 11:33:10 -07:00
..
cache Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
core_ext delegate method should treat :prefix => false same as :prefix => nil 2010-09-01 09:57:13 +02:00
dependencies Replace the placeholder base_hook API with on_load. To specify some code that 2010-03-29 17:08:50 -07:00
deprecation Prevent any warnings from being printed during RDoc generation 2010-08-26 21:31:32 +02:00
inflector camelize and underscore are sort of inverse of each other, but not in a mathematical sense [#5174 state:resolved] 2010-07-22 01:28:31 +02:00
json fixed some issues with JSON encoding 2010-09-07 11:33:10 -07:00
locale Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
log_subscriber Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
multibyte removing unused code 2010-08-22 17:15:56 -07:00
notifications Revert the previous three commits. 2010-07-25 20:46:42 +02:00
ruby Revert "Moved encoding work in progress to a feature branch." 2010-05-17 19:41:54 +04:00
testing Config is deprecated on 1.8.8 and 1.9.3 use RbConfig 2010-08-23 23:10:36 -03:00
time
values Fixed many references to the old config/environment.rb and Rails::Initializer 2010-07-13 13:00:21 +02:00
xml_mini Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
all.rb AS json refactor, move to_json implementation to core_ext and a cleanup a bit the code 2010-07-01 12:04:11 -07:00
backtrace_cleaner.rb ActiveSupport::BacktraceCleaner#remove_filters! allows for completely untouched backtrace [#4079 state:resolved] 2010-04-10 14:06:10 +02:00
base64.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
basic_object.rb
benchmarkable.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
buffered_logger.rb fix mixed encoding logs can't be logged. 2010-07-19 14:55:58 -07:00
builder.rb Unforce builder from AS 2010-06-01 10:45:51 +02:00
cache.rb Revert "Setup explicit requires for files with exceptions. Removed them from autoloading." 2010-09-02 21:11:03 +02:00
callbacks.rb lifecycle should be two words, life cycle 2010-08-26 14:23:58 +02:00
concern.rb reviews commit dcc9d38 2010-08-15 02:22:37 +02:00
configurable.rb Revert "Add example label to activesupport/configurable" 2010-08-15 02:22:38 +02:00
core_ext.rb
dependencies.rb Refactor a bit dependencies logging 2010-09-05 18:14:47 +02:00
deprecation.rb
descendants_tracker.rb Don't shadow outer local variables 2010-07-22 15:48:52 -03:00
duration.rb Make ActiveSupport::Duration#method_missing delegate blocks to value [#5498 state:resolved] 2010-09-01 09:56:54 +02:00
file_update_checker.rb Avoid calls to Rails::Application since this is not the official API. 2010-07-01 18:43:44 +02:00
gzip.rb
hash_with_indifferent_access.rb now for real, the suite loads everything and these went unpatched 2010-08-19 02:57:10 +02:00
i18n.rb I18n.reload! is only called if any of the locale files actually changed. 2010-06-20 14:44:38 +02:00
i18n_railtie.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
inflections.rb Changed the way inflections for uncountables work for 'funky jeans' [#3576 state:resolved] 2010-04-05 23:54:42 +02:00
inflector.rb
json.rb
lazy_load_hooks.rb Whitespace and example identation 2010-08-15 02:22:38 +02:00
log_subscriber.rb Makes use of class << self instead of def self. 2010-08-15 08:41:39 -03:00
memoizable.rb moves Object#singleton_class to Kernel#singleton_class to match Ruby also there, same for #class_eval to simplify, and adds coverage for class_eval 2010-04-05 12:15:08 -07:00
message_encryptor.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
message_verifier.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
multibyte.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
notifications.rb edit pass to apply API guideline wrt the use of "# =>" in example code 2010-07-30 02:30:04 +02:00
option_merger.rb
ordered_hash.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
ordered_options.rb Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 13:17:32 +02:00
railtie.rb add note of which configuration option to set in deprecation warning message [#5012 state:resolved] 2010-06-30 16:58:05 +02:00
rescuable.rb Whitespace and example identation 2010-08-15 02:22:38 +02:00
secure_random.rb Revert "Setup explicit requires for files with exceptions. Removed them from autoloading." 2010-09-02 21:11:03 +02:00
string_inquirer.rb
test_case.rb fixing activemodel tests. [#4210 state:resolved] 2010-03-17 13:46:21 -07:00
time.rb Refactor move some date, time and date_time methods to */zones and fixed some requires 2010-07-03 02:13:44 -03:00
time_with_zone.rb Whitespace and example identation 2010-08-15 02:22:38 +02:00
version.rb Master is now targeting 3.1.0.beta 2010-08-23 21:44:57 -05:00
whiny_nil.rb Make many parts of Rails lazy. In order to facilitate this, 2010-03-07 06:24:30 -08:00
xml_mini.rb XmlMini.rename_key emits valid xml with dasherize 2010-07-26 09:48:22 -07:00