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
Eugene Kenny a4914a436e Add Enumerable#pick to complement Relation#pick
This allows `pick` to be called on an object that could either be an
enumerable or a relation.

Also clarify the documentation for `Enumerable#pluck`, and add an
example of plucking multiple keys to the core extensions guide.
2020-03-18 20:03:56 +00:00
..
cache Use index_by and index_with wherever possible 2020-03-05 01:24:14 +00:00
concurrency Make LoadInterlockAwareMonitor work in Ruby 2.7 2019-12-23 07:24:22 +09:00
core_ext Add Enumerable#pick to complement Relation#pick 2020-03-18 20:03:56 +00:00
dependencies support for overrides in :zeitwerk mode inflectors 2019-10-10 06:43:10 +02:00
deprecation Fix Pry deprecation warning on tab-completion 2020-02-06 15:12:59 +01:00
duration Remove week from iso8601 parts 2019-12-20 22:15:15 +08:00
inflector Revert "Merge pull request #22780 from pauloancheta/master" 2020-02-13 11:41:15 +09:00
json Reduce number of created objects in Hash#to_json 2020-01-11 11:03:20 +00:00
locale Add :round_mode parameter support to number helpers 2020-01-05 21:23:02 +00:00
log_subscriber [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
messages Make message encryptor/verifier initializer takes keyword arguments 2020-02-09 13:38:05 +09:00
multibyte Prefer normal method call over method_missing 2019-09-03 10:26:15 +09:00
notifications Remove unused event_object_subscriber method 2020-02-14 13:03:55 +00:00
number_helper Add :round_mode parameter support to number helpers 2020-01-05 21:23:02 +00:00
testing Use index_by and index_with wherever possible 2020-03-05 01:24:14 +00:00
values Add AS::TimeZone#match? 2019-07-29 14:17:36 +09:00
xml_mini Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
actionable_error.rb Refactor after the most recent code review 2019-04-19 14:15:41 +09:00
all.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
array_inquirer.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
backtrace_cleaner.rb Use match? where we don't need MatchData 2019-07-29 14:23:10 +09:00
benchmarkable.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
builder.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
cache.rb Use index_by and index_with wherever possible 2020-03-05 01:24:14 +00:00
callbacks.rb ActiveSupport::Calbacks#halted_callback_hook receive callback name: 2020-03-03 16:17:55 -04:00
concern.rb Prepend class methods of prepended concerns 2020-02-14 18:11:50 +01:00
configurable.rb Change wording of some instances of 'opt out' [ci skip] 2019-03-12 20:06:02 +05:30
configuration_file.rb Fix ConfigurationFile check for non-breaking space 2020-02-15 14:37:01 -06:00
core_ext.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
current_attributes.rb Use index_by and index_with wherever possible 2020-03-05 01:24:14 +00:00
dependencies.rb Performance improvement for String#to 2019-07-28 17:16:03 +09:00
deprecation.rb Allow ActiveSupport deprecation warnings to be configured as disallowed 2020-01-15 13:28:11 -05:00
descendants_tracker.rb Optimize DescendantsArray insertions 2019-07-25 11:37:39 -04:00
digest.rb Don't include ellipsis in truncated digest output 2017-12-17 00:49:02 +00:00
duration.rb Improve ActiveSupport::Duration performance about 25% ~ 50% 2019-12-20 17:25:20 +09:00
encrypted_configuration.rb Bugfix: ActiveSupport::EncryptedConfiguration reading of comment-only encrypted files (#34014) 2018-10-05 08:06:33 +09:00
encrypted_file.rb Keep symbolic link after editing credentials.yml.enc 2019-10-17 04:07:24 +02:00
environment_inquirer.rb Use optimized subclass of StringInquirer for Rails.env 2020-03-05 14:57:27 -06:00
evented_file_update_checker.rb Fix folders update watcher with no folders to watch (#36163) 2019-09-09 13:50:01 +02:00
execution_wrapper.rb Missing require "concurrent/hash" 2018-10-20 14:58:04 +09:00
executor.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
file_update_checker.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
fork_tracker.rb fix(fork-tracker): Only patch fork if it's supported 2019-10-06 23:41:37 +02:00
gem_version.rb Start Rails 6.1 development 2019-04-24 15:57:14 -04:00
gzip.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
hash_with_indifferent_access.rb Hide internal utility methods in the public API doc [ci skip] 2019-12-04 18:30:02 +09:00
i18n.rb ActiveSupport::Inflector#ordinal and ActiveSupport::Inflector#ordinalize 2018-03-05 08:41:49 -05:00
i18n_railtie.rb Improve i18n reloader to only reload once 2020-02-12 11:15:21 +08:00
inflections.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
inflector.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
json.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
key_generator.rb Remove secret_token rack env and cookie upgrade code 2019-01-17 16:08:34 -05:00
lazy_load_hooks.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
log_subscriber.rb Specify log subscribers need a logger set before they can receive events 2019-07-15 11:36:31 -04:00
logger.rb Logger#initialize takes keyword arguments 2019-12-21 02:11:22 +09:00
logger_silence.rb Add ActionController::Base.log_at 2019-09-24 13:47:34 -04:00
logger_thread_safe_level.rb Add ActionController::Base.log_at 2019-09-24 13:47:34 -04:00
message_encryptor.rb Make message encryptor/verifier initializer takes keyword arguments 2020-02-09 13:38:05 +09:00
message_verifier.rb Make message encryptor/verifier initializer takes keyword arguments 2020-02-09 13:38:05 +09:00
multibyte.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
notifications.rb Fix subscribed with no pattern to subscribe all messages 2019-06-03 05:47:10 +09:00
number_helper.rb Add :round_mode parameter support to number helpers 2020-01-05 21:23:02 +00:00
option_merger.rb Fix with_options to allow string key options 2020-02-05 17:22:25 +09:00
ordered_hash.rb update https urls [ci skip] 2019-10-03 11:01:32 +02:00
ordered_options.rb Fix configuring a cache store with ActiveSupport::OrderedOptions 2019-11-08 17:32:55 -05:00
parameter_filter.rb Fixes TypeError raised for parameter filter if the json data has key as integer 2020-02-28 17:27:58 +09:00
per_thread_registry.rb Accessing ivar with Symbols might be just a very little bit better than with fstrings 2019-07-31 12:18:44 +09:00
proxy_object.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
rails.rb [ci skip] Small fix to ActiveSupport docs 2019-10-24 09:36:14 +02:00
railtie.rb Allow ActiveSupport deprecation warnings to be configured as disallowed 2020-01-15 13:28:11 -05:00
reloader.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
rescuable.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
secure_compare_rotator.rb Performance improvement for String#to 2019-07-28 17:16:03 +09:00
security_utils.rb Don't encode in secure_compare for speedup 2019-03-26 21:43:52 -04:00
string_inquirer.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
subscriber.rb [ci skip] switch eg. to proper e.g. 2019-10-07 02:18:36 +02:00
tagged_logging.rb Reduce object allocations in TaggedLogging 2019-08-19 00:08:04 +09:00
test_case.rb Revert "MethodCallAssertions is a regular player of the team ActiveSupport::TestCase now" 2019-08-02 00:24:21 -04:00
time.rb [Active Support] require_relative => require 2017-10-21 22:48:27 +09:00
time_with_zone.rb Add Style/RedundantFreeze to remove redudant .freeze 2018-09-29 07:18:44 +00:00
version.rb [Active Support] rubocop -a --only Layout/EmptyLineAfterMagicComment 2017-07-11 13:12:32 +09:00
xml_mini.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00