diff --git a/sorbet/rbi/gems/actioncable@7.1.2.rbi b/sorbet/rbi/gems/actioncable@7.1.3.rbi
similarity index 97%
rename from sorbet/rbi/gems/actioncable@7.1.2.rbi
rename to sorbet/rbi/gems/actioncable@7.1.3.rbi
index febff8a4e..03b7f203a 100644
--- a/sorbet/rbi/gems/actioncable@7.1.2.rbi
+++ b/sorbet/rbi/gems/actioncable@7.1.3.rbi
@@ -154,22 +154,22 @@ class ActionCable::Channel::Base
# source://actioncable//lib/action_cable/channel/base.rb#147
def initialize(connection, identifier, params = T.unsafe(nil)); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_subscribe_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_unsubscribe_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _subscribe_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _unsubscribe_callbacks; end
# source://actioncable//lib/action_cable/channel/broadcasting.rb#11
@@ -209,13 +209,13 @@ class ActionCable::Channel::Base
# source://actioncable//lib/action_cable/channel/periodic_timers.rb#9
def periodic_timers=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# This method is called after subscription has been added to the connection
@@ -304,25 +304,25 @@ class ActionCable::Channel::Base
def unsubscribed; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _subscribe_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _subscribe_callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _unsubscribe_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _unsubscribe_callbacks=(value); end
# A list of method names that should be considered actions. This
@@ -346,13 +346,13 @@ class ActionCable::Channel::Base
# source://actioncable//lib/action_cable/channel/periodic_timers.rb#9
def periodic_timers?; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
private
@@ -1153,16 +1153,16 @@ class ActionCable::Connection::Base
# source://actioncable//lib/action_cable/connection/base.rb#58
def initialize(server, env, coder: T.unsafe(nil)); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _command_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_command_callbacks(&block); end
# source://actioncable//lib/action_cable/connection/base.rb#134
@@ -1239,13 +1239,13 @@ class ActionCable::Connection::Base
# source://actioncable//lib/action_cable/connection/base.rb#86
def receive(websocket_message); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# Invoke a method on the connection asynchronously through the pool of thread workers.
@@ -1343,19 +1343,19 @@ class ActionCable::Connection::Base
def websocket; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _command_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _command_callbacks=(value); end
# source://actioncable//lib/action_cable/connection/identification.rb#11
@@ -1367,13 +1367,13 @@ class ActionCable::Connection::Base
# source://actioncable//lib/action_cable/connection/identification.rb#11
def identifiers?; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
end
end
@@ -2086,7 +2086,7 @@ end
# source://actioncable//lib/action_cable/engine.rb#8
class ActionCable::Engine < ::Rails::Engine
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
end
end
@@ -2618,16 +2618,16 @@ class ActionCable::Server::Worker
# source://actioncable//lib/action_cable/server/worker.rb#19
def initialize(max_size: T.unsafe(nil)); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_work_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _work_callbacks; end
# source://actioncable//lib/action_cable/server/worker.rb#46
@@ -2636,10 +2636,10 @@ class ActionCable::Server::Worker
# source://actioncable//lib/action_cable/server/worker.rb#50
def async_invoke(receiver, method, *args, connection: T.unsafe(nil), &block); end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74
def connection; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116
def connection=(obj); end
# Returns the value of attribute executor.
@@ -2670,25 +2670,25 @@ class ActionCable::Server::Worker
def logger; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _work_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _work_callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
def connection; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
def connection=(obj); end
end
end
diff --git a/sorbet/rbi/gems/actionmailbox@7.1.2.rbi b/sorbet/rbi/gems/actionmailbox@7.1.3.rbi
similarity index 87%
rename from sorbet/rbi/gems/actionmailbox@7.1.2.rbi
rename to sorbet/rbi/gems/actionmailbox@7.1.3.rbi
index 5e56c6ecc..9ba4a56eb 100644
--- a/sorbet/rbi/gems/actionmailbox@7.1.2.rbi
+++ b/sorbet/rbi/gems/actionmailbox@7.1.3.rbi
@@ -86,13 +86,13 @@ module ActionMailbox
# source://actionmailbox//lib/action_mailbox.rb#24
def queues=(val); end
- # source://railties/7.1.2/lib/rails/engine.rb#405
+ # source://railties/7.1.3/lib/rails/engine.rb#412
def railtie_helpers_paths; end
- # source://railties/7.1.2/lib/rails/engine.rb#394
+ # source://railties/7.1.3/lib/rails/engine.rb#395
def railtie_namespace; end
- # source://railties/7.1.2/lib/rails/engine.rb#409
+ # source://railties/7.1.3/lib/rails/engine.rb#416
def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
# source://actionmailbox//lib/action_mailbox.rb#25
@@ -101,10 +101,10 @@ module ActionMailbox
# source://actionmailbox//lib/action_mailbox.rb#25
def storage_service=(val); end
- # source://railties/7.1.2/lib/rails/engine.rb#397
+ # source://railties/7.1.3/lib/rails/engine.rb#401
def table_name_prefix; end
- # source://railties/7.1.2/lib/rails/engine.rb#401
+ # source://railties/7.1.3/lib/rails/engine.rb#408
def use_relative_model_naming?; end
# Returns the currently loaded version of Action Mailbox as a +Gem::Version+.
@@ -189,16 +189,16 @@ class ActionMailbox::Base
# source://actionmailbox//lib/action_mailbox/base.rb#79
def initialize(inbound_email); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _process_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_process_callbacks(&block); end
# Immediately sends the given +message+ and changes the inbound email's status to +:bounced+.
@@ -239,13 +239,13 @@ class ActionMailbox::Base
# source://actionmailbox//lib/action_mailbox/base.rb#96
def process; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://actionmailbox//lib/action_mailbox/routing.rb#9
@@ -263,31 +263,31 @@ class ActionMailbox::Base
def track_status_of_inbound_email; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _process_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _process_callbacks=(value); end
# source://actionmailbox//lib/action_mailbox/base.rb#75
def receive(inbound_email); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://actionmailbox//lib/action_mailbox/routing.rb#9
@@ -301,7 +301,7 @@ end
class ActionMailbox::BaseController < ::ActionController::Base
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def authenticate_by_password; end
@@ -310,10 +310,10 @@ class ActionMailbox::BaseController < ::ActionController::Base
def password; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -363,7 +363,7 @@ ActionMailbox::Callbacks::TERMINATOR = T.let(T.unsafe(nil), Proc)
# source://actionmailbox//lib/action_mailbox/engine.rb#12
class ActionMailbox::Engine < ::Rails::Engine
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
end
end
@@ -376,10 +376,10 @@ class ActionMailbox::InboundEmail < ::ActionMailbox::Record
include ::ActionMailbox::InboundEmail::Incineratable
extend ::ActionMailbox::InboundEmail::MessageId::ClassMethods
- # source://activerecord/7.1.2/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.3/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_raw_email_attachment(*args); end
- # source://activerecord/7.1.2/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.3/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_raw_email_blob(*args); end
def instrumentation_payload; end
@@ -388,109 +388,109 @@ class ActionMailbox::InboundEmail < ::ActionMailbox::Record
def source; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activerecord/7.1.2/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.3/lib/active_record/reflection.rb#11
def _reflections; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
- # source://activestorage/7.1.2/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.3/lib/active_storage/reflection.rb#53
def attachment_reflections; end
- # source://activerecord/7.1.2/lib/active_record/attributes.rb#11
+ # source://activerecord/7.1.3/lib/active_record/attributes.rb#11
def attributes_to_define_after_schema_loads; end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def bounced(*args, **_arg1); end
- # source://activerecord/7.1.2/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.3/lib/active_record/enum.rb#167
def defined_enums; end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def delivered(*args, **_arg1); end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def failed(*args, **_arg1); end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def not_bounced(*args, **_arg1); end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def not_delivered(*args, **_arg1); end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def not_failed(*args, **_arg1); end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def not_pending(*args, **_arg1); end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def not_processing(*args, **_arg1); end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def pending(*args, **_arg1); end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def processing(*args, **_arg1); end
- # source://activerecord/7.1.2/lib/active_record/enum.rb#242
+ # source://activerecord/7.1.3/lib/active_record/enum.rb#242
def statuses; end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def with_attached_raw_email(*args, **_arg1); end
end
end
module ActionMailbox::InboundEmail::GeneratedAssociationMethods
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#32
def build_raw_email_attachment(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#32
def build_raw_email_blob(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#36
def create_raw_email_attachment(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#40
def create_raw_email_attachment!(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#36
def create_raw_email_blob(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#40
def create_raw_email_blob!(*args, &block); end
- # source://activestorage/7.1.2/lib/active_storage/attached/model.rb#99
+ # source://activestorage/7.1.3/lib/active_storage/attached/model.rb#99
def raw_email; end
- # source://activestorage/7.1.2/lib/active_storage/attached/model.rb#104
+ # source://activestorage/7.1.3/lib/active_storage/attached/model.rb#104
def raw_email=(attachable); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#103
def raw_email_attachment; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#111
def raw_email_attachment=(value); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#103
def raw_email_blob; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#111
def raw_email_blob=(value); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#19
def reload_raw_email_attachment; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#19
def reload_raw_email_blob; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#23
def reset_raw_email_attachment; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#23
def reset_raw_email_blob; end
end
@@ -541,10 +541,10 @@ class ActionMailbox::IncinerationJob < ::ActiveJob::Base
def perform(inbound_email); end
class << self
- # source://activejob/7.1.2/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.3/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
def schedule(inbound_email); end
@@ -559,7 +559,7 @@ class ActionMailbox::Ingresses::Mailgun::InboundEmailsController < ::ActionMailb
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def authenticate; end
@@ -568,10 +568,10 @@ class ActionMailbox::Ingresses::Mailgun::InboundEmailsController < ::ActionMailb
def mail; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -600,7 +600,7 @@ class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ::ActionMail
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def authenticate; end
@@ -610,10 +610,10 @@ class ActionMailbox::Ingresses::Mandrill::InboundEmailsController < ::ActionMail
def raw_emails; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -639,14 +639,14 @@ class ActionMailbox::Ingresses::Postmark::InboundEmailsController < ::ActionMail
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -658,16 +658,16 @@ class ActionMailbox::Ingresses::Relay::InboundEmailsController < ::ActionMailbox
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def require_valid_rfc822_message; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -679,17 +679,17 @@ class ActionMailbox::Ingresses::Sendgrid::InboundEmailsController < ::ActionMail
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def envelope; end
def mail; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -699,10 +699,10 @@ class ActionMailbox::Record < ::ActiveRecord::Base
include ::ActionMailbox::Record::GeneratedAssociationMethods
class << self
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
- # source://activerecord/7.1.2/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.3/lib/active_record/enum.rb#167
def defined_enums; end
end
end
@@ -793,7 +793,7 @@ class ActionMailbox::RoutingJob < ::ActiveJob::Base
def perform(inbound_email); end
class << self
- # source://activejob/7.1.2/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.3/lib/active_job/queue_name.rb#55
def queue_name; end
end
end
@@ -1672,70 +1672,70 @@ end
module Rails
class << self
- # source://railties/7.1.2/lib/rails.rb#42
+ # source://railties/7.1.3/lib/rails.rb#42
def app_class; end
- # source://railties/7.1.2/lib/rails.rb#42
+ # source://railties/7.1.3/lib/rails.rb#42
def app_class=(_arg0); end
- # source://railties/7.1.2/lib/rails.rb#43
+ # source://railties/7.1.3/lib/rails.rb#43
def application; end
- # source://railties/7.1.2/lib/rails.rb#41
+ # source://railties/7.1.3/lib/rails.rb#41
def application=(_arg0); end
- # source://railties/7.1.2/lib/rails.rb#123
+ # source://railties/7.1.3/lib/rails.rb#123
def autoloaders; end
- # source://railties/7.1.2/lib/rails.rb#54
+ # source://railties/7.1.3/lib/rails.rb#54
def backtrace_cleaner; end
- # source://railties/7.1.2/lib/rails.rb#42
+ # source://railties/7.1.3/lib/rails.rb#42
def cache; end
- # source://railties/7.1.2/lib/rails.rb#42
+ # source://railties/7.1.3/lib/rails.rb#42
def cache=(_arg0); end
- # source://railties/7.1.2/lib/rails.rb#50
+ # source://railties/7.1.3/lib/rails.rb#50
def configuration; end
- # source://railties/7.1.2/lib/rails/deprecator.rb#4
+ # source://railties/7.1.3/lib/rails/deprecator.rb#4
def deprecator; end
- # source://railties/7.1.2/lib/rails.rb#72
+ # source://railties/7.1.3/lib/rails.rb#72
def env; end
- # source://railties/7.1.2/lib/rails.rb#79
+ # source://railties/7.1.3/lib/rails.rb#79
def env=(environment); end
- # source://railties/7.1.2/lib/rails.rb#90
+ # source://railties/7.1.3/lib/rails.rb#90
def error; end
- # source://railties/7.1.2/lib/rails/gem_version.rb#5
+ # source://railties/7.1.3/lib/rails/gem_version.rb#5
def gem_version; end
- # source://railties/7.1.2/lib/rails.rb#103
+ # source://railties/7.1.3/lib/rails.rb#103
def groups(*groups); end
- # source://railties/7.1.2/lib/rails.rb#47
+ # source://railties/7.1.3/lib/rails.rb#47
def initialize!(*_arg0, **_arg1, &_arg2); end
- # source://railties/7.1.2/lib/rails.rb#47
+ # source://railties/7.1.3/lib/rails.rb#47
def initialized?(*_arg0, **_arg1, &_arg2); end
- # source://railties/7.1.2/lib/rails.rb#42
+ # source://railties/7.1.3/lib/rails.rb#42
def logger; end
- # source://railties/7.1.2/lib/rails.rb#42
+ # source://railties/7.1.3/lib/rails.rb#42
def logger=(_arg0); end
- # source://railties/7.1.2/lib/rails.rb#119
+ # source://railties/7.1.3/lib/rails.rb#119
def public_path; end
- # source://railties/7.1.2/lib/rails.rb#63
+ # source://railties/7.1.3/lib/rails.rb#63
def root; end
- # source://railties/7.1.2/lib/rails/version.rb#7
+ # source://railties/7.1.3/lib/rails/version.rb#7
def version; end
end
end
@@ -1750,11 +1750,11 @@ class Rails::Conductor::ActionMailbox::InboundEmails::SourcesController < ::Rail
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -1767,7 +1767,7 @@ class Rails::Conductor::ActionMailbox::InboundEmailsController < ::Rails::Conduc
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def create_inbound_email(mail); end
@@ -1775,7 +1775,7 @@ class Rails::Conductor::ActionMailbox::InboundEmailsController < ::Rails::Conduc
def new_mail; end
class << self
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -1785,11 +1785,11 @@ class Rails::Conductor::ActionMailbox::IncineratesController < ::Rails::Conducto
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -1799,13 +1799,13 @@ class Rails::Conductor::ActionMailbox::ReroutesController < ::Rails::Conductor::
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def reroute(inbound_email); end
class << self
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -1813,22 +1813,22 @@ end
class Rails::Conductor::BaseController < ::ActionController::Base
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def ensure_development_env; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#211
def _layout; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#212
def _layout_conditions; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
diff --git a/sorbet/rbi/gems/actionmailer@7.1.2.rbi b/sorbet/rbi/gems/actionmailer@7.1.3.rbi
similarity index 93%
rename from sorbet/rbi/gems/actionmailer@7.1.2.rbi
rename to sorbet/rbi/gems/actionmailer@7.1.3.rbi
index a6b27024c..7e5e8d04a 100644
--- a/sorbet/rbi/gems/actionmailer@7.1.2.rbi
+++ b/sorbet/rbi/gems/actionmailer@7.1.3.rbi
@@ -543,55 +543,55 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#644
def initialize; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _deliver_callbacks; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods=(_arg0); end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#216
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#216
def _layout_conditions(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _process_action_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_deliver_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_process_action_callbacks(&block); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies; end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies=(_arg0); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def asset_host; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def asset_host=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def assets_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def assets_dir=(value); end
# Allows you to add attachments to an email, like so:
@@ -626,10 +626,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#761
def attachments; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_asset_host_protocol; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_asset_host_protocol=(value); end
# source://actionmailer//lib/action_mailer/base.rb#502
@@ -641,10 +641,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#502
def default_params?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_static_extension; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_static_extension=(value); end
# source://actionmailer//lib/action_mailer/queued_delivery.rb#9
@@ -690,10 +690,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#685
def email_address_with_name(address, name); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def enable_fragment_cache_logging; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def enable_fragment_cache_logging=(value); end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
@@ -705,13 +705,13 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
def file_settings?; end
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys; end
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys=(_arg0); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys?; end
# Allows you to pass random and unusual headers to the new +Mail::Message+
@@ -752,16 +752,16 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#723
def headers(args = T.unsafe(nil)); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def javascripts_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def javascripts_dir=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def logger=(value); end
# The main method that creates the message and renders the email templates. There are
@@ -861,10 +861,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#678
def mailer_name; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def message; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def message=(_arg0); end
# source://actionmailer//lib/action_mailer/parameterized.rb#95
@@ -873,10 +873,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/parameterized.rb#93
def params=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def perform_caching; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def perform_caching=(value); end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#16
@@ -900,25 +900,25 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/delivery_methods.rb#15
def raise_delivery_errors=(val); end
- # source://actionpack/7.1.2/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.3/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions; end
- # source://actionpack/7.1.2/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.3/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions=(val); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def relative_url_root; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def relative_url_root=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
@@ -942,10 +942,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
def smtp_settings?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def stylesheets_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def stylesheets_dir=(value); end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
@@ -959,7 +959,7 @@ class ActionMailer::Base < ::AbstractController::Base
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
# source://actionmailer//lib/action_mailer/base.rb#1071
@@ -1030,13 +1030,13 @@ class ActionMailer::Base < ::AbstractController::Base
def wrap_inline_attachments(message); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
# source://actionmailer//lib/action_mailer/form_builder.rb#18
@@ -1048,67 +1048,67 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/form_builder.rb#18
def _default_form_builder?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _deliver_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _deliver_callbacks=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#16
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#16
def _helpers; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#211
def _layout; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#211
def _layout=(value); end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#211
def _layout?; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#212
def _layout_conditions; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#212
def _layout_conditions=(value); end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#212
def _layout_conditions?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _process_action_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _process_action_callbacks=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies; end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def asset_host; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def asset_host=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def assets_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def assets_dir=(value); end
# Returns the name of the current mailer. This method is also being used as a path for a view lookup.
@@ -1126,10 +1126,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#582
def default(value = T.unsafe(nil)); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_asset_host_protocol; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_asset_host_protocol=(value); end
# Sets the defaults through app configuration:
@@ -1153,10 +1153,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#502
def default_params?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_static_extension; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_static_extension=(value); end
# source://actionmailer//lib/action_mailer/queued_delivery.rb#9
@@ -1212,10 +1212,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#607
def email_address_with_name(address, name); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def enable_fragment_cache_logging; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def enable_fragment_cache_logging=(value); end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
@@ -1227,25 +1227,25 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
def file_settings?; end
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys; end
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def javascripts_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def javascripts_dir=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def logger=(value); end
# Returns the name of the current mailer. This method is also being used as a path for a view lookup.
@@ -1259,10 +1259,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#574
def mailer_name=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def perform_caching; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def perform_caching=(value); end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#16
@@ -1289,10 +1289,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/delivery_methods.rb#15
def raise_delivery_errors=(val); end
- # source://actionpack/7.1.2/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.3/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions; end
- # source://actionpack/7.1.2/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.3/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions=(val); end
# Register an Interceptor which will be called before mail is sent.
@@ -1319,19 +1319,19 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/base.rb#511
def register_observers(*observers); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def relative_url_root; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def relative_url_root=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
@@ -1358,10 +1358,10 @@ class ActionMailer::Base < ::AbstractController::Base
# source://actionmailer//lib/action_mailer/delivery_methods.rb#53
def smtp_settings?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def stylesheets_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def stylesheets_dir=(value); end
# Emails do not support relative path links.
@@ -1428,10 +1428,10 @@ module ActionMailer::Base::HelperMethods
include ::ActionText::ContentHelper
include ::ActionText::TagHelper
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#33
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#33
def combined_fragment_cache_key(*args, **_arg1, &block); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#43
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#43
def view_cache_dependencies(*args, **_arg1, &block); end
end
@@ -1741,7 +1741,7 @@ class ActionMailer::LogSubscriber < ::ActiveSupport::LogSubscriber
def process(event); end
class << self
- # source://activesupport/7.1.2/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.3/lib/active_support/log_subscriber.rb#87
def log_levels; end
end
end
@@ -1771,10 +1771,10 @@ class ActionMailer::MailDeliveryJob < ::ActiveJob::Base
def mailer_class; end
class << self
- # source://activejob/7.1.2/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.3/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
@@ -2318,7 +2318,7 @@ class ActionMailer::TestCase < ::ActiveSupport::TestCase
def _mailer_class?; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
# source://actionmailer//lib/action_mailer/test_case.rb#41
diff --git a/sorbet/rbi/gems/actionpack@7.1.2.rbi b/sorbet/rbi/gems/actionpack@7.1.3.rbi
similarity index 98%
rename from sorbet/rbi/gems/actionpack@7.1.2.rbi
rename to sorbet/rbi/gems/actionpack@7.1.3.rbi
index 09c82378e..e56b12c6f 100644
--- a/sorbet/rbi/gems/actionpack@7.1.2.rbi
+++ b/sorbet/rbi/gems/actionpack@7.1.3.rbi
@@ -65,10 +65,10 @@ class AbstractController::Base
# Returns the name of the action this controller is processing.
#
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def action_name; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def action_name=(_arg0); end
# Returns true if a method for the action is available and
@@ -94,10 +94,10 @@ class AbstractController::Base
# Returns the formats that can be processed by the controller.
#
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def formats; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def formats=(_arg0); end
# source://actionpack//lib/abstract_controller/base.rb#203
@@ -126,10 +126,10 @@ class AbstractController::Base
# Returns the body of the HTTP response sent by the controller.
#
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def response_body; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def response_body=(_arg0); end
# Actually call the method associated with the action. Override
@@ -1283,13 +1283,13 @@ class ActionController::API < ::ActionController::Metal
extend ::ActionController::Instrumentation::ClassMethods
extend ::ActionController::ParamsWrapper::ClassMethods
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _process_action_callbacks; end
# source://actionpack//lib/action_controller/metal/renderers.rb#31
@@ -1301,7 +1301,7 @@ class ActionController::API < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/renderers.rb#31
def _renderers?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_process_action_callbacks(&block); end
# source://actionpack//lib/action_controller/metal/params_wrapper.rb#187
@@ -1331,10 +1331,10 @@ class ActionController::API < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/conditional_get.rb#13
def etaggers?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def logger=(value); end
# source://actionpack//lib/abstract_controller/callbacks.rb#36
@@ -1349,29 +1349,29 @@ class ActionController::API < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects=(val); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _process_action_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _process_action_callbacks=(value); end
# source://actionpack//lib/action_controller/metal/renderers.rb#31
@@ -1410,10 +1410,10 @@ class ActionController::API < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/conditional_get.rb#13
def etaggers?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def logger=(value); end
# source://actionpack//lib/action_controller/metal.rb#262
@@ -1431,13 +1431,13 @@ class ActionController::API < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects=(val); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# Shortcut helper that returns all the ActionController::API modules except
@@ -1727,10 +1727,10 @@ class ActionController::Base < ::ActionController::Metal
extend ::ActionController::Instrumentation::ClassMethods
extend ::ActionController::ParamsWrapper::ClassMethods
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
# source://actionpack//lib/abstract_controller/helpers.rb#12
@@ -1742,10 +1742,10 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#216
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#216
def _layout_conditions(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _process_action_callbacks; end
# source://actionpack//lib/action_controller/metal/renderers.rb#31
@@ -1757,7 +1757,7 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/renderers.rb#31
def _renderers?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_process_action_callbacks(&block); end
# source://actionpack//lib/abstract_controller/caching.rb#42
@@ -1781,46 +1781,46 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/flash.rb#36
def alert; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def allow_forgery_protection; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def allow_forgery_protection=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def asset_host; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def asset_host=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def assets_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def assets_dir=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def csrf_token_storage_strategy; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def csrf_token_storage_strategy=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_asset_host_protocol; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_asset_host_protocol=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_protect_from_forgery; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_protect_from_forgery=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_static_extension; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_static_extension=(value); end
# source://actionpack//lib/action_dispatch/routing/url_for.rb#97
@@ -1832,10 +1832,10 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_dispatch/routing/url_for.rb#97
def default_url_options?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def enable_fragment_cache_logging; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def enable_fragment_cache_logging=(value); end
# source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#29
@@ -1859,16 +1859,16 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/flash.rb#10
def flash(*_arg0, **_arg1, &_arg2); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def forgery_protection_origin_check; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def forgery_protection_origin_check=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def forgery_protection_strategy; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def forgery_protection_strategy=(value); end
# source://actionpack//lib/abstract_controller/caching/fragments.rb#25
@@ -1898,37 +1898,37 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/helpers.rb#66
def include_all_helpers?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def javascripts_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def javascripts_dir=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def log_warning_on_csrf_failure; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def log_warning_on_csrf_failure=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def logger=(value); end
# source://actionpack//lib/action_controller/metal/flash.rb#36
def notice; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def per_form_csrf_tokens; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def per_form_csrf_tokens=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def perform_caching; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def perform_caching=(value); end
# source://actionpack//lib/abstract_controller/callbacks.rb#36
@@ -1943,49 +1943,49 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects=(val); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def relative_url_root; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def relative_url_root=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def request_forgery_protection_token; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def request_forgery_protection_token=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def stylesheets_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def stylesheets_dir=(value); end
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
# source://actionpack//lib/action_controller/base.rb#252
def _protected_ivars; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
# source://actionpack//lib/action_controller/form_builder.rb#33
@@ -2018,28 +2018,28 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/abstract_controller/helpers.rb#16
def _helpers; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#211
def _layout; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#211
def _layout=(value); end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#211
def _layout?; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#212
def _layout_conditions; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#212
def _layout_conditions=(value); end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#212
def _layout_conditions?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _process_action_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _process_action_callbacks=(value); end
# source://actionpack//lib/action_controller/metal/renderers.rb#31
@@ -2069,46 +2069,46 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def allow_forgery_protection; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def allow_forgery_protection=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def asset_host; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def asset_host=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def assets_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def assets_dir=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def csrf_token_storage_strategy; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def csrf_token_storage_strategy=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_asset_host_protocol; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_asset_host_protocol=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_protect_from_forgery; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_protect_from_forgery=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_static_extension; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_static_extension=(value); end
# source://actionpack//lib/action_dispatch/routing/url_for.rb#97
@@ -2120,10 +2120,10 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_dispatch/routing/url_for.rb#97
def default_url_options?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def enable_fragment_cache_logging; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def enable_fragment_cache_logging=(value); end
# source://actionpack//lib/action_controller/metal/etag_with_template_digest.rb#29
@@ -2144,16 +2144,16 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/conditional_get.rb#13
def etaggers?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def forgery_protection_origin_check; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def forgery_protection_origin_check=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def forgery_protection_strategy; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def forgery_protection_strategy=(value); end
# source://actionpack//lib/abstract_controller/caching/fragments.rb#25
@@ -2183,37 +2183,37 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/helpers.rb#66
def include_all_helpers?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def javascripts_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def javascripts_dir=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def log_warning_on_csrf_failure; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def log_warning_on_csrf_failure=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def logger=(value); end
# source://actionpack//lib/action_controller/metal.rb#262
def middleware_stack; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def per_form_csrf_tokens; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def per_form_csrf_tokens=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def perform_caching; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def perform_caching=(value); end
# source://actionpack//lib/abstract_controller/callbacks.rb#36
@@ -2228,31 +2228,31 @@ class ActionController::Base < ::ActionController::Metal
# source://actionpack//lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects=(val); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def relative_url_root; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def relative_url_root=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def request_forgery_protection_token; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def request_forgery_protection_token=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def stylesheets_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def stylesheets_dir=(value); end
# Shortcut helper that returns all the modules included in
@@ -4245,7 +4245,7 @@ class ActionController::LogSubscriber < ::ActiveSupport::LogSubscriber
def write_fragment(event); end
class << self
- # source://activesupport/7.1.2/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.3/lib/active_support/log_subscriber.rb#87
def log_levels; end
end
end
@@ -4396,10 +4396,10 @@ class ActionController::Metal < ::AbstractController::Base
#
# The ActionDispatch::Request instance for the current request.
#
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def request; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def request=(_arg0); end
# source://actionpack//lib/action_controller/metal.rb#258
@@ -4409,7 +4409,7 @@ class ActionController::Metal < ::AbstractController::Base
#
# The ActionDispatch::Response instance for the current response.
#
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def response; end
# Assign the response and mark it as committed. No further processing will occur.
@@ -6059,7 +6059,7 @@ ActionController::Parameters::PERMITTED_SCALAR_TYPES = T.let(T.unsafe(nil), Arra
#
# will try to check if +Admin::User+ or +User+ model exists, and use it to
# determine the wrapper key respectively. If both models don't exist,
-# it will then fallback to use +user+ as the key.
+# it will then fall back to use +user+ as the key.
#
# To disable this functionality for a controller:
#
@@ -6187,10 +6187,10 @@ class ActionController::ParamsWrapper::Options < ::Struct
# source://actionpack//lib/action_controller/metal/params_wrapper.rb#110
def include; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#91
+ # source://mutex_m/0.2.0/mutex_m.rb#91
def lock; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#81
+ # source://mutex_m/0.2.0/mutex_m.rb#81
def locked?; end
# Returns the value of attribute model
@@ -6207,13 +6207,13 @@ class ActionController::ParamsWrapper::Options < ::Struct
# source://actionpack//lib/action_controller/metal/params_wrapper.rb#143
def name; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#76
+ # source://mutex_m/0.2.0/mutex_m.rb#76
def synchronize(&block); end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#86
+ # source://mutex_m/0.2.0/mutex_m.rb#86
def try_lock; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#96
+ # source://mutex_m/0.2.0/mutex_m.rb#96
def unlock; end
private
@@ -6399,7 +6399,7 @@ module ActionController::Redirecting
def redirect_to(options = T.unsafe(nil), response_options = T.unsafe(nil)); end
# Verifies the passed +location+ is an internal URL that's safe to redirect to and returns it, or nil if not.
- # Useful to wrap a params provided redirect URL and fallback to an alternate URL to redirect to:
+ # Useful to wrap a params provided redirect URL and fall back to an alternate URL to redirect to:
#
# redirect_to url_from(params[:redirect_url]) || root_url
#
@@ -8008,7 +8008,7 @@ class ActionController::TestCase < ::ActiveSupport::TestCase
def _controller_class?; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
# source://actionpack//lib/action_controller/test_case.rb#571
@@ -8800,7 +8800,7 @@ end
# = Action Dispatch \AssumeSSL
#
# When proxying through a load balancer that terminates SSL, the forwarded request will appear
-# as though its HTTP instead of HTTPS to the application. This makes redirects and cookie
+# as though it's HTTP instead of HTTPS to the application. This makes redirects and cookie
# security target HTTP instead of HTTPS. This middleware makes the server assume that the
# proxy already terminated SSL, and that the request really is HTTPS.
#
@@ -8830,35 +8830,35 @@ class ActionDispatch::Callbacks
# source://actionpack//lib/action_dispatch/middleware/callbacks.rb#22
def initialize(app); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _call_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_call_callbacks(&block); end
# source://actionpack//lib/action_dispatch/middleware/callbacks.rb#26
def call(env); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _call_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _call_callbacks=(value); end
# source://actionpack//lib/action_dispatch/middleware/callbacks.rb#17
@@ -9970,25 +9970,25 @@ class ActionDispatch::ExceptionWrapper
# source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#265
def build_backtrace; end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#283
+ # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#288
def causes_for(exception); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#293
+ # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#298
def clean_backtrace(*args); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#346
+ # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#351
def extract_file_and_line_number(trace); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#301
+ # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#306
def extract_source(trace); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#330
+ # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#335
def extract_source_fragment_lines(source_lines, line); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#336
+ # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#341
def source_fragment(path, line); end
- # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#289
+ # source://actionpack//lib/action_dispatch/middleware/exception_wrapper.rb#294
def wrapped_causes_for(exception, backtrace_cleaner); end
class << self
@@ -10945,7 +10945,7 @@ module ActionDispatch::Http::MimeNegotiation
# Sets the \formats by string extensions. This differs from #format= by allowing you
# to set multiple, ordered formats, which is useful when you want to have a fallback.
#
- # In this example, the +:iphone+ format will be used if it's available, otherwise it'll fallback
+ # In this example, the +:iphone+ format will be used if it's available, otherwise it'll fall back
# to the +:html+ format.
#
# class ApplicationController < ActionController::Base
@@ -13759,7 +13759,7 @@ class ActionDispatch::LogSubscriber < ::ActiveSupport::LogSubscriber
def redirect(event); end
class << self
- # source://activesupport/7.1.2/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.3/lib/active_support/log_subscriber.rb#87
def log_levels; end
end
end
@@ -14057,7 +14057,7 @@ class ActionDispatch::PermissionsPolicy
end
# List of available permissions can be found at
-# https://github.com/w3c/webappsec-permissions-policy/blob/master/features.md#policy-controlled-features
+# https://github.com/w3c/webappsec-permissions-policy/blob/main/features.md#policy-controlled-features
#
# source://actionpack//lib/action_dispatch/http/permissions_policy.rb#89
ActionDispatch::PermissionsPolicy::DIRECTIVES = T.let(T.unsafe(nil), Hash)
@@ -14476,7 +14476,7 @@ class ActionDispatch::Request
# more information.
#
# For debugging purposes, when called with arguments this method will
- # fallback to Object#method
+ # fall back to Object#method
#
# source://actionpack//lib/action_dispatch/http/request.rb#205
def method(*args, **_arg1); end
@@ -15865,9 +15865,9 @@ ActionDispatch::Response::SET_COOKIE = T.let(T.unsafe(nil), String)
#
# # In config/routes.rb
# controller :blog do
-# get 'blog/show', to: :list
-# get 'blog/delete', to: :delete
-# get 'blog/edit', to: :edit
+# get 'blog/show' => :list
+# get 'blog/delete' => :delete
+# get 'blog/edit' => :edit
# end
#
# # provides named routes for show, delete, and edit
@@ -15986,7 +15986,7 @@ ActionDispatch::Response::SET_COOKIE = T.let(T.unsafe(nil), String)
#
# == View a list of all your routes
#
-# bin/rails routes
+# $ bin/rails routes
#
# Target a specific controller with -c, or grep routes
# using -g. Useful in conjunction with --expanded
@@ -16146,7 +16146,7 @@ class ActionDispatch::Routing::Mapper
# @return [Mapper] a new instance of Mapper
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2314
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2313
def initialize(set); end
class << self
@@ -16156,14 +16156,14 @@ class ActionDispatch::Routing::Mapper
# source://actionpack//lib/action_dispatch/routing/mapper.rb#16
def backtrace_cleaner=(val); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#393
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#392
def normalize_name(name); end
# Invokes Journey::Router::Utils.normalize_path, then ensures that
# /(:locale) becomes (/:locale). Except for root cases, where the
# former is the correct one.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#376
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#375
def normalize_path(path); end
# source://actionpack//lib/action_dispatch/routing/mapper.rb#15
@@ -16174,19 +16174,19 @@ class ActionDispatch::Routing::Mapper
end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#397
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#396
module ActionDispatch::Routing::Mapper::Base
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#630
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#629
def default_url_options(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#630
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#629
def default_url_options=(options); end
# Query if the following named route was already defined.
#
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#642
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#641
def has_named_route?(name); end
# Matches a URL pattern to one or more routes.
@@ -16370,7 +16370,7 @@ module ActionDispatch::Routing::Mapper::Base
# Allows you to specify the default value for optional +format+
# segment or disable it by supplying +false+.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#578
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#577
def match(path, options = T.unsafe(nil)); end
# Mount a Rack-based application to be used within the application.
@@ -16395,23 +16395,23 @@ module ActionDispatch::Routing::Mapper::Base
#
# @raise [ArgumentError]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#600
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#599
def mount(app, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#635
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#634
def with_default_scope(scope, &block); end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#651
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#650
def app_name(app, rails_app); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#660
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#659
def define_generate_prefix(app, name); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#647
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#646
def rails_app?(app); end
end
@@ -16436,7 +16436,7 @@ end
# concerns :commentable
# end
#
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2026
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2025
module ActionDispatch::Routing::Mapper::Concerns
# Define a routing concern using a name.
#
@@ -16495,7 +16495,7 @@ module ActionDispatch::Routing::Mapper::Concerns
# callable, they're accessible from the Mapper that's passed to
# call.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2083
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2082
def concern(name, callable = T.unsafe(nil), &block); end
# Use the named concerns
@@ -16510,7 +16510,7 @@ module ActionDispatch::Routing::Mapper::Concerns
# concerns :commentable
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2099
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2098
def concerns(*args); end
end
@@ -16556,7 +16556,7 @@ ActionDispatch::Routing::Mapper::Constraints::CALL = T.let(T.unsafe(nil), Proc)
# source://actionpack//lib/action_dispatch/routing/mapper.rb#21
ActionDispatch::Routing::Mapper::Constraints::SERVE = T.let(T.unsafe(nil), Proc)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2111
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2110
module ActionDispatch::Routing::Mapper::CustomUrls
# Define custom URL helpers that will be added to the application's
# routes. This allows you to override and/or replace the default behavior
@@ -16606,7 +16606,7 @@ module ActionDispatch::Routing::Mapper::CustomUrls
# NOTE: The +direct+ method can't be used inside of a scope block such as
# +namespace+ or +scope+ and will raise an error if it detects that it is.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2159
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2158
def direct(name, options = T.unsafe(nil), &block); end
# Define custom polymorphic mappings of models to URLs. This alters the
@@ -16654,18 +16654,18 @@ module ActionDispatch::Routing::Mapper::CustomUrls
# NOTE: The +resolve+ method can't be used inside of a scope block such as
# +namespace+ or +scope+ and will raise an error if it detects that it is.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2211
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2210
def resolve(*args, &block); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#694
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#693
module ActionDispatch::Routing::Mapper::HttpHelpers
# Define a route that only recognizes HTTP DELETE.
# For supported arguments, see match[rdoc-ref:Base#match]
#
# delete 'broccoli', to: 'food#broccoli'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#731
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#730
def delete(*args, &block); end
# Define a route that only recognizes HTTP GET.
@@ -16673,7 +16673,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# get 'bacon', to: 'food#bacon'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#699
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#698
def get(*args, &block); end
# Define a route that only recognizes HTTP OPTIONS.
@@ -16681,7 +16681,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# options 'carrots', to: 'food#carrots'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#739
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#738
def options(*args, &block); end
# Define a route that only recognizes HTTP PATCH.
@@ -16689,7 +16689,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# patch 'bacon', to: 'food#bacon'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#715
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#714
def patch(*args, &block); end
# Define a route that only recognizes HTTP POST.
@@ -16697,7 +16697,7 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# post 'bacon', to: 'food#bacon'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#707
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#706
def post(*args, &block); end
# Define a route that only recognizes HTTP PUT.
@@ -16705,12 +16705,12 @@ module ActionDispatch::Routing::Mapper::HttpHelpers
#
# put 'bacon', to: 'food#bacon'
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#723
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#722
def put(*args, &block); end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#744
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#743
def map_method(method, args, &block); end
end
@@ -16777,37 +16777,37 @@ class ActionDispatch::Routing::Mapper::Mapping
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#319
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#318
def add_controller_module(controller, modyoule); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#272
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#279
def app(blocks); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#338
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#337
def blocks(callable_constraint); end
# source://actionpack//lib/action_dispatch/routing/mapper.rb#187
def build_conditions(current_conditions, request_class); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#284
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#291
def check_controller_and_action(path_params, controller, action); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#299
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#306
def check_part(name, part, path_params, hash); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#345
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#344
def constraints(options, path_params); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#359
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#358
def dispatcher(raise_on_name_error); end
# source://actionpack//lib/action_dispatch/routing/mapper.rb#202
def intern(object); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#268
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#275
def normalize_defaults(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#236
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#243
def normalize_format(formatted); end
# source://actionpack//lib/action_dispatch/routing/mapper.rb#206
@@ -16816,19 +16816,16 @@ class ActionDispatch::Routing::Mapper::Mapping
# source://actionpack//lib/action_dispatch/routing/mapper.rb#196
def request_method; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#363
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#362
def route_source_location; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#230
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#237
def split_constraints(path_params, constraints); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#311
- def split_to(to); end
-
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#331
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#330
def translate_controller(controller); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#252
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#259
def verify_regexp_requirements(requirements, wildcard_options); end
class << self
@@ -16896,7 +16893,7 @@ ActionDispatch::Routing::Mapper::Mapping::OPTIONAL_FORMAT_REGEX = T.let(T.unsafe
#
# This allows any character other than a slash as part of your +:id+.
#
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1134
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#1133
module ActionDispatch::Routing::Mapper::Resources
# To add a route to the collection:
#
@@ -16911,7 +16908,7 @@ module ActionDispatch::Routing::Mapper::Resources
# create the search_photos_url and search_photos_path
# route helpers.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1512
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1511
def collection(&block); end
# Loads another routes file with the given +name+ located inside the
@@ -16938,7 +16935,7 @@ module ActionDispatch::Routing::Mapper::Resources
# applications — even those with a few hundred routes — it's easier for
# developers to have a single routes file.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1622
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1621
def draw(name); end
# Matches a URL pattern to one or more routes.
@@ -16948,7 +16945,7 @@ module ActionDispatch::Routing::Mapper::Resources
# match 'path', to: 'controller#action', via: :post
# match 'path', 'otherpath', on: :member, via: :get
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1644
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1643
def match(path, *rest, &block); end
# To add a member route, add a member block into the resource block:
@@ -16963,18 +16960,18 @@ module ActionDispatch::Routing::Mapper::Resources
# preview action of +PhotosController+. It will also create the
# preview_photo_url and preview_photo_path helpers.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1533
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1532
def member(&block); end
# See ActionDispatch::Routing::Mapper::Scoping#namespace.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1580
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1579
def namespace(path, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1559
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1558
def nested(&block); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1549
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1548
def new(&block); end
# Sometimes, you have a resource that clients always look up without
@@ -17009,7 +17006,7 @@ module ActionDispatch::Routing::Mapper::Resources
# === Options
# Takes same options as resources[rdoc-ref:#resources]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1304
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1303
def resource(*resources, &block); end
# In \Rails, a resourceful route provides a mapping between HTTP verbs
@@ -17150,10 +17147,10 @@ module ActionDispatch::Routing::Mapper::Resources
# # resource actions are at /admin/posts.
# resources :posts, path: "admin/posts"
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1470
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1469
def resources(*resources, &block); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1269
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1268
def resources_path_names(options); end
# You can specify what \Rails should route "/" to with the root method:
@@ -17170,335 +17167,335 @@ module ActionDispatch::Routing::Mapper::Resources
# because this means it will be matched first. As this is the most popular route
# of most \Rails applications, this is beneficial.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1691
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1690
def root(path, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1588
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1587
def shallow; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1595
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1594
def shallow?; end
private
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1755
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1754
def action_options?(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1837
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1836
def action_path(name); end
# @raise [ArgumentError]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1973
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1972
def add_route(action, controller, options, _path, to, via, formatted, anchor, options_constraints); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1891
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1890
def api_only?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1750
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1749
def apply_action_options(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1716
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1715
def apply_common_behavior_for(method, resources, options, &block); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1813
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1812
def canonical_action?(action); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1958
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1957
def decomposed_match(path, controller, options, _path, to, via, formatted, anchor, options_constraints); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1943
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1942
def get_to_from_path(path, to, action); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1902
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1901
def map_match(paths, options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2000
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1999
def match_root_route(options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1853
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1852
def name_for_action(as, action); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1790
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1789
def nested_options; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1771
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1770
def nested_scope?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1809
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1808
def param_constraint; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1805
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1804
def param_constraint?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1712
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1711
def parent_resource; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1827
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1826
def path_for_action(action, path); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1895
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1894
def path_scope(path); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1841
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1840
def prefix_name_for_action(as, action); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1767
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1766
def resource_method_scope?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1782
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1781
def resource_scope(resource, &block); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1763
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1762
def resource_scope?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1759
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1758
def scope_action_options; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1879
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1878
def set_member_mappings_for_resource; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1799
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1798
def shallow_nesting_depth; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1817
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1816
def shallow_scope; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1954
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1953
def using_match_shorthand?(path); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1775
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1774
def with_scope_level(kind); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1139
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#1138
ActionDispatch::Routing::Mapper::Resources::CANONICAL_ACTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1138
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#1137
ActionDispatch::Routing::Mapper::Resources::RESOURCE_OPTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#1140
class ActionDispatch::Routing::Mapper::Resources::Resource
# @return [Resource] a new instance of Resource
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1144
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1143
def initialize(entities, api_only, shallow, options = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1169
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1168
def actions; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1177
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1176
def available_actions; end
# Checks for uncountable plurals, and appends "_index" if the plural
# and singular form are the same.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1201
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1200
def collection_name; end
# Returns the value of attribute path.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1142
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
def collection_scope; end
# Returns the value of attribute controller.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1142
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
def controller; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1161
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1160
def default_actions; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1193
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1192
def member_name; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1211
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1210
def member_scope; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1185
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1184
def name; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1221
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1220
def nested_param; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1225
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1224
def nested_scope; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1217
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1216
def new_scope(new_path); end
# Returns the value of attribute param.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1142
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
def param; end
# Returns the value of attribute path.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1142
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
def path; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1189
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1188
def plural; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1205
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1204
def resource_scope; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1229
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1228
def shallow?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1211
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1210
def shallow_scope; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1233
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1232
def singleton?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1193
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1192
def singular; end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1236
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#1235
class ActionDispatch::Routing::Mapper::Resources::SingletonResource < ::ActionDispatch::Routing::Mapper::Resources::Resource
# @return [SingletonResource] a new instance of SingletonResource
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1237
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1236
def initialize(entities, api_only, shallow, options); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1256
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1255
def collection_name; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1244
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1243
def default_actions; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1256
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1255
def member_name; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1142
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
def member_scope; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1142
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1141
def nested_scope; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1252
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1251
def plural; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1266
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1265
def singleton?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1256
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1255
def singular; end
end
# CANONICAL_ACTIONS holds all actions that does not need a prefix or
# a path appended since they fit properly in their scope level.
#
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#1137
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#1136
ActionDispatch::Routing::Mapper::Resources::VALID_ON_OPTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2225
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2224
class ActionDispatch::Routing::Mapper::Scope
include ::Enumerable
# @return [Scope] a new instance of Scope
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2235
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2234
def initialize(hash, parent = T.unsafe(nil), scope_level = T.unsafe(nil)); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2294
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2293
def [](key); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2261
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2260
def action_name(name_prefix, prefix, collection_name, member_name); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2301
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2300
def each; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2309
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2308
def frame; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2241
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2240
def nested?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2286
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2285
def new(hash); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2290
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2289
def new_level(level); end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2245
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2244
def null?; end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2282
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2281
def options; end
# Returns the value of attribute parent.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2233
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2232
def parent; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2257
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2256
def resource_method_scope?; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2278
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2277
def resource_scope?; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2253
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2252
def resources?; end
# @return [Boolean]
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2249
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2248
def root?; end
# Returns the value of attribute scope_level.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#2233
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#2232
def scope_level; end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2311
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2310
ActionDispatch::Routing::Mapper::Scope::NULL = T.let(T.unsafe(nil), ActionDispatch::Routing::Mapper::Scope)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2226
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2225
ActionDispatch::Routing::Mapper::Scope::OPTIONS = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2231
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2230
ActionDispatch::Routing::Mapper::Scope::RESOURCE_METHOD_SCOPES = T.let(T.unsafe(nil), Array)
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#2230
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#2229
ActionDispatch::Routing::Mapper::Scope::RESOURCE_SCOPES = T.let(T.unsafe(nil), Array)
# You may wish to organize groups of controllers under a namespace.
@@ -17556,7 +17553,7 @@ ActionDispatch::Routing::Mapper::Scope::RESOURCE_SCOPES = T.let(T.unsafe(nil), A
# PATCH/PUT /admin/posts/1
# DELETE /admin/posts/1
#
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#806
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#805
module ActionDispatch::Routing::Mapper::Scoping
# === Parameter Restriction
# Allows you to constrain the nested routes based on a set of rules.
@@ -17614,7 +17611,7 @@ module ActionDispatch::Routing::Mapper::Scoping
# resources :iphones
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1011
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1010
def constraints(constraints = T.unsafe(nil), &block); end
# Scopes routes to a specific controller
@@ -17623,7 +17620,7 @@ module ActionDispatch::Routing::Mapper::Scoping
# match "bacon", action: :bacon, via: :get
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#896
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#895
def controller(controller); end
# Allows you to set default parameters for a route, such as this:
@@ -17632,7 +17629,7 @@ module ActionDispatch::Routing::Mapper::Scoping
# end
# Using this, the +:id+ parameter here will default to 'home'.
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1020
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1019
def defaults(defaults = T.unsafe(nil)); end
# Scopes routes to a specific namespace. For example:
@@ -17674,7 +17671,7 @@ module ActionDispatch::Routing::Mapper::Scoping
# resources :posts
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#941
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#940
def namespace(path, options = T.unsafe(nil), &block); end
# Scopes a set of routes to the given default options.
@@ -17708,61 +17705,61 @@ module ActionDispatch::Routing::Mapper::Scoping
# resources :posts
# end
#
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#837
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#836
def scope(*args); end
private
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1052
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1051
def merge_action_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1036
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1035
def merge_as_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1076
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1075
def merge_blocks_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1068
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1067
def merge_constraints_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1048
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1047
def merge_controller_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1072
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1071
def merge_defaults_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1060
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1059
def merge_format_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1044
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1043
def merge_module_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1082
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1081
def merge_options_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1064
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1063
def merge_path_names_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1028
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1027
def merge_path_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1032
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1031
def merge_shallow_path_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1040
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1039
def merge_shallow_prefix_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1086
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1085
def merge_shallow_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1090
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1089
def merge_to_scope(parent, child); end
- # source://actionpack//lib/action_dispatch/routing/mapper.rb#1056
+ # source://actionpack//lib/action_dispatch/routing/mapper.rb#1055
def merge_via_scope(parent, child); end
end
-# source://actionpack//lib/action_dispatch/routing/mapper.rb#889
+# source://actionpack//lib/action_dispatch/routing/mapper.rb#888
ActionDispatch::Routing::Mapper::Scoping::POISON = T.let(T.unsafe(nil), Object)
# source://actionpack//lib/action_dispatch/routing/mapper.rb#13
@@ -18879,7 +18876,7 @@ class ActionDispatch::Routing::RoutesProxy
# about since it depends on the specific request, but use our
# script name resolver for the mount point dependent part.
#
- # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#58
+ # source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#53
def merge_script_names(previous_script_name, new_script_name); end
# source://actionpack//lib/action_dispatch/routing/routes_proxy.rb#30
diff --git a/sorbet/rbi/gems/actiontext@7.1.2.rbi b/sorbet/rbi/gems/actiontext@7.1.3.rbi
similarity index 78%
rename from sorbet/rbi/gems/actiontext@7.1.2.rbi
rename to sorbet/rbi/gems/actiontext@7.1.3.rbi
index 2d6b9b352..0bf9fef7f 100644
--- a/sorbet/rbi/gems/actiontext@7.1.2.rbi
+++ b/sorbet/rbi/gems/actiontext@7.1.3.rbi
@@ -26,19 +26,19 @@ module ActionText
# source://actiontext//lib/action_text.rb#53
def html_document_fragment_class; end
- # source://railties/7.1.2/lib/rails/engine.rb#405
+ # source://railties/7.1.3/lib/rails/engine.rb#412
def railtie_helpers_paths; end
- # source://railties/7.1.2/lib/rails/engine.rb#394
+ # source://railties/7.1.3/lib/rails/engine.rb#395
def railtie_namespace; end
- # source://railties/7.1.2/lib/rails/engine.rb#409
+ # source://railties/7.1.3/lib/rails/engine.rb#416
def railtie_routes_url_helpers(include_path_helpers = T.unsafe(nil)); end
- # source://railties/7.1.2/lib/rails/engine.rb#397
+ # source://railties/7.1.3/lib/rails/engine.rb#401
def table_name_prefix; end
- # source://railties/7.1.2/lib/rails/engine.rb#401
+ # source://railties/7.1.3/lib/rails/engine.rb#408
def use_relative_model_naming?; end
# Returns the currently loaded version of Action Text as a +Gem::Version+.
@@ -188,22 +188,22 @@ class ActionText::Attachables::ContentAttachment
extend ::ActiveModel::Validations::HelperMethods
extend ::ActiveModel::Conversion::ClassMethods
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_validate_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _validate_callbacks; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators?; end
# source://actiontext//lib/action_text/attachables/content_attachment.rb#18
@@ -233,10 +233,10 @@ class ActionText::Attachables::ContentAttachment
# source://actiontext//lib/action_text/attachables/content_attachment.rb#13
def content_type=(_arg0); end
- # source://activemodel/7.1.2/lib/active_model/naming.rb#255
+ # source://activemodel/7.1.3/lib/active_model/naming.rb#255
def model_name(&block); end
- # source://activemodel/7.1.2/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.3/lib/active_model/conversion.rb#32
def param_delimiter=(_arg0); end
# source://actiontext//lib/action_text/attachables/content_attachment.rb#22
@@ -248,7 +248,7 @@ class ActionText::Attachables::ContentAttachment
# source://actiontext//lib/action_text/attachables/content_attachment.rb#26
def to_s; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#67
def validation_context; end
private
@@ -256,44 +256,44 @@ class ActionText::Attachables::ContentAttachment
# source://actiontext//lib/action_text/attachables/content_attachment.rb#35
def content_instance; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#67
def validation_context=(_arg0); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _validate_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _validate_callbacks=(value); end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators=(value); end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators?; end
# source://actiontext//lib/action_text/attachables/content_attachment.rb#8
def from_node(node); end
- # source://activemodel/7.1.2/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.3/lib/active_model/conversion.rb#32
def param_delimiter; end
- # source://activemodel/7.1.2/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.3/lib/active_model/conversion.rb#32
def param_delimiter=(value); end
- # source://activemodel/7.1.2/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.3/lib/active_model/conversion.rb#32
def param_delimiter?; end
end
end
@@ -310,7 +310,7 @@ class ActionText::Attachables::MissingAttachable
# source://actiontext//lib/action_text/attachables/missing_attachable.rb#22
def model; end
- # source://activemodel/7.1.2/lib/active_model/naming.rb#255
+ # source://activemodel/7.1.3/lib/active_model/naming.rb#255
def model_name(&block); end
# source://actiontext//lib/action_text/attachables/missing_attachable.rb#14
@@ -342,7 +342,7 @@ class ActionText::Attachables::RemoteImage
# source://actiontext//lib/action_text/attachables/remote_image.rb#28
def height; end
- # source://activemodel/7.1.2/lib/active_model/naming.rb#255
+ # source://activemodel/7.1.3/lib/active_model/naming.rb#255
def model_name(&block); end
# source://actiontext//lib/action_text/attachables/remote_image.rb#41
@@ -413,7 +413,7 @@ class ActionText::Attachment
# source://actiontext//lib/action_text/attachment.rb#129
def inspect; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/delegation.rb#331
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/delegation.rb#331
def method_missing(method, *args, **_arg2, &block); end
# Returns the value of attribute node.
@@ -482,7 +482,7 @@ class ActionText::Attachment
# source://actiontext//lib/action_text/attachment.rb#134
def node_attributes; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/delegation.rb#323
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/delegation.rb#323
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
# source://actiontext//lib/action_text/attachment.rb#142
@@ -548,22 +548,22 @@ class ActionText::AttachmentGallery
# source://actiontext//lib/action_text/attachment_gallery.rb#52
def initialize(node); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_validate_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _validate_callbacks; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators?; end
# source://actiontext//lib/action_text/attachment_gallery.rb#56
@@ -572,7 +572,7 @@ class ActionText::AttachmentGallery
# source://actiontext//lib/action_text/attachment_gallery.rb#66
def inspect; end
- # source://activemodel/7.1.2/lib/active_model/naming.rb#255
+ # source://activemodel/7.1.3/lib/active_model/naming.rb#255
def model_name(&block); end
# Returns the value of attribute node.
@@ -580,43 +580,43 @@ class ActionText::AttachmentGallery
# source://actiontext//lib/action_text/attachment_gallery.rb#50
def node; end
- # source://activemodel/7.1.2/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.3/lib/active_model/conversion.rb#32
def param_delimiter=(_arg0); end
# source://actiontext//lib/action_text/attachment_gallery.rb#62
def size; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#67
def validation_context; end
private
- # source://activemodel/7.1.2/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#67
def validation_context=(_arg0); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _validate_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _validate_callbacks=(value); end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators=(value); end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators?; end
# source://actiontext//lib/action_text/attachment_gallery.rb#41
@@ -634,13 +634,13 @@ class ActionText::AttachmentGallery
# source://actiontext//lib/action_text/attachment_gallery.rb#37
def from_node(node); end
- # source://activemodel/7.1.2/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.3/lib/active_model/conversion.rb#32
def param_delimiter; end
- # source://activemodel/7.1.2/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.3/lib/active_model/conversion.rb#32
def param_delimiter=(value); end
- # source://activemodel/7.1.2/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.3/lib/active_model/conversion.rb#32
def param_delimiter?; end
# source://actiontext//lib/action_text/attachment_gallery.rb#45
@@ -868,10 +868,10 @@ class ActionText::Content
# source://actiontext//lib/action_text/content.rb#30
def fragment_by_canonicalizing_content(content); end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
def renderer; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
def renderer=(obj); end
end
end
@@ -909,16 +909,16 @@ class ActionText::EncryptedRichText < ::ActionText::RichText
include ::ActionText::EncryptedRichText::GeneratedAssociationMethods
class << self
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
- # source://activerecord/7.1.2/lib/active_record/attributes.rb#11
+ # source://activerecord/7.1.3/lib/active_record/attributes.rb#11
def attributes_to_define_after_schema_loads; end
- # source://activerecord/7.1.2/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.3/lib/active_record/enum.rb#167
def defined_enums; end
- # source://activerecord/7.1.2/lib/active_record/encryption/encryptable_record.rb#11
+ # source://activerecord/7.1.3/lib/active_record/encryption/encryptable_record.rb#11
def encrypted_attributes; end
end
end
@@ -954,7 +954,7 @@ end
# source://actiontext//lib/action_text/engine.rb#11
class ActionText::Engine < ::Rails::Engine
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
end
end
@@ -1162,10 +1162,10 @@ class ActionText::Record < ::ActiveRecord::Base
include ::ActionText::Record::GeneratedAssociationMethods
class << self
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
- # source://activerecord/7.1.2/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.3/lib/active_record/enum.rb#167
def defined_enums; end
end
end
@@ -1196,13 +1196,13 @@ class ActionText::RichText < ::ActionText::Record
include ::ActionText::RichText::GeneratedAttributeMethods
include ::ActionText::RichText::GeneratedAssociationMethods
- # source://activerecord/7.1.2/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.3/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_embeds_attachments(*args); end
- # source://activerecord/7.1.2/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.3/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_embeds_blobs(*args); end
- # source://activerecord/7.1.2/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.3/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_record(*args); end
def blank?(*_arg0, **_arg1, &_arg2); end
@@ -1213,83 +1213,83 @@ class ActionText::RichText < ::ActionText::Record
def to_s(*_arg0, **_arg1, &_arg2); end
def to_trix_html; end
- # source://activerecord/7.1.2/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.3/lib/active_record/autosave_association.rb#160
def validate_associated_records_for_embeds_attachments(*args); end
- # source://activerecord/7.1.2/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.3/lib/active_record/autosave_association.rb#160
def validate_associated_records_for_embeds_blobs(*args); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activerecord/7.1.2/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.3/lib/active_record/reflection.rb#11
def _reflections; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
- # source://activestorage/7.1.2/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.3/lib/active_storage/reflection.rb#53
def attachment_reflections; end
- # source://activerecord/7.1.2/lib/active_record/attributes.rb#11
+ # source://activerecord/7.1.3/lib/active_record/attributes.rb#11
def attributes_to_define_after_schema_loads; end
- # source://activerecord/7.1.2/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.3/lib/active_record/enum.rb#167
def defined_enums; end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def with_attached_embeds(*args, **_arg1); end
end
end
module ActionText::RichText::GeneratedAssociationMethods
- # source://activestorage/7.1.2/lib/active_storage/attached/model.rb#184
+ # source://activestorage/7.1.3/lib/active_storage/attached/model.rb#187
def embeds; end
- # source://activestorage/7.1.2/lib/active_storage/attached/model.rb#189
+ # source://activestorage/7.1.3/lib/active_storage/attached/model.rb#192
def embeds=(attachables); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/collection_association.rb#62
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/collection_association.rb#62
def embeds_attachment_ids; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/collection_association.rb#72
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/collection_association.rb#72
def embeds_attachment_ids=(ids); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#103
def embeds_attachments; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#111
def embeds_attachments=(value); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/collection_association.rb#62
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/collection_association.rb#62
def embeds_blob_ids; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/collection_association.rb#72
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/collection_association.rb#72
def embeds_blob_ids=(ids); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#103
def embeds_blobs; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#111
def embeds_blobs=(value); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#103
def record; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#111
def record=(value); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/belongs_to.rb#145
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/belongs_to.rb#145
def record_changed?; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/belongs_to.rb#149
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/belongs_to.rb#149
def record_previously_changed?; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#19
def reload_record; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#23
def reset_record; end
end
@@ -1425,216 +1425,216 @@ module ActionView::Helpers
mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
class << self
- # source://actionview/7.1.2/lib/action_view/helpers.rb#35
+ # source://actionview/7.1.3/lib/action_view/helpers.rb#35
def eager_load!; end
end
end
class ActionView::Helpers::FormBuilder
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1713
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1715
def initialize(object_name, object, template, options); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2640
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2644
def button(value = T.unsafe(nil), options = T.unsafe(nil), &block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2464
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2468
def check_box(method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_options_helper.rb#908
+ # source://actionview/7.1.3/lib/action_view/helpers/form_options_helper.rb#908
def collection_check_boxes(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_options_helper.rb#920
+ # source://actionview/7.1.3/lib/action_view/helpers/form_options_helper.rb#920
def collection_radio_buttons(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_options_helper.rb#860
+ # source://actionview/7.1.3/lib/action_view/helpers/form_options_helper.rb#860
def collection_select(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def color_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def date_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/date_helper.rb#1237
+ # source://actionview/7.1.3/lib/action_view/helpers/date_helper.rb#1237
def date_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def datetime_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def datetime_local_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/date_helper.rb#1261
+ # source://actionview/7.1.3/lib/action_view/helpers/date_helper.rb#1261
def datetime_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def email_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2661
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2665
def emitted_hidden_id?; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1678
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1680
def field_helpers; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1678
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1680
def field_helpers=(_arg0); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1678
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1680
def field_helpers?; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1770
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1772
def field_id(method, *suffixes, namespace: T.unsafe(nil), index: T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1790
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1792
def field_name(method, *methods, multiple: T.unsafe(nil), index: T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2320
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2322
def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2282
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2284
def fields_for(record_name, record_object = T.unsafe(nil), fields_options = T.unsafe(nil), &block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2547
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2551
def file_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_options_helper.rb#872
+ # source://actionview/7.1.3/lib/action_view/helpers/form_options_helper.rb#872
def grouped_collection_select(method, collection, group_method, group_label_method, option_key_method, option_value_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2508
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2512
def hidden_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1750
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1752
def id; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1690
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1692
def index; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2395
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2399
def label(method, text = T.unsafe(nil), options = T.unsafe(nil), &block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def month_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1690
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1692
def multipart; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1693
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1695
def multipart=(multipart); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1690
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1692
def multipart?; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def number_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1688
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1690
def object; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1688
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1690
def object=(_arg0); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1688
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1690
def object_name; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1688
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1690
def object_name=(_arg0); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1688
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1690
def options; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1688
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1690
def options=(_arg0); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def password_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def phone_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2486
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2490
def radio_button(method, tag_value, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def range_field(method, options = T.unsafe(nil)); end
def rich_text_area(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def search_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_options_helper.rb#848
+ # source://actionview/7.1.3/lib/action_view/helpers/form_options_helper.rb#848
def select(method, choices = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil), &block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2579
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2583
def submit(value = T.unsafe(nil), options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def telephone_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def text_area(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def text_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def time_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/date_helper.rb#1249
+ # source://actionview/7.1.3/lib/action_view/helpers/date_helper.rb#1249
def time_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_options_helper.rb#884
+ # source://actionview/7.1.3/lib/action_view/helpers/form_options_helper.rb#884
def time_zone_select(method, priority_zones = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1709
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1711
def to_model; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1705
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1707
def to_partial_path; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def url_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2021
def week_field(method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_options_helper.rb#896
+ # source://actionview/7.1.3/lib/action_view/helpers/form_options_helper.rb#896
def weekday_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
private
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2746
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2750
def convert_to_legacy_options(options); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2728
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2732
def fields_for_nested_model(name, object, fields_options, block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2699
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2703
def fields_for_with_nested_attributes(association_name, association, options, block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2695
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2699
def nested_attributes_association?(association_name); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2741
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2745
def nested_child_index(name); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2666
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2670
def objectify_options(options); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#2672
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#2676
def submit_default_value; end
class << self
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1701
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1703
def _to_partial_path; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1678
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1680
def field_helpers; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1678
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1680
def field_helpers=(value); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1678
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1680
def field_helpers?; end
end
end
@@ -1648,141 +1648,141 @@ module ActionView::Helpers::FormHelper
mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods
mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1584
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1586
def _object_for_form_builder(object); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1341
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1343
def check_box(object_name, method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1371
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1373
def color_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1435
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1437
def date_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1508
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1510
def datetime_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1508
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1510
def datetime_local_field(object_name, method, options = T.unsafe(nil)); end
def default_form_builder; end
def default_form_builder=(_arg0); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1562
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1564
def email_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1077
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1077
def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1026
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1026
def fields_for(record_name, record_object = T.unsafe(nil), options = T.unsafe(nil), &block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1243
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1245
def file_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#434
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#434
def form_for(record, options = T.unsafe(nil), &block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#755
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#755
def form_with(model: T.unsafe(nil), scope: T.unsafe(nil), url: T.unsafe(nil), format: T.unsafe(nil), **options, &block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#480
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#480
def form_with_generates_ids; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#480
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#480
def form_with_generates_ids=(val); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#478
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#478
def form_with_generates_remote_forms; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#478
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#478
def form_with_generates_remote_forms=(val); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1210
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1212
def hidden_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1147
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1149
def label(object_name, method, content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1527
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1529
def month_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#482
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#482
def multiple_file_field_include_hidden; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#482
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#482
def multiple_file_field_include_hidden=(val); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1571
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1573
def number_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1192
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1194
def password_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1403
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1405
def phone_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1363
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1365
def radio_button(object_name, method, tag_value, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1580
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1582
def range_field(object_name, method, options = T.unsafe(nil)); end
def rich_text_area(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1394
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1396
def search_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1403
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1405
def telephone_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1273
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1275
def text_area(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1171
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1173
def text_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1473
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1475
def time_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1553
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1555
def url_field(object_name, method, options = T.unsafe(nil)); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1544
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1546
def week_field(object_name, method, options = T.unsafe(nil)); end
private
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#464
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#464
def apply_form_for_options!(object, options); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1618
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1620
def default_form_builder_class; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1589
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1591
def html_options_for_form_with(url_for_options = T.unsafe(nil), model = T.unsafe(nil), html: T.unsafe(nil), local: T.unsafe(nil), skip_enforcing_utf8: T.unsafe(nil), **options); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#1604
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#1606
def instantiate_builder(record_name, record_object, options); end
class << self
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#480
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#480
def form_with_generates_ids; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#480
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#480
def form_with_generates_ids=(val); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#478
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#478
def form_with_generates_remote_forms; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#478
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#478
def form_with_generates_remote_forms=(val); end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#482
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#482
def multiple_file_field_include_hidden; end
- # source://actionview/7.1.2/lib/action_view/helpers/form_helper.rb#482
+ # source://actionview/7.1.3/lib/action_view/helpers/form_helper.rb#482
def multiple_file_field_include_hidden=(val); end
end
end
diff --git a/sorbet/rbi/gems/actionview@7.1.2.rbi b/sorbet/rbi/gems/actionview@7.1.3.rbi
similarity index 94%
rename from sorbet/rbi/gems/actionview@7.1.2.rbi
rename to sorbet/rbi/gems/actionview@7.1.3.rbi
index 0829ac7d9..a93cc4d15 100644
--- a/sorbet/rbi/gems/actionview@7.1.2.rbi
+++ b/sorbet/rbi/gems/actionview@7.1.3.rbi
@@ -12,247 +12,247 @@ class ActionController::Base < ::ActionController::Metal
include ::ActionController::BasicImplicitRender
extend ::AbstractController::Helpers::Resolution
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods=(_arg0); end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
# source://actionview//lib/action_view/layouts.rb#216
def _layout_conditions(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _process_action_callbacks; end
- # source://actionpack/7.1.2/lib/action_controller/metal/renderers.rb#31
+ # source://actionpack/7.1.3/lib/action_controller/metal/renderers.rb#31
def _renderers; end
- # source://actionpack/7.1.2/lib/action_controller/metal/renderers.rb#31
+ # source://actionpack/7.1.3/lib/action_controller/metal/renderers.rb#31
def _renderers=(_arg0); end
- # source://actionpack/7.1.2/lib/action_controller/metal/renderers.rb#31
+ # source://actionpack/7.1.3/lib/action_controller/metal/renderers.rb#31
def _renderers?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_process_action_callbacks(&block); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies; end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies=(_arg0); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies?; end
- # source://actionpack/7.1.2/lib/action_controller/metal/params_wrapper.rb#187
+ # source://actionpack/7.1.3/lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options; end
- # source://actionpack/7.1.2/lib/action_controller/metal/params_wrapper.rb#187
+ # source://actionpack/7.1.3/lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options=(_arg0); end
- # source://actionpack/7.1.2/lib/action_controller/metal/params_wrapper.rb#187
+ # source://actionpack/7.1.3/lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options?; end
- # source://actionpack/7.1.2/lib/action_controller/metal/flash.rb#36
+ # source://actionpack/7.1.3/lib/action_controller/metal/flash.rb#36
def alert; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def allow_forgery_protection; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def allow_forgery_protection=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def asset_host; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def asset_host=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def assets_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def assets_dir=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def csrf_token_storage_strategy; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def csrf_token_storage_strategy=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_asset_host_protocol; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_asset_host_protocol=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_protect_from_forgery; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_protect_from_forgery=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_static_extension; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_static_extension=(value); end
- # source://actionpack/7.1.2/lib/action_dispatch/routing/url_for.rb#97
+ # source://actionpack/7.1.3/lib/action_dispatch/routing/url_for.rb#97
def default_url_options; end
- # source://actionpack/7.1.2/lib/action_dispatch/routing/url_for.rb#97
+ # source://actionpack/7.1.3/lib/action_dispatch/routing/url_for.rb#97
def default_url_options=(_arg0); end
- # source://actionpack/7.1.2/lib/action_dispatch/routing/url_for.rb#97
+ # source://actionpack/7.1.3/lib/action_dispatch/routing/url_for.rb#97
def default_url_options?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def enable_fragment_cache_logging; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def enable_fragment_cache_logging=(value); end
- # source://actionpack/7.1.2/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.3/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest; end
- # source://actionpack/7.1.2/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.3/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest=(_arg0); end
- # source://actionpack/7.1.2/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.3/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest?; end
- # source://actionpack/7.1.2/lib/action_controller/metal/conditional_get.rb#13
+ # source://actionpack/7.1.3/lib/action_controller/metal/conditional_get.rb#13
def etaggers; end
- # source://actionpack/7.1.2/lib/action_controller/metal/conditional_get.rb#13
+ # source://actionpack/7.1.3/lib/action_controller/metal/conditional_get.rb#13
def etaggers=(_arg0); end
- # source://actionpack/7.1.2/lib/action_controller/metal/conditional_get.rb#13
+ # source://actionpack/7.1.3/lib/action_controller/metal/conditional_get.rb#13
def etaggers?; end
- # source://actionpack/7.1.2/lib/action_controller/metal/flash.rb#10
+ # source://actionpack/7.1.3/lib/action_controller/metal/flash.rb#10
def flash(*_arg0, **_arg1, &_arg2); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def forgery_protection_origin_check; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def forgery_protection_origin_check=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def forgery_protection_strategy; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def forgery_protection_strategy=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys; end
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys=(_arg0); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys?; end
- # source://actionpack/7.1.2/lib/action_controller/metal/helpers.rb#65
+ # source://actionpack/7.1.3/lib/action_controller/metal/helpers.rb#65
def helpers_path; end
- # source://actionpack/7.1.2/lib/action_controller/metal/helpers.rb#65
+ # source://actionpack/7.1.3/lib/action_controller/metal/helpers.rb#65
def helpers_path=(_arg0); end
- # source://actionpack/7.1.2/lib/action_controller/metal/helpers.rb#65
+ # source://actionpack/7.1.3/lib/action_controller/metal/helpers.rb#65
def helpers_path?; end
- # source://actionpack/7.1.2/lib/action_controller/metal/helpers.rb#66
+ # source://actionpack/7.1.3/lib/action_controller/metal/helpers.rb#66
def include_all_helpers; end
- # source://actionpack/7.1.2/lib/action_controller/metal/helpers.rb#66
+ # source://actionpack/7.1.3/lib/action_controller/metal/helpers.rb#66
def include_all_helpers=(_arg0); end
- # source://actionpack/7.1.2/lib/action_controller/metal/helpers.rb#66
+ # source://actionpack/7.1.3/lib/action_controller/metal/helpers.rb#66
def include_all_helpers?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def javascripts_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def javascripts_dir=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def log_warning_on_csrf_failure; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def log_warning_on_csrf_failure=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def logger=(value); end
- # source://actionpack/7.1.2/lib/action_controller/metal/flash.rb#36
+ # source://actionpack/7.1.3/lib/action_controller/metal/flash.rb#36
def notice; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def per_form_csrf_tokens; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def per_form_csrf_tokens=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def perform_caching; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def perform_caching=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.3/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions; end
- # source://actionpack/7.1.2/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.3/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions=(val); end
- # source://actionpack/7.1.2/lib/action_controller/metal/redirecting.rb#15
+ # source://actionpack/7.1.3/lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects; end
- # source://actionpack/7.1.2/lib/action_controller/metal/redirecting.rb#15
+ # source://actionpack/7.1.3/lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects=(val); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def relative_url_root; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def relative_url_root=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def request_forgery_protection_token; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def request_forgery_protection_token=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def stylesheets_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def stylesheets_dir=(value); end
private
@@ -260,47 +260,47 @@ class ActionController::Base < ::ActionController::Metal
# source://actionview//lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
- # source://actionpack/7.1.2/lib/action_controller/base.rb#252
+ # source://actionpack/7.1.3/lib/action_controller/base.rb#252
def _protected_ivars; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://actionpack/7.1.2/lib/action_controller/form_builder.rb#33
+ # source://actionpack/7.1.3/lib/action_controller/form_builder.rb#33
def _default_form_builder; end
- # source://actionpack/7.1.2/lib/action_controller/form_builder.rb#33
+ # source://actionpack/7.1.3/lib/action_controller/form_builder.rb#33
def _default_form_builder=(value); end
- # source://actionpack/7.1.2/lib/action_controller/form_builder.rb#33
+ # source://actionpack/7.1.3/lib/action_controller/form_builder.rb#33
def _default_form_builder?; end
- # source://actionpack/7.1.2/lib/action_controller/metal/flash.rb#8
+ # source://actionpack/7.1.3/lib/action_controller/metal/flash.rb#8
def _flash_types; end
- # source://actionpack/7.1.2/lib/action_controller/metal/flash.rb#8
+ # source://actionpack/7.1.3/lib/action_controller/metal/flash.rb#8
def _flash_types=(value); end
- # source://actionpack/7.1.2/lib/action_controller/metal/flash.rb#8
+ # source://actionpack/7.1.3/lib/action_controller/metal/flash.rb#8
def _flash_types?; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#16
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#16
def _helpers; end
# source://actionview//lib/action_view/layouts.rb#211
@@ -321,226 +321,226 @@ class ActionController::Base < ::ActionController::Metal
# source://actionview//lib/action_view/layouts.rb#212
def _layout_conditions?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _process_action_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _process_action_callbacks=(value); end
- # source://actionpack/7.1.2/lib/action_controller/metal/renderers.rb#31
+ # source://actionpack/7.1.3/lib/action_controller/metal/renderers.rb#31
def _renderers; end
- # source://actionpack/7.1.2/lib/action_controller/metal/renderers.rb#31
+ # source://actionpack/7.1.3/lib/action_controller/metal/renderers.rb#31
def _renderers=(value); end
- # source://actionpack/7.1.2/lib/action_controller/metal/renderers.rb#31
+ # source://actionpack/7.1.3/lib/action_controller/metal/renderers.rb#31
def _renderers?; end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies; end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching.rb#42
+ # source://actionpack/7.1.3/lib/abstract_controller/caching.rb#42
def _view_cache_dependencies?; end
- # source://actionpack/7.1.2/lib/action_controller/metal/params_wrapper.rb#187
+ # source://actionpack/7.1.3/lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options; end
- # source://actionpack/7.1.2/lib/action_controller/metal/params_wrapper.rb#187
+ # source://actionpack/7.1.3/lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options=(value); end
- # source://actionpack/7.1.2/lib/action_controller/metal/params_wrapper.rb#187
+ # source://actionpack/7.1.3/lib/action_controller/metal/params_wrapper.rb#187
def _wrapper_options?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def allow_forgery_protection; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def allow_forgery_protection=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def asset_host; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def asset_host=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def assets_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def assets_dir=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def csrf_token_storage_strategy; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def csrf_token_storage_strategy=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_asset_host_protocol; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_asset_host_protocol=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_protect_from_forgery; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_protect_from_forgery=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def default_static_extension; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def default_static_extension=(value); end
- # source://actionpack/7.1.2/lib/action_dispatch/routing/url_for.rb#97
+ # source://actionpack/7.1.3/lib/action_dispatch/routing/url_for.rb#97
def default_url_options; end
- # source://actionpack/7.1.2/lib/action_dispatch/routing/url_for.rb#97
+ # source://actionpack/7.1.3/lib/action_dispatch/routing/url_for.rb#97
def default_url_options=(value); end
- # source://actionpack/7.1.2/lib/action_dispatch/routing/url_for.rb#97
+ # source://actionpack/7.1.3/lib/action_dispatch/routing/url_for.rb#97
def default_url_options?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def enable_fragment_cache_logging; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def enable_fragment_cache_logging=(value); end
- # source://actionpack/7.1.2/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.3/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest; end
- # source://actionpack/7.1.2/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.3/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest=(value); end
- # source://actionpack/7.1.2/lib/action_controller/metal/etag_with_template_digest.rb#29
+ # source://actionpack/7.1.3/lib/action_controller/metal/etag_with_template_digest.rb#29
def etag_with_template_digest?; end
- # source://actionpack/7.1.2/lib/action_controller/metal/conditional_get.rb#13
+ # source://actionpack/7.1.3/lib/action_controller/metal/conditional_get.rb#13
def etaggers; end
- # source://actionpack/7.1.2/lib/action_controller/metal/conditional_get.rb#13
+ # source://actionpack/7.1.3/lib/action_controller/metal/conditional_get.rb#13
def etaggers=(value); end
- # source://actionpack/7.1.2/lib/action_controller/metal/conditional_get.rb#13
+ # source://actionpack/7.1.3/lib/action_controller/metal/conditional_get.rb#13
def etaggers?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def forgery_protection_origin_check; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def forgery_protection_origin_check=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def forgery_protection_strategy; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def forgery_protection_strategy=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys; end
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/caching/fragments.rb#25
+ # source://actionpack/7.1.3/lib/abstract_controller/caching/fragments.rb#25
def fragment_cache_keys?; end
- # source://actionpack/7.1.2/lib/action_controller/metal/helpers.rb#65
+ # source://actionpack/7.1.3/lib/action_controller/metal/helpers.rb#65
def helpers_path; end
- # source://actionpack/7.1.2/lib/action_controller/metal/helpers.rb#65
+ # source://actionpack/7.1.3/lib/action_controller/metal/helpers.rb#65
def helpers_path=(value); end
- # source://actionpack/7.1.2/lib/action_controller/metal/helpers.rb#65
+ # source://actionpack/7.1.3/lib/action_controller/metal/helpers.rb#65
def helpers_path?; end
- # source://actionpack/7.1.2/lib/action_controller/metal/helpers.rb#66
+ # source://actionpack/7.1.3/lib/action_controller/metal/helpers.rb#66
def include_all_helpers; end
- # source://actionpack/7.1.2/lib/action_controller/metal/helpers.rb#66
+ # source://actionpack/7.1.3/lib/action_controller/metal/helpers.rb#66
def include_all_helpers=(value); end
- # source://actionpack/7.1.2/lib/action_controller/metal/helpers.rb#66
+ # source://actionpack/7.1.3/lib/action_controller/metal/helpers.rb#66
def include_all_helpers?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def javascripts_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def javascripts_dir=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def log_warning_on_csrf_failure; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def log_warning_on_csrf_failure=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def logger; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def logger=(value); end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def per_form_csrf_tokens; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def per_form_csrf_tokens=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def perform_caching; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def perform_caching=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.3/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions; end
- # source://actionpack/7.1.2/lib/abstract_controller/callbacks.rb#36
+ # source://actionpack/7.1.3/lib/abstract_controller/callbacks.rb#36
def raise_on_missing_callback_actions=(val); end
- # source://actionpack/7.1.2/lib/action_controller/metal/redirecting.rb#15
+ # source://actionpack/7.1.3/lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects; end
- # source://actionpack/7.1.2/lib/action_controller/metal/redirecting.rb#15
+ # source://actionpack/7.1.3/lib/action_controller/metal/redirecting.rb#15
def raise_on_open_redirects=(val); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def relative_url_root; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def relative_url_root=(value); end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def request_forgery_protection_token; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def request_forgery_protection_token=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#115
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#115
def stylesheets_dir; end
- # source://activesupport/7.1.2/lib/active_support/configurable.rb#116
+ # source://activesupport/7.1.3/lib/active_support/configurable.rb#116
def stylesheets_dir=(value); end
- # source://actionpack/7.1.2/lib/action_controller/base.rb#184
+ # source://actionpack/7.1.3/lib/action_controller/base.rb#184
def without_modules(*modules); end
end
end
@@ -934,10 +934,10 @@ class ActionView::Base
# source://actionview//lib/action_view/base.rb#207
def assign(new_assigns); end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def assigns; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def assigns=(_arg0); end
# source://actionview//lib/action_view/base.rb#160
@@ -951,10 +951,10 @@ class ActionView::Base
# source://actionview//lib/action_view/base.rb#270
def compiled_method_container; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def config; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attr_internal.rb#33
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attr_internal.rb#33
def config=(_arg0); end
# source://actionview//lib/action_view/helpers/translation_helper.rb#18
@@ -1069,10 +1069,10 @@ class ActionView::Base
# source://actionview//lib/action_view/helpers/translation_helper.rb#18
def debug_missing_translation=(val); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2755
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2759
def default_form_builder; end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2755
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2759
def default_form_builder=(val); end
# source://actionview//lib/action_view/base.rb#157
@@ -4706,7 +4706,7 @@ class ActionView::Helpers::FormBuilder
# @return [FormBuilder] a new instance of FormBuilder
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1713
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1715
def initialize(object_name, object, template, options); end
# Add the submit button for the given form. When no value is given, it checks
@@ -4764,7 +4764,7 @@ class ActionView::Helpers::FormBuilder
# # Save as draft
# #
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#2640
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2644
def button(value = T.unsafe(nil), options = T.unsafe(nil), &block); end
# Returns a checkbox tag tailored for accessing a specified attribute (identified by +method+) on an object
@@ -4833,7 +4833,7 @@ class ActionView::Helpers::FormBuilder
# # =>
# #
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#2464
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2468
def check_box(method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
# Wraps ActionView::Helpers::FormOptionsHelper#collection_check_boxes for form builders:
@@ -4872,10 +4872,10 @@ class ActionView::Helpers::FormBuilder
# source://actionview//lib/action_view/helpers/form_options_helper.rb#860
def collection_select(method, collection, value_method, text_method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def color_field(method, options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def date_field(method, options = T.unsafe(nil)); end
# Wraps ActionView::Helpers::DateHelper#date_select for form builders:
@@ -4890,10 +4890,10 @@ class ActionView::Helpers::FormBuilder
# source://actionview//lib/action_view/helpers/date_helper.rb#1237
def date_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def datetime_field(method, options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def datetime_local_field(method, options = T.unsafe(nil)); end
# Wraps ActionView::Helpers::DateHelper#datetime_select for form builders:
@@ -4908,21 +4908,21 @@ class ActionView::Helpers::FormBuilder
# source://actionview//lib/action_view/helpers/date_helper.rb#1261
def datetime_select(method, options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def email_field(method, options = T.unsafe(nil)); end
# @return [Boolean]
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#2661
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2665
def emitted_hidden_id?; end
- # source://actionview//lib/action_view/helpers/form_helper.rb#1678
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1680
def field_helpers; end
- # source://actionview//lib/action_view/helpers/form_helper.rb#1678
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1680
def field_helpers=(_arg0); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#1678
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1680
def field_helpers?; end
# Generate an HTML id attribute value for the given field
@@ -4942,7 +4942,7 @@ class ActionView::Helpers::FormBuilder
# element, sharing a common id root (post_title, in this
# case).
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1770
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1772
def field_id(method, *suffixes, namespace: T.unsafe(nil), index: T.unsafe(nil)); end
# Generate an HTML name attribute value for the given name and
@@ -4953,20 +4953,20 @@ class ActionView::Helpers::FormBuilder
#
# <%= form_for @post do |f| %>
# <%= f.text_field :title, name: f.field_name(:title, :subtitle) %>
- # <%# =>
+ # <%# => %>
# <% end %>
#
# <%= form_for @post do |f| %>
# <%= f.text_field :tag, name: f.field_name(:tag, multiple: true) %>
- # <%# =>
+ # <%# => %>
# <% end %>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1790
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1792
def field_name(method, *methods, multiple: T.unsafe(nil), index: T.unsafe(nil)); end
# See the docs for the ActionView::Helpers::FormHelper#fields helper method.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#2320
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2322
def fields(scope = T.unsafe(nil), model: T.unsafe(nil), **options, &block); end
# Creates a scope around a specific model object like form_for, but
@@ -5223,7 +5223,7 @@ class ActionView::Helpers::FormBuilder
# hidden field is not needed and you can pass include_id: false
# to prevent fields_for from rendering it automatically.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#2282
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2284
def fields_for(record_name, record_object = T.unsafe(nil), fields_options = T.unsafe(nil), &block); end
# Returns a file upload input tag tailored for accessing a specified attribute (identified by +method+) on an object
@@ -5261,7 +5261,7 @@ class ActionView::Helpers::FormBuilder
# file_field(:file, class: 'file_input')
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#2547
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2551
def file_field(method, options = T.unsafe(nil)); end
# Wraps ActionView::Helpers::FormOptionsHelper#grouped_collection_select for form builders:
@@ -5294,7 +5294,7 @@ class ActionView::Helpers::FormBuilder
# hidden_field(:token)
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#2508
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2512
def hidden_field(method, options = T.unsafe(nil)); end
# Generate an HTML id attribute value.
@@ -5315,12 +5315,12 @@ class ActionView::Helpers::FormBuilder
# element should be treated as the
# element's submit button, regardless of where it exists in the DOM.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1750
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1752
def id; end
# Returns the value of attribute index.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1690
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1692
def index; end
# Returns a label tag tailored for labelling an input field for a specified attribute (identified by +method+) on an object
@@ -5355,6 +5355,8 @@ class ActionView::Helpers::FormBuilder
# post:
# cost: "Total cost"
#
+ #
+ #
# label(:cost)
# # =>
#
@@ -5390,68 +5392,68 @@ class ActionView::Helpers::FormBuilder
# end
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#2395
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2399
def label(method, text = T.unsafe(nil), options = T.unsafe(nil), &block); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def month_field(method, options = T.unsafe(nil)); end
# Returns the value of attribute multipart.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1690
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1692
def multipart; end
- # source://actionview//lib/action_view/helpers/form_helper.rb#1693
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1695
def multipart=(multipart); end
# Returns the value of attribute multipart.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1690
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1692
def multipart?; end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def number_field(method, options = T.unsafe(nil)); end
# Returns the value of attribute object.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1688
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1690
def object; end
# Sets the attribute object
#
# @param value the value to set the attribute object to.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1688
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1690
def object=(_arg0); end
# Returns the value of attribute object_name.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1688
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1690
def object_name; end
# Sets the attribute object_name
#
# @param value the value to set the attribute object_name to.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1688
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1690
def object_name=(_arg0); end
# Returns the value of attribute options.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1688
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1690
def options; end
# Sets the attribute options
#
# @param value the value to set the attribute options to.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1688
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1690
def options=(_arg0); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def password_field(method, options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def phone_field(method, options = T.unsafe(nil)); end
# Returns a radio button tag for accessing a specified attribute (identified by +method+) on an object
@@ -5473,15 +5475,15 @@ class ActionView::Helpers::FormBuilder
# # =>
# #
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#2486
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2490
def radio_button(method, tag_value, options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def range_field(method, options = T.unsafe(nil)); end
def rich_text_area(method, options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def search_field(method, options = T.unsafe(nil)); end
# Wraps ActionView::Helpers::FormOptionsHelper#select for form builders:
@@ -5523,19 +5525,19 @@ class ActionView::Helpers::FormBuilder
# post:
# create: "Add %{model}"
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#2579
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2583
def submit(value = T.unsafe(nil), options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def telephone_field(method, options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def text_area(method, options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def text_field(method, options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def time_field(method, options = T.unsafe(nil)); end
# Wraps ActionView::Helpers::DateHelper#time_select for form builders:
@@ -5562,16 +5564,16 @@ class ActionView::Helpers::FormBuilder
# source://actionview//lib/action_view/helpers/form_options_helper.rb#884
def time_zone_select(method, priority_zones = T.unsafe(nil), options = T.unsafe(nil), html_options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#1709
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1711
def to_model; end
- # source://actionview//lib/action_view/helpers/form_helper.rb#1705
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1707
def to_partial_path; end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def url_field(method, options = T.unsafe(nil)); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2019
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2021
def week_field(method, options = T.unsafe(nil)); end
# Wraps ActionView::Helpers::FormOptionsHelper#weekday_select for form builders:
@@ -5588,40 +5590,40 @@ class ActionView::Helpers::FormBuilder
private
- # source://actionview//lib/action_view/helpers/form_helper.rb#2746
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2750
def convert_to_legacy_options(options); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2728
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2732
def fields_for_nested_model(name, object, fields_options, block); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2699
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2703
def fields_for_with_nested_attributes(association_name, association, options, block); end
# @return [Boolean]
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#2695
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2699
def nested_attributes_association?(association_name); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2741
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2745
def nested_child_index(name); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2666
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2670
def objectify_options(options); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#2672
+ # source://actionview//lib/action_view/helpers/form_helper.rb#2676
def submit_default_value; end
class << self
- # source://actionview//lib/action_view/helpers/form_helper.rb#1701
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1703
def _to_partial_path; end
- # source://actionview//lib/action_view/helpers/form_helper.rb#1678
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1680
def field_helpers; end
- # source://actionview//lib/action_view/helpers/form_helper.rb#1678
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1680
def field_helpers=(value); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#1678
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1680
def field_helpers?; end
end
end
@@ -5735,7 +5737,7 @@ module ActionView::Helpers::FormHelper
mixes_in_class_methods ::ActionView::Helpers::UrlHelper::ClassMethods
mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
- # source://actionview//lib/action_view/helpers/form_helper.rb#1584
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1586
def _object_for_form_builder(object); end
# Returns a checkbox tag tailored for accessing a specified attribute (identified by +method+) on an object
@@ -5803,7 +5805,7 @@ module ActionView::Helpers::FormHelper
# # =>
# #
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1341
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1343
def check_box(object_name, method, options = T.unsafe(nil), checked_value = T.unsafe(nil), unchecked_value = T.unsafe(nil)); end
# Returns a text_field of type "color".
@@ -5811,7 +5813,7 @@ module ActionView::Helpers::FormHelper
# color_field("car", "color")
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1371
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1373
def color_field(object_name, method, options = T.unsafe(nil)); end
# Returns a text_field of type "date".
@@ -5840,7 +5842,7 @@ module ActionView::Helpers::FormHelper
# date_field("user", "born_on", min: "2014-05-20")
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1435
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1437
def date_field(object_name, method, options = T.unsafe(nil)); end
# Returns a text_field of type "datetime-local".
@@ -5875,7 +5877,7 @@ module ActionView::Helpers::FormHelper
# datetime_field("user", "born_on", include_seconds: false)
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1508
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1510
def datetime_field(object_name, method, options = T.unsafe(nil)); end
# Returns a text_field of type "datetime-local".
@@ -5910,7 +5912,7 @@ module ActionView::Helpers::FormHelper
# datetime_field("user", "born_on", include_seconds: false)
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1508
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1510
def datetime_local_field(object_name, method, options = T.unsafe(nil)); end
def default_form_builder; end
@@ -5921,7 +5923,7 @@ module ActionView::Helpers::FormHelper
# email_field("user", "address")
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1562
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1564
def email_field(object_name, method, options = T.unsafe(nil)); end
# Scopes input fields with either an explicit scope or model.
@@ -6198,8 +6200,8 @@ module ActionView::Helpers::FormHelper
# <% end %>
#
# When a collection is used you might want to know the index of each
- # object into the array. For this purpose, the index method
- # is available in the FormBuilder object.
+ # object in the array. For this purpose, the index method is
+ # available in the FormBuilder object.
#
# <%= form_for @person do |person_form| %>
# ...
@@ -6249,7 +6251,7 @@ module ActionView::Helpers::FormHelper
# file_field(:attachment, :file, class: 'file_input')
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1243
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1245
def file_field(object_name, method, options = T.unsafe(nil)); end
# Creates a form that allows the user to create or update the attributes
@@ -6872,7 +6874,7 @@ module ActionView::Helpers::FormHelper
# hidden_field(:user, :token)
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1210
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1212
def hidden_field(object_name, method, options = T.unsafe(nil)); end
# Returns a label tag tailored for labelling an input field for a specified attribute (identified by +method+) on an object
@@ -6907,6 +6909,8 @@ module ActionView::Helpers::FormHelper
# post:
# cost: "Total cost"
#
+ #
+ #
# label(:post, :cost)
# # =>
#
@@ -6934,7 +6938,7 @@ module ActionView::Helpers::FormHelper
# end
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1147
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1149
def label(object_name, method, content_or_options = T.unsafe(nil), options = T.unsafe(nil), &block); end
# Returns a text_field of type "month".
@@ -6950,7 +6954,7 @@ module ActionView::Helpers::FormHelper
# month_field("user", "born_on")
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1527
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1529
def month_field(object_name, method, options = T.unsafe(nil)); end
# source://actionview//lib/action_view/helpers/form_helper.rb#482
@@ -6965,7 +6969,7 @@ module ActionView::Helpers::FormHelper
#
# Supports the same options as FormTagHelper#number_field_tag.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1571
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1573
def number_field(object_name, method, options = T.unsafe(nil)); end
# Returns an input tag of the "password" type tailored for accessing a specified attribute (identified by +method+) on an object
@@ -6986,7 +6990,7 @@ module ActionView::Helpers::FormHelper
# password_field(:account, :pin, size: 20, class: 'form_input')
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1192
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1194
def password_field(object_name, method, options = T.unsafe(nil)); end
# Returns a text_field of type "tel".
@@ -6995,7 +6999,7 @@ module ActionView::Helpers::FormHelper
# # =>
# aliases telephone_field
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1403
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1405
def phone_field(object_name, method, options = T.unsafe(nil)); end
# Returns a radio button tag for accessing a specified attribute (identified by +method+) on an object
@@ -7017,7 +7021,7 @@ module ActionView::Helpers::FormHelper
# # =>
# #
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1363
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1365
def radio_button(object_name, method, tag_value, options = T.unsafe(nil)); end
# Returns an input tag of type "range".
@@ -7026,7 +7030,7 @@ module ActionView::Helpers::FormHelper
#
# Supports the same options as FormTagHelper#range_field_tag.
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1580
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1582
def range_field(object_name, method, options = T.unsafe(nil)); end
def rich_text_area(object_name, method, options = T.unsafe(nil)); end
@@ -7051,7 +7055,7 @@ module ActionView::Helpers::FormHelper
# search_field(:user, :name, autosave: true, onsearch: true)
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1394
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1396
def search_field(object_name, method, options = T.unsafe(nil)); end
# Returns a text_field of type "tel".
@@ -7059,7 +7063,7 @@ module ActionView::Helpers::FormHelper
# telephone_field("user", "phone")
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1403
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1405
def telephone_field(object_name, method, options = T.unsafe(nil)); end
# Returns a textarea opening and closing tag set tailored for accessing a specified attribute (identified by +method+)
@@ -7087,7 +7091,7 @@ module ActionView::Helpers::FormHelper
# # #{@entry.body}
# #
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1273
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1275
def text_area(object_name, method, options = T.unsafe(nil)); end
# Returns an input tag of the "text" type tailored for accessing a specified attribute (identified by +method+) on an object
@@ -7111,7 +7115,7 @@ module ActionView::Helpers::FormHelper
# text_field(:snippet, :code, size: 20, class: 'code_input')
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1171
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1173
def text_field(object_name, method, options = T.unsafe(nil)); end
# Returns a text_field of type "time".
@@ -7149,7 +7153,7 @@ module ActionView::Helpers::FormHelper
# time_field("task", "started_at", value: Time.now, include_seconds: false)
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1473
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1475
def time_field(object_name, method, options = T.unsafe(nil)); end
# Returns a text_field of type "url".
@@ -7157,7 +7161,7 @@ module ActionView::Helpers::FormHelper
# url_field("user", "homepage")
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1553
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1555
def url_field(object_name, method, options = T.unsafe(nil)); end
# Returns a text_field of type "week".
@@ -7173,7 +7177,7 @@ module ActionView::Helpers::FormHelper
# week_field("user", "born_on")
# # =>
#
- # source://actionview//lib/action_view/helpers/form_helper.rb#1544
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1546
def week_field(object_name, method, options = T.unsafe(nil)); end
private
@@ -7181,13 +7185,13 @@ module ActionView::Helpers::FormHelper
# source://actionview//lib/action_view/helpers/form_helper.rb#464
def apply_form_for_options!(object, options); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#1618
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1620
def default_form_builder_class; end
- # source://actionview//lib/action_view/helpers/form_helper.rb#1589
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1591
def html_options_for_form_with(url_for_options = T.unsafe(nil), model = T.unsafe(nil), html: T.unsafe(nil), local: T.unsafe(nil), skip_enforcing_utf8: T.unsafe(nil), **options); end
- # source://actionview//lib/action_view/helpers/form_helper.rb#1604
+ # source://actionview//lib/action_view/helpers/form_helper.rb#1606
def instantiate_builder(record_name, record_object, options); end
class << self
@@ -8169,11 +8173,11 @@ module ActionView::Helpers::FormTagHelper
# attribute name.
#
# <%= label_tag :post, :title %>
- # <%= text_field_tag :post, :title, aria: { describedby: field_id(:post, :title, :error) } %>
+ # <%= text_field :post, :title, aria: { describedby: field_id(:post, :title, :error) } %>
# <%= tag.span("is blank", id: field_id(:post, :title, :error) %>
#
# In the example above, the element built by
- # the call to text_field_tag declares an
+ # the call to text_field declares an
# aria-describedby attribute referencing the
# element, sharing a common id root (post_title, in this
# case).
@@ -8187,11 +8191,11 @@ module ActionView::Helpers::FormTagHelper
# Return the value generated by the FormBuilder for the given
# attribute name.
#
- # <%= text_field_tag :post, :title, name: field_name(:post, :title, :subtitle) %>
- # <%# =>
+ # <%= text_field :post, :title, name: field_name(:post, :title, :subtitle) %>
+ # <%# => %>
#
- # <%= text_field_tag :post, :tag, name: field_name(:post, :tag, multiple: true) %>
- # <%# =>
+ # <%= text_field :post, :tag, name: field_name(:post, :tag, multiple: true) %>
+ # <%# => %>
#
# source://actionview//lib/action_view/helpers/form_tag_helper.rb#132
def field_name(object_name, method_name, *method_names, multiple: T.unsafe(nil), index: T.unsafe(nil)); end
@@ -8935,407 +8939,107 @@ ActionView::Helpers::JavaScriptHelper::JS_ESCAPE_MAP = T.let(T.unsafe(nil), Hash
#
# source://actionview//lib/action_view/helpers/number_helper.rb#17
module ActionView::Helpers::NumberHelper
- # Formats a +number+ into a currency string (e.g., $13.65). You
- # can customize the format in the +options+ hash.
+ # Delegates to ActiveSupport::NumberHelper#number_to_currency.
#
- # The currency unit and number formatting of the current locale will be used
- # unless otherwise specified in the provided options. No currency conversion
- # is performed. If the user is given a way to change their locale, they will
- # also be able to change the relative value of the currency displayed with
- # this helper. If your application will ever support multiple locales, you
- # may want to specify a constant :locale option or consider
- # using a library capable of currency conversion.
+ # Additionally, supports a +:raise+ option that will cause
+ # InvalidNumberError to be raised if +number+ is not a valid number:
#
- # ==== Options
- #
- # * :locale - Sets the locale to be used for formatting
- # (defaults to current locale).
- # * :precision - Sets the level of precision (defaults
- # to 2).
- # * :unit - Sets the denomination of the currency
- # (defaults to "$").
- # * :separator - Sets the separator between the units
- # (defaults to ".").
- # * :delimiter - Sets the thousands delimiter (defaults
- # to ",").
- # * :format - Sets the format for non-negative numbers
- # (defaults to "%u%n"). Fields are %u for the
- # currency, and %n for the number.
- # * :negative_format - Sets the format for negative
- # numbers (defaults to prepending a hyphen to the formatted
- # number given by :format). Accepts the same fields
- # than :format, except %n is here the
- # absolute value of the number.
- # * :raise - If true, raises +InvalidNumberError+ when
- # the argument is invalid.
- # * :strip_insignificant_zeros - If +true+ removes
- # insignificant zeros after the decimal separator (defaults to
- # +false+).
- #
- # ==== Examples
+ # number_to_currency("12x34") # => "$12x34"
+ # number_to_currency("12x34", raise: true) # => InvalidNumberError
#
- # number_to_currency(1234567890.50) # => $1,234,567,890.50
- # number_to_currency(1234567890.506) # => $1,234,567,890.51
- # number_to_currency(1234567890.506, precision: 3) # => $1,234,567,890.506
- # number_to_currency(1234567890.506, locale: :fr) # => 1 234 567 890,51 €
- # number_to_currency("123a456") # => $123a456
- #
- # number_to_currency("123a456", raise: true) # => InvalidNumberError
- #
- # number_to_currency(-0.456789, precision: 0)
- # # => "$0"
- # number_to_currency(-1234567890.50, negative_format: "(%u%n)")
- # # => ($1,234,567,890.50)
- # number_to_currency(1234567890.50, unit: "R$", separator: ",", delimiter: "")
- # # => R$1234567890,50
- # number_to_currency(1234567890.50, unit: "R$", separator: ",", delimiter: "", format: "%n %u")
- # # => 1234567890,50 R$
- # number_to_currency(1234567890.50, strip_insignificant_zeros: true)
- # # => "$1,234,567,890.5"
- #
- # source://actionview//lib/action_view/helpers/number_helper.rb#128
+ # source://actionview//lib/action_view/helpers/number_helper.rb#51
def number_to_currency(number, options = T.unsafe(nil)); end
- # Pretty prints (formats and approximates) a number in a way it
- # is more readable by humans (e.g.: 1200000000 becomes "1.2
- # Billion"). This is useful for numbers that can get very large
- # (and too hard to read).
+ # Delegates to ActiveSupport::NumberHelper#number_to_human.
#
- # See number_to_human_size if you want to print a file
- # size.
- #
- # You can also define your own unit-quantifier names if you want
- # to use other decimal units (e.g.: 1500 becomes "1.5
- # kilometers", 0.150 becomes "150 milliliters", etc). You may
- # define a wide range of unit quantifiers, even fractional ones
- # (centi, deci, mili, etc).
- #
- # ==== Options
+ # Additionally, supports a +:raise+ option that will cause
+ # InvalidNumberError to be raised if +number+ is not a valid number:
#
- # * :locale - Sets the locale to be used for formatting
- # (defaults to current locale).
- # * :precision - Sets the precision of the number
- # (defaults to 3).
- # * :significant - If +true+, precision will be the number
- # of significant_digits. If +false+, the number of fractional
- # digits (defaults to +true+)
- # * :separator - Sets the separator between the
- # fractional and integer digits (defaults to ".").
- # * :delimiter - Sets the thousands delimiter (defaults
- # to "").
- # * :strip_insignificant_zeros - If +true+ removes
- # insignificant zeros after the decimal separator (defaults to
- # +true+)
- # * :units - A Hash of unit quantifier names. Or a
- # string containing an i18n scope where to find this hash. It
- # might have the following keys:
- # * *integers*: :unit, :ten,
- # :hundred, :thousand, :million,
- # :billion, :trillion,
- # :quadrillion
- # * *fractionals*: :deci, :centi,
- # :mili, :micro, :nano,
- # :pico, :femto
- # * :format - Sets the format of the output string
- # (defaults to "%n %u"). The field types are:
- # * %u - The quantifier (ex.: 'thousand')
- # * %n - The number
- # * :raise - If true, raises +InvalidNumberError+ when
- # the argument is invalid.
+ # number_to_human("12x34") # => "12x34"
+ # number_to_human("12x34", raise: true) # => InvalidNumberError
#
- # ==== Examples
- #
- # number_to_human(123) # => "123"
- # number_to_human(1234) # => "1.23 Thousand"
- # number_to_human(12345) # => "12.3 Thousand"
- # number_to_human(1234567) # => "1.23 Million"
- # number_to_human(1234567890) # => "1.23 Billion"
- # number_to_human(1234567890123) # => "1.23 Trillion"
- # number_to_human(1234567890123456) # => "1.23 Quadrillion"
- # number_to_human(1234567890123456789) # => "1230 Quadrillion"
- # number_to_human(489939, precision: 2) # => "490 Thousand"
- # number_to_human(489939, precision: 4) # => "489.9 Thousand"
- # number_to_human(1234567, precision: 4,
- # significant: false) # => "1.2346 Million"
- # number_to_human(1234567, precision: 1,
- # separator: ',',
- # significant: false) # => "1,2 Million"
- #
- # number_to_human(500000000, precision: 5) # => "500 Million"
- # number_to_human(12345012345, significant: false) # => "12.345 Billion"
- #
- # Non-significant zeros after the decimal separator are stripped
- # out by default (set :strip_insignificant_zeros to
- # +false+ to change that):
- #
- # number_to_human(12.00001) # => "12"
- # number_to_human(12.00001, strip_insignificant_zeros: false) # => "12.0"
- #
- # ==== Custom Unit Quantifiers
- #
- # You can also use your own custom unit quantifiers:
- #
- # number_to_human(500000, units: {unit: "ml", thousand: "lt"}) # => "500 lt"
- #
- # If in your I18n locale you have:
- # distance:
- # centi:
- # one: "centimeter"
- # other: "centimeters"
- # unit:
- # one: "meter"
- # other: "meters"
- # thousand:
- # one: "kilometer"
- # other: "kilometers"
- # billion: "gazillion-distance"
- #
- # Then you could do:
- #
- # number_to_human(543934, units: :distance) # => "544 kilometers"
- # number_to_human(54393498, units: :distance) # => "54400 kilometers"
- # number_to_human(54393498000, units: :distance) # => "54.4 gazillion-distance"
- # number_to_human(343, units: :distance, precision: 1) # => "300 meters"
- # number_to_human(1, units: :distance) # => "1 meter"
- # number_to_human(0.34, units: :distance) # => "34 centimeters"
- #
- # source://actionview//lib/action_view/helpers/number_helper.rb#405
+ # source://actionview//lib/action_view/helpers/number_helper.rb#111
def number_to_human(number, options = T.unsafe(nil)); end
- # Formats the bytes in +number+ into a more understandable
- # representation (e.g., giving it 1500 yields 1.46 KB). This
- # method is useful for reporting file sizes to users. You can
- # customize the format in the +options+ hash.
- #
- # See number_to_human if you want to pretty-print a
- # generic number.
+ # Delegates to ActiveSupport::NumberHelper#number_to_human_size.
#
- # ==== Options
- #
- # * :locale - Sets the locale to be used for formatting
- # (defaults to current locale).
- # * :precision - Sets the precision of the number
- # (defaults to 3).
- # * :significant - If +true+, precision will be the number
- # of significant_digits. If +false+, the number of fractional
- # digits (defaults to +true+)
- # * :separator - Sets the separator between the
- # fractional and integer digits (defaults to ".").
- # * :delimiter - Sets the thousands delimiter (defaults
- # to "").
- # * :strip_insignificant_zeros - If +true+ removes
- # insignificant zeros after the decimal separator (defaults to
- # +true+)
- # * :raise - If true, raises +InvalidNumberError+ when
- # the argument is invalid.
+ # Additionally, supports a +:raise+ option that will cause
+ # InvalidNumberError to be raised if +number+ is not a valid number:
#
- # ==== Examples
+ # number_to_human_size("12x34") # => "12x34"
+ # number_to_human_size("12x34", raise: true) # => InvalidNumberError
#
- # number_to_human_size(123) # => 123 Bytes
- # number_to_human_size(1234) # => 1.21 KB
- # number_to_human_size(12345) # => 12.1 KB
- # number_to_human_size(1234567) # => 1.18 MB
- # number_to_human_size(1234567890) # => 1.15 GB
- # number_to_human_size(1234567890123) # => 1.12 TB
- # number_to_human_size(1234567890123456) # => 1.1 PB
- # number_to_human_size(1234567890123456789) # => 1.07 EB
- # number_to_human_size(1234567, precision: 2) # => 1.2 MB
- # number_to_human_size(483989, precision: 2) # => 470 KB
- # number_to_human_size(1234567, precision: 2, separator: ',') # => 1,2 MB
- # number_to_human_size(1234567890123, precision: 5) # => "1.1228 TB"
- # number_to_human_size(524288000, precision: 5) # => "500 MB"
- #
- # source://actionview//lib/action_view/helpers/number_helper.rb#298
+ # source://actionview//lib/action_view/helpers/number_helper.rb#99
def number_to_human_size(number, options = T.unsafe(nil)); end
- # Formats a +number+ as a percentage string (e.g., 65%). You can
- # customize the format in the +options+ hash.
+ # Delegates to ActiveSupport::NumberHelper#number_to_percentage.
#
- # ==== Options
- #
- # * :locale - Sets the locale to be used for formatting
- # (defaults to current locale).
- # * :precision - Sets the precision of the number
- # (defaults to 3).
- # * :significant - If +true+, precision will be the number
- # of significant_digits. If +false+, the number of fractional
- # digits (defaults to +false+).
- # * :separator - Sets the separator between the
- # fractional and integer digits (defaults to ".").
- # * :delimiter - Sets the thousands delimiter (defaults
- # to "").
- # * :strip_insignificant_zeros - If +true+ removes
- # insignificant zeros after the decimal separator (defaults to
- # +false+).
- # * :format - Specifies the format of the percentage
- # string The number field is %n (defaults to "%n%").
- # * :raise - If true, raises +InvalidNumberError+ when
- # the argument is invalid.
- #
- # ==== Examples
+ # Additionally, supports a +:raise+ option that will cause
+ # InvalidNumberError to be raised if +number+ is not a valid number:
#
- # number_to_percentage(100) # => 100.000%
- # number_to_percentage("98") # => 98.000%
- # number_to_percentage(100, precision: 0) # => 100%
- # number_to_percentage(1000, delimiter: '.', separator: ',') # => 1.000,000%
- # number_to_percentage(302.24398923423, precision: 5) # => 302.24399%
- # number_to_percentage(1000, locale: :fr) # => 1 000,000%
- # number_to_percentage("98a") # => 98a%
- # number_to_percentage(100, format: "%n %") # => 100.000 %
+ # number_to_percentage("99x") # => "99x%"
+ # number_to_percentage("99x", raise: true) # => InvalidNumberError
#
- # number_to_percentage("98a", raise: true) # => InvalidNumberError
- #
- # source://actionview//lib/action_view/helpers/number_helper.rb#168
+ # source://actionview//lib/action_view/helpers/number_helper.rb#63
def number_to_percentage(number, options = T.unsafe(nil)); end
- # Formats a +number+ into a phone number (US by default e.g., (555)
- # 123-9876). You can customize the format in the +options+ hash.
+ # Delegates to ActiveSupport::NumberHelper#number_to_phone.
#
- # ==== Options
+ # Additionally, supports a +:raise+ option that will cause
+ # InvalidNumberError to be raised if +number+ is not a valid number:
#
- # * :area_code - Adds parentheses around the area code.
- # * :delimiter - Specifies the delimiter to use
- # (defaults to "-").
- # * :extension - Specifies an extension to add to the
- # end of the generated number.
- # * :country_code - Sets the country code for the phone
- # number.
- # * :pattern - Specifies how the number is divided into three
- # groups with the custom regexp to override the default format.
- # * :raise - If true, raises +InvalidNumberError+ when
- # the argument is invalid.
+ # number_to_phone("12x34") # => "12x34"
+ # number_to_phone("12x34", raise: true) # => InvalidNumberError
#
- # ==== Examples
- #
- # number_to_phone(5551234) # => 555-1234
- # number_to_phone("5551234") # => 555-1234
- # number_to_phone(1235551234) # => 123-555-1234
- # number_to_phone(1235551234, area_code: true) # => (123) 555-1234
- # number_to_phone(1235551234, delimiter: " ") # => 123 555 1234
- # number_to_phone(1235551234, area_code: true, extension: 555) # => (123) 555-1234 x 555
- # number_to_phone(1235551234, country_code: 1) # => +1-123-555-1234
- # number_to_phone("123a456") # => 123a456
- # number_to_phone("1234a567", raise: true) # => InvalidNumberError
- #
- # number_to_phone(1235551234, country_code: 1, extension: 1343, delimiter: ".")
- # # => +1.123.555.1234 x 1343
- #
- # number_to_phone(75561234567, pattern: /(\d{1,4})(\d{4})(\d{4})$/, area_code: true)
- # # => "(755) 6123-4567"
- # number_to_phone(13312345678, pattern: /(\d{3})(\d{4})(\d{4})$/)
- # # => "133-1234-5678"
- #
- # source://actionview//lib/action_view/helpers/number_helper.rb#63
+ # source://actionview//lib/action_view/helpers/number_helper.rb#35
def number_to_phone(number, options = T.unsafe(nil)); end
- # Formats a +number+ with grouped thousands using +delimiter+
- # (e.g., 12,324). You can customize the format in the +options+
- # hash.
+ # Delegates to ActiveSupport::NumberHelper#number_to_delimited.
#
- # ==== Options
- #
- # * :locale - Sets the locale to be used for formatting
- # (defaults to current locale).
- # * :delimiter - Sets the thousands delimiter (defaults
- # to ",").
- # * :separator - Sets the separator between the
- # fractional and integer digits (defaults to ".").
- # * :delimiter_pattern - Sets a custom regular expression used for
- # deriving the placement of delimiter. Helpful when using currency formats
- # like INR.
- # * :raise - If true, raises +InvalidNumberError+ when
- # the argument is invalid.
- #
- # ==== Examples
+ # Additionally, supports a +:raise+ option that will cause
+ # InvalidNumberError to be raised if +number+ is not a valid number:
#
- # number_with_delimiter(12345678) # => 12,345,678
- # number_with_delimiter("123456") # => 123,456
- # number_with_delimiter(12345678.05) # => 12,345,678.05
- # number_with_delimiter(12345678, delimiter: ".") # => 12.345.678
- # number_with_delimiter(12345678, delimiter: ",") # => 12,345,678
- # number_with_delimiter(12345678.05, separator: " ") # => 12,345,678 05
- # number_with_delimiter(12345678.05, locale: :fr) # => 12 345 678,05
- # number_with_delimiter("112a") # => 112a
- # number_with_delimiter(98765432.98, delimiter: " ", separator: ",")
- # # => 98 765 432,98
+ # number_with_delimiter("12x34") # => "12x34"
+ # number_with_delimiter("12x34", raise: true) # => InvalidNumberError
#
- # number_with_delimiter("123456.78",
- # delimiter_pattern: /(\d+?)(?=(\d\d)+(\d)(?!\d))/) # => "1,23,456.78"
- #
- # number_with_delimiter("112a", raise: true) # => raise InvalidNumberError
- #
- # source://actionview//lib/action_view/helpers/number_helper.rb#207
+ # source://actionview//lib/action_view/helpers/number_helper.rb#75
def number_with_delimiter(number, options = T.unsafe(nil)); end
- # Formats a +number+ with the specified level of
- # :precision (e.g., 112.32 has a precision of 2 if
- # +:significant+ is +false+, and 5 if +:significant+ is +true+).
- # You can customize the format in the +options+ hash.
+ # Delegates to ActiveSupport::NumberHelper#number_to_rounded.
#
- # ==== Options
+ # Additionally, supports a +:raise+ option that will cause
+ # InvalidNumberError to be raised if +number+ is not a valid number:
#
- # * :locale - Sets the locale to be used for formatting
- # (defaults to current locale).
- # * :precision - Sets the precision of the number
- # (defaults to 3).
- # * :significant - If +true+, precision will be the number
- # of significant_digits. If +false+, the number of fractional
- # digits (defaults to +false+).
- # * :separator - Sets the separator between the
- # fractional and integer digits (defaults to ".").
- # * :delimiter - Sets the thousands delimiter (defaults
- # to "").
- # * :strip_insignificant_zeros - If +true+ removes
- # insignificant zeros after the decimal separator (defaults to
- # +false+).
- # * :raise - If true, raises +InvalidNumberError+ when
- # the argument is invalid.
+ # number_with_precision("12x34") # => "12x34"
+ # number_with_precision("12x34", raise: true) # => InvalidNumberError
#
- # ==== Examples
- #
- # number_with_precision(111.2345) # => 111.235
- # number_with_precision(111.2345, precision: 2) # => 111.23
- # number_with_precision(13, precision: 5) # => 13.00000
- # number_with_precision(389.32314, precision: 0) # => 389
- # number_with_precision(111.2345, significant: true) # => 111
- # number_with_precision(111.2345, precision: 1, significant: true) # => 100
- # number_with_precision(13, precision: 5, significant: true) # => 13.000
- # number_with_precision(111.234, locale: :fr) # => 111,234
- #
- # number_with_precision(13, precision: 5, significant: true, strip_insignificant_zeros: true)
- # # => 13
- #
- # number_with_precision(389.32314, precision: 4, significant: true) # => 389.3
- # number_with_precision(1111.2345, precision: 2, separator: ',', delimiter: '.')
- # # => 1.111,23
- #
- # source://actionview//lib/action_view/helpers/number_helper.rb#252
+ # source://actionview//lib/action_view/helpers/number_helper.rb#87
def number_with_precision(number, options = T.unsafe(nil)); end
private
- # source://actionview//lib/action_view/helpers/number_helper.rb#410
+ # source://actionview//lib/action_view/helpers/number_helper.rb#116
def delegate_number_helper_method(method, number, options); end
- # source://actionview//lib/action_view/helpers/number_helper.rb#429
+ # source://actionview//lib/action_view/helpers/number_helper.rb#135
def escape_units(units); end
- # source://actionview//lib/action_view/helpers/number_helper.rb#419
+ # source://actionview//lib/action_view/helpers/number_helper.rb#125
def escape_unsafe_options(options); end
# @raise [InvalidNumberError]
#
- # source://actionview//lib/action_view/helpers/number_helper.rb#452
+ # source://actionview//lib/action_view/helpers/number_helper.rb#158
def parse_float(number, raise_error); end
# @return [Boolean]
#
- # source://actionview//lib/action_view/helpers/number_helper.rb#448
+ # source://actionview//lib/action_view/helpers/number_helper.rb#154
def valid_float?(number); end
# @raise [InvalidNumberError]
#
- # source://actionview//lib/action_view/helpers/number_helper.rb#435
+ # source://actionview//lib/action_view/helpers/number_helper.rb#141
def wrap_with_output_safety_handling(number, raise_on_invalid, &block); end
end
@@ -9497,11 +9201,11 @@ module ActionView::Helpers::SanitizeHelper
# Sanitizes HTML input, stripping all but known-safe tags and attributes.
#
- # It also strips href/src attributes with unsafe protocols like javascript:, while
+ # It also strips +href+ / +src+ attributes with unsafe protocols like +javascript:+, while
# also protecting against attempts to use Unicode, ASCII, and hex character references to work
# around these protocol filters.
#
- # The default sanitizer is Rails::HTML5::SafeListSanitizer. See {Rails HTML
+ # The default sanitizer is +Rails::HTML5::SafeListSanitizer+. See {Rails HTML
# Sanitizers}[https://github.com/rails/rails-html-sanitizer] for more information.
#
# Custom sanitization rules can also be provided.
@@ -9511,24 +9215,29 @@ module ActionView::Helpers::SanitizeHelper
#
# ==== Options
#
- # * :tags - An array of allowed tags.
- # * :attributes - An array of allowed attributes.
- # * :scrubber - A {Rails::HTML scrubber}[https://github.com/rails/rails-html-sanitizer]
+ # [+:tags+]
+ # An array of allowed tags.
+ #
+ # [+:attributes+]
+ # An array of allowed attributes.
+ #
+ # [+:scrubber+]
+ # A {Rails::HTML scrubber}[https://github.com/rails/rails-html-sanitizer]
# or {Loofah::Scrubber}[https://github.com/flavorjones/loofah] object that
# defines custom sanitization rules. A custom scrubber takes precedence over
# custom tags and attributes.
#
# ==== Examples
#
- # Normal use:
+ # ===== Normal use
#
# <%= sanitize @comment.body %>
#
- # Providing custom lists of permitted tags and attributes:
+ # ===== Providing custom lists of permitted tags and attributes
#
# <%= sanitize @comment.body, tags: %w(strong em a), attributes: %w(href) %>
#
- # Providing a custom Rails::HTML scrubber:
+ # ===== Providing a custom +Rails::HTML+ scrubber
#
# class CommentScrubber < Rails::HTML::PermitScrubber
# def initialize
@@ -9542,21 +9251,27 @@ module ActionView::Helpers::SanitizeHelper
# end
# end
#
+ #
+ #
# <%= sanitize @comment.body, scrubber: CommentScrubber.new %>
#
# See {Rails HTML Sanitizer}[https://github.com/rails/rails-html-sanitizer] for
- # documentation about Rails::HTML scrubbers.
+ # documentation about +Rails::HTML+ scrubbers.
#
- # Providing a custom Loofah::Scrubber:
+ # ===== Providing a custom +Loofah::Scrubber+
#
# scrubber = Loofah::Scrubber.new do |node|
# node.remove if node.name == 'script'
# end
#
+ #
+ #
# <%= sanitize @comment.body, scrubber: scrubber %>
#
# See {Loofah's documentation}[https://github.com/flavorjones/loofah] for more
- # information about defining custom Loofah::Scrubber objects.
+ # information about defining custom +Loofah::Scrubber+ objects.
+ #
+ # ==== Global Configuration
#
# To set the default allowed tags or attributes across your application:
#
@@ -9577,15 +9292,15 @@ module ActionView::Helpers::SanitizeHelper
# # In config/application.rb
# config.action_view.sanitizer_vendor = Rails::HTML5::Sanitizer
#
- # NOTE: Rails::HTML5::Sanitizer is not supported on JRuby, so on JRuby platforms \Rails will
- # fall back to use Rails::HTML4::Sanitizer.
+ # NOTE: +Rails::HTML5::Sanitizer+ is not supported on JRuby, so on JRuby platforms \Rails will
+ # fall back to using +Rails::HTML4::Sanitizer+.
#
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#100
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#111
def sanitize(html, options = T.unsafe(nil)); end
- # Sanitizes a block of CSS code. Used by +sanitize+ when it comes across a style attribute.
+ # Sanitizes a block of CSS code. Used by #sanitize when it comes across a style attribute.
#
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#105
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#116
def sanitize_css(style); end
# source://actionview//lib/action_view/helpers/sanitize_helper.rb#12
@@ -9608,7 +9323,7 @@ module ActionView::Helpers::SanitizeHelper
# strip_links('<malformed & link')
# # => <malformed & link
#
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#139
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#150
def strip_links(html); end
# Strips all HTML tags from +html+, including comments and special characters.
@@ -9625,7 +9340,7 @@ module ActionView::Helpers::SanitizeHelper
# strip_tags("> A quote from Smith & Wesson")
# # => > A quote from Smith & Wesson
#
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#122
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#133
def strip_tags(html); end
class << self
@@ -9637,7 +9352,7 @@ module ActionView::Helpers::SanitizeHelper
end
end
-# source://actionview//lib/action_view/helpers/sanitize_helper.rb#143
+# source://actionview//lib/action_view/helpers/sanitize_helper.rb#154
module ActionView::Helpers::SanitizeHelper::ClassMethods
# Gets the Rails::HTML::FullSanitizer instance used by +strip_tags+. Replace with
# any object that responds to +sanitize+.
@@ -9646,14 +9361,14 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods
# config.action_view.full_sanitizer = MySpecialSanitizer.new
# end
#
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#164
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#175
def full_sanitizer; end
# Sets the attribute full_sanitizer
#
# @param value the value to set the attribute full_sanitizer to.
#
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#144
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#155
def full_sanitizer=(_arg0); end
# Gets the Rails::HTML::LinkSanitizer instance used by +strip_links+.
@@ -9663,14 +9378,14 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods
# config.action_view.link_sanitizer = MySpecialSanitizer.new
# end
#
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#174
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#185
def link_sanitizer; end
# Sets the attribute link_sanitizer
#
# @param value the value to set the attribute link_sanitizer to.
#
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#144
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#155
def link_sanitizer=(_arg0); end
# Gets the Rails::HTML::SafeListSanitizer instance used by sanitize and +sanitize_css+.
@@ -9680,17 +9395,17 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods
# config.action_view.safe_list_sanitizer = MySpecialSanitizer.new
# end
#
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#184
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#195
def safe_list_sanitizer; end
# Sets the attribute safe_list_sanitizer
#
# @param value the value to set the attribute safe_list_sanitizer to.
#
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#144
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#155
def safe_list_sanitizer=(_arg0); end
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#154
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#165
def sanitized_allowed_attributes; end
# source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#34
@@ -9714,7 +9429,7 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods
# source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48
def sanitized_allowed_protocols=(_); end
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#150
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#161
def sanitized_allowed_tags; end
# source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#24
@@ -9744,7 +9459,7 @@ module ActionView::Helpers::SanitizeHelper::ClassMethods
# source://rails-html-sanitizer/1.6.0/lib/rails-html-sanitizer.rb#48
def sanitized_uri_attributes=(_); end
- # source://actionview//lib/action_view/helpers/sanitize_helper.rb#146
+ # source://actionview//lib/action_view/helpers/sanitize_helper.rb#157
def sanitizer_vendor; end
private
@@ -10722,41 +10437,44 @@ module ActionView::Helpers::TextHelper
mixes_in_class_methods ::ActionView::Helpers::SanitizeHelper::ClassMethods
# The preferred method of outputting text in your views is to use the
- # <%= "text" %> eRuby syntax. The regular _puts_ and _print_ methods
+ # <%= "text" %> eRuby syntax. The regular +puts+ and +print+ methods
# do not operate as expected in an eRuby code block. If you absolutely must
- # output text within a non-output code block (i.e., <% %>), you can use the concat method.
+ # output text within a non-output code block (i.e., <% %>), you
+ # can use the +concat+ method.
#
- # <%
- # concat "hello"
- # # is the equivalent of <%= "hello" %>
+ # <% concat "hello" %> is equivalent to <%= "hello" %>
#
- # if logged_in
- # concat "Logged in!"
- # else
- # concat link_to('login', action: :login)
- # end
- # # will either display "Logged in!" or a login link
+ # <%
+ # unless signed_in?
+ # concat link_to("Sign In", action: :sign_in)
+ # end
# %>
#
- # source://actionview//lib/action_view/helpers/text_helper.rb#59
+ # is equivalent to
+ #
+ # <% unless signed_in? %>
+ # <%= link_to "Sign In", action: :sign_in %>
+ # <% end %>
+ #
+ # source://actionview//lib/action_view/helpers/text_helper.rb#63
def concat(string); end
# Returns the current cycle string after a cycle has been started. Useful
# for complex table highlighting or any other design need which requires
# the current cycle string in more than one place.
#
- # # Alternate background colors
- # @items = [1,2,3,4]
+ # <%# Alternate background colors %>
+ # <% @items = [1,2,3,4] %>
# <% @items.each do |item| %>
#
Once upon a time in a wo..."
#
# truncate("Once upon a time in a world far far away") { link_to "Continue", "#" }
- # # => "Once upon a time in a wo...Continue"
+ # # => "Once upon a time in a world...Continue"
#
- # source://actionview//lib/action_view/helpers/text_helper.rb#99
+ # source://actionview//lib/action_view/helpers/text_helper.rb#122
def truncate(text, options = T.unsafe(nil), &block); end
# Wraps the +text+ into lines no longer than +line_width+ width. This method
@@ -10993,74 +10761,74 @@ module ActionView::Helpers::TextHelper
# (which is 80 by default).
#
# word_wrap('Once upon a time')
- # # => Once upon a time
+ # # => "Once upon a time"
#
# word_wrap('Once upon a time, in a kingdom called Far Far Away, a king fell ill, and finding a successor to the throne turned out to be more trouble than anyone could have imagined...')
- # # => Once upon a time, in a kingdom called Far Far Away, a king fell ill, and finding\na successor to the throne turned out to be more trouble than anyone could have\nimagined...
+ # # => "Once upon a time, in a kingdom called Far Far Away, a king fell ill, and finding\na successor to the throne turned out to be more trouble than anyone could have\nimagined..."
#
# word_wrap('Once upon a time', line_width: 8)
- # # => Once\nupon a\ntime
+ # # => "Once\nupon a\ntime"
#
# word_wrap('Once upon a time', line_width: 1)
- # # => Once\nupon\na\ntime
+ # # => "Once\nupon\na\ntime"
#
- # You can also specify a custom +break_sequence+ ("\n" by default)
+ # You can also specify a custom +break_sequence+ ("\n" by default):
#
# word_wrap('Once upon a time', line_width: 1, break_sequence: "\r\n")
- # # => Once\r\nupon\r\na\r\ntime
+ # # => "Once\r\nupon\r\na\r\ntime"
#
- # source://actionview//lib/action_view/helpers/text_helper.rb#268
+ # source://actionview//lib/action_view/helpers/text_helper.rb#320
def word_wrap(text, line_width: T.unsafe(nil), break_sequence: T.unsafe(nil)); end
private
- # source://actionview//lib/action_view/helpers/text_helper.rb#484
+ # source://actionview//lib/action_view/helpers/text_helper.rb#540
def cut_excerpt_part(part_position, part, separator, options); end
# The cycle helpers need to store the cycles in a place that is
# guaranteed to be reset every time a page is rendered, so it
# uses an instance variable of ActionView::Base.
#
- # source://actionview//lib/action_view/helpers/text_helper.rb#466
+ # source://actionview//lib/action_view/helpers/text_helper.rb#522
def get_cycle(name); end
- # source://actionview//lib/action_view/helpers/text_helper.rb#471
+ # source://actionview//lib/action_view/helpers/text_helper.rb#527
def set_cycle(name, cycle_object); end
- # source://actionview//lib/action_view/helpers/text_helper.rb#476
+ # source://actionview//lib/action_view/helpers/text_helper.rb#532
def split_paragraphs(text); end
end
-# source://actionview//lib/action_view/helpers/text_helper.rb#426
+# source://actionview//lib/action_view/helpers/text_helper.rb#482
class ActionView::Helpers::TextHelper::Cycle
# @return [Cycle] a new instance of Cycle
#
- # source://actionview//lib/action_view/helpers/text_helper.rb#429
+ # source://actionview//lib/action_view/helpers/text_helper.rb#485
def initialize(first_value, *values); end
- # source://actionview//lib/action_view/helpers/text_helper.rb#438
+ # source://actionview//lib/action_view/helpers/text_helper.rb#494
def current_value; end
- # source://actionview//lib/action_view/helpers/text_helper.rb#434
+ # source://actionview//lib/action_view/helpers/text_helper.rb#490
def reset; end
- # source://actionview//lib/action_view/helpers/text_helper.rb#442
+ # source://actionview//lib/action_view/helpers/text_helper.rb#498
def to_s; end
# Returns the value of attribute values.
#
- # source://actionview//lib/action_view/helpers/text_helper.rb#427
+ # source://actionview//lib/action_view/helpers/text_helper.rb#483
def values; end
private
- # source://actionview//lib/action_view/helpers/text_helper.rb#449
+ # source://actionview//lib/action_view/helpers/text_helper.rb#505
def next_index; end
- # source://actionview//lib/action_view/helpers/text_helper.rb#453
+ # source://actionview//lib/action_view/helpers/text_helper.rb#509
def previous_index; end
- # source://actionview//lib/action_view/helpers/text_helper.rb#457
+ # source://actionview//lib/action_view/helpers/text_helper.rb#513
def step_index(n); end
end
@@ -12011,7 +11779,7 @@ end
# The template will be looked always in app/views/layouts/ folder. But you can point
# layouts folder direct also. layout "layouts/demo" is the same as layout "demo".
#
-# Setting the layout to +nil+ forces it to be looked up in the filesystem and fallbacks to the parent behavior if none exists.
+# Setting the layout to +nil+ forces it to be looked up in the filesystem and falls back to the parent behavior if none exists.
# Setting it to +nil+ is useful to re-enable template lookup overriding a previous configuration set in the parent:
#
# class ApplicationController < ActionController::Base
@@ -12023,7 +11791,7 @@ end
# end
#
# class CommentsController < ApplicationController
-# # Will search for "comments" layout and fallback "application" layout
+# # Will search for "comments" layout and fall back to "application" layout
# layout nil
# end
#
@@ -12255,7 +12023,7 @@ class ActionView::LogSubscriber < ::ActiveSupport::LogSubscriber
# source://actionview//lib/action_view/log_subscriber.rb#101
def attach_to(*_arg0); end
- # source://activesupport/7.1.2/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.3/lib/active_support/log_subscriber.rb#87
def log_levels; end
end
end
@@ -13158,7 +12926,7 @@ end
# source://actionview//lib/action_view/railtie.rb#8
class ActionView::Railtie < ::Rails::Engine
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
end
end
@@ -14334,7 +14102,7 @@ end
module ActionView::RoutingUrlFor
include ::ActionDispatch::Routing::PolymorphicRoutes
- # source://actionpack/7.1.2/lib/action_dispatch/routing/url_for.rb#99
+ # source://actionpack/7.1.3/lib/action_dispatch/routing/url_for.rb#99
def default_url_options=(val); end
# Returns the URL for the set of +options+ provided. This takes the
@@ -14436,7 +14204,7 @@ module ActionView::RoutingUrlFor
def optimize_routes_generation?; end
class << self
- # source://actionpack/7.1.2/lib/action_dispatch/routing/url_for.rb#99
+ # source://actionpack/7.1.3/lib/action_dispatch/routing/url_for.rb#99
def default_url_options=(val); end
end
end
@@ -15525,13 +15293,13 @@ class ActionView::TestCase < ::ActiveSupport::TestCase
extend ::ActiveSupport::Testing::ConstantLookup::ClassMethods
extend ::ActionView::TestCase::Behavior::ClassMethods
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods=(_arg0); end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
# source://actionview//lib/action_view/helpers/translation_helper.rb#18
@@ -15541,19 +15309,19 @@ class ActionView::TestCase < ::ActiveSupport::TestCase
def debug_missing_translation=(val); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods=(value); end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods?; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#16
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#16
def _helpers; end
# source://actionview//lib/action_view/test_case.rb#201
@@ -15872,15 +15640,6 @@ module ActionView::TestCase::Behavior::ClassMethods
def include_helper_modules!; end
end
-# source://actionview//lib/action_view/test_case.rb#302
-class ActionView::TestCase::Behavior::Content < ::SimpleDelegator
- # source://actionview//lib/action_view/test_case.rb#150
- def html; end
-
- # source://actionview//lib/action_view/test_case.rb#150
- def json; end
-end
-
# source://actionview//lib/action_view/test_case.rb#370
ActionView::TestCase::Behavior::INTERNAL_IVARS = T.let(T.unsafe(nil), Array)
@@ -15902,6 +15661,15 @@ module ActionView::TestCase::Behavior::Locals
def rendered_views=(_arg0); end
end
+# source://actionview//lib/action_view/test_case.rb#302
+class ActionView::TestCase::Behavior::RenderedViewContent < ::String
+ # source://actionview//lib/action_view/test_case.rb#150
+ def html; end
+
+ # source://actionview//lib/action_view/test_case.rb#150
+ def json; end
+end
+
# Need to experiment if this priority is the best one: rendered => output_buffer
#
# source://actionview//lib/action_view/test_case.rb#306
@@ -16003,7 +15771,7 @@ class ActionView::TestCase::TestController < ::ActionController::Base
# source://actionview//lib/action_view/test_case.rb#23
def controller_path=(_arg0); end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
diff --git a/sorbet/rbi/gems/activejob@7.1.2.rbi b/sorbet/rbi/gems/activejob@7.1.3.rbi
similarity index 95%
rename from sorbet/rbi/gems/activejob@7.1.2.rbi
rename to sorbet/rbi/gems/activejob@7.1.3.rbi
index ad3878f6c..f3b8a5297 100644
--- a/sorbet/rbi/gems/activejob@7.1.2.rbi
+++ b/sorbet/rbi/gems/activejob@7.1.3.rbi
@@ -76,63 +76,60 @@ module ActiveJob::Arguments
private
- # source://activejob//lib/active_job/arguments.rb#193
+ # source://activejob//lib/active_job/arguments.rb#201
def convert_to_global_id_hash(argument); end
# @return [Boolean]
#
- # source://activejob//lib/active_job/arguments.rb#140
+ # source://activejob//lib/active_job/arguments.rb#148
def custom_serialized?(hash); end
- # source://activejob//lib/active_job/arguments.rb#111
+ # source://activejob//lib/active_job/arguments.rb#119
def deserialize_argument(argument); end
- # source://activejob//lib/active_job/arguments.rb#136
+ # source://activejob//lib/active_job/arguments.rb#144
def deserialize_global_id(hash); end
- # source://activejob//lib/active_job/arguments.rb#150
+ # source://activejob//lib/active_job/arguments.rb#158
def deserialize_hash(serialized_hash); end
- # source://activejob//lib/active_job/arguments.rb#73
+ # source://activejob//lib/active_job/arguments.rb#71
def serialize_argument(argument); end
- # source://activejob//lib/active_job/arguments.rb#144
+ # source://activejob//lib/active_job/arguments.rb#152
def serialize_hash(argument); end
- # source://activejob//lib/active_job/arguments.rb#163
+ # source://activejob//lib/active_job/arguments.rb#171
def serialize_hash_key(key); end
- # source://activejob//lib/active_job/arguments.rb#174
+ # source://activejob//lib/active_job/arguments.rb#182
def serialize_indifferent_hash(indifferent_hash); end
# @return [Boolean]
#
- # source://activejob//lib/active_job/arguments.rb#132
+ # source://activejob//lib/active_job/arguments.rb#140
def serialized_global_id?(hash); end
- # source://activejob//lib/active_job/arguments.rb#180
+ # source://activejob//lib/active_job/arguments.rb#188
def transform_symbol_keys(hash, symbol_keys); end
end
-# source://activejob//lib/active_job/arguments.rb#52
+# source://activejob//lib/active_job/arguments.rb#50
ActiveJob::Arguments::GLOBALID_KEY = T.let(T.unsafe(nil), String)
-# source://activejob//lib/active_job/arguments.rb#60
+# source://activejob//lib/active_job/arguments.rb#58
ActiveJob::Arguments::OBJECT_SERIALIZER_KEY = T.let(T.unsafe(nil), String)
-# source://activejob//lib/active_job/arguments.rb#50
-ActiveJob::Arguments::PERMITTED_TYPES = T.let(T.unsafe(nil), Array)
-
-# source://activejob//lib/active_job/arguments.rb#63
+# source://activejob//lib/active_job/arguments.rb#61
ActiveJob::Arguments::RESERVED_KEYS = T.let(T.unsafe(nil), Array)
-# source://activejob//lib/active_job/arguments.rb#56
+# source://activejob//lib/active_job/arguments.rb#54
ActiveJob::Arguments::RUBY2_KEYWORDS_KEY = T.let(T.unsafe(nil), String)
-# source://activejob//lib/active_job/arguments.rb#54
+# source://activejob//lib/active_job/arguments.rb#52
ActiveJob::Arguments::SYMBOL_KEYS_KEY = T.let(T.unsafe(nil), String)
-# source://activejob//lib/active_job/arguments.rb#58
+# source://activejob//lib/active_job/arguments.rb#56
ActiveJob::Arguments::WITH_INDIFFERENT_ACCESS_KEY = T.let(T.unsafe(nil), String)
# = Active Job \Base
@@ -213,22 +210,22 @@ class ActiveJob::Base
extend ::Sidekiq::Job::Options::ClassMethods
extend ::ActiveJob::TestHelper::TestQueueAdapter::ClassMethods
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _enqueue_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _perform_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_enqueue_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_perform_callbacks(&block); end
# source://activejob//lib/active_job/exceptions.rb#12
@@ -258,13 +255,13 @@ class ActiveJob::Base
# source://activejob//lib/active_job/queue_name.rb#57
def queue_name_prefix?; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://sidekiq/7.2.0/lib/sidekiq/job.rb#137
@@ -286,25 +283,25 @@ class ActiveJob::Base
def sidekiq_retry_in_block=(_arg0); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _enqueue_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _enqueue_callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _perform_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _perform_callbacks=(value); end
# source://activejob//lib/active_job/queue_adapter.rb#24
@@ -385,13 +382,13 @@ class ActiveJob::Base
# source://activejob//lib/active_job/queue_name.rb#57
def queue_name_prefix?; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers=(value); end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers?; end
# source://activejob//lib/active_job/exceptions.rb#11
@@ -458,16 +455,16 @@ module ActiveJob::Callbacks
mixes_in_class_methods ::ActiveJob::Callbacks::ClassMethods
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _execute_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_execute_callbacks(&block); end
end
@@ -495,7 +492,8 @@ module ActiveJob::Callbacks::ClassMethods
# queue_as :default
#
# after_enqueue do |job|
- # $statsd.increment "enqueue-video-job.success"
+ # result = job.successfully_enqueued? ? "success" : "failure"
+ # $statsd.increment "enqueue-video-job.#{result}"
# end
#
# def perform(video_id)
@@ -503,7 +501,7 @@ module ActiveJob::Callbacks::ClassMethods
# end
# end
#
- # source://activejob//lib/active_job/callbacks.rb#143
+ # source://activejob//lib/active_job/callbacks.rb#144
def after_enqueue(*filters, &blk); end
# Defines a callback that will get called right after the
@@ -541,7 +539,7 @@ module ActiveJob::Callbacks::ClassMethods
# end
# end
#
- # source://activejob//lib/active_job/callbacks.rb#164
+ # source://activejob//lib/active_job/callbacks.rb#165
def around_enqueue(*filters, &blk); end
# Defines a callback that will get called around the job's perform method.
@@ -1272,7 +1270,7 @@ class ActiveJob::LogSubscriber < ::ActiveSupport::LogSubscriber
# source://activejob//lib/active_job/log_subscriber.rb#7
def backtrace_cleaner?; end
- # source://activesupport/7.1.2/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.3/lib/active_support/log_subscriber.rb#87
def log_levels; end
end
end
@@ -2268,16 +2266,22 @@ class ActiveJob::Serializers::TimeSerializer < ::ActiveJob::Serializers::TimeObj
end
# source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#5
-class ActiveJob::Serializers::TimeWithZoneSerializer < ::ActiveJob::Serializers::TimeObjectSerializer
- # source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#6
+class ActiveJob::Serializers::TimeWithZoneSerializer < ::ActiveJob::Serializers::ObjectSerializer
+ # source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#15
def deserialize(hash); end
+ # source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#8
+ def serialize(time_with_zone); end
+
private
- # source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#11
+ # source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#20
def klass; end
end
+# source://activejob//lib/active_job/serializers/time_with_zone_serializer.rb#6
+ActiveJob::Serializers::TimeWithZoneSerializer::NANO_PRECISION = T.let(T.unsafe(nil), Integer)
+
# source://activejob//lib/active_job/test_case.rb#6
class ActiveJob::TestCase < ::ActiveSupport::TestCase
include ::ActiveJob::TestHelper
@@ -2289,7 +2293,7 @@ end
module ActiveJob::TestHelper
include ::ActiveSupport::Testing::Assertions
- # source://activejob//lib/active_job/test_helper.rb#51
+ # source://activejob//lib/active_job/test_helper.rb#53
def after_teardown; end
# Asserts that the number of enqueued jobs matches the given number.
@@ -2346,7 +2350,7 @@ module ActiveJob::TestHelper
# end
# end
#
- # source://activejob//lib/active_job/test_helper.rb#118
+ # source://activejob//lib/active_job/test_helper.rb#120
def assert_enqueued_jobs(number, only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end
# Asserts that the job has been enqueued with the given arguments.
@@ -2402,7 +2406,7 @@ module ActiveJob::TestHelper
# end
# end
#
- # source://activejob//lib/active_job/test_helper.rb#394
+ # source://activejob//lib/active_job/test_helper.rb#396
def assert_enqueued_with(job: T.unsafe(nil), args: T.unsafe(nil), at: T.unsafe(nil), queue: T.unsafe(nil), priority: T.unsafe(nil), &block); end
# Asserts that no jobs have been enqueued.
@@ -2452,7 +2456,7 @@ module ActiveJob::TestHelper
#
# assert_enqueued_jobs 0, &block
#
- # source://activejob//lib/active_job/test_helper.rb#180
+ # source://activejob//lib/active_job/test_helper.rb#182
def assert_no_enqueued_jobs(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end
# Asserts that no jobs have been performed.
@@ -2508,7 +2512,7 @@ module ActiveJob::TestHelper
#
# assert_performed_jobs 0, &block
#
- # source://activejob//lib/active_job/test_helper.rb#338
+ # source://activejob//lib/active_job/test_helper.rb#340
def assert_no_performed_jobs(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end
# Asserts that the number of performed jobs matches the given number.
@@ -2598,7 +2602,7 @@ module ActiveJob::TestHelper
# end
# end
#
- # source://activejob//lib/active_job/test_helper.rb#270
+ # source://activejob//lib/active_job/test_helper.rb#272
def assert_performed_jobs(number, only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end
# Asserts that the job has been performed with the given arguments.
@@ -2658,10 +2662,10 @@ module ActiveJob::TestHelper
# end
# end
#
- # source://activejob//lib/active_job/test_helper.rb#496
+ # source://activejob//lib/active_job/test_helper.rb#498
def assert_performed_with(job: T.unsafe(nil), args: T.unsafe(nil), at: T.unsafe(nil), queue: T.unsafe(nil), priority: T.unsafe(nil), &block); end
- # source://activejob//lib/active_job/test_helper.rb#39
+ # source://activejob//lib/active_job/test_helper.rb#41
def before_setup; end
# source://activejob//lib/active_job/test_helper.rb#9
@@ -2732,7 +2736,7 @@ module ActiveJob::TestHelper
# If queue_adapter_for_test is overridden to return a different adapter,
# +perform_enqueued_jobs+ will merely execute the block.
#
- # source://activejob//lib/active_job/test_helper.rb#604
+ # source://activejob//lib/active_job/test_helper.rb#606
def perform_enqueued_jobs(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), at: T.unsafe(nil), &block); end
# source://activejob//lib/active_job/test_helper.rb#9
@@ -2747,7 +2751,7 @@ module ActiveJob::TestHelper
# assert_instance_of CustomQueueAdapter, HelloJob.queue_adapter
# end
#
- # source://activejob//lib/active_job/test_helper.rb#642
+ # source://activejob//lib/active_job/test_helper.rb#644
def queue_adapter; end
# Returns a queue adapter instance to use with all Active Job test helpers.
@@ -2755,52 +2759,52 @@ module ActiveJob::TestHelper
# Override this method to specify a different adapter. The adapter must
# implement the same interface as ActiveJob::QueueAdapters::TestAdapter.
#
- # source://activejob//lib/active_job/test_helper.rb#61
+ # source://activejob//lib/active_job/test_helper.rb#63
def queue_adapter_for_test; end
private
- # source://activejob//lib/active_job/test_helper.rb#651
+ # source://activejob//lib/active_job/test_helper.rb#653
def clear_enqueued_jobs; end
- # source://activejob//lib/active_job/test_helper.rb#655
+ # source://activejob//lib/active_job/test_helper.rb#657
def clear_performed_jobs; end
- # source://activejob//lib/active_job/test_helper.rb#720
+ # source://activejob//lib/active_job/test_helper.rb#722
def deserialize_args_for_assertion(job); end
- # source://activejob//lib/active_job/test_helper.rb#691
+ # source://activejob//lib/active_job/test_helper.rb#693
def enqueued_jobs_with(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), at: T.unsafe(nil), &block); end
- # source://activejob//lib/active_job/test_helper.rb#685
+ # source://activejob//lib/active_job/test_helper.rb#687
def filter_as_proc(filter); end
- # source://activejob//lib/active_job/test_helper.rb#699
+ # source://activejob//lib/active_job/test_helper.rb#701
def flush_enqueued_jobs(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), at: T.unsafe(nil)); end
- # source://activejob//lib/active_job/test_helper.rb#727
+ # source://activejob//lib/active_job/test_helper.rb#729
def instantiate_job(payload, skip_deserialize_arguments: T.unsafe(nil)); end
- # source://activejob//lib/active_job/test_helper.rb#659
+ # source://activejob//lib/active_job/test_helper.rb#661
def jobs_with(jobs, only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), at: T.unsafe(nil)); end
- # source://activejob//lib/active_job/test_helper.rb#695
+ # source://activejob//lib/active_job/test_helper.rb#697
def performed_jobs_with(only: T.unsafe(nil), except: T.unsafe(nil), queue: T.unsafe(nil), &block); end
- # source://activejob//lib/active_job/test_helper.rb#707
+ # source://activejob//lib/active_job/test_helper.rb#709
def prepare_args_for_assertion(args); end
- # source://activejob//lib/active_job/test_helper.rb#734
+ # source://activejob//lib/active_job/test_helper.rb#736
def queue_adapter_changed_jobs; end
# @return [Boolean]
#
- # source://activejob//lib/active_job/test_helper.rb#647
+ # source://activejob//lib/active_job/test_helper.rb#649
def using_test_adapter?; end
# @raise [ArgumentError]
#
- # source://activejob//lib/active_job/test_helper.rb#741
+ # source://activejob//lib/active_job/test_helper.rb#743
def validate_option(only: T.unsafe(nil), except: T.unsafe(nil)); end
end
diff --git a/sorbet/rbi/gems/activemodel@7.1.2.rbi b/sorbet/rbi/gems/activemodel@7.1.3.rbi
similarity index 99%
rename from sorbet/rbi/gems/activemodel@7.1.2.rbi
rename to sorbet/rbi/gems/activemodel@7.1.3.rbi
index fc3b05913..8c06a4f4e 100644
--- a/sorbet/rbi/gems/activemodel@7.1.2.rbi
+++ b/sorbet/rbi/gems/activemodel@7.1.3.rbi
@@ -2257,7 +2257,7 @@ class ActiveModel::Errors
#
# @return [Errors] a new instance of Errors
#
- # source://activemodel//lib/active_model/errors.rb#91
+ # source://activemodel//lib/active_model/errors.rb#117
def initialize(base); end
# When passed a symbol or a name of a method, returns an array of errors
@@ -2266,7 +2266,7 @@ class ActiveModel::Errors
# person.errors[:name] # => ["cannot be nil"]
# person.errors['name'] # => ["cannot be nil"]
#
- # source://activemodel//lib/active_model/errors.rb#203
+ # source://activemodel//lib/active_model/errors.rb#229
def [](attribute); end
# Adds a new error of +type+ on +attribute+.
@@ -2319,7 +2319,7 @@ class ActiveModel::Errors
# person.errors.details
# # => {:base=>[{error: :name_or_email_blank}]}
#
- # source://activemodel//lib/active_model/errors.rb#316
+ # source://activemodel//lib/active_model/errors.rb#342
def add(attribute, type = T.unsafe(nil), **options); end
# Returns +true+ if an error matches provided +attribute+ and +type+,
@@ -2341,7 +2341,7 @@ class ActiveModel::Errors
#
# @return [Boolean]
#
- # source://activemodel//lib/active_model/errors.rb#346
+ # source://activemodel//lib/active_model/errors.rb#372
def added?(attribute, type = T.unsafe(nil), options = T.unsafe(nil)); end
# Returns a Hash that can be used as the JSON representation for this
@@ -2351,7 +2351,7 @@ class ActiveModel::Errors
# person.errors.as_json # => {:name=>["cannot be nil"]}
# person.errors.as_json(full_messages: true) # => {:name=>["name cannot be nil"]}
#
- # source://activemodel//lib/active_model/errors.rb#221
+ # source://activemodel//lib/active_model/errors.rb#247
def as_json(options = T.unsafe(nil)); end
# Returns all error attribute names
@@ -2359,7 +2359,7 @@ class ActiveModel::Errors
# person.errors.messages # => {:name=>["cannot be nil", "must be specified"]}
# person.errors.attribute_names # => [:name]
#
- # source://activemodel//lib/active_model/errors.rb#211
+ # source://activemodel//lib/active_model/errors.rb#237
def attribute_names; end
# source://forwardable/1.3.3/forwardable.rb#231
@@ -2376,7 +2376,7 @@ class ActiveModel::Errors
#
# person.errors.copy!(other)
#
- # source://activemodel//lib/active_model/errors.rb#112
+ # source://activemodel//lib/active_model/errors.rb#138
def copy!(other); end
# Delete messages for +key+. Returns the deleted messages.
@@ -2385,12 +2385,12 @@ class ActiveModel::Errors
# person.errors.delete(:name) # => ["cannot be nil"]
# person.errors[:name] # => []
#
- # source://activemodel//lib/active_model/errors.rb#189
+ # source://activemodel//lib/active_model/errors.rb#215
def delete(attribute, type = T.unsafe(nil), **options); end
# Returns a Hash of attributes with an array of their error details.
#
- # source://activemodel//lib/active_model/errors.rb#250
+ # source://activemodel//lib/active_model/errors.rb#276
def details; end
# source://forwardable/1.3.3/forwardable.rb#231
@@ -2402,14 +2402,14 @@ class ActiveModel::Errors
# The actual array of +Error+ objects
# This method is aliased to objects.
#
- # source://activemodel//lib/active_model/errors.rb#81
+ # source://activemodel//lib/active_model/errors.rb#107
def errors; end
# Returns a full message for a given attribute.
#
# person.errors.full_message(:name, 'is invalid') # => "Name is invalid"
#
- # source://activemodel//lib/active_model/errors.rb#425
+ # source://activemodel//lib/active_model/errors.rb#451
def full_message(attribute, message); end
# Returns all the full error messages in an array.
@@ -2423,7 +2423,7 @@ class ActiveModel::Errors
# person.errors.full_messages
# # => ["Name is too short (minimum is 5 characters)", "Name can't be blank", "Email can't be blank"]
#
- # source://activemodel//lib/active_model/errors.rb#389
+ # source://activemodel//lib/active_model/errors.rb#415
def full_messages; end
# Returns all the full error messages for a given attribute in an array.
@@ -2437,7 +2437,7 @@ class ActiveModel::Errors
# person.errors.full_messages_for(:name)
# # => ["Name is too short (minimum is 5 characters)", "Name can't be blank"]
#
- # source://activemodel//lib/active_model/errors.rb#404
+ # source://activemodel//lib/active_model/errors.rb#430
def full_messages_for(attribute); end
# Translates an error message in its default scope
@@ -2465,7 +2465,7 @@ class ActiveModel::Errors
# * errors.attributes.title.blank
# * errors.messages.blank
#
- # source://activemodel//lib/active_model/errors.rb#453
+ # source://activemodel//lib/active_model/errors.rb#479
def generate_message(attribute, type = T.unsafe(nil), options = T.unsafe(nil)); end
# Returns a Hash of attributes with an array of their Error objects.
@@ -2473,7 +2473,7 @@ class ActiveModel::Errors
# person.errors.group_by_attribute
# # => {:name=>[<#ActiveModel::Error>, <#ActiveModel::Error>]}
#
- # source://activemodel//lib/active_model/errors.rb#263
+ # source://activemodel//lib/active_model/errors.rb#289
def group_by_attribute; end
# Returns +true+ if the error messages include an error for the given key
@@ -2485,7 +2485,7 @@ class ActiveModel::Errors
#
# @return [Boolean]
#
- # source://activemodel//lib/active_model/errors.rb#176
+ # source://activemodel//lib/active_model/errors.rb#202
def has_key?(attribute); end
# Imports one error.
@@ -2498,7 +2498,7 @@ class ActiveModel::Errors
# * +:attribute+ - Override the attribute the error belongs to.
# * +:type+ - Override type of the error.
#
- # source://activemodel//lib/active_model/errors.rb#128
+ # source://activemodel//lib/active_model/errors.rb#154
def import(error, override_options = T.unsafe(nil)); end
# Returns +true+ if the error messages include an error for the given key
@@ -2510,10 +2510,10 @@ class ActiveModel::Errors
#
# @return [Boolean]
#
- # source://activemodel//lib/active_model/errors.rb#176
+ # source://activemodel//lib/active_model/errors.rb#202
def include?(attribute); end
- # source://activemodel//lib/active_model/errors.rb#457
+ # source://activemodel//lib/active_model/errors.rb#483
def inspect; end
# Returns +true+ if the error messages include an error for the given key
@@ -2525,7 +2525,7 @@ class ActiveModel::Errors
#
# @return [Boolean]
#
- # source://activemodel//lib/active_model/errors.rb#176
+ # source://activemodel//lib/active_model/errors.rb#202
def key?(attribute); end
# Merges the errors from other,
@@ -2539,12 +2539,12 @@ class ActiveModel::Errors
#
# person.errors.merge!(other)
#
- # source://activemodel//lib/active_model/errors.rb#148
+ # source://activemodel//lib/active_model/errors.rb#174
def merge!(other); end
# Returns a Hash of attributes with an array of their error messages.
#
- # source://activemodel//lib/active_model/errors.rb#242
+ # source://activemodel//lib/active_model/errors.rb#268
def messages; end
# Returns all the error messages for a given attribute in an array.
@@ -2558,13 +2558,13 @@ class ActiveModel::Errors
# person.errors.messages_for(:name)
# # => ["is too short (minimum is 5 characters)", "can't be blank"]
#
- # source://activemodel//lib/active_model/errors.rb#418
+ # source://activemodel//lib/active_model/errors.rb#444
def messages_for(attribute); end
# The actual array of +Error+ objects
# This method is aliased to objects.
#
- # source://activemodel//lib/active_model/errors.rb#81
+ # source://activemodel//lib/active_model/errors.rb#107
def objects; end
# Returns +true+ if an error on the attribute with the given type is
@@ -2581,7 +2581,7 @@ class ActiveModel::Errors
#
# @return [Boolean]
#
- # source://activemodel//lib/active_model/errors.rb#369
+ # source://activemodel//lib/active_model/errors.rb#395
def of_kind?(attribute, type = T.unsafe(nil)); end
# source://forwardable/1.3.3/forwardable.rb#231
@@ -2598,7 +2598,7 @@ class ActiveModel::Errors
# person.errors.full_messages
# # => ["Name is too short (minimum is 5 characters)", "Name can't be blank", "Email can't be blank"]
#
- # source://activemodel//lib/active_model/errors.rb#389
+ # source://activemodel//lib/active_model/errors.rb#415
def to_a; end
# Returns a Hash of attributes with their error messages. If +full_messages+
@@ -2607,7 +2607,7 @@ class ActiveModel::Errors
# person.errors.to_hash # => {:name=>["cannot be nil"]}
# person.errors.to_hash(true) # => {:name=>["name cannot be nil"]}
#
- # source://activemodel//lib/active_model/errors.rb#230
+ # source://activemodel//lib/active_model/errors.rb#256
def to_hash(full_messages = T.unsafe(nil)); end
# source://forwardable/1.3.3/forwardable.rb#231
@@ -2621,19 +2621,19 @@ class ActiveModel::Errors
# person.errors.where(:name, :too_short) # => all name errors being too short
# person.errors.where(:name, :too_short, minimum: 2) # => all name errors being too short and minimum is 2
#
- # source://activemodel//lib/active_model/errors.rb#163
+ # source://activemodel//lib/active_model/errors.rb#189
def where(attribute, type = T.unsafe(nil), **options); end
private
- # source://activemodel//lib/active_model/errors.rb#96
+ # source://activemodel//lib/active_model/errors.rb#122
def initialize_dup(other); end
- # source://activemodel//lib/active_model/errors.rb#464
+ # source://activemodel//lib/active_model/errors.rb#490
def normalize_arguments(attribute, type, **options); end
end
-# source://activemodel//lib/active_model/errors.rb#239
+# source://activemodel//lib/active_model/errors.rb#265
ActiveModel::Errors::EMPTY_ARRAY = T.let(T.unsafe(nil), Array)
# = Active \Model \ForbiddenAttributesError
@@ -3432,7 +3432,7 @@ class ActiveModel::Railtie < ::Rails::Railtie; end
#
# Raised when attribute values are out of range.
#
-# source://activemodel//lib/active_model/errors.rb#497
+# source://activemodel//lib/active_model/errors.rb#523
class ActiveModel::RangeError < ::RangeError; end
# source://activemodel//lib/active_model/secure_password.rb#4
@@ -3882,7 +3882,7 @@ end
# person.valid?
# # => ActiveModel::StrictValidationFailed: Name can't be blank
#
-# source://activemodel//lib/active_model/errors.rb#491
+# source://activemodel//lib/active_model/errors.rb#517
class ActiveModel::StrictValidationFailed < ::StandardError; end
# = Active \Model \Translation
@@ -4913,21 +4913,21 @@ end
# person.assign_attributes(name: 'Gorby')
# # => ActiveModel::UnknownAttributeError: unknown attribute 'name' for Person.
#
-# source://activemodel//lib/active_model/errors.rb#512
+# source://activemodel//lib/active_model/errors.rb#538
class ActiveModel::UnknownAttributeError < ::NoMethodError
# @return [UnknownAttributeError] a new instance of UnknownAttributeError
#
- # source://activemodel//lib/active_model/errors.rb#515
+ # source://activemodel//lib/active_model/errors.rb#541
def initialize(record, attribute); end
# Returns the value of attribute attribute.
#
- # source://activemodel//lib/active_model/errors.rb#513
+ # source://activemodel//lib/active_model/errors.rb#539
def attribute; end
# Returns the value of attribute record.
#
- # source://activemodel//lib/active_model/errors.rb#513
+ # source://activemodel//lib/active_model/errors.rb#539
def record; end
end
@@ -5546,7 +5546,7 @@ module ActiveModel::Validations::ClassMethods
# validators can be overridden inside specific classes by creating
# custom validator classes in their place such as PresenceValidator.
#
- # Examples of using the default rails validators:
+ # Examples of using the default \Rails validators:
#
# validates :username, absence: true
# validates :terms, acceptance: true
diff --git a/sorbet/rbi/gems/activerecord@7.1.2.rbi b/sorbet/rbi/gems/activerecord@7.1.3.rbi
similarity index 97%
rename from sorbet/rbi/gems/activerecord@7.1.2.rbi
rename to sorbet/rbi/gems/activerecord@7.1.3.rbi
index 671f91465..1c4dcb87e 100644
--- a/sorbet/rbi/gems/activerecord@7.1.2.rbi
+++ b/sorbet/rbi/gems/activerecord@7.1.3.rbi
@@ -307,7 +307,7 @@ class ActiveRecord::AdapterNotSpecified < ::ActiveRecord::ActiveRecordError; end
# AdapterTimeout will be raised when database clients times out while waiting from the server.
#
-# source://activerecord//lib/active_record/errors.rb#549
+# source://activerecord//lib/active_record/errors.rb#550
class ActiveRecord::AdapterTimeout < ::ActiveRecord::QueryAborted; end
# See ActiveRecord::Aggregations::ClassMethods for documentation
@@ -745,34 +745,36 @@ end
class ActiveRecord::Associations::Association
# @return [Association] a new instance of Association
#
- # source://activerecord//lib/active_record/associations/association.rb#40
+ # source://activerecord//lib/active_record/associations/association.rb#41
def initialize(owner, reflection); end
- # source://activerecord//lib/active_record/associations/association.rb#205
+ # source://activerecord//lib/active_record/associations/association.rb#206
def create(attributes = T.unsafe(nil), &block); end
- # source://activerecord//lib/active_record/associations/association.rb#209
+ # source://activerecord//lib/active_record/associations/association.rb#210
def create!(attributes = T.unsafe(nil), &block); end
- # source://activerecord//lib/active_record/associations/association.rb#36
+ # Returns the value of attribute disable_joins.
+ #
+ # source://activerecord//lib/active_record/associations/association.rb#37
def disable_joins; end
- # source://activerecord//lib/active_record/associations/association.rb#154
+ # source://activerecord//lib/active_record/associations/association.rb#155
def extensions; end
- # source://activerecord//lib/active_record/associations/association.rb#195
+ # source://activerecord//lib/active_record/associations/association.rb#196
def initialize_attributes(record, except_from_scope_attributes = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/associations/association.rb#138
+ # source://activerecord//lib/active_record/associations/association.rb#139
def inversed_from(record); end
- # source://activerecord//lib/active_record/associations/association.rb#142
+ # source://activerecord//lib/active_record/associations/association.rb#143
def inversed_from_queries(record); end
# Returns the class of the target. belongs_to polymorphic overrides this to look at the
# polymorphic_type field on the owner.
#
- # source://activerecord//lib/active_record/associations/association.rb#150
+ # source://activerecord//lib/active_record/associations/association.rb#151
def klass; end
# Loads the \target if needed and returns it.
@@ -786,69 +788,74 @@ class ActiveRecord::Associations::Association
# ActiveRecord::RecordNotFound is rescued within the method, and it is
# not reraised. The proxy is \reset and +nil+ is the return value.
#
- # source://activerecord//lib/active_record/associations/association.rb#174
+ # source://activerecord//lib/active_record/associations/association.rb#175
def load_target; end
# Asserts the \target has been loaded setting the \loaded flag to +true+.
#
- # source://activerecord//lib/active_record/associations/association.rb#79
+ # source://activerecord//lib/active_record/associations/association.rb#80
def loaded!; end
# Has the \target been already \loaded?
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/association.rb#74
+ # source://activerecord//lib/active_record/associations/association.rb#75
def loaded?; end
# We can't dump @reflection and @through_reflection since it contains the scope proc
#
- # source://activerecord//lib/active_record/associations/association.rb#184
+ # source://activerecord//lib/active_record/associations/association.rb#185
def marshal_dump; end
- # source://activerecord//lib/active_record/associations/association.rb#189
+ # source://activerecord//lib/active_record/associations/association.rb#190
def marshal_load(data); end
- # source://activerecord//lib/active_record/associations/association.rb#38
+ # source://activerecord//lib/active_record/associations/association.rb#39
def options(*_arg0, **_arg1, &_arg2); end
# source://activerecord//lib/active_record/associations/association.rb#36
def owner; end
# source://activerecord//lib/active_record/associations/association.rb#36
+ def owner=(_arg0); end
+
+ # Returns the value of attribute reflection.
+ #
+ # source://activerecord//lib/active_record/associations/association.rb#37
def reflection; end
# Reloads the \target and returns +self+ on success.
# The QueryCache is cleared if +force+ is true.
#
- # source://activerecord//lib/active_record/associations/association.rb#65
+ # source://activerecord//lib/active_record/associations/association.rb#66
def reload(force = T.unsafe(nil)); end
# Remove the inverse association, if possible
#
- # source://activerecord//lib/active_record/associations/association.rb#132
+ # source://activerecord//lib/active_record/associations/association.rb#133
def remove_inverse_instance(record); end
# Resets the \loaded flag to +false+ and sets the \target to +nil+.
#
- # source://activerecord//lib/active_record/associations/association.rb#53
+ # source://activerecord//lib/active_record/associations/association.rb#54
def reset; end
- # source://activerecord//lib/active_record/associations/association.rb#59
+ # source://activerecord//lib/active_record/associations/association.rb#60
def reset_negative_cache; end
- # source://activerecord//lib/active_record/associations/association.rb#112
+ # source://activerecord//lib/active_record/associations/association.rb#113
def reset_scope; end
- # source://activerecord//lib/active_record/associations/association.rb#100
+ # source://activerecord//lib/active_record/associations/association.rb#101
def scope; end
# Set the inverse association, if possible
#
- # source://activerecord//lib/active_record/associations/association.rb#117
+ # source://activerecord//lib/active_record/associations/association.rb#118
def set_inverse_instance(record); end
- # source://activerecord//lib/active_record/associations/association.rb#124
+ # source://activerecord//lib/active_record/associations/association.rb#125
def set_inverse_instance_from_queries(record); end
# The target is stale if the target no longer points to the record(s) that the
@@ -860,15 +867,17 @@ class ActiveRecord::Associations::Association
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/association.rb#90
+ # source://activerecord//lib/active_record/associations/association.rb#91
def stale_target?; end
- # source://activerecord//lib/active_record/associations/association.rb#36
+ # Returns the value of attribute target.
+ #
+ # source://activerecord//lib/active_record/associations/association.rb#37
def target; end
# Sets the target of this association to \target, and the \loaded flag to +true+.
#
- # source://activerecord//lib/active_record/associations/association.rb#95
+ # source://activerecord//lib/active_record/associations/association.rb#96
def target=(target); end
private
@@ -880,34 +889,34 @@ class ActiveRecord::Associations::Association
# by scope.scoping { ... } or unscoped { ... } etc, which affects the scope which
# actually gets built.
#
- # source://activerecord//lib/active_record/associations/association.rb#268
+ # source://activerecord//lib/active_record/associations/association.rb#269
def association_scope; end
- # source://activerecord//lib/active_record/associations/association.rb#351
+ # source://activerecord//lib/active_record/associations/association.rb#352
def build_record(attributes); end
- # source://activerecord//lib/active_record/associations/association.rb#366
+ # source://activerecord//lib/active_record/associations/association.rb#367
def enqueue_destroy_association(options); end
# Reader and writer methods call this so that consistent errors are presented
# when the association target class does not exist.
#
- # source://activerecord//lib/active_record/associations/association.rb#216
+ # source://activerecord//lib/active_record/associations/association.rb#217
def ensure_klass_exists!; end
- # source://activerecord//lib/active_record/associations/association.rb#220
+ # source://activerecord//lib/active_record/associations/association.rb#221
def find_target; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/association.rb#288
+ # source://activerecord//lib/active_record/associations/association.rb#289
def find_target?; end
# Returns true if record contains the foreign_key
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/association.rb#338
+ # source://activerecord//lib/active_record/associations/association.rb#339
def foreign_key_for?(record); end
# Returns true if there is a foreign key present on the owner which
@@ -921,22 +930,22 @@ class ActiveRecord::Associations::Association
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/association.rb#300
+ # source://activerecord//lib/active_record/associations/association.rb#301
def foreign_key_present?; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/association.rb#374
+ # source://activerecord//lib/active_record/associations/association.rb#375
def inversable?(record); end
- # source://activerecord//lib/active_record/associations/association.rb#318
+ # source://activerecord//lib/active_record/associations/association.rb#319
def inverse_association_for(record); end
# Can be redefined by subclasses, notably polymorphic belongs_to
# The record parameter is necessary to support polymorphic inverses as we must check for
# the association in the specific class of the record.
#
- # source://activerecord//lib/active_record/associations/association.rb#327
+ # source://activerecord//lib/active_record/associations/association.rb#328
def inverse_reflection_for(record); end
# Returns true if inverse association on the given record needs to be set.
@@ -944,32 +953,32 @@ class ActiveRecord::Associations::Association
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/association.rb#333
+ # source://activerecord//lib/active_record/associations/association.rb#334
def invertible_for?(record); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/association.rb#379
+ # source://activerecord//lib/active_record/associations/association.rb#380
def matches_foreign_key?(record); end
# Raises ActiveRecord::AssociationTypeMismatch unless +record+ is of
# the kind of the class of the associated objects. Meant to be used as
# a safety check when you are about to assign an associated record.
#
- # source://activerecord//lib/active_record/associations/association.rb#307
+ # source://activerecord//lib/active_record/associations/association.rb#308
def raise_on_type_mismatch!(record); end
- # source://activerecord//lib/active_record/associations/association.rb#284
+ # source://activerecord//lib/active_record/associations/association.rb#285
def scope_for_create; end
# Returns true if statement cache should be skipped on the association reader.
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/association.rb#359
+ # source://activerecord//lib/active_record/associations/association.rb#360
def skip_statement_cache?(scope); end
- # source://activerecord//lib/active_record/associations/association.rb#244
+ # source://activerecord//lib/active_record/associations/association.rb#245
def skip_strict_loading(&block); end
# This should be implemented to return the values of the relevant key(s) on the owner,
@@ -978,18 +987,18 @@ class ActiveRecord::Associations::Association
#
# This is only relevant to certain associations, which is why it returns +nil+ by default.
#
- # source://activerecord//lib/active_record/associations/association.rb#348
+ # source://activerecord//lib/active_record/associations/association.rb#349
def stale_state; end
# Can be overridden (i.e. in ThroughAssociation) to merge in other scopes (i.e. the
# through association's scope)
#
- # source://activerecord//lib/active_record/associations/association.rb#280
+ # source://activerecord//lib/active_record/associations/association.rb#281
def target_scope; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/association.rb#252
+ # source://activerecord//lib/active_record/associations/association.rb#253
def violates_strict_loading?; end
end
@@ -2153,7 +2162,7 @@ end
# query per addressable type.
# For example, if all the addressables are either of class Person or Company, then a total
# of 3 queries will be executed. The list of addressable types to load is determined on
-# the back of the addresses loaded. This is not supported if Active Record has to fallback
+# the back of the addresses loaded. This is not supported if Active Record has to fall back
# to the previous implementation of eager loading and will raise ActiveRecord::EagerLoadPolymorphicError.
# The reason is that the parent model's type is a column value so its corresponding table
# name cannot be put in the +FROM+/+JOIN+ clauses of that query.
@@ -5458,122 +5467,122 @@ end
class ActiveRecord::Associations::Preloader::Association
# @return [Association] a new instance of Association
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#101
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#104
def initialize(klass, owners, reflection, preload_scope, reflection_scope, associate_by_default); end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#215
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#218
def associate_records_from_unscoped(unscoped_records); end
# The name of the key on the associated records
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#158
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#161
def association_key_name; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#116
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#119
def future_classes; end
# Returns the value of attribute klass.
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#99
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#102
def klass; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#194
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#197
def load_records(raw_records = T.unsafe(nil)); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#173
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#176
def loaded?(owner); end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#162
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#165
def loader_query; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#166
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#169
def owners_by_key; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#151
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#154
def preloaded_records; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#145
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#148
def records_by_owner; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#132
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#135
def run; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#128
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#131
def run?; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#124
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#127
def runnable_loaders; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#181
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#184
def scope; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#185
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#188
def set_inverse(record); end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#112
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#115
def table_name; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#177
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#180
def target_for(owner); end
private
- # source://activerecord//lib/active_record/associations/preloader/association.rb#242
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#245
def associate_records_to_owner(owner, records); end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#278
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#281
def association_key_type; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#290
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#293
def build_scope; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#306
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#309
def cascade_strict_loading(scope); end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#270
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#273
def convert_key(key); end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#262
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#265
def derive_key(owner, key); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#254
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#257
def key_conversion_required?; end
# Returns the value of attribute model.
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#235
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#238
def model; end
# The name of the key on the model which declares the association
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#238
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#241
def owner_key_name; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#282
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#285
def owner_key_type; end
# Returns the value of attribute owners.
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#235
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#238
def owners; end
# Returns the value of attribute preload_scope.
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#235
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#238
def preload_scope; end
# Returns the value of attribute reflection.
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#235
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#238
def reflection; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#286
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#289
def reflection_scope; end
end
@@ -5594,16 +5603,16 @@ class ActiveRecord::Associations::Preloader::Association::LoaderQuery
# source://activerecord//lib/active_record/associations/preloader/association.rb#17
def eql?(other); end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#23
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#24
def hash; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#40
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#41
def load_records_for_keys(keys, &block); end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#31
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#32
def load_records_in_batch(loaders); end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#27
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#28
def records_for(loaders); end
# Returns the value of attribute scope.
@@ -5612,45 +5621,45 @@ class ActiveRecord::Associations::Preloader::Association::LoaderQuery
def scope; end
end
-# source://activerecord//lib/active_record/associations/preloader/association.rb#57
+# source://activerecord//lib/active_record/associations/preloader/association.rb#60
class ActiveRecord::Associations::Preloader::Association::LoaderRecords
# @return [LoaderRecords] a new instance of LoaderRecords
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#58
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#61
def initialize(loaders, loader_query); end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#67
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#70
def records; end
private
- # source://activerecord//lib/active_record/associations/preloader/association.rb#94
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#97
def already_loaded_records; end
# Returns the value of attribute already_loaded_records_by_key.
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#72
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#75
def already_loaded_records_by_key; end
# Returns the value of attribute keys_to_load.
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#72
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#75
def keys_to_load; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#88
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#91
def load_records; end
# Returns the value of attribute loader_query.
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#72
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#75
def loader_query; end
# Returns the value of attribute loaders.
#
- # source://activerecord//lib/active_record/associations/preloader/association.rb#72
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#75
def loaders; end
- # source://activerecord//lib/active_record/associations/preloader/association.rb#74
+ # source://activerecord//lib/active_record/associations/preloader/association.rb#77
def populate_keys_to_load_and_already_loaded_records; end
end
@@ -5989,7 +5998,7 @@ end
# AsynchronousQueryInsideTransactionError will be raised when attempting
# to perform an asynchronous query from inside a transaction
#
-# source://activerecord//lib/active_record/errors.rb#508
+# source://activerecord//lib/active_record/errors.rb#509
class ActiveRecord::AsynchronousQueryInsideTransactionError < ::ActiveRecord::ActiveRecordError; end
# source://activerecord//lib/active_record/attribute_assignment.rb#4
@@ -6034,21 +6043,21 @@ end
# {ActiveRecord::Base#attributes=}[rdoc-ref:AttributeAssignment#attributes=] method.
# The exception has an +attribute+ property that is the name of the offending attribute.
#
-# source://activerecord//lib/active_record/errors.rb#421
+# source://activerecord//lib/active_record/errors.rb#422
class ActiveRecord::AttributeAssignmentError < ::ActiveRecord::ActiveRecordError
# @return [AttributeAssignmentError] a new instance of AttributeAssignmentError
#
- # source://activerecord//lib/active_record/errors.rb#424
+ # source://activerecord//lib/active_record/errors.rb#425
def initialize(message = T.unsafe(nil), exception = T.unsafe(nil), attribute = T.unsafe(nil)); end
# Returns the value of attribute attribute.
#
- # source://activerecord//lib/active_record/errors.rb#422
+ # source://activerecord//lib/active_record/errors.rb#423
def attribute; end
# Returns the value of attribute exception.
#
- # source://activerecord//lib/active_record/errors.rb#422
+ # source://activerecord//lib/active_record/errors.rb#423
def exception; end
end
@@ -6403,7 +6412,7 @@ module ActiveRecord::AttributeMethods::BeforeTypeCast
# serialization.
#
# class Book < ActiveRecord::Base
- # enum status: { draft: 1, published: 2 }
+ # enum :status, { draft: 1, published: 2 }
# end
#
# book = Book.new(status: "published")
@@ -6560,7 +6569,7 @@ end
# class Person < ActiveRecord::Base
# end
#
-# person = Person.create(name: "Alisson")
+# person = Person.create(name: "Allison")
# person.changed? # => false
#
# Change the name:
@@ -6782,19 +6791,19 @@ end
class ActiveRecord::AttributeMethods::GeneratedAttributeMethods < ::Module
include ::Mutex_m
- # source://mutex_m/0.2.0/lib/mutex_m.rb#91
+ # source://mutex_m/0.2.0/mutex_m.rb#91
def lock; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#81
+ # source://mutex_m/0.2.0/mutex_m.rb#81
def locked?; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#76
+ # source://mutex_m/0.2.0/mutex_m.rb#76
def synchronize(&block); end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#86
+ # source://mutex_m/0.2.0/mutex_m.rb#86
def try_lock; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#96
+ # source://mutex_m/0.2.0/mutex_m.rb#96
def unlock; end
end
@@ -8291,28 +8300,28 @@ class ActiveRecord::Base
extend ::ActiveStorage::Reflection::ActiveRecordExtensions::ClassMethods
extend ::ActionText::Attribute::ClassMethods
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _before_commit_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _commit_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _create_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _destroy_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _find_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _initialize_callbacks; end
# source://activerecord//lib/active_record/reflection.rb#11
@@ -8321,64 +8330,64 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/reflection.rb#11
def _reflections?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _rollback_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_before_commit_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_commit_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_create_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_destroy_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_find_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_initialize_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_rollback_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_save_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_touch_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_update_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_validate_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_validation_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _save_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _touch_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _update_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _validate_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _validation_callbacks; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators?; end
# source://activerecord//lib/active_record/reflection.rb#12
@@ -8387,22 +8396,22 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/reflection.rb#12
def aggregate_reflections?; end
- # source://activestorage/7.1.2/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.3/lib/active_storage/reflection.rb#53
def attachment_reflections; end
- # source://activestorage/7.1.2/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.3/lib/active_storage/reflection.rb#53
def attachment_reflections?; end
- # source://activemodel/7.1.2/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.3/lib/active_model/attribute_methods.rb#72
def attribute_aliases; end
- # source://activemodel/7.1.2/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.3/lib/active_model/attribute_methods.rb#72
def attribute_aliases?; end
- # source://activemodel/7.1.2/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.3/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns; end
- # source://activemodel/7.1.2/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.3/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns?; end
# source://activerecord//lib/active_record/reflection.rb#13
@@ -8477,10 +8486,10 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/encryption/encryptable_record.rb#11
def encrypted_attributes?; end
- # source://activemodel/7.1.2/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.3/lib/active_model/serializers/json.rb#15
def include_root_in_json; end
- # source://activemodel/7.1.2/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.3/lib/active_model/serializers/json.rb#15
def include_root_in_json?; end
# source://activerecord//lib/active_record/locking/optimistic.rb#56
@@ -8495,7 +8504,7 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/core.rb#22
def logger?; end
- # source://activemodel/7.1.2/lib/active_model/naming.rb#255
+ # source://activemodel/7.1.3/lib/active_model/naming.rb#255
def model_name(&block); end
# source://activerecord//lib/active_record/nested_attributes.rb#15
@@ -8513,7 +8522,7 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/normalization.rb#8
def normalized_attributes?; end
- # source://activemodel/7.1.2/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.3/lib/active_model/conversion.rb#32
def param_delimiter=(_arg0); end
# source://activerecord//lib/active_record/attribute_methods/dirty.rb#50
@@ -8600,22 +8609,22 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/model_schema.rb#178
def type_for_attribute(attr_name, &block); end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#67
def validation_context; end
private
- # source://activemodel/7.1.2/lib/active_model/validations.rb#67
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#67
def validation_context=(_arg0); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
# source://activerecord//lib/active_record/readonly_attributes.rb#11
@@ -8627,16 +8636,16 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/readonly_attributes.rb#11
def _attr_readonly?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _before_commit_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _before_commit_callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _commit_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _commit_callbacks=(value); end
# source://activerecord//lib/active_record/counter_cache.rb#9
@@ -8648,10 +8657,10 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/counter_cache.rb#9
def _counter_cache_columns?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _create_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _create_callbacks=(value); end
# source://activerecord//lib/active_record/core.rb#24
@@ -8663,22 +8672,22 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/core.rb#24
def _destroy_association_async_job?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _destroy_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _destroy_callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _find_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _find_callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _initialize_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _initialize_callbacks=(value); end
# source://activerecord//lib/active_record/reflection.rb#11
@@ -8690,70 +8699,70 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/reflection.rb#11
def _reflections?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _rollback_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _rollback_callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _save_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _save_callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _touch_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _touch_callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _update_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _update_callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _validate_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _validate_callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _validation_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _validation_callbacks=(value); end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators=(value); end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators?; end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#144
def after_create(*args, **options, &block); end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#144
def after_destroy(*args, **options, &block); end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#144
def after_find(*args, **options, &block); end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#144
def after_initialize(*args, **options, &block); end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#144
def after_save(*args, **options, &block); end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#144
def after_touch(*args, **options, &block); end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#144
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#144
def after_update(*args, **options, &block); end
# source://activerecord//lib/active_record/reflection.rb#12
@@ -8768,16 +8777,16 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/core.rb#105
def application_record_class?; end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#137
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#137
def around_create(*args, **options, &block); end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#137
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#137
def around_destroy(*args, **options, &block); end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#137
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#137
def around_save(*args, **options, &block); end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#137
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#137
def around_update(*args, **options, &block); end
# source://activerecord//lib/active_record/core.rb#125
@@ -8786,31 +8795,31 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/core.rb#129
def asynchronous_queries_tracker; end
- # source://activestorage/7.1.2/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.3/lib/active_storage/reflection.rb#53
def attachment_reflections; end
- # source://activestorage/7.1.2/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.3/lib/active_storage/reflection.rb#53
def attachment_reflections=(value); end
- # source://activestorage/7.1.2/lib/active_storage/reflection.rb#53
+ # source://activestorage/7.1.3/lib/active_storage/reflection.rb#53
def attachment_reflections?; end
- # source://activemodel/7.1.2/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.3/lib/active_model/attribute_methods.rb#72
def attribute_aliases; end
- # source://activemodel/7.1.2/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.3/lib/active_model/attribute_methods.rb#72
def attribute_aliases=(value); end
- # source://activemodel/7.1.2/lib/active_model/attribute_methods.rb#72
+ # source://activemodel/7.1.3/lib/active_model/attribute_methods.rb#72
def attribute_aliases?; end
- # source://activemodel/7.1.2/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.3/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns; end
- # source://activemodel/7.1.2/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.3/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns=(value); end
- # source://activemodel/7.1.2/lib/active_model/attribute_methods.rb#73
+ # source://activemodel/7.1.3/lib/active_model/attribute_methods.rb#73
def attribute_method_patterns?; end
# source://activerecord//lib/active_record/attributes.rb#11
@@ -8831,16 +8840,16 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/reflection.rb#13
def automatic_scope_inversing?; end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#130
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#130
def before_create(*args, **options, &block); end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#130
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#130
def before_destroy(*args, **options, &block); end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#130
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#130
def before_save(*args, **options, &block); end
- # source://activemodel/7.1.2/lib/active_model/callbacks.rb#130
+ # source://activemodel/7.1.3/lib/active_model/callbacks.rb#130
def before_update(*args, **options, &block); end
# source://activerecord//lib/active_record/core.rb#89
@@ -9035,13 +9044,13 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/model_schema.rb#164
def implicit_order_column?; end
- # source://activemodel/7.1.2/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.3/lib/active_model/serializers/json.rb#15
def include_root_in_json; end
- # source://activemodel/7.1.2/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.3/lib/active_model/serializers/json.rb#15
def include_root_in_json=(value); end
- # source://activemodel/7.1.2/lib/active_model/serializers/json.rb#15
+ # source://activemodel/7.1.3/lib/active_model/serializers/json.rb#15
def include_root_in_json?; end
# source://activerecord//lib/active_record/model_schema.rb#167
@@ -9104,13 +9113,13 @@ class ActiveRecord::Base
# source://activerecord//lib/active_record/normalization.rb#8
def normalized_attributes?; end
- # source://activemodel/7.1.2/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.3/lib/active_model/conversion.rb#32
def param_delimiter; end
- # source://activemodel/7.1.2/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.3/lib/active_model/conversion.rb#32
def param_delimiter=(value); end
- # source://activemodel/7.1.2/lib/active_model/conversion.rb#32
+ # source://activemodel/7.1.3/lib/active_model/conversion.rb#32
def param_delimiter?; end
# source://activerecord//lib/active_record/attribute_methods/dirty.rb#50
@@ -9639,49 +9648,49 @@ module ActiveRecord::Calculations
# Same as #average, but performs the query asynchronously and returns an
# ActiveRecord::Promise.
#
- # source://activerecord//lib/active_record/relation/calculations.rb#112
+ # source://activerecord//lib/active_record/relation/calculations.rb#122
def async_average(column_name); end
# Same as #count, but performs the query asynchronously and returns an
# ActiveRecord::Promise.
#
- # source://activerecord//lib/active_record/relation/calculations.rb#98
+ # source://activerecord//lib/active_record/relation/calculations.rb#108
def async_count(column_name = T.unsafe(nil)); end
# Same as #ids, but performs the query asynchronously and returns an
# ActiveRecord::Promise.
#
- # source://activerecord//lib/active_record/relation/calculations.rb#370
+ # source://activerecord//lib/active_record/relation/calculations.rb#397
def async_ids; end
# Same as #maximum, but performs the query asynchronously and returns an
# ActiveRecord::Promise.
#
- # source://activerecord//lib/active_record/relation/calculations.rb#142
+ # source://activerecord//lib/active_record/relation/calculations.rb#152
def async_maximum(column_name); end
# Same as #minimum, but performs the query asynchronously and returns an
# ActiveRecord::Promise.
#
- # source://activerecord//lib/active_record/relation/calculations.rb#127
+ # source://activerecord//lib/active_record/relation/calculations.rb#137
def async_minimum(column_name); end
# Same as #pick, but performs the query asynchronously and returns an
# ActiveRecord::Promise.
#
- # source://activerecord//lib/active_record/relation/calculations.rb#326
+ # source://activerecord//lib/active_record/relation/calculations.rb#353
def async_pick(*column_names); end
# Same as #pluck, but performs the query asynchronously and returns an
# ActiveRecord::Promise.
#
- # source://activerecord//lib/active_record/relation/calculations.rb#297
+ # source://activerecord//lib/active_record/relation/calculations.rb#324
def async_pluck(*column_names); end
# Same as #sum, but performs the query asynchronously and returns an
# ActiveRecord::Promise.
#
- # source://activerecord//lib/active_record/relation/calculations.rb#161
+ # source://activerecord//lib/active_record/relation/calculations.rb#182
def async_sum(identity_or_column = T.unsafe(nil)); end
# Calculates the average value on a given column. Returns +nil+ if there's
@@ -9689,7 +9698,7 @@ module ActiveRecord::Calculations
#
# Person.average(:age) # => 35.8
#
- # source://activerecord//lib/active_record/relation/calculations.rb#106
+ # source://activerecord//lib/active_record/relation/calculations.rb#116
def average(column_name); end
# This calculates aggregate values in the given column. Methods for #count, #sum, #average,
@@ -9724,7 +9733,7 @@ module ActiveRecord::Calculations
# ...
# end
#
- # source://activerecord//lib/active_record/relation/calculations.rb#196
+ # source://activerecord//lib/active_record/relation/calculations.rb#217
def calculate(operation, column_name); end
# Count the records.
@@ -9763,7 +9772,17 @@ module ActiveRecord::Calculations
# Note: not all valid {Relation#select}[rdoc-ref:QueryMethods#select] expressions are valid #count expressions. The specifics differ
# between databases. In invalid cases, an error from the database is thrown.
#
- # source://activerecord//lib/active_record/relation/calculations.rb#84
+ # When given a block, loads all records in the relation, if the relation
+ # hasn't been loaded yet. Calls the block with each record in the relation.
+ # Returns the number of records for which the block returns a truthy value.
+ #
+ # Person.count { |person| person.age > 21 }
+ # # => counts the number of people older that 21
+ #
+ # Note: If there are a lot of records in the relation, loading all records
+ # could result in performance issues.
+ #
+ # source://activerecord//lib/active_record/relation/calculations.rb#94
def count(column_name = T.unsafe(nil)); end
# Returns the base model's ID's for the relation using the table's primary key
@@ -9771,7 +9790,7 @@ module ActiveRecord::Calculations
# Person.ids # SELECT people.id FROM people
# Person.joins(:companies).ids # SELECT people.id FROM people INNER JOIN companies ON companies.id = people.company_id
#
- # source://activerecord//lib/active_record/relation/calculations.rb#334
+ # source://activerecord//lib/active_record/relation/calculations.rb#361
def ids; end
# Calculates the maximum value on a given column. The value is returned
@@ -9780,7 +9799,7 @@ module ActiveRecord::Calculations
#
# Person.maximum(:age) # => 93
#
- # source://activerecord//lib/active_record/relation/calculations.rb#136
+ # source://activerecord//lib/active_record/relation/calculations.rb#146
def maximum(column_name); end
# Calculates the minimum value on a given column. The value is returned
@@ -9789,7 +9808,7 @@ module ActiveRecord::Calculations
#
# Person.minimum(:age) # => 7
#
- # source://activerecord//lib/active_record/relation/calculations.rb#121
+ # source://activerecord//lib/active_record/relation/calculations.rb#131
def minimum(column_name); end
# Pick the value(s) from the named column(s) in the current relation.
@@ -9807,7 +9826,7 @@ module ActiveRecord::Calculations
# # SELECT people.name, people.email_address FROM people WHERE id = 1 LIMIT 1
# # => [ 'David', 'david@loudthinking.com' ]
#
- # source://activerecord//lib/active_record/relation/calculations.rb#315
+ # source://activerecord//lib/active_record/relation/calculations.rb#342
def pick(*column_names); end
# Use #pluck as a shortcut to select one or more attributes without
@@ -9845,7 +9864,7 @@ module ActiveRecord::Calculations
#
# See also #ids.
#
- # source://activerecord//lib/active_record/relation/calculations.rb#262
+ # source://activerecord//lib/active_record/relation/calculations.rb#283
def pluck(*column_names); end
# Calculates the sum of values on a given column. The value is returned
@@ -9854,57 +9873,68 @@ module ActiveRecord::Calculations
#
# Person.sum(:age) # => 4562
#
- # source://activerecord//lib/active_record/relation/calculations.rb#151
+ # When given a block, loads all records in the relation, if the relation
+ # hasn't been loaded yet. Calls the block with each record in the relation.
+ # Returns the sum of +initial_value_or_column+ and the block return
+ # values:
+ #
+ # Person.sum { |person| person.age } # => 4562
+ # Person.sum(1000) { |person| person.age } # => 5562
+ #
+ # Note: If there are a lot of records in the relation, loading all records
+ # could result in performance issues.
+ #
+ # source://activerecord//lib/active_record/relation/calculations.rb#172
def sum(initial_value_or_column = T.unsafe(nil), &block); end
private
- # source://activerecord//lib/active_record/relation/calculations.rb#414
+ # source://activerecord//lib/active_record/relation/calculations.rb#441
def aggregate_column(column_name); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation/calculations.rb#375
+ # source://activerecord//lib/active_record/relation/calculations.rb#402
def all_attributes?(column_names); end
- # source://activerecord//lib/active_record/relation/calculations.rb#599
+ # source://activerecord//lib/active_record/relation/calculations.rb#626
def build_count_subquery(relation, column_name, distinct); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation/calculations.rb#410
+ # source://activerecord//lib/active_record/relation/calculations.rb#437
def distinct_select?(column_name); end
- # source://activerecord//lib/active_record/relation/calculations.rb#465
+ # source://activerecord//lib/active_record/relation/calculations.rb#492
def execute_grouped_calculation(operation, column_name, distinct); end
- # source://activerecord//lib/active_record/relation/calculations.rb#426
+ # source://activerecord//lib/active_record/relation/calculations.rb#453
def execute_simple_calculation(operation, column_name, distinct); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation/calculations.rb#379
+ # source://activerecord//lib/active_record/relation/calculations.rb#406
def has_include?(column_name); end
- # source://activerecord//lib/active_record/relation/calculations.rb#547
+ # source://activerecord//lib/active_record/relation/calculations.rb#574
def lookup_cast_type_from_join_dependencies(name, join_dependencies = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/relation/calculations.rb#422
+ # source://activerecord//lib/active_record/relation/calculations.rb#449
def operation_over_aggregate_column(column, operation, distinct); end
- # source://activerecord//lib/active_record/relation/calculations.rb#383
+ # source://activerecord//lib/active_record/relation/calculations.rb#410
def perform_calculation(operation, column_name); end
- # source://activerecord//lib/active_record/relation/calculations.rb#590
+ # source://activerecord//lib/active_record/relation/calculations.rb#617
def select_for_count; end
- # source://activerecord//lib/active_record/relation/calculations.rb#572
+ # source://activerecord//lib/active_record/relation/calculations.rb#599
def type_cast_calculated_value(value, operation, type); end
- # source://activerecord//lib/active_record/relation/calculations.rb#555
+ # source://activerecord//lib/active_record/relation/calculations.rb#582
def type_cast_pluck_values(result, columns); end
- # source://activerecord//lib/active_record/relation/calculations.rb#542
+ # source://activerecord//lib/active_record/relation/calculations.rb#569
def type_for(field, &block); end
end
@@ -10379,7 +10409,7 @@ ActiveRecord::ConcurrentMigrationError::RELEASE_LOCK_FAILED_MESSAGE = T.let(T.un
# {ActiveRecord::Base.has_and_belongs_to_many}[rdoc-ref:Associations::ClassMethods#has_and_belongs_to_many]
# associations.
#
-# source://activerecord//lib/active_record/errors.rb#368
+# source://activerecord//lib/active_record/errors.rb#369
class ActiveRecord::ConfigurationError < ::ActiveRecord::ActiveRecordError; end
# source://activerecord//lib/active_record/connection_adapters.rb#4
@@ -10421,22 +10451,22 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#128
def initialize(config_or_deprecated_connection, deprecated_logger = T.unsafe(nil), deprecated_connection_options = T.unsafe(nil), deprecated_config = T.unsafe(nil)); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _checkin_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _checkout_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_checkin_callbacks(&block); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_checkout_callbacks(&block); end
# Checks whether the connection to the database is still active. This includes
@@ -10468,7 +10498,7 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
#
# @return [Boolean]
#
- # source://activesupport/7.1.2/lib/active_support/deprecation/method_wrappers.rb#46
+ # source://activesupport/7.1.3/lib/active_support/deprecation/method_wrappers.rb#46
def all_foreign_keys_valid?(*args, **_arg1, &block); end
# @return [Boolean]
@@ -11269,25 +11299,25 @@ class ActiveRecord::ConnectionAdapters::AbstractAdapter
def without_prepared_statement?(binds); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _checkin_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _checkin_callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _checkout_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _checkout_callbacks=(value); end
# source://activerecord//lib/active_record/connection_adapters/abstract_adapter.rb#89
@@ -12174,12 +12204,10 @@ end
# Connections can be obtained and used from a connection pool in several
# ways:
#
-# 1. Simply use {ActiveRecord::Base.connection}[rdoc-ref:ConnectionHandling.connection]
-# as with Active Record 2.1 and
-# earlier (pre-connection-pooling). Eventually, when you're done with
-# the connection(s) and wish it to be returned to the pool, you call
+# 1. Simply use {ActiveRecord::Base.connection}[rdoc-ref:ConnectionHandling.connection].
+# When you're done with the connection(s) and wish it to be returned to the pool, you call
# {ActiveRecord::Base.connection_handler.clear_active_connections!}[rdoc-ref:ConnectionAdapters::ConnectionHandler#clear_active_connections!].
-# This will be the default behavior for Active Record when used in conjunction with
+# This is the default behavior for Active Record when used in conjunction with
# Action Pack's request handling cycle.
# 2. Manually check out a connection from the pool with
# {ActiveRecord::Base.connection_pool.checkout}[rdoc-ref:#checkout]. You are responsible for
@@ -12235,7 +12263,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
#
# @return [ConnectionPool] a new instance of ConnectionPool
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#122
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#120
def initialize(pool_config); end
# Returns true if there is an open connection being used for the current thread.
@@ -12246,24 +12274,24 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#198
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#196
def active_connection?; end
# Returns the value of attribute async_executor.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#112
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110
def async_executor; end
# Returns the value of attribute automatic_reconnect.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#111
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#109
def automatic_reconnect; end
# Sets the attribute automatic_reconnect
#
# @param value the value to set the attribute automatic_reconnect to.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#111
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#109
def automatic_reconnect=(_arg0); end
# Check-in a database connection back into the pool, indicating that you
@@ -12272,7 +12300,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# +conn+: an AbstractAdapter object, which was obtained by earlier by
# calling #checkout on this pool.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#365
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#363
def checkin(conn); end
# Check-out a database connection from the pool, indicating that you want
@@ -12290,19 +12318,19 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# Raises:
# - ActiveRecord::ConnectionTimeoutError no connection can be obtained from the pool.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#354
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#352
def checkout(checkout_timeout = T.unsafe(nil)); end
# Returns the value of attribute checkout_timeout.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#111
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#109
def checkout_timeout; end
# Sets the attribute checkout_timeout
#
# @param value the value to set the attribute checkout_timeout to.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#111
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#109
def checkout_timeout=(_arg0); end
# Clears the cache which maps classes and re-connects connections that
@@ -12313,7 +12341,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# connections in the pool within a timeout interval (default duration is
# spec.db_config.checkout_timeout * 2 seconds).
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#312
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#310
def clear_reloadable_connections(raise_on_acquisition_timeout = T.unsafe(nil)); end
# Clears the cache which maps classes and re-connects connections that
@@ -12325,14 +12353,14 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# clears the cache and reloads connections without any regard for other
# connection owning threads.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#336
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#334
def clear_reloadable_connections!; end
# Returns true if a connection has already been opened.
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#235
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#233
def connected?; end
# Retrieve the connection associated with the current thread, or call
@@ -12341,13 +12369,13 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# #connection can be called any number of times; the connection is
# held in a cache keyed by a thread.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#183
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#181
def connection; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#187
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#185
def connection_class; end
- # source://activesupport/7.1.2/lib/active_support/deprecation/method_wrappers.rb#46
+ # source://activesupport/7.1.3/lib/active_support/deprecation/method_wrappers.rb#46
def connection_klass(*args, **_arg1, &block); end
# Returns an array containing the connections currently in the pool.
@@ -12362,12 +12390,12 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# thread-safety guarantees of the underlying method. Many of the methods
# on connection adapter classes are inherently multi-thread unsafe.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#250
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#248
def connections; end
# Returns the value of attribute db_config.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#112
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110
def db_config; end
# Discards all connections in the pool (even if they're currently
@@ -12376,12 +12404,12 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
#
# See AbstractAdapter#discard!
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#291
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#289
def discard!; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#301
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#299
def discarded?; end
# Disconnects all connections in the pool, and clears the pool.
@@ -12391,7 +12419,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# connections in the pool within a timeout interval (default duration is
# spec.db_config.checkout_timeout * 2 seconds).
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#260
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#258
def disconnect(raise_on_acquisition_timeout = T.unsafe(nil)); end
# Disconnects all connections in the pool, and clears the pool.
@@ -12401,43 +12429,43 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# spec.db_config.checkout_timeout * 2 seconds), then the pool is forcefully
# disconnected without any regard for other connection owning threads.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#282
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#280
def disconnect!; end
# Disconnect all connections that have been idle for at least
# +minimum_idle+ seconds. Connections currently checked out, or that were
# checked in less than +minimum_idle+ seconds ago, are unaffected.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#437
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#435
def flush(minimum_idle = T.unsafe(nil)); end
# Disconnect all currently idle connections. Connections currently checked
# out are unaffected.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#459
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#457
def flush!; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#166
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#164
def lock_thread=(lock_thread); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#464
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#462
def num_waiting_in_queue; end
# Returns the value of attribute pool_config.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#112
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110
def pool_config; end
# Recover lost connections for the pool. A lost connection can occur if
# a programmer forgets to checkin a connection at the end of a thread
# or a thread dies unexpectedly.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#414
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#412
def reap; end
# Returns the value of attribute reaper.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#112
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110
def reaper; end
# Signal that the thread is finished with the current connection.
@@ -12448,45 +12476,44 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# #connection or #with_connection methods, connections obtained through
# #checkout will not be automatically released.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#209
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#207
def release_connection(owner_thread = T.unsafe(nil)); end
# Remove a connection from the connection pool. The connection will
# remain open and active but will no longer be managed by this pool.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#382
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#380
def remove(conn); end
# Returns the value of attribute role.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#112
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110
def role; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#486
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#483
def schedule_query(future_result); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#114
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#112
def schema_reflection(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#114
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#112
def schema_reflection=(arg); end
# Returns the value of attribute shard.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#112
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110
def shard; end
# Returns the value of attribute size.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#112
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#110
def size; end
- # Return connection pool's usage statistic
- # Example:
+ # Returns the connection pool's usage statistic.
#
# ActiveRecord::Base.connection_pool.stat # => { size: 15, connections: 1, busy: 1, dead: 0, idle: 0, waiting: 0, checkout_timeout: 5 }
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#472
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#469
def stat; end
# Yields a connection from the connection pool to the block. If no connection
@@ -12499,7 +12526,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# connection will be properly returned to the pool by the code that checked
# it out.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#224
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#222
def with_connection; end
private
@@ -12516,36 +12543,36 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# Implementation detail: the connection returned by +acquire_connection+
# will already be "+connection.lease+ -ed" to the current thread.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#650
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#647
def acquire_connection(checkout_timeout); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#713
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#716
def adopt_connection(conn); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#544
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#541
def attempt_to_checkout_all_existing_connections(raise_on_acquisition_timeout = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#492
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#489
def build_async_executor; end
# --
# this is unfortunately not concurrent
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#510
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#507
def bulk_make_new_connections(num_new_conns_needed); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#723
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#726
def checkout_and_verify(c); end
# --
# Must be called in a synchronize block.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#590
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#587
def checkout_for_exclusive_access(checkout_timeout); end
# @raise [ConnectionNotEstablished]
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#718
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#721
def checkout_new_connection; end
# --
@@ -12554,25 +12581,25 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# This hook-in method allows for easier monkey-patching fixes needed by
# JRuby users that use Fibers.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#525
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#522
def connection_cache_key(thread); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#529
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#526
def current_thread; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#672
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#675
def new_connection; end
# --
# if owner_thread param is omitted, this must be called in synchronize block
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#667
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#670
def release(conn, owner_thread = T.unsafe(nil)); end
# --
# if owner_thread param is omitted, this must be called in synchronize block
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#667
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#670
def remove_connection_from_thread_cache(conn, owner_thread = T.unsafe(nil)); end
# If the pool is not at a @size limit, establish new connection. Connecting
@@ -12581,7 +12608,7 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# Implementation constraint: a newly established connection returned by this
# method must be in the +.leased+ state.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#686
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#689
def try_to_checkout_new_connection; end
# Take control of all existing connections so a "group" action such as
@@ -12589,10 +12616,10 @@ class ActiveRecord::ConnectionAdapters::ConnectionPool
# wrap it in +synchronize+ because some pool's actions are allowed
# to be performed outside of the main +synchronize+ block.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#537
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#534
def with_exclusively_acquired_all_connections(raise_on_acquisition_timeout = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#610
+ # source://activerecord//lib/active_record/connection_adapters/abstract/connection_pool.rb#607
def with_new_connections_blocked; end
end
@@ -13667,10 +13694,10 @@ class ActiveRecord::ConnectionAdapters::PoolConfig
# source://activerecord//lib/active_record/connection_adapters/pool_config.rb#47
def disconnect!(automatic_reconnect: T.unsafe(nil)); end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#91
+ # source://mutex_m/0.2.0/mutex_m.rb#91
def lock; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#81
+ # source://mutex_m/0.2.0/mutex_m.rb#81
def locked?; end
# source://activerecord//lib/active_record/connection_adapters/pool_config.rb#62
@@ -13696,13 +13723,13 @@ class ActiveRecord::ConnectionAdapters::PoolConfig
# source://activerecord//lib/active_record/connection_adapters/pool_config.rb#8
def shard; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#76
+ # source://mutex_m/0.2.0/mutex_m.rb#76
def synchronize(&block); end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#86
+ # source://mutex_m/0.2.0/mutex_m.rb#86
def try_lock; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#96
+ # source://mutex_m/0.2.0/mutex_m.rb#96
def unlock; end
class << self
@@ -13820,16 +13847,16 @@ module ActiveRecord::ConnectionAdapters::QueryCache
# Database adapters can override this method to
# provide custom cache information.
#
- # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#170
+ # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#171
def cache_notification_info(sql, name, binds); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#141
+ # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#142
def cache_sql(sql, name, binds); end
- # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#181
+ # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#182
def configure_query_cache!; end
- # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#119
+ # source://activerecord//lib/active_record/connection_adapters/abstract/query_cache.rb#120
def lookup_sql_cache(sql, name, binds); end
class << self
@@ -14225,7 +14252,7 @@ class ActiveRecord::ConnectionAdapters::SchemaCache
# source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#316
def data_source_exists?(connection, name); end
- # source://activesupport/7.1.2/lib/active_support/deprecation/method_wrappers.rb#46
+ # source://activesupport/7.1.3/lib/active_support/deprecation/method_wrappers.rb#46
def data_sources(*args, **_arg1, &block); end
# source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#373
@@ -14290,10 +14317,10 @@ class ActiveRecord::ConnectionAdapters::SchemaCache
# source://activerecord//lib/active_record/connection_adapters/schema_cache.rb#234
def _load_from(filename); end
- # source://activesupport/7.1.2/lib/active_support/deprecation/method_wrappers.rb#46
+ # source://activesupport/7.1.3/lib/active_support/deprecation/method_wrappers.rb#46
def load_from(*args, **_arg1, &block); end
- # source://activesupport/7.1.2/lib/active_support/deprecation/method_wrappers.rb#46
+ # source://activesupport/7.1.3/lib/active_support/deprecation/method_wrappers.rb#46
def new(*args, **_arg1, &block); end
private
@@ -16999,7 +17026,7 @@ end
# ConnectionFailed will be raised when the network connection to the
# database fails while sending a query or waiting for its result.
#
-# source://activerecord//lib/active_record/errors.rb#554
+# source://activerecord//lib/active_record/errors.rb#555
class ActiveRecord::ConnectionFailed < ::ActiveRecord::QueryAborted; end
# = Active Record Connection Handling
@@ -17129,7 +17156,7 @@ module ActiveRecord::ConnectionHandling
# source://activerecord//lib/active_record/connection_handling.rb#282
def connection_pool; end
- # Return the connection specification name from the current class or its parent.
+ # Returns the connection specification name from the current class or its parent.
#
# source://activerecord//lib/active_record/connection_handling.rb#260
def connection_specification_name; end
@@ -17329,12 +17356,12 @@ module ActiveRecord::Core
# @yield [_self]
# @yieldparam _self [ActiveRecord::Core] the object that the method was called on
#
- # source://activerecord//lib/active_record/core.rb#425
+ # source://activerecord//lib/active_record/core.rb#446
def initialize(attributes = T.unsafe(nil)); end
# Allows sort on objects
#
- # source://activerecord//lib/active_record/core.rb#604
+ # source://activerecord//lib/active_record/core.rb#633
def <=>(other_object); end
# Returns true if +comparison_object+ is the same exact object, or +comparison_object+
@@ -17347,15 +17374,15 @@ module ActiveRecord::Core
# Note also that destroying a record preserves its ID in the model instance, so deleted
# models are still comparable.
#
- # source://activerecord//lib/active_record/core.rb#570
+ # source://activerecord//lib/active_record/core.rb#599
def ==(comparison_object); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/core.rb#616
+ # source://activerecord//lib/active_record/core.rb#645
def blank?; end
- # source://activerecord//lib/active_record/core.rb#680
+ # source://activerecord//lib/active_record/core.rb#713
def connection_handler; end
# Populate +coder+ with attributes about this record that should be
@@ -17371,7 +17398,7 @@ module ActiveRecord::Core
# Post.new.encode_with(coder)
# coder # => {"attributes" => {"id" => nil, ... }}
#
- # source://activerecord//lib/active_record/core.rb#534
+ # source://activerecord//lib/active_record/core.rb#555
def encode_with(coder); end
# Returns true if +comparison_object+ is the same exact object, or +comparison_object+
@@ -17384,27 +17411,27 @@ module ActiveRecord::Core
# Note also that destroying a record preserves its ID in the model instance, so deleted
# models are still comparable.
#
- # source://activerecord//lib/active_record/core.rb#570
+ # source://activerecord//lib/active_record/core.rb#599
def eql?(comparison_object); end
# Clone and freeze the attributes hash such that associations are still
# accessible, even on destroyed records, but cloned models will not be
# frozen.
#
- # source://activerecord//lib/active_record/core.rb#593
+ # source://activerecord//lib/active_record/core.rb#622
def freeze; end
# Returns +true+ if the attributes hash has been frozen.
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/core.rb#599
+ # source://activerecord//lib/active_record/core.rb#628
def frozen?; end
# Delegates to id in order to allow two records of the same type and id to work with something like:
# [ Person.find(1), Person.find(2), Person.find(3) ] & [ Person.find(1), Person.find(4) ] # => [ Person.find(1) ]
#
- # source://activerecord//lib/active_record/core.rb#580
+ # source://activerecord//lib/active_record/core.rb#609
def hash; end
# Initialize an empty model object from +coder+. +coder+ should be
@@ -17422,7 +17449,7 @@ module ActiveRecord::Core
# post.init_with(coder)
# post.title # => 'hello world'
#
- # source://activerecord//lib/active_record/core.rb#452
+ # source://activerecord//lib/active_record/core.rb#473
def init_with(coder, &block); end
# Initialize an empty model object from +attributes+.
@@ -17432,35 +17459,39 @@ module ActiveRecord::Core
# @yield [_self]
# @yieldparam _self [ActiveRecord::Core] the object that the method was called on
#
- # source://activerecord//lib/active_record/core.rb#462
+ # source://activerecord//lib/active_record/core.rb#483
def init_with_attributes(attributes, new_record = T.unsafe(nil)); end
# Returns the contents of the record as a nicely formatted string.
#
- # source://activerecord//lib/active_record/core.rb#685
+ # source://activerecord//lib/active_record/core.rb#718
def inspect; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/core.rb#612
+ # source://activerecord//lib/active_record/core.rb#641
def present?; end
# Takes a PP and prettily prints this record to it, allowing you to get a nice result from pp record
# when pp is required.
#
- # source://activerecord//lib/active_record/core.rb#703
+ # source://activerecord//lib/active_record/core.rb#736
def pretty_print(pp); end
# Marks this record as read only.
#
- # source://activerecord//lib/active_record/core.rb#676
+ # customer = Customer.first
+ # customer.readonly!
+ # customer.save # Raises an ActiveRecord::ReadOnlyRecord
+ #
+ # source://activerecord//lib/active_record/core.rb#709
def readonly!; end
# Returns +true+ if the record is read only.
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/core.rb#621
+ # source://activerecord//lib/active_record/core.rb#650
def readonly?; end
# Sets the record to strict_loading mode. This will raise an error
@@ -17493,45 +17524,45 @@ module ActiveRecord::Core
# user.comments.first.ratings.to_a
# => ActiveRecord::StrictLoadingViolationError
#
- # source://activerecord//lib/active_record/core.rb#659
+ # source://activerecord//lib/active_record/core.rb#688
def strict_loading!(value = T.unsafe(nil), mode: T.unsafe(nil)); end
# Returns +true+ if the record is in strict_loading mode.
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/core.rb#626
+ # source://activerecord//lib/active_record/core.rb#655
def strict_loading?; end
# Returns the value of attribute strict_loading_mode.
#
- # source://activerecord//lib/active_record/core.rb#668
+ # source://activerecord//lib/active_record/core.rb#697
def strict_loading_mode; end
# Returns +true+ if the record uses strict_loading with +:n_plus_one_only+ mode enabled.
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/core.rb#671
+ # source://activerecord//lib/active_record/core.rb#700
def strict_loading_n_plus_one_only?; end
private
# @return [Boolean]
#
- # source://activerecord//lib/active_record/core.rb#760
+ # source://activerecord//lib/active_record/core.rb#793
def custom_inspect_method_defined?; end
- # source://activerecord//lib/active_record/core.rb#739
+ # source://activerecord//lib/active_record/core.rb#772
def init_internals; end
- # source://activerecord//lib/active_record/core.rb#504
+ # source://activerecord//lib/active_record/core.rb#525
def initialize_dup(other); end
- # source://activerecord//lib/active_record/core.rb#757
+ # source://activerecord//lib/active_record/core.rb#790
def initialize_internals_callback; end
- # source://activerecord//lib/active_record/core.rb#771
+ # source://activerecord//lib/active_record/core.rb#804
def inspection_filter; end
# +Array#flatten+ will call +#to_ary+ (recursively) on each of the elements of
@@ -17543,7 +17574,7 @@ module ActiveRecord::Core
#
# See also https://tenderlovemaking.com/2011/06/28/til-its-ok-to-return-nil-from-to_ary.html
#
- # source://activerecord//lib/active_record/core.rb#735
+ # source://activerecord//lib/active_record/core.rb#768
def to_ary; end
module GeneratedClassMethods
@@ -17601,20 +17632,20 @@ end
module ActiveRecord::Core::ClassMethods
# Returns an instance of +Arel::Table+ loaded with the current table name.
#
- # source://activerecord//lib/active_record/core.rb#349
+ # source://activerecord//lib/active_record/core.rb#364
def arel_table; end
- # source://activerecord//lib/active_record/core.rb#361
+ # source://activerecord//lib/active_record/core.rb#376
def cached_find_by_statement(key, &block); end
# Returns columns which shouldn't be exposed while calling +#inspect+.
#
- # source://activerecord//lib/active_record/core.rb#307
+ # source://activerecord//lib/active_record/core.rb#322
def filter_attributes; end
# Specifies columns which shouldn't be exposed while calling +#inspect+.
#
- # source://activerecord//lib/active_record/core.rb#316
+ # source://activerecord//lib/active_record/core.rb#331
def filter_attributes=(filter_attributes); end
# source://activerecord//lib/active_record/core.rb#243
@@ -17623,50 +17654,50 @@ module ActiveRecord::Core::ClassMethods
# source://activerecord//lib/active_record/core.rb#256
def find_by(*args); end
- # source://activerecord//lib/active_record/core.rb#288
+ # source://activerecord//lib/active_record/core.rb#303
def find_by!(*args); end
- # source://activerecord//lib/active_record/core.rb#296
+ # source://activerecord//lib/active_record/core.rb#311
def generated_association_methods; end
# source://activerecord//lib/active_record/core.rb#239
def initialize_find_by_cache; end
- # source://activerecord//lib/active_record/core.rb#292
+ # source://activerecord//lib/active_record/core.rb#307
def initialize_generated_modules; end
# Returns a string like 'Post(id:integer, title:string, body:text)'
#
- # source://activerecord//lib/active_record/core.rb#333
+ # source://activerecord//lib/active_record/core.rb#348
def inspect; end
- # source://activerecord//lib/active_record/core.rb#321
+ # source://activerecord//lib/active_record/core.rb#336
def inspection_filter; end
- # source://activerecord//lib/active_record/core.rb#353
+ # source://activerecord//lib/active_record/core.rb#368
def predicate_builder; end
- # source://activerecord//lib/active_record/core.rb#357
+ # source://activerecord//lib/active_record/core.rb#372
def type_caster; end
private
- # source://activerecord//lib/active_record/core.rb#403
+ # source://activerecord//lib/active_record/core.rb#418
def cached_find_by(keys, values); end
- # source://activerecord//lib/active_record/core.rb#367
+ # source://activerecord//lib/active_record/core.rb#382
def inherited(subclass); end
- # source://activerecord//lib/active_record/core.rb#389
+ # source://activerecord//lib/active_record/core.rb#404
def relation; end
- # source://activerecord//lib/active_record/core.rb#399
+ # source://activerecord//lib/active_record/core.rb#414
def table_metadata; end
end
-# source://activerecord//lib/active_record/core.rb#764
+# source://activerecord//lib/active_record/core.rb#797
class ActiveRecord::Core::InspectionMask
- # source://activerecord//lib/active_record/core.rb#765
+ # source://activerecord//lib/active_record/core.rb#798
def pretty_print(pp); end
end
@@ -17842,12 +17873,12 @@ end
# Raised when attribute has a name reserved by Active Record (when attribute
# has name of one of Active Record instance methods).
#
-# source://activerecord//lib/active_record/errors.rb#412
+# source://activerecord//lib/active_record/errors.rb#413
class ActiveRecord::DangerousAttributeError < ::ActiveRecord::ActiveRecordError; end
# Raised when creating a database if it exists.
#
-# source://activerecord//lib/active_record/errors.rb#335
+# source://activerecord//lib/active_record/errors.rb#336
class ActiveRecord::DatabaseAlreadyExists < ::ActiveRecord::StatementInvalid; end
# = Active Record Database Configurations
@@ -18429,7 +18460,7 @@ end
# This is a subclass of TransactionRollbackError, please make sure to check
# its documentation to be aware of its caveats.
#
-# source://activerecord//lib/active_record/errors.rb#524
+# source://activerecord//lib/active_record/errors.rb#525
class ActiveRecord::Deadlocked < ::ActiveRecord::TransactionRollbackError; end
# = Delegated types
@@ -18567,7 +18598,7 @@ class ActiveRecord::Deadlocked < ::ActiveRecord::TransactionRollbackError; end
#
# Now you can list a bunch of entries, call Entry#title, and polymorphism will provide you with the answer.
#
-# == Nested Attributes
+# == Nested \Attributes
#
# Enabling nested attributes on a delegated_type association allows you to
# create the entry and message in one go:
@@ -18736,6 +18767,9 @@ module ActiveRecord::Delegation
# source://activerecord//lib/active_record/relation/delegation.rb#100
def to_xml(*_arg0, **_arg1, &_arg2); end
+ # source://activerecord//lib/active_record/relation/delegation.rb#105
+ def transaction(*_arg0, **_arg1, &_arg2); end
+
# source://activerecord//lib/active_record/relation/delegation.rb#100
def |(*_arg0, **_arg1, &_arg2); end
@@ -18816,19 +18850,19 @@ class ActiveRecord::Delegation::GeneratedRelationMethods < ::Module
# source://activerecord//lib/active_record/relation/delegation.rb#72
def generate_method(method); end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#91
+ # source://mutex_m/0.2.0/mutex_m.rb#91
def lock; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#81
+ # source://mutex_m/0.2.0/mutex_m.rb#81
def locked?; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#76
+ # source://mutex_m/0.2.0/mutex_m.rb#76
def synchronize(&block); end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#86
+ # source://mutex_m/0.2.0/mutex_m.rb#86
def try_lock; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#96
+ # source://mutex_m/0.2.0/mutex_m.rb#96
def unlock; end
end
@@ -18867,10 +18901,10 @@ class ActiveRecord::DestroyAssociationAsyncJob < ::ActiveJob::Base
def owner_destroyed?(owner, ensuring_owner_was_method); end
class << self
- # source://activejob/7.1.2/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.3/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
@@ -19053,10 +19087,10 @@ module ActiveRecord::Encryption
# source://activerecord//lib/active_record/encryption/configurable.rb#10
def config; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#74
def custom_contexts; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#116
def custom_contexts=(obj); end
# source://activerecord//lib/active_record/encryption/contexts.rb#17
@@ -19075,10 +19109,10 @@ module ActiveRecord::Encryption
# source://activerecord//lib/active_record/encryption/configurable.rb#10
def config; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
def custom_contexts; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
def custom_contexts=(obj); end
# source://activerecord//lib/active_record/encryption/contexts.rb#17
@@ -19603,17 +19637,17 @@ module ActiveRecord::Encryption::EncryptableRecord
# Returns the ciphertext for +attribute_name+.
#
- # source://activerecord//lib/active_record/encryption/encryptable_record.rb#151
+ # source://activerecord//lib/active_record/encryption/encryptable_record.rb#157
def ciphertext_for(attribute_name); end
# Decrypts all the encryptable attributes and saves the changes.
#
- # source://activerecord//lib/active_record/encryption/encryptable_record.rb#165
+ # source://activerecord//lib/active_record/encryption/encryptable_record.rb#171
def decrypt; end
# Encrypts all the encryptable attributes and saves the changes.
#
- # source://activerecord//lib/active_record/encryption/encryptable_record.rb#160
+ # source://activerecord//lib/active_record/encryption/encryptable_record.rb#166
def encrypt; end
# Returns whether a given attribute is encrypted or not.
@@ -19625,32 +19659,32 @@ module ActiveRecord::Encryption::EncryptableRecord
private
- # source://activerecord//lib/active_record/encryption/encryptable_record.rb#172
+ # source://activerecord//lib/active_record/encryption/encryptable_record.rb#178
def _create_record(attribute_names = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/encryption/encryptable_record.rb#208
+ # source://activerecord//lib/active_record/encryption/encryptable_record.rb#214
def build_decrypt_attribute_assignments; end
- # source://activerecord//lib/active_record/encryption/encryptable_record.rb#202
+ # source://activerecord//lib/active_record/encryption/encryptable_record.rb#208
def build_encrypt_attribute_assignments; end
- # source://activerecord//lib/active_record/encryption/encryptable_record.rb#217
+ # source://activerecord//lib/active_record/encryption/encryptable_record.rb#223
def cant_modify_encrypted_attributes_when_frozen; end
- # source://activerecord//lib/active_record/encryption/encryptable_record.rb#187
+ # source://activerecord//lib/active_record/encryption/encryptable_record.rb#193
def decrypt_attributes; end
- # source://activerecord//lib/active_record/encryption/encryptable_record.rb#181
+ # source://activerecord//lib/active_record/encryption/encryptable_record.rb#187
def encrypt_attributes; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/encryption/encryptable_record.rb#198
+ # source://activerecord//lib/active_record/encryption/encryptable_record.rb#204
def has_encrypted_attributes?; end
# @raise [ActiveRecord::Encryption::Errors::Configuration]
#
- # source://activerecord//lib/active_record/encryption/encryptable_record.rb#194
+ # source://activerecord//lib/active_record/encryption/encryptable_record.rb#200
def validate_encryption_allowed; end
module GeneratedClassMethods
@@ -19704,7 +19738,7 @@ module ActiveRecord::Encryption::EncryptableRecord::ClassMethods
def validate_column_size(attribute_name); end
end
-# source://activerecord//lib/active_record/encryption/encryptable_record.rb#170
+# source://activerecord//lib/active_record/encryption/encryptable_record.rb#176
ActiveRecord::Encryption::EncryptableRecord::ORIGINAL_ATTRIBUTE_PREFIX = T.let(T.unsafe(nil), String)
# An ActiveModel::Type::Value that encrypts/decrypts strings of text.
@@ -19741,7 +19775,7 @@ class ActiveRecord::Encryption::EncryptedAttributeType < ::ActiveRecord::Type::T
# @return [Boolean]
#
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#47
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#51
def changed_in_place?(raw_old_value, new_value); end
# source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#35
@@ -19753,6 +19787,11 @@ class ActiveRecord::Encryption::EncryptedAttributeType < ::ActiveRecord::Type::T
# source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#15
def downcase?(*_arg0, **_arg1, &_arg2); end
+ # @return [Boolean]
+ #
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#47
+ def encrypted?(value); end
+
# source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#15
def fixed?(*_arg0, **_arg1, &_arg2); end
@@ -19762,7 +19801,7 @@ class ActiveRecord::Encryption::EncryptedAttributeType < ::ActiveRecord::Type::T
# source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#15
def previous_schemes(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#52
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#56
def previous_types; end
# Returns the value of attribute scheme.
@@ -19775,7 +19814,7 @@ class ActiveRecord::Encryption::EncryptedAttributeType < ::ActiveRecord::Type::T
# @return [Boolean]
#
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#57
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#61
def support_unencrypted_data?; end
# source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#15
@@ -19783,53 +19822,53 @@ class ActiveRecord::Encryption::EncryptedAttributeType < ::ActiveRecord::Type::T
private
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#70
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#74
def build_previous_types_for(schemes); end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#146
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#150
def clean_text_scheme; end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#80
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#84
def decrypt(value); end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#142
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#146
def decryption_options; end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#128
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#132
def encrypt(value); end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#138
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#142
def encryption_options; end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#134
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#138
def encryptor; end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#106
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#110
def handle_deserialize_error(error, value); end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#62
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#66
def previous_schemes_including_clean_text; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#76
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#80
def previous_type?; end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#66
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#70
def previous_types_without_clean_text; end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#122
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#126
def serialize_with_current(value); end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#118
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#122
def serialize_with_oldest(value); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#114
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#118
def serialize_with_oldest?; end
- # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#98
+ # source://activerecord//lib/active_record/encryption/encrypted_attribute_type.rb#102
def try_to_deserialize_with_previous_encrypted_types(value); end
end
@@ -20453,7 +20492,7 @@ class ActiveRecord::Encryption::Properties
# source://activerecord//lib/active_record/encryption/properties.rb#20
def key?(*_arg0, **_arg1, &_arg2); end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/delegation.rb#331
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/delegation.rb#331
def method_missing(method, *args, **_arg2, &block); end
# source://activerecord//lib/active_record/encryption/properties.rb#68
@@ -20469,7 +20508,7 @@ class ActiveRecord::Encryption::Properties
# source://activerecord//lib/active_record/encryption/properties.rb#73
def data; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/delegation.rb#323
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/delegation.rb#323
def respond_to_missing?(name, include_private = T.unsafe(nil)); end
end
@@ -21400,49 +21439,49 @@ end
# source://activerecord//lib/active_record/relation/finder_methods.rb#7
ActiveRecord::FinderMethods::ONE_AS_ONE = T.let(T.unsafe(nil), String)
-# source://activerecord//lib/active_record/fixtures.rb#786
+# source://activerecord//lib/active_record/fixtures.rb#802
class ActiveRecord::Fixture
include ::Enumerable
# @return [Fixture] a new instance of Fixture
#
- # source://activerecord//lib/active_record/fixtures.rb#797
+ # source://activerecord//lib/active_record/fixtures.rb#813
def initialize(fixture, model_class); end
- # source://activerecord//lib/active_record/fixtures.rb#810
+ # source://activerecord//lib/active_record/fixtures.rb#826
def [](key); end
- # source://activerecord//lib/active_record/fixtures.rb#802
+ # source://activerecord//lib/active_record/fixtures.rb#818
def class_name; end
- # source://activerecord//lib/active_record/fixtures.rb#806
+ # source://activerecord//lib/active_record/fixtures.rb#822
def each(&block); end
# @raise [FixtureClassNotFound]
#
- # source://activerecord//lib/active_record/fixtures.rb#816
+ # source://activerecord//lib/active_record/fixtures.rb#832
def find; end
# Returns the value of attribute fixture.
#
- # source://activerecord//lib/active_record/fixtures.rb#795
+ # source://activerecord//lib/active_record/fixtures.rb#811
def fixture; end
# Returns the value of attribute model_class.
#
- # source://activerecord//lib/active_record/fixtures.rb#795
+ # source://activerecord//lib/active_record/fixtures.rb#811
def model_class; end
# Returns the value of attribute fixture.
#
- # source://activerecord//lib/active_record/fixtures.rb#795
+ # source://activerecord//lib/active_record/fixtures.rb#811
def to_hash; end
end
-# source://activerecord//lib/active_record/fixtures.rb#789
+# source://activerecord//lib/active_record/fixtures.rb#805
class ActiveRecord::Fixture::FixtureError < ::StandardError; end
-# source://activerecord//lib/active_record/fixtures.rb#792
+# source://activerecord//lib/active_record/fixtures.rb#808
class ActiveRecord::Fixture::FormatError < ::ActiveRecord::Fixture::FixtureError; end
# source://activerecord//lib/active_record/fixtures.rb#12
@@ -21452,43 +21491,46 @@ class ActiveRecord::FixtureClassNotFound < ::ActiveRecord::ActiveRecordError; en
class ActiveRecord::FutureResult
# @return [FutureResult] a new instance of FutureResult
#
- # source://activerecord//lib/active_record/future_result.rb#54
+ # source://activerecord//lib/active_record/future_result.rb#55
def initialize(pool, *args, **kwargs); end
- # source://activerecord//lib/active_record/future_result.rb#82
+ # source://activerecord//lib/active_record/future_result.rb#83
def cancel; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/future_result.rb#123
+ # source://activerecord//lib/active_record/future_result.rb#124
def canceled?; end
# source://activerecord//lib/active_record/future_result.rb#50
def empty?(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/future_result.rb#78
+ # source://activerecord//lib/active_record/future_result.rb#79
def execute!(connection); end
- # source://activerecord//lib/active_record/future_result.rb#88
+ # source://activerecord//lib/active_record/future_result.rb#89
def execute_or_skip; end
# Returns the value of attribute lock_wait.
#
- # source://activerecord//lib/active_record/future_result.rb#52
+ # source://activerecord//lib/active_record/future_result.rb#53
def lock_wait; end
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/delegation.rb#331
+ def method_missing(method, *args, **_arg2, &block); end
+
# @return [Boolean]
#
- # source://activerecord//lib/active_record/future_result.rb#119
+ # source://activerecord//lib/active_record/future_result.rb#120
def pending?; end
- # source://activerecord//lib/active_record/future_result.rb#106
+ # source://activerecord//lib/active_record/future_result.rb#107
def result; end
- # source://activerecord//lib/active_record/future_result.rb#73
+ # source://activerecord//lib/active_record/future_result.rb#74
def schedule!(session); end
- # source://activerecord//lib/active_record/future_result.rb#69
+ # source://activerecord//lib/active_record/future_result.rb#70
def then(&block); end
# source://activerecord//lib/active_record/future_result.rb#50
@@ -21496,14 +21538,17 @@ class ActiveRecord::FutureResult
private
- # source://activerecord//lib/active_record/future_result.rb#151
+ # source://activerecord//lib/active_record/future_result.rb#152
def exec_query(connection, *args, **kwargs); end
- # source://activerecord//lib/active_record/future_result.rb#128
+ # source://activerecord//lib/active_record/future_result.rb#129
def execute_or_wait; end
- # source://activerecord//lib/active_record/future_result.rb#143
+ # source://activerecord//lib/active_record/future_result.rb#144
def execute_query(connection, async: T.unsafe(nil)); end
+
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/delegation.rb#323
+ def respond_to_missing?(name, include_private = T.unsafe(nil)); end
end
# source://activerecord//lib/active_record/future_result.rb#48
@@ -21555,11 +21600,11 @@ class ActiveRecord::FutureResult::EventBuffer
def instrument(name, payload = T.unsafe(nil), &block); end
end
-# source://activerecord//lib/active_record/future_result.rb#155
+# source://activerecord//lib/active_record/future_result.rb#156
class ActiveRecord::FutureResult::SelectAll < ::ActiveRecord::FutureResult
private
- # source://activerecord//lib/active_record/future_result.rb#157
+ # source://activerecord//lib/active_record/future_result.rb#158
def exec_query(*_arg0, **_arg1); end
end
@@ -21674,7 +21719,7 @@ end
# relation.where!(title: 'TODO') # => ActiveRecord::ImmutableRelation
# relation.limit!(5) # => ActiveRecord::ImmutableRelation
#
-# source://activerecord//lib/active_record/errors.rb#470
+# source://activerecord//lib/active_record/errors.rb#471
class ActiveRecord::ImmutableRelation < ::ActiveRecord::ActiveRecordError; end
# = Single table inheritance
@@ -22567,7 +22612,7 @@ class ActiveRecord::IrreversibleMigration < ::ActiveRecord::MigrationError; end
# IrreversibleOrderError is raised when a relation's order is too complex for
# +reverse_order+ to automatically reverse.
#
-# source://activerecord//lib/active_record/errors.rb#529
+# source://activerecord//lib/active_record/errors.rb#530
class ActiveRecord::IrreversibleOrderError < ::ActiveRecord::ActiveRecordError; end
# source://activerecord//lib/active_record/legacy_yaml_adapter.rb#4
@@ -22580,7 +22625,7 @@ end
# LockWaitTimeout will be raised when lock wait timeout exceeded.
#
-# source://activerecord//lib/active_record/errors.rb#537
+# source://activerecord//lib/active_record/errors.rb#538
class ActiveRecord::LockWaitTimeout < ::ActiveRecord::StatementInvalid; end
# source://activerecord//lib/active_record.rb#143
@@ -22895,7 +22940,7 @@ class ActiveRecord::LogSubscriber < ::ActiveSupport::LogSubscriber
# source://activerecord//lib/active_record/log_subscriber.rb#7
def backtrace_cleaner?; end
- # source://activesupport/7.1.2/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.3/lib/active_support/log_subscriber.rb#87
def log_levels; end
# source://activerecord//lib/active_record/log_subscriber.rb#23
@@ -22959,7 +23004,7 @@ end
# To use the DatabaseSelector in your application with default settings,
# run the provided generator.
#
-# bin/rails g active_record:multi_db
+# $ bin/rails g active_record:multi_db
#
# This will create a file named +config/initializers/multi_db.rb+ with the
# following contents:
@@ -23346,7 +23391,8 @@ end
# The \Rails package has several tools to help create and apply migrations.
#
# To generate a new migration, you can use
-# bin/rails generate migration MyNewMigration
+#
+# $ bin/rails generate migration MyNewMigration
#
# where MyNewMigration is the name of your migration. The generator will
# create an empty migration file timestamp_my_new_migration.rb
@@ -23355,7 +23401,7 @@ end
#
# There is a special syntactic shortcut to generate migrations that add fields to a table.
#
-# bin/rails generate migration add_fieldname_to_tablename fieldname:string
+# $ bin/rails generate migration add_fieldname_to_tablename fieldname:string
#
# This will generate the file timestamp_add_fieldname_to_tablename.rb, which will look like this:
# class AddFieldnameToTablename < ActiveRecord::Migration[7.1]
@@ -23527,64 +23573,64 @@ end
# Remember that you can still open your own transactions, even if you
# are in a Migration with self.disable_ddl_transaction!.
#
-# source://activerecord//lib/active_record/migration.rb#554
+# source://activerecord//lib/active_record/migration.rb#555
class ActiveRecord::Migration
# @return [Migration] a new instance of Migration
#
- # source://activerecord//lib/active_record/migration.rb#795
+ # source://activerecord//lib/active_record/migration.rb#796
def initialize(name = T.unsafe(nil), version = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/migration.rb#999
+ # source://activerecord//lib/active_record/migration.rb#1000
def announce(message); end
- # source://activerecord//lib/active_record/migration.rb#1030
+ # source://activerecord//lib/active_record/migration.rb#1031
def connection; end
- # source://activerecord//lib/active_record/migration.rb#1051
+ # source://activerecord//lib/active_record/migration.rb#1052
def copy(destination, sources, options = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/migration.rb#788
+ # source://activerecord//lib/active_record/migration.rb#789
def disable_ddl_transaction; end
- # source://activerecord//lib/active_record/migration.rb#951
+ # source://activerecord//lib/active_record/migration.rb#952
def down; end
- # source://activerecord//lib/active_record/migration.rb#979
+ # source://activerecord//lib/active_record/migration.rb#980
def exec_migration(conn, direction); end
- # source://activerecord//lib/active_record/migration.rb#801
+ # source://activerecord//lib/active_record/migration.rb#802
def execution_strategy; end
- # source://activerecord//lib/active_record/migration.rb#1034
+ # source://activerecord//lib/active_record/migration.rb#1035
def method_missing(method, *arguments, **_arg2, &block); end
# Execute this migration in the named direction
#
- # source://activerecord//lib/active_record/migration.rb#958
+ # source://activerecord//lib/active_record/migration.rb#959
def migrate(direction); end
# Returns the value of attribute name.
#
- # source://activerecord//lib/active_record/migration.rb#793
+ # source://activerecord//lib/active_record/migration.rb#794
def name; end
# Sets the attribute name
#
# @param value the value to set the attribute name to.
#
- # source://activerecord//lib/active_record/migration.rb#793
+ # source://activerecord//lib/active_record/migration.rb#794
def name=(_arg0); end
# Determines the version number of the next migration.
#
- # source://activerecord//lib/active_record/migration.rb#1118
+ # source://activerecord//lib/active_record/migration.rb#1119
def next_migration_number(number); end
# Finds the correct table name given an Active Record object.
# Uses the Active Record object's own table_name, or pre/suffix from the
# options passed in.
#
- # source://activerecord//lib/active_record/migration.rb#1109
+ # source://activerecord//lib/active_record/migration.rb#1110
def proper_table_name(name, options = T.unsafe(nil)); end
# Used to specify an operation that can be run in one direction or another.
@@ -23614,7 +23660,7 @@ class ActiveRecord::Migration
# end
# end
#
- # source://activerecord//lib/active_record/migration.rb#903
+ # source://activerecord//lib/active_record/migration.rb#904
def reversible; end
# Reverses the migration commands for the given block and
@@ -23655,12 +23701,12 @@ class ActiveRecord::Migration
#
# This command can be nested.
#
- # source://activerecord//lib/active_record/migration.rb#846
+ # source://activerecord//lib/active_record/migration.rb#847
def revert(*migration_classes, &block); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration.rb#863
+ # source://activerecord//lib/active_record/migration.rb#864
def reverting?; end
# Runs the given migration classes.
@@ -23669,33 +23715,33 @@ class ActiveRecord::Migration
# - +:direction+ - Default is +:up+.
# - +:revert+ - Default is +false+.
#
- # source://activerecord//lib/active_record/migration.rb#931
+ # source://activerecord//lib/active_record/migration.rb#932
def run(*migration_classes); end
# Takes a message argument and outputs it as is.
# A second boolean argument can be passed to specify whether to indent or not.
#
- # source://activerecord//lib/active_record/migration.rb#1007
+ # source://activerecord//lib/active_record/migration.rb#1008
def say(message, subitem = T.unsafe(nil)); end
# Outputs text along with how long it took to run its block.
# If the block returns an integer it assumes it is the number of rows affected.
#
- # source://activerecord//lib/active_record/migration.rb#1013
+ # source://activerecord//lib/active_record/migration.rb#1014
def say_with_time(message); end
# Takes a block as an argument and suppresses any output generated by the block.
#
- # source://activerecord//lib/active_record/migration.rb#1023
+ # source://activerecord//lib/active_record/migration.rb#1024
def suppress_messages; end
# Builds a hash for use in ActiveRecord::Migration#proper_table_name using
# the Active Record object's table_name prefix and suffix
#
- # source://activerecord//lib/active_record/migration.rb#1128
+ # source://activerecord//lib/active_record/migration.rb#1129
def table_name_options(config = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/migration.rb#945
+ # source://activerecord//lib/active_record/migration.rb#946
def up; end
# Used to specify an operation that is only run when migrating up
@@ -23713,76 +23759,76 @@ class ActiveRecord::Migration
# end
# end
#
- # source://activerecord//lib/active_record/migration.rb#922
+ # source://activerecord//lib/active_record/migration.rb#923
def up_only(&block); end
- # source://activerecord//lib/active_record/migration.rb#792
+ # source://activerecord//lib/active_record/migration.rb#793
def verbose; end
- # source://activerecord//lib/active_record/migration.rb#792
+ # source://activerecord//lib/active_record/migration.rb#793
def verbose=(val); end
# Returns the value of attribute version.
#
- # source://activerecord//lib/active_record/migration.rb#793
+ # source://activerecord//lib/active_record/migration.rb#794
def version; end
# Sets the attribute version
#
# @param value the value to set the attribute version to.
#
- # source://activerecord//lib/active_record/migration.rb#793
+ # source://activerecord//lib/active_record/migration.rb#794
def version=(_arg0); end
- # source://activerecord//lib/active_record/migration.rb#995
+ # source://activerecord//lib/active_record/migration.rb#996
def write(text = T.unsafe(nil)); end
private
- # source://activerecord//lib/active_record/migration.rb#1160
+ # source://activerecord//lib/active_record/migration.rb#1161
def command_recorder; end
- # source://activerecord//lib/active_record/migration.rb#1136
+ # source://activerecord//lib/active_record/migration.rb#1137
def execute_block; end
- # source://activerecord//lib/active_record/migration.rb#1144
+ # source://activerecord//lib/active_record/migration.rb#1145
def format_arguments(arguments); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration.rb#1156
+ # source://activerecord//lib/active_record/migration.rb#1157
def internal_option?(option_name); end
class << self
- # source://activerecord//lib/active_record/migration.rb#612
+ # source://activerecord//lib/active_record/migration.rb#613
def [](version); end
# Raises ActiveRecord::PendingMigrationError error if any migrations are pending
# for all database configurations in an environment.
#
- # source://activerecord//lib/active_record/migration.rb#697
+ # source://activerecord//lib/active_record/migration.rb#698
def check_all_pending!; end
# Raises ActiveRecord::PendingMigrationError error if any migrations are pending.
#
# This is deprecated in favor of +check_all_pending!+
#
- # source://activerecord//lib/active_record/migration.rb#681
+ # source://activerecord//lib/active_record/migration.rb#682
def check_pending!(connection = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/migration.rb#750
+ # source://activerecord//lib/active_record/migration.rb#751
def check_pending_migrations; end
- # source://activerecord//lib/active_record/migration.rb#616
+ # source://activerecord//lib/active_record/migration.rb#617
def current_version; end
- # source://activerecord//lib/active_record/migration.rb#671
+ # source://activerecord//lib/active_record/migration.rb#672
def delegate; end
- # source://activerecord//lib/active_record/migration.rb#671
+ # source://activerecord//lib/active_record/migration.rb#672
def delegate=(_arg0); end
- # source://activerecord//lib/active_record/migration.rb#672
+ # source://activerecord//lib/active_record/migration.rb#673
def disable_ddl_transaction; end
# Disable the transaction wrapping this migration.
@@ -23790,55 +23836,55 @@ class ActiveRecord::Migration
#
# For more details read the {"Transactional Migrations" section above}[rdoc-ref:Migration].
#
- # source://activerecord//lib/active_record/migration.rb#746
+ # source://activerecord//lib/active_record/migration.rb#747
def disable_ddl_transaction!; end
- # source://activerecord//lib/active_record/migration.rb#672
+ # source://activerecord//lib/active_record/migration.rb#673
def disable_ddl_transaction=(_arg0); end
- # source://activerecord//lib/active_record/migration.rb#600
+ # source://activerecord//lib/active_record/migration.rb#601
def inherited(subclass); end
- # source://activerecord//lib/active_record/migration.rb#713
+ # source://activerecord//lib/active_record/migration.rb#714
def load_schema_if_pending!; end
- # source://activerecord//lib/active_record/migration.rb#727
+ # source://activerecord//lib/active_record/migration.rb#728
def maintain_test_schema!; end
- # source://activerecord//lib/active_record/migration.rb#733
+ # source://activerecord//lib/active_record/migration.rb#734
def method_missing(name, *args, **_arg2, &block); end
- # source://activerecord//lib/active_record/migration.rb#738
+ # source://activerecord//lib/active_record/migration.rb#739
def migrate(direction); end
- # source://activerecord//lib/active_record/migration.rb#674
+ # source://activerecord//lib/active_record/migration.rb#675
def nearest_delegate; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration.rb#622
+ # source://activerecord//lib/active_record/migration.rb#623
def valid_version_format?(version_string); end
- # source://activerecord//lib/active_record/migration.rb#792
+ # source://activerecord//lib/active_record/migration.rb#793
def verbose; end
- # source://activerecord//lib/active_record/migration.rb#792
+ # source://activerecord//lib/active_record/migration.rb#793
def verbose=(val); end
private
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration.rb#759
+ # source://activerecord//lib/active_record/migration.rb#760
def any_schema_needs_update?; end
- # source://activerecord//lib/active_record/migration.rb#765
+ # source://activerecord//lib/active_record/migration.rb#766
def db_configs_in_current_env; end
- # source://activerecord//lib/active_record/migration.rb#783
+ # source://activerecord//lib/active_record/migration.rb#784
def env; end
- # source://activerecord//lib/active_record/migration.rb#769
+ # source://activerecord//lib/active_record/migration.rb#770
def pending_migrations; end
end
end
@@ -23846,22 +23892,22 @@ end
# This class is used to verify that all migrations have been run before
# loading a web page if config.active_record.migration_error is set to +:page_load+.
#
-# source://activerecord//lib/active_record/migration.rb#631
+# source://activerecord//lib/active_record/migration.rb#632
class ActiveRecord::Migration::CheckPending
# @return [CheckPending] a new instance of CheckPending
#
- # source://activerecord//lib/active_record/migration.rb#632
+ # source://activerecord//lib/active_record/migration.rb#633
def initialize(app, file_watcher: T.unsafe(nil)); end
- # source://activerecord//lib/active_record/migration.rb#639
+ # source://activerecord//lib/active_record/migration.rb#640
def call(env); end
private
- # source://activerecord//lib/active_record/migration.rb#658
+ # source://activerecord//lib/active_record/migration.rb#659
def build_watcher(&block); end
- # source://activerecord//lib/active_record/migration.rb#665
+ # source://activerecord//lib/active_record/migration.rb#666
def connection; end
end
@@ -24309,216 +24355,216 @@ module ActiveRecord::Migration::Compatibility
end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#397
+# source://activerecord//lib/active_record/migration/compatibility.rb#405
class ActiveRecord::Migration::Compatibility::V4_2 < ::ActiveRecord::Migration::Compatibility::V5_0
- # source://activerecord//lib/active_record/migration/compatibility.rb#415
+ # source://activerecord//lib/active_record/migration/compatibility.rb#423
def add_belongs_to(table_name, ref_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#415
+ # source://activerecord//lib/active_record/migration/compatibility.rb#423
def add_reference(table_name, ref_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#421
+ # source://activerecord//lib/active_record/migration/compatibility.rb#429
def add_timestamps(table_name, **options); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration/compatibility.rb#426
+ # source://activerecord//lib/active_record/migration/compatibility.rb#434
def index_exists?(table_name, column_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#437
+ # source://activerecord//lib/active_record/migration/compatibility.rb#445
def remove_index(table_name, column_name = T.unsafe(nil), **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#443
+ # source://activerecord//lib/active_record/migration/compatibility.rb#451
def compatible_table_definition(t); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#450
+ # source://activerecord//lib/active_record/migration/compatibility.rb#458
def index_name_for_remove(table_name, column_name, options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#398
+# source://activerecord//lib/active_record/migration/compatibility.rb#406
module ActiveRecord::Migration::Compatibility::V4_2::TableDefinition
- # source://activerecord//lib/active_record/migration/compatibility.rb#399
+ # source://activerecord//lib/active_record/migration/compatibility.rb#407
def belongs_to(*_arg0, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#399
+ # source://activerecord//lib/active_record/migration/compatibility.rb#407
def references(*_arg0, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#405
+ # source://activerecord//lib/active_record/migration/compatibility.rb#413
def timestamps(**options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#411
+ # source://activerecord//lib/active_record/migration/compatibility.rb#419
def raise_on_if_exist_options(options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#328
+# source://activerecord//lib/active_record/migration/compatibility.rb#336
class ActiveRecord::Migration::Compatibility::V5_0 < ::ActiveRecord::Migration::Compatibility::V5_1
- # source://activerecord//lib/active_record/migration/compatibility.rb#383
+ # source://activerecord//lib/active_record/migration/compatibility.rb#391
def add_belongs_to(table_name, ref_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#373
+ # source://activerecord//lib/active_record/migration/compatibility.rb#381
def add_column(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#383
+ # source://activerecord//lib/active_record/migration/compatibility.rb#391
def add_reference(table_name, ref_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#368
+ # source://activerecord//lib/active_record/migration/compatibility.rb#376
def create_join_table(table_1, table_2, column_options: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#345
+ # source://activerecord//lib/active_record/migration/compatibility.rb#353
def create_table(table_name, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#389
+ # source://activerecord//lib/active_record/migration/compatibility.rb#397
def compatible_table_definition(t); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#329
+# source://activerecord//lib/active_record/migration/compatibility.rb#337
module ActiveRecord::Migration::Compatibility::V5_0::TableDefinition
- # source://activerecord//lib/active_record/migration/compatibility.rb#335
+ # source://activerecord//lib/active_record/migration/compatibility.rb#343
def belongs_to(*args, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#330
+ # source://activerecord//lib/active_record/migration/compatibility.rb#338
def primary_key(name, type = T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#335
+ # source://activerecord//lib/active_record/migration/compatibility.rb#343
def references(*args, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#341
+ # source://activerecord//lib/active_record/migration/compatibility.rb#349
def raise_on_if_exist_options(options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#307
+# source://activerecord//lib/active_record/migration/compatibility.rb#315
class ActiveRecord::Migration::Compatibility::V5_1 < ::ActiveRecord::Migration::Compatibility::V5_2
- # source://activerecord//lib/active_record/migration/compatibility.rb#308
+ # source://activerecord//lib/active_record/migration/compatibility.rb#316
def change_column(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#319
+ # source://activerecord//lib/active_record/migration/compatibility.rb#327
def create_table(table_name, **options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#251
+# source://activerecord//lib/active_record/migration/compatibility.rb#259
class ActiveRecord::Migration::Compatibility::V5_2 < ::ActiveRecord::Migration::Compatibility::V6_0
- # source://activerecord//lib/active_record/migration/compatibility.rb#285
+ # source://activerecord//lib/active_record/migration/compatibility.rb#293
def add_timestamps(table_name, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#298
+ # source://activerecord//lib/active_record/migration/compatibility.rb#306
def command_recorder; end
- # source://activerecord//lib/active_record/migration/compatibility.rb#291
+ # source://activerecord//lib/active_record/migration/compatibility.rb#299
def compatible_table_definition(t); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#271
+# source://activerecord//lib/active_record/migration/compatibility.rb#279
module ActiveRecord::Migration::Compatibility::V5_2::CommandRecorder
- # source://activerecord//lib/active_record/migration/compatibility.rb#276
+ # source://activerecord//lib/active_record/migration/compatibility.rb#284
def invert_change_column_comment(args); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#280
+ # source://activerecord//lib/active_record/migration/compatibility.rb#288
def invert_change_table_comment(args); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#272
+ # source://activerecord//lib/active_record/migration/compatibility.rb#280
def invert_transaction(args, &block); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#252
+# source://activerecord//lib/active_record/migration/compatibility.rb#260
module ActiveRecord::Migration::Compatibility::V5_2::TableDefinition
- # source://activerecord//lib/active_record/migration/compatibility.rb#258
+ # source://activerecord//lib/active_record/migration/compatibility.rb#266
def column(name, type, index: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#253
+ # source://activerecord//lib/active_record/migration/compatibility.rb#261
def timestamps(**options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#267
+ # source://activerecord//lib/active_record/migration/compatibility.rb#275
def raise_on_duplicate_column(name); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#264
+ # source://activerecord//lib/active_record/migration/compatibility.rb#272
def raise_on_if_exist_options(options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#208
+# source://activerecord//lib/active_record/migration/compatibility.rb#216
class ActiveRecord::Migration::Compatibility::V6_0 < ::ActiveRecord::Migration::Compatibility::V6_1
- # source://activerecord//lib/active_record/migration/compatibility.rb#232
+ # source://activerecord//lib/active_record/migration/compatibility.rb#240
def add_belongs_to(table_name, ref_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#232
+ # source://activerecord//lib/active_record/migration/compatibility.rb#240
def add_reference(table_name, ref_name, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#243
+ # source://activerecord//lib/active_record/migration/compatibility.rb#251
def compatible_table_definition(t); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#209
+# source://activerecord//lib/active_record/migration/compatibility.rb#217
class ActiveRecord::Migration::Compatibility::V6_0::ReferenceDefinition < ::ActiveRecord::ConnectionAdapters::ReferenceDefinition
- # source://activerecord//lib/active_record/migration/compatibility.rb#210
+ # source://activerecord//lib/active_record/migration/compatibility.rb#218
def index_options(table_name); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#215
+# source://activerecord//lib/active_record/migration/compatibility.rb#223
module ActiveRecord::Migration::Compatibility::V6_0::TableDefinition
- # source://activerecord//lib/active_record/migration/compatibility.rb#216
+ # source://activerecord//lib/active_record/migration/compatibility.rb#224
def belongs_to(*args, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#222
+ # source://activerecord//lib/active_record/migration/compatibility.rb#230
def column(name, type, index: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#216
+ # source://activerecord//lib/active_record/migration/compatibility.rb#224
def references(*args, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#228
+ # source://activerecord//lib/active_record/migration/compatibility.rb#236
def raise_on_if_exist_options(options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#145
+# source://activerecord//lib/active_record/migration/compatibility.rb#153
class ActiveRecord::Migration::Compatibility::V6_1 < ::ActiveRecord::Migration::Compatibility::V7_0
- # source://activerecord//lib/active_record/migration/compatibility.rb#160
+ # source://activerecord//lib/active_record/migration/compatibility.rb#168
def add_column(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#169
+ # source://activerecord//lib/active_record/migration/compatibility.rb#177
def change_column(table_name, column_name, type, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#200
+ # source://activerecord//lib/active_record/migration/compatibility.rb#208
def compatible_table_definition(t); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#146
+# source://activerecord//lib/active_record/migration/compatibility.rb#154
class ActiveRecord::Migration::Compatibility::V6_1::PostgreSQLCompat
class << self
- # source://activerecord//lib/active_record/migration/compatibility.rb#147
+ # source://activerecord//lib/active_record/migration/compatibility.rb#155
def compatible_timestamp_type(type, connection); end
end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#178
+# source://activerecord//lib/active_record/migration/compatibility.rb#186
module ActiveRecord::Migration::Compatibility::V6_1::TableDefinition
- # source://activerecord//lib/active_record/migration/compatibility.rb#184
+ # source://activerecord//lib/active_record/migration/compatibility.rb#192
def change(name, type, index: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#189
+ # source://activerecord//lib/active_record/migration/compatibility.rb#197
def column(name, type, index: T.unsafe(nil), **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#179
+ # source://activerecord//lib/active_record/migration/compatibility.rb#187
def new_column_definition(name, type, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#195
+ # source://activerecord//lib/active_record/migration/compatibility.rb#203
def raise_on_if_exist_options(options); end
end
@@ -24526,33 +24572,39 @@ end
class ActiveRecord::Migration::Compatibility::V7_0 < ::ActiveRecord::Migration::Current
include ::ActiveRecord::Migration::Compatibility::V7_0::LegacyIndexName
- # source://activerecord//lib/active_record/migration/compatibility.rb#88
+ # source://activerecord//lib/active_record/migration/compatibility.rb#100
+ def add_belongs_to(table_name, ref_name, **options); end
+
+ # source://activerecord//lib/active_record/migration/compatibility.rb#90
def add_column(table_name, column_name, type, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#129
+ # source://activerecord//lib/active_record/migration/compatibility.rb#137
def add_foreign_key(from_table, to_table, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#93
+ # source://activerecord//lib/active_record/migration/compatibility.rb#95
def add_index(table_name, column_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#110
- def change_column(table_name, column_name, type, **options); end
+ # source://activerecord//lib/active_record/migration/compatibility.rb#100
+ def add_reference(table_name, ref_name, **options); end
# source://activerecord//lib/active_record/migration/compatibility.rb#118
+ def change_column(table_name, column_name, type, **options); end
+
+ # source://activerecord//lib/active_record/migration/compatibility.rb#126
def change_column_null(table_name, column_name, null, default = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#98
+ # source://activerecord//lib/active_record/migration/compatibility.rb#106
def create_table(table_name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#122
+ # source://activerecord//lib/active_record/migration/compatibility.rb#130
def disable_extension(name, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#105
+ # source://activerecord//lib/active_record/migration/compatibility.rb#113
def rename_table(table_name, new_name, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#137
+ # source://activerecord//lib/active_record/migration/compatibility.rb#145
def compatible_table_definition(t); end
end
@@ -24572,22 +24624,22 @@ module ActiveRecord::Migration::Compatibility::V7_0::LegacyIndexName
def legacy_index_name(table_name, options); end
end
-# source://activerecord//lib/active_record/migration/compatibility.rb#64
+# source://activerecord//lib/active_record/migration/compatibility.rb#65
module ActiveRecord::Migration::Compatibility::V7_0::TableDefinition
include ::ActiveRecord::Migration::Compatibility::V7_0::LegacyIndexName
- # source://activerecord//lib/active_record/migration/compatibility.rb#71
+ # source://activerecord//lib/active_record/migration/compatibility.rb#73
def change(name, type, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#66
+ # source://activerecord//lib/active_record/migration/compatibility.rb#68
def column(name, type, **options); end
- # source://activerecord//lib/active_record/migration/compatibility.rb#76
+ # source://activerecord//lib/active_record/migration/compatibility.rb#78
def index(column_name, **options); end
private
- # source://activerecord//lib/active_record/migration/compatibility.rb#82
+ # source://activerecord//lib/active_record/migration/compatibility.rb#84
def raise_on_if_exist_options(options); end
end
@@ -24614,21 +24666,21 @@ ActiveRecord::Migration::Compatibility::V7_1 = ActiveRecord::Migration::Current
# This must be defined before the inherited hook, below
#
-# source://activerecord//lib/active_record/migration.rb#562
+# source://activerecord//lib/active_record/migration.rb#563
class ActiveRecord::Migration::Current < ::ActiveRecord::Migration
- # source://activerecord//lib/active_record/migration.rb#571
+ # source://activerecord//lib/active_record/migration.rb#572
def change_table(table_name, **options); end
- # source://activerecord//lib/active_record/migration.rb#595
+ # source://activerecord//lib/active_record/migration.rb#596
def compatible_table_definition(t); end
- # source://activerecord//lib/active_record/migration.rb#579
+ # source://activerecord//lib/active_record/migration.rb#580
def create_join_table(table_1, table_2, **options); end
- # source://activerecord//lib/active_record/migration.rb#563
+ # source://activerecord//lib/active_record/migration.rb#564
def create_table(table_name, **options); end
- # source://activerecord//lib/active_record/migration.rb#587
+ # source://activerecord//lib/active_record/migration.rb#588
def drop_table(table_name, **options); end
end
@@ -24683,12 +24735,12 @@ module ActiveRecord::Migration::JoinTable
def join_table_name(table_1, table_2); end
end
-# source://activerecord//lib/active_record/migration.rb#620
+# source://activerecord//lib/active_record/migration.rb#621
ActiveRecord::Migration::MigrationFilenameRegexp = T.let(T.unsafe(nil), Regexp)
-# source://activerecord//lib/active_record/migration.rb#867
+# source://activerecord//lib/active_record/migration.rb#868
class ActiveRecord::Migration::ReversibleBlockHelper < ::Struct
- # source://activerecord//lib/active_record/migration.rb#872
+ # source://activerecord//lib/active_record/migration.rb#873
def down; end
# Returns the value of attribute reverting
@@ -24702,7 +24754,7 @@ class ActiveRecord::Migration::ReversibleBlockHelper < ::Struct
# @return [Object] the newly set value
def reverting=(_); end
- # source://activerecord//lib/active_record/migration.rb#868
+ # source://activerecord//lib/active_record/migration.rb#869
def up; end
class << self
@@ -24724,36 +24776,36 @@ end
# a +SchemaMigration+ object per database. From the Rake tasks, \Rails will
# handle this for you.
#
-# source://activerecord//lib/active_record/migration.rb#1201
+# source://activerecord//lib/active_record/migration.rb#1202
class ActiveRecord::MigrationContext
# @return [MigrationContext] a new instance of MigrationContext
#
- # source://activerecord//lib/active_record/migration.rb#1204
+ # source://activerecord//lib/active_record/migration.rb#1205
def initialize(migrations_paths, schema_migration = T.unsafe(nil), internal_metadata = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/migration.rb#1346
+ # source://activerecord//lib/active_record/migration.rb#1347
def current_environment; end
- # source://activerecord//lib/active_record/migration.rb#1302
+ # source://activerecord//lib/active_record/migration.rb#1303
def current_version; end
- # source://activerecord//lib/active_record/migration.rb#1276
+ # source://activerecord//lib/active_record/migration.rb#1277
def down(target_version = T.unsafe(nil), &block); end
- # source://activerecord//lib/active_record/migration.rb#1262
+ # source://activerecord//lib/active_record/migration.rb#1263
def forward(steps = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/migration.rb#1294
+ # source://activerecord//lib/active_record/migration.rb#1295
def get_all_versions; end
# Returns the value of attribute internal_metadata.
#
- # source://activerecord//lib/active_record/migration.rb#1202
+ # source://activerecord//lib/active_record/migration.rb#1203
def internal_metadata; end
# @raise [NoEnvironmentInSchemaError]
#
- # source://activerecord//lib/active_record/migration.rb#1354
+ # source://activerecord//lib/active_record/migration.rb#1355
def last_stored_environment; end
# Runs the migrations in the +migrations_path+.
@@ -24770,62 +24822,62 @@ class ActiveRecord::MigrationContext
# If none of the conditions are met, +up+ will be run with
# the +target_version+.
#
- # source://activerecord//lib/active_record/migration.rb#1245
+ # source://activerecord//lib/active_record/migration.rb#1246
def migrate(target_version = T.unsafe(nil), &block); end
- # source://activerecord//lib/active_record/migration.rb#1315
+ # source://activerecord//lib/active_record/migration.rb#1316
def migrations; end
# Returns the value of attribute migrations_paths.
#
- # source://activerecord//lib/active_record/migration.rb#1202
+ # source://activerecord//lib/active_record/migration.rb#1203
def migrations_paths; end
- # source://activerecord//lib/active_record/migration.rb#1328
+ # source://activerecord//lib/active_record/migration.rb#1329
def migrations_status; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration.rb#1307
+ # source://activerecord//lib/active_record/migration.rb#1308
def needs_migration?; end
- # source://activerecord//lib/active_record/migration.rb#1290
+ # source://activerecord//lib/active_record/migration.rb#1291
def open; end
- # source://activerecord//lib/active_record/migration.rb#1311
+ # source://activerecord//lib/active_record/migration.rb#1312
def pending_migration_versions; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration.rb#1350
+ # source://activerecord//lib/active_record/migration.rb#1351
def protected_environment?; end
- # source://activerecord//lib/active_record/migration.rb#1258
+ # source://activerecord//lib/active_record/migration.rb#1259
def rollback(steps = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/migration.rb#1286
+ # source://activerecord//lib/active_record/migration.rb#1287
def run(direction, target_version); end
# Returns the value of attribute schema_migration.
#
- # source://activerecord//lib/active_record/migration.rb#1202
+ # source://activerecord//lib/active_record/migration.rb#1203
def schema_migration; end
- # source://activerecord//lib/active_record/migration.rb#1266
+ # source://activerecord//lib/active_record/migration.rb#1267
def up(target_version = T.unsafe(nil), &block); end
private
- # source://activerecord//lib/active_record/migration.rb#1365
+ # source://activerecord//lib/active_record/migration.rb#1366
def connection; end
- # source://activerecord//lib/active_record/migration.rb#1369
+ # source://activerecord//lib/active_record/migration.rb#1370
def migration_files; end
- # source://activerecord//lib/active_record/migration.rb#1378
+ # source://activerecord//lib/active_record/migration.rb#1379
def move(direction, steps); end
- # source://activerecord//lib/active_record/migration.rb#1374
+ # source://activerecord//lib/active_record/migration.rb#1375
def parse_migration_filename(filename); end
end
@@ -24840,20 +24892,20 @@ end
# MigrationProxy is used to defer loading of the actual migration classes
# until they are needed
#
-# source://activerecord//lib/active_record/migration.rb#1167
+# source://activerecord//lib/active_record/migration.rb#1168
class ActiveRecord::MigrationProxy < ::Struct
# @return [MigrationProxy] a new instance of MigrationProxy
#
- # source://activerecord//lib/active_record/migration.rb#1168
+ # source://activerecord//lib/active_record/migration.rb#1169
def initialize(name, version, filename, scope); end
- # source://activerecord//lib/active_record/migration.rb#1177
+ # source://activerecord//lib/active_record/migration.rb#1178
def announce(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/migration.rb#1173
+ # source://activerecord//lib/active_record/migration.rb#1174
def basename; end
- # source://activerecord//lib/active_record/migration.rb#1177
+ # source://activerecord//lib/active_record/migration.rb#1178
def disable_ddl_transaction(*_arg0, **_arg1, &_arg2); end
# Returns the value of attribute filename
@@ -24867,7 +24919,7 @@ class ActiveRecord::MigrationProxy < ::Struct
# @return [Object] the newly set value
def filename=(_); end
- # source://activerecord//lib/active_record/migration.rb#1177
+ # source://activerecord//lib/active_record/migration.rb#1178
def migrate(*_arg0, **_arg1, &_arg2); end
# Returns the value of attribute name
@@ -24903,15 +24955,15 @@ class ActiveRecord::MigrationProxy < ::Struct
# @return [Object] the newly set value
def version=(_); end
- # source://activerecord//lib/active_record/migration.rb#1177
+ # source://activerecord//lib/active_record/migration.rb#1178
def write(*_arg0, **_arg1, &_arg2); end
private
- # source://activerecord//lib/active_record/migration.rb#1184
+ # source://activerecord//lib/active_record/migration.rb#1185
def load_migration; end
- # source://activerecord//lib/active_record/migration.rb#1180
+ # source://activerecord//lib/active_record/migration.rb#1181
def migration; end
class << self
@@ -24923,149 +24975,149 @@ class ActiveRecord::MigrationProxy < ::Struct
end
end
-# source://activerecord//lib/active_record/migration.rb#1398
+# source://activerecord//lib/active_record/migration.rb#1399
class ActiveRecord::Migrator
# @return [Migrator] a new instance of Migrator
#
- # source://activerecord//lib/active_record/migration.rb#1414
+ # source://activerecord//lib/active_record/migration.rb#1415
def initialize(direction, migrations, schema_migration, internal_metadata, target_version = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/migration.rb#1432
+ # source://activerecord//lib/active_record/migration.rb#1433
def current; end
- # source://activerecord//lib/active_record/migration.rb#1432
+ # source://activerecord//lib/active_record/migration.rb#1433
def current_migration; end
- # source://activerecord//lib/active_record/migration.rb#1428
+ # source://activerecord//lib/active_record/migration.rb#1429
def current_version; end
- # source://activerecord//lib/active_record/migration.rb#1477
+ # source://activerecord//lib/active_record/migration.rb#1478
def load_migrated; end
- # source://activerecord//lib/active_record/migration.rb#1445
+ # source://activerecord//lib/active_record/migration.rb#1446
def migrate; end
- # source://activerecord//lib/active_record/migration.rb#1473
+ # source://activerecord//lib/active_record/migration.rb#1474
def migrated; end
- # source://activerecord//lib/active_record/migration.rb#1464
+ # source://activerecord//lib/active_record/migration.rb#1465
def migrations; end
- # source://activerecord//lib/active_record/migration.rb#1468
+ # source://activerecord//lib/active_record/migration.rb#1469
def pending_migrations; end
- # source://activerecord//lib/active_record/migration.rb#1437
+ # source://activerecord//lib/active_record/migration.rb#1438
def run; end
- # source://activerecord//lib/active_record/migration.rb#1453
+ # source://activerecord//lib/active_record/migration.rb#1454
def runnable; end
private
- # source://activerecord//lib/active_record/migration.rb#1482
+ # source://activerecord//lib/active_record/migration.rb#1483
def connection; end
# Wrap the migration in a transaction only if supported by the adapter.
#
- # source://activerecord//lib/active_record/migration.rb#1577
+ # source://activerecord//lib/active_record/migration.rb#1578
def ddl_transaction(migration, &block); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration.rb#1572
+ # source://activerecord//lib/active_record/migration.rb#1573
def down?; end
- # source://activerecord//lib/active_record/migration.rb#1521
+ # source://activerecord//lib/active_record/migration.rb#1522
def execute_migration_in_transaction(migration); end
- # source://activerecord//lib/active_record/migration.rb#1542
+ # source://activerecord//lib/active_record/migration.rb#1543
def finish; end
- # source://activerecord//lib/active_record/migration.rb#1609
+ # source://activerecord//lib/active_record/migration.rb#1610
def generate_migrator_advisory_lock_id; end
# Return true if a valid version is not provided.
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration.rb#1517
+ # source://activerecord//lib/active_record/migration.rb#1518
def invalid_target?; end
# Used for running multiple migrations up to or down to a certain value.
#
- # source://activerecord//lib/active_record/migration.rb#1496
+ # source://activerecord//lib/active_record/migration.rb#1497
def migrate_without_lock; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration.rb#1512
+ # source://activerecord//lib/active_record/migration.rb#1513
def ran?(migration); end
# Stores the current environment in the database.
#
- # source://activerecord//lib/active_record/migration.rb#1506
+ # source://activerecord//lib/active_record/migration.rb#1507
def record_environment; end
- # source://activerecord//lib/active_record/migration.rb#1558
+ # source://activerecord//lib/active_record/migration.rb#1559
def record_version_state_after_migrating(version); end
# Used for running a specific migration.
#
# @raise [UnknownMigrationVersionError]
#
- # source://activerecord//lib/active_record/migration.rb#1487
+ # source://activerecord//lib/active_record/migration.rb#1488
def run_without_lock; end
- # source://activerecord//lib/active_record/migration.rb#1546
+ # source://activerecord//lib/active_record/migration.rb#1547
def start; end
- # source://activerecord//lib/active_record/migration.rb#1538
+ # source://activerecord//lib/active_record/migration.rb#1539
def target; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration.rb#1568
+ # source://activerecord//lib/active_record/migration.rb#1569
def up?; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration.rb#1589
+ # source://activerecord//lib/active_record/migration.rb#1590
def use_advisory_lock?; end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/migration.rb#1585
+ # source://activerecord//lib/active_record/migration.rb#1586
def use_transaction?(migration); end
# @raise [DuplicateMigrationNameError]
#
- # source://activerecord//lib/active_record/migration.rb#1550
+ # source://activerecord//lib/active_record/migration.rb#1551
def validate(migrations); end
- # source://activerecord//lib/active_record/migration.rb#1593
+ # source://activerecord//lib/active_record/migration.rb#1594
def with_advisory_lock; end
class << self
# For cases where a table doesn't exist like loading from schema cache
#
- # source://activerecord//lib/active_record/migration.rb#1403
+ # source://activerecord//lib/active_record/migration.rb#1404
def current_version; end
# Returns the value of attribute migrations_paths.
#
- # source://activerecord//lib/active_record/migration.rb#1400
+ # source://activerecord//lib/active_record/migration.rb#1401
def migrations_paths; end
# Sets the attribute migrations_paths
#
# @param value the value to set the attribute migrations_paths to.
#
- # source://activerecord//lib/active_record/migration.rb#1400
+ # source://activerecord//lib/active_record/migration.rb#1401
def migrations_paths=(_arg0); end
end
end
-# source://activerecord//lib/active_record/migration.rb#1608
+# source://activerecord//lib/active_record/migration.rb#1609
ActiveRecord::Migrator::MIGRATOR_SALT = T.let(T.unsafe(nil), Integer)
# Raised when a foreign key constraint cannot be added because the column type does not match the referenced column type.
@@ -25481,16 +25533,16 @@ end
# method. The exception has an +errors+ property that contains an array of AttributeAssignmentError
# objects, each corresponding to the error while assigning to an attribute.
#
-# source://activerecord//lib/active_record/errors.rb#435
+# source://activerecord//lib/active_record/errors.rb#436
class ActiveRecord::MultiparameterAssignmentErrors < ::ActiveRecord::ActiveRecordError
# @return [MultiparameterAssignmentErrors] a new instance of MultiparameterAssignmentErrors
#
- # source://activerecord//lib/active_record/errors.rb#438
+ # source://activerecord//lib/active_record/errors.rb#439
def initialize(errors = T.unsafe(nil)); end
# Returns the value of attribute errors.
#
- # source://activerecord//lib/active_record/errors.rb#436
+ # source://activerecord//lib/active_record/errors.rb#437
def errors; end
end
@@ -26010,23 +26062,23 @@ class ActiveRecord::NoDatabaseError < ::ActiveRecord::StatementInvalid
# source://activerecord//lib/active_record/errors.rb#314
def initialize(message = T.unsafe(nil), connection_pool: T.unsafe(nil)); end
- # source://activesupport/7.1.2/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.3/lib/active_support/actionable_error.rb#17
def _actions; end
- # source://activesupport/7.1.2/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.3/lib/active_support/actionable_error.rb#17
def _actions=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.3/lib/active_support/actionable_error.rb#17
def _actions?; end
class << self
- # source://activesupport/7.1.2/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.3/lib/active_support/actionable_error.rb#17
def _actions; end
- # source://activesupport/7.1.2/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.3/lib/active_support/actionable_error.rb#17
def _actions=(value); end
- # source://activesupport/7.1.2/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.3/lib/active_support/actionable_error.rb#17
def _actions?; end
# source://activerecord//lib/active_record/errors.rb#319
@@ -26312,13 +26364,13 @@ class ActiveRecord::PendingMigrationError < ::ActiveRecord::MigrationError
# source://activerecord//lib/active_record/migration.rb#146
def initialize(message = T.unsafe(nil), pending_migrations: T.unsafe(nil)); end
- # source://activesupport/7.1.2/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.3/lib/active_support/actionable_error.rb#17
def _actions; end
- # source://activesupport/7.1.2/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.3/lib/active_support/actionable_error.rb#17
def _actions=(_arg0); end
- # source://activesupport/7.1.2/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.3/lib/active_support/actionable_error.rb#17
def _actions?; end
private
@@ -26330,13 +26382,13 @@ class ActiveRecord::PendingMigrationError < ::ActiveRecord::MigrationError
def detailed_migration_message(pending_migrations); end
class << self
- # source://activesupport/7.1.2/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.3/lib/active_support/actionable_error.rb#17
def _actions; end
- # source://activesupport/7.1.2/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.3/lib/active_support/actionable_error.rb#17
def _actions=(value); end
- # source://activesupport/7.1.2/lib/active_support/actionable_error.rb#17
+ # source://activesupport/7.1.3/lib/active_support/actionable_error.rb#17
def _actions?; end
end
end
@@ -26654,7 +26706,7 @@ module ActiveRecord::Persistence
# ball = Ball.new
# ball.touch(:updated_at) # => raises ActiveRecordError
#
- # source://activerecord//lib/active_record/persistence.rb#1119
+ # source://activerecord//lib/active_record/persistence.rb#1120
def touch(*names, time: T.unsafe(nil)); end
# Updates the attributes of the model from the passed-in hash and saves the
@@ -26739,35 +26791,35 @@ module ActiveRecord::Persistence
# @yield [_self]
# @yieldparam _self [ActiveRecord::Persistence] the object that the method was called on
#
- # source://activerecord//lib/active_record/persistence.rb#1246
+ # source://activerecord//lib/active_record/persistence.rb#1247
def _create_record(attribute_names = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/persistence.rb#1196
+ # source://activerecord//lib/active_record/persistence.rb#1197
def _delete_row; end
- # source://activerecord//lib/active_record/persistence.rb#1152
+ # source://activerecord//lib/active_record/persistence.rb#1153
def _find_record(options); end
- # source://activerecord//lib/active_record/persistence.rb#1163
+ # source://activerecord//lib/active_record/persistence.rb#1164
def _in_memory_query_constraints_hash; end
- # source://activerecord//lib/active_record/persistence.rb#1178
+ # source://activerecord//lib/active_record/persistence.rb#1179
def _query_constraints_hash; end
# @raise [ReadOnlyRecord]
#
- # source://activerecord//lib/active_record/persistence.rb#1280
+ # source://activerecord//lib/active_record/persistence.rb#1281
def _raise_readonly_record_error; end
- # source://activerecord//lib/active_record/persistence.rb#1272
+ # source://activerecord//lib/active_record/persistence.rb#1273
def _raise_record_not_destroyed; end
# @raise [ActiveRecordError]
#
- # source://activerecord//lib/active_record/persistence.rb#1284
+ # source://activerecord//lib/active_record/persistence.rb#1285
def _raise_record_not_touched_error; end
- # source://activerecord//lib/active_record/persistence.rb#1200
+ # source://activerecord//lib/active_record/persistence.rb#1201
def _touch_row(attribute_names, time); end
# Updates the associated record with values matching those of the instance attributes.
@@ -26776,37 +26828,37 @@ module ActiveRecord::Persistence
# @yield [_self]
# @yieldparam _self [ActiveRecord::Persistence] the object that the method was called on
#
- # source://activerecord//lib/active_record/persistence.rb#1226
+ # source://activerecord//lib/active_record/persistence.rb#1227
def _update_record(attribute_names = T.unsafe(nil)); end
- # source://activerecord//lib/active_record/persistence.rb#1210
+ # source://activerecord//lib/active_record/persistence.rb#1211
def _update_row(attribute_names, attempted_action = T.unsafe(nil)); end
# @return [Boolean]
#
- # source://activerecord//lib/active_record/persistence.rb#1173
+ # source://activerecord//lib/active_record/persistence.rb#1174
def apply_scoping?(options); end
- # source://activerecord//lib/active_record/persistence.rb#1217
+ # source://activerecord//lib/active_record/persistence.rb#1218
def create_or_update(**_arg0, &block); end
# A hook to be overridden by association modules.
#
- # source://activerecord//lib/active_record/persistence.rb#1189
+ # source://activerecord//lib/active_record/persistence.rb#1190
def destroy_associations; end
- # source://activerecord//lib/active_record/persistence.rb#1192
+ # source://activerecord//lib/active_record/persistence.rb#1193
def destroy_row; end
- # source://activerecord//lib/active_record/persistence.rb#1140
+ # source://activerecord//lib/active_record/persistence.rb#1141
def init_internals; end
- # source://activerecord//lib/active_record/persistence.rb#1146
+ # source://activerecord//lib/active_record/persistence.rb#1147
def strict_loaded_associations; end
# @raise [ActiveRecordError]
#
- # source://activerecord//lib/active_record/persistence.rb#1268
+ # source://activerecord//lib/active_record/persistence.rb#1269
def verify_readonly_attribute(name); end
end
@@ -26979,7 +27031,7 @@ module ActiveRecord::Persistence::ClassMethods
# ==== Options
#
# [:returning]
- # (PostgreSQL only) An array of attributes to return for all successfully
+ # (PostgreSQL and SQLite3 only) An array of attributes to return for all successfully
# inserted records, which by default is the primary key.
# Pass returning: %w[ id name ] for both id and name
# or returning: false to omit the underlying RETURNING SQL
@@ -27059,7 +27111,7 @@ module ActiveRecord::Persistence::ClassMethods
# ==== Options
#
# [:returning]
- # (PostgreSQL only) An array of attributes to return for all successfully
+ # (PostgreSQL and SQLite3 only) An array of attributes to return for all successfully
# inserted records, which by default is the primary key.
# Pass returning: %w[ id name ] for both id and name
# or returning: false to omit the underlying RETURNING SQL
@@ -27215,7 +27267,7 @@ module ActiveRecord::Persistence::ClassMethods
# ==== Options
#
# [:returning]
- # (PostgreSQL only) An array of attributes to return for all successfully
+ # (PostgreSQL and SQLite3 only) An array of attributes to return for all successfully
# inserted records, which by default is the primary key.
# Pass returning: %w[ id name ] for both id and name
# or returning: false to omit the underlying RETURNING SQL
@@ -27591,7 +27643,7 @@ end
# Raised when PostgreSQL returns 'cached plan must not change result type' and
# we cannot retry gracefully (e.g. inside a transaction)
#
-# source://activerecord//lib/active_record/errors.rb#340
+# source://activerecord//lib/active_record/errors.rb#341
class ActiveRecord::PreparedStatementCacheExpired < ::ActiveRecord::StatementInvalid; end
# Raised when the number of placeholders in an SQL fragment passed to
@@ -27689,7 +27741,7 @@ end
# Superclass for errors that have been aborted (either by client or server).
#
-# source://activerecord//lib/active_record/errors.rb#533
+# source://activerecord//lib/active_record/errors.rb#534
class ActiveRecord::QueryAborted < ::ActiveRecord::StatementInvalid; end
# = Active Record Query Cache
@@ -27725,7 +27777,7 @@ end
# QueryCanceled will be raised when canceling statement due to user request.
#
-# source://activerecord//lib/active_record/errors.rb#545
+# source://activerecord//lib/active_record/errors.rb#546
class ActiveRecord::QueryCanceled < ::ActiveRecord::QueryAborted; end
# = Active Record Query Logs
@@ -27804,10 +27856,10 @@ module ActiveRecord::QueryLogs
# source://activerecord//lib/active_record/query_logs.rb#77
def cache_query_log_tags=(val); end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#49
def cached_comment; end
- # source://activesupport/7.1.2/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
+ # source://activesupport/7.1.3/lib/active_support/core_ext/module/attribute_accessors_per_thread.rb#108
def cached_comment=(obj); end
# source://activerecord//lib/active_record/query_logs.rb#82
@@ -29867,7 +29919,7 @@ class ActiveRecord::ReadOnlyError < ::ActiveRecord::ActiveRecordError; end
# Raised on attempt to update record that is instantiated as read only.
#
-# source://activerecord//lib/active_record/errors.rb#372
+# source://activerecord//lib/active_record/errors.rb#373
class ActiveRecord::ReadOnlyRecord < ::ActiveRecord::ActiveRecordError; end
# source://activerecord//lib/active_record/readonly_attributes.rb#4
@@ -30049,7 +30101,7 @@ module ActiveRecord::Reflection
private
- # source://activestorage/7.1.2/lib/active_storage/reflection.rb#37
+ # source://activestorage/7.1.3/lib/active_storage/reflection.rb#37
def reflection_class_for(macro); end
end
@@ -31066,20 +31118,25 @@ class ActiveRecord::Relation
# Compares two relations for equality.
#
- # source://activerecord//lib/active_record/relation.rb#798
+ # source://activerecord//lib/active_record/relation.rb#813
def ==(other); end
- # source://activerecord//lib/active_record/relation.rb#456
+ # source://activerecord//lib/active_record/relation.rb#471
def _exec_scope(*_arg0, **_arg1, &_arg2); end
- # source://activerecord//lib/active_record/relation.rb#848
+ # source://activerecord//lib/active_record/relation.rb#863
def alias_tracker(joins = T.unsafe(nil), aliases = T.unsafe(nil)); end
# Returns true if there are any records.
#
+ # When a pattern argument is given, this method checks whether elements in
+ # the Enumerable match the pattern via the case-equality operator (===).
+ #
+ # posts.any?(Post) # => true or false
+ #
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#302
+ # source://activerecord//lib/active_record/relation.rb#312
def any?(*args); end
# @yield [attr, bind]
@@ -31091,7 +31148,7 @@ class ActiveRecord::Relation
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#819
+ # source://activerecord//lib/active_record/relation.rb#834
def blank?; end
# Initializes new record from relation while maintaining the current
@@ -31128,12 +31185,12 @@ class ActiveRecord::Relation
#
# Product.where("name like ?", "%Game%").cache_key(:last_reviewed_at)
#
- # source://activerecord//lib/active_record/relation.rb#344
+ # source://activerecord//lib/active_record/relation.rb#359
def cache_key(timestamp_column = T.unsafe(nil)); end
# Returns a cache key along with the version.
#
- # source://activerecord//lib/active_record/relation.rb#423
+ # source://activerecord//lib/active_record/relation.rb#438
def cache_key_with_version; end
# Returns a cache version that can be used together with the cache key to form
@@ -31147,7 +31204,7 @@ class ActiveRecord::Relation
#
# SELECT COUNT(*), MAX("products"."updated_at") FROM "products" WHERE (name like '%Cosmic Encounter%')
#
- # source://activerecord//lib/active_record/relation.rb#371
+ # source://activerecord//lib/active_record/relation.rb#386
def cache_version(timestamp_column = T.unsafe(nil)); end
# Tries to create a new record with the same scoped attributes
@@ -31242,7 +31299,7 @@ class ActiveRecord::Relation
# Post.distinct.delete_all
# # => ActiveRecord::ActiveRecordError: delete_all doesn't support distinct
#
- # source://activerecord//lib/active_record/relation.rb#631
+ # source://activerecord//lib/active_record/relation.rb#646
def delete_all; end
# Finds and deletes all records matching the specified conditions.
@@ -31255,7 +31312,7 @@ class ActiveRecord::Relation
# Person.delete_by(name: 'Spartacus', rating: 4)
# Person.delete_by("published_at < ?", 2.weeks.ago)
#
- # source://activerecord//lib/active_record/relation.rb#674
+ # source://activerecord//lib/active_record/relation.rb#689
def delete_by(*args); end
# Destroys the records by instantiating each
@@ -31275,7 +31332,7 @@ class ActiveRecord::Relation
#
# Person.where(age: 0..18).destroy_all
#
- # source://activerecord//lib/active_record/relation.rb#609
+ # source://activerecord//lib/active_record/relation.rb#624
def destroy_all; end
# Finds and destroys all records matching the specified conditions.
@@ -31288,14 +31345,14 @@ class ActiveRecord::Relation
# Person.destroy_by(name: 'Spartacus', rating: 4)
# Person.destroy_by("published_at < ?", 2.weeks.ago)
#
- # source://activerecord//lib/active_record/relation.rb#661
+ # source://activerecord//lib/active_record/relation.rb#676
def destroy_by(*args); end
# Returns true if relation needs eager loading.
#
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#783
+ # source://activerecord//lib/active_record/relation.rb#798
def eager_loading?; end
# Returns true if there are no records.
@@ -31307,7 +31364,7 @@ class ActiveRecord::Relation
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#840
+ # source://activerecord//lib/active_record/relation.rb#855
def empty_scope?; end
# Serializes the relation objects Array.
@@ -31361,8 +31418,8 @@ class ActiveRecord::Relation
#
# If creation failed because of a unique constraint, this method will
# assume it encountered a race condition and will try finding the record
- # once more If somehow the second find still find no record because a
- # concurrent DELETE happened, it will then raise an
+ # once more. If somehow the second find still does not find a record
+ # because a concurrent DELETE happened, it will then raise an
# ActiveRecord::RecordNotFound exception.
#
# Please note this method is not atomic, it runs first a SELECT,
@@ -31397,10 +31454,10 @@ class ActiveRecord::Relation
# @return [Boolean]
#
- # source://activerecord//lib/active_record/relation.rb#844
+ # source://activerecord//lib/active_record/relation.rb#859
def has_limit_or_offset?; end
- # source://activerecord//lib/active_record/relation.rb#831
+ # source://activerecord//lib/active_record/relation.rb#846
def inspect; end
# Joins that are also marked for preloading. In which case we should just eager load them.
@@ -31408,7 +31465,7 @@ class ActiveRecord::Relation
# represent the same association, but that aren't matched by this. Also, we could have
# nested hashes which partially match, e.g. { a: :b } & { a: [:b, :c] }
#
- # source://activerecord//lib/active_record/relation.rb#793
+ # source://activerecord//lib/active_record/relation.rb#808
def joined_includes_values; end
# Returns the value of attribute klass.
@@ -31423,7 +31480,7 @@ class ActiveRecord::Relation
#
# Post.where(published: true).load # => #
+#
# # fixtures/active_storage/blobs.yml
# first_thumbnail_blob: <%= ActiveStorage::FixtureSet.blob filename: "first.png" %>
#
+#
+#
# # fixtures/active_storage/attachments.yml
# first_thumbnail_attachment:
# name: thumbnail
@@ -2269,19 +2273,19 @@ end
# When processed, Active Record will insert database records for each fixture
# entry and will ensure the Active Storage relationship is intact.
#
-# source://activestorage//lib/active_storage/fixture_set.rb#40
+# source://activestorage//lib/active_storage/fixture_set.rb#44
class ActiveStorage::FixtureSet
include ::ActiveSupport::Testing::FileFixtures
include ::ActiveRecord::SecureToken
extend ::ActiveRecord::SecureToken::ClassMethods
- # source://activesupport/7.1.2/lib/active_support/testing/file_fixtures.rb#20
+ # source://activesupport/7.1.3/lib/active_support/testing/file_fixtures.rb#20
def file_fixture_path; end
- # source://activesupport/7.1.2/lib/active_support/testing/file_fixtures.rb#20
+ # source://activesupport/7.1.3/lib/active_support/testing/file_fixtures.rb#20
def file_fixture_path?; end
- # source://activestorage//lib/active_storage/fixture_set.rb#66
+ # source://activestorage//lib/active_storage/fixture_set.rb#70
def prepare(instance, **attributes); end
class << self
@@ -2303,16 +2307,16 @@ class ActiveStorage::FixtureSet
# service_name: "public"
# ) %>
#
- # source://activestorage//lib/active_storage/fixture_set.rb#62
+ # source://activestorage//lib/active_storage/fixture_set.rb#66
def blob(filename:, **attributes); end
- # source://activesupport/7.1.2/lib/active_support/testing/file_fixtures.rb#20
+ # source://activesupport/7.1.3/lib/active_support/testing/file_fixtures.rb#20
def file_fixture_path; end
- # source://activesupport/7.1.2/lib/active_support/testing/file_fixtures.rb#20
+ # source://activesupport/7.1.3/lib/active_support/testing/file_fixtures.rb#20
def file_fixture_path=(value); end
- # source://activesupport/7.1.2/lib/active_support/testing/file_fixtures.rb#20
+ # source://activesupport/7.1.3/lib/active_support/testing/file_fixtures.rb#20
def file_fixture_path?; end
end
end
@@ -2376,7 +2380,7 @@ class ActiveStorage::LogSubscriber < ::ActiveSupport::LogSubscriber
def log_prefix_for_service(event); end
class << self
- # source://activesupport/7.1.2/lib/active_support/log_subscriber.rb#87
+ # source://activesupport/7.1.3/lib/active_support/log_subscriber.rb#87
def log_levels; end
end
end
@@ -2385,10 +2389,10 @@ class ActiveStorage::MirrorJob < ::ActiveStorage::BaseJob
def perform(key, checksum:); end
class << self
- # source://activejob/7.1.2/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.3/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
@@ -2401,28 +2405,6 @@ class ActiveStorage::NamedVariant
def transformations; end
end
-class ActiveStorage::Preview
- def initialize(blob, variation_or_variation_key); end
-
- def blob; end
- def download(&block); end
- def image; end
- def key; end
- def processed; end
- def url(**options); end
- def variation; end
-
- private
-
- def previewer; end
- def previewer_class; end
- def process; end
- def processed?; end
- def variant; end
-end
-
-class ActiveStorage::Preview::UnprocessedError < ::StandardError; end
-
# Raised when a Previewer is unable to generate a preview image.
#
# source://activestorage//lib/active_storage/errors.rb#28
@@ -2579,10 +2561,10 @@ class ActiveStorage::PurgeJob < ::ActiveStorage::BaseJob
def perform(blob); end
class << self
- # source://activejob/7.1.2/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.3/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
@@ -2592,10 +2574,10 @@ class ActiveStorage::Record < ::ActiveRecord::Base
include ::ActiveStorage::Record::GeneratedAssociationMethods
class << self
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
- # source://activerecord/7.1.2/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.3/lib/active_record/enum.rb#167
def defined_enums; end
end
end
@@ -2688,17 +2670,17 @@ class ActiveStorage::Representations::BaseController < ::ActiveStorage::BaseCont
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
def blob_scope; end
def set_representation; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -2713,14 +2695,14 @@ class ActiveStorage::Representations::ProxyController < ::ActiveStorage::Represe
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -2730,11 +2712,11 @@ class ActiveStorage::Representations::RedirectController < ::ActiveStorage::Repr
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -3004,10 +2986,10 @@ class ActiveStorage::TransformJob < ::ActiveStorage::BaseJob
def perform(blob, transformations); end
class << self
- # source://activejob/7.1.2/lib/active_job/queue_name.rb#55
+ # source://activejob/7.1.3/lib/active_job/queue_name.rb#55
def queue_name; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
@@ -3086,99 +3068,78 @@ ActiveStorage::VERSION::STRING = T.let(T.unsafe(nil), String)
# source://activestorage//lib/active_storage/gem_version.rb#12
ActiveStorage::VERSION::TINY = T.let(T.unsafe(nil), Integer)
-class ActiveStorage::Variant
- def initialize(blob, variation_or_variation_key); end
-
- def blob; end
- def content_type(*_arg0, **_arg1, &_arg2); end
- def destroy; end
- def download(&block); end
- def filename; end
- def image; end
- def key; end
- def processed; end
- def service(*_arg0, **_arg1, &_arg2); end
- def url(expires_in: T.unsafe(nil), disposition: T.unsafe(nil)); end
- def variation; end
-
- private
-
- def process; end
- def processed?; end
-end
-
class ActiveStorage::VariantRecord < ::ActiveStorage::Record
include ::ActiveStorage::VariantRecord::GeneratedAttributeMethods
include ::ActiveStorage::VariantRecord::GeneratedAssociationMethods
- # source://activerecord/7.1.2/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.3/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_blob(*args); end
- # source://activerecord/7.1.2/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.3/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_image_attachment(*args); end
- # source://activerecord/7.1.2/lib/active_record/autosave_association.rb#160
+ # source://activerecord/7.1.3/lib/active_record/autosave_association.rb#160
def autosave_associated_records_for_image_blob(*args); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activerecord/7.1.2/lib/active_record/reflection.rb#11
+ # source://activerecord/7.1.3/lib/active_record/reflection.rb#11
def _reflections; end
- # source://activemodel/7.1.2/lib/active_model/validations.rb#71
+ # source://activemodel/7.1.3/lib/active_model/validations.rb#71
def _validators; end
# source://activestorage//lib/active_storage/reflection.rb#53
def attachment_reflections; end
- # source://activerecord/7.1.2/lib/active_record/enum.rb#167
+ # source://activerecord/7.1.3/lib/active_record/enum.rb#167
def defined_enums; end
- # source://activerecord/7.1.2/lib/active_record/scoping/named.rb#174
+ # source://activerecord/7.1.3/lib/active_record/scoping/named.rb#174
def with_attached_image(*args, **_arg1); end
end
end
module ActiveStorage::VariantRecord::GeneratedAssociationMethods
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#103
def blob; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#111
def blob=(value); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/belongs_to.rb#145
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/belongs_to.rb#145
def blob_changed?; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/belongs_to.rb#149
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/belongs_to.rb#149
def blob_previously_changed?; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#32
def build_blob(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#32
def build_image_attachment(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#32
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#32
def build_image_blob(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#36
def create_blob(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#40
def create_blob!(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#36
def create_image_attachment(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#40
def create_image_attachment!(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#36
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#36
def create_image_blob(*args, &block); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#40
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#40
def create_image_blob!(*args, &block); end
# source://activestorage//lib/active_storage/attached/model.rb#99
@@ -3187,63 +3148,39 @@ module ActiveStorage::VariantRecord::GeneratedAssociationMethods
# source://activestorage//lib/active_storage/attached/model.rb#104
def image=(attachable); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#103
def image_attachment; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#111
def image_attachment=(value); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#103
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#103
def image_blob; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/association.rb#111
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/association.rb#111
def image_blob=(value); end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#19
def reload_blob; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#19
def reload_image_attachment; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#19
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#19
def reload_image_blob; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#23
def reset_blob; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#23
def reset_image_attachment; end
- # source://activerecord/7.1.2/lib/active_record/associations/builder/singular_association.rb#23
+ # source://activerecord/7.1.3/lib/active_record/associations/builder/singular_association.rb#23
def reset_image_blob; end
end
module ActiveStorage::VariantRecord::GeneratedAttributeMethods; end
-class ActiveStorage::VariantWithRecord
- def initialize(blob, variation); end
-
- def blob; end
- def content_type(*_arg0, **_arg1, &_arg2); end
- def destroy; end
- def download(*_arg0, **_arg1, &_arg2); end
- def filename; end
- def image; end
- def key(*_arg0, **_arg1, &_arg2); end
- def processed; end
- def service(*_arg0, **_arg1, &_arg2); end
- def url(*_arg0, **_arg1, &_arg2); end
- def variation; end
-
- private
-
- def create_or_find_record(image:); end
- def process; end
- def processed?; end
- def record; end
- def transform_blob; end
-end
-
class ActiveStorage::Variation
def initialize(transformations); end
diff --git a/sorbet/rbi/gems/activesupport@7.1.2.rbi b/sorbet/rbi/gems/activesupport@7.1.3.rbi
similarity index 97%
rename from sorbet/rbi/gems/activesupport@7.1.2.rbi
rename to sorbet/rbi/gems/activesupport@7.1.3.rbi
index 567aa0a0e..a67cd241c 100644
--- a/sorbet/rbi/gems/activesupport@7.1.2.rbi
+++ b/sorbet/rbi/gems/activesupport@7.1.3.rbi
@@ -1098,13 +1098,13 @@ ActiveSupport::Cache::FileStore::GITKEEP_FILES = T.let(T.unsafe(nil), Array)
# a cleanup will occur which tries to prune the cache down to three quarters
# of the maximum size by removing the least recently used entries.
#
-# Unlike other Cache store implementations, MemoryStore does not compress
-# values by default. MemoryStore does not benefit from compression as much
+# Unlike other Cache store implementations, +MemoryStore+ does not compress
+# values by default. +MemoryStore+ does not benefit from compression as much
# as other Store implementations, as it does not send data over a network.
# However, when compression is enabled, it still pays the full cost of
# compression in terms of cpu use.
#
-# MemoryStore is thread-safe.
+# +MemoryStore+ is thread-safe.
#
# source://activesupport//lib/active_support/cache/memory_store.rb#28
class ActiveSupport::Cache::MemoryStore < ::ActiveSupport::Cache::Store
@@ -1271,7 +1271,7 @@ class ActiveSupport::Cache::NullStore < ::ActiveSupport::Cache::Store
private
- # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#159
+ # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#162
def delete_entry(key, **_arg1); end
# source://activesupport//lib/active_support/cache/null_store.rb#42
@@ -1283,7 +1283,7 @@ class ActiveSupport::Cache::NullStore < ::ActiveSupport::Cache::Store
# source://activesupport//lib/active_support/cache/null_store.rb#49
def write_entry(key, entry, **_arg2); end
- # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#150
+ # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#153
def write_serialized_entry(key, payload, **_arg2); end
class << self
@@ -1303,29 +1303,33 @@ ActiveSupport::Cache::OPTION_ALIASES = T.let(T.unsafe(nil), Hash)
# = Redis \Cache \Store
#
-# Deployment note: Take care to use a *dedicated Redis cache* rather
-# than pointing this at your existing Redis server. It won't cope well
-# with mixed usage patterns and it won't expire cache entries by default.
+# Deployment note: Take care to use a dedicated Redis cache rather
+# than pointing this at a persistent Redis server (for example, one used as
+# an Active Job queue). Redis won't cope well with mixed usage patterns and it
+# won't expire cache entries by default.
#
# Redis cache server setup guide: https://redis.io/topics/lru-cache
#
-# * Supports vanilla Redis, hiredis, and Redis::Distributed.
-# * Supports Memcached-like sharding across Redises with Redis::Distributed.
+# * Supports vanilla Redis, hiredis, and +Redis::Distributed+.
+# * Supports Memcached-like sharding across Redises with +Redis::Distributed+.
# * Fault tolerant. If the Redis server is unavailable, no exceptions are
# raised. Cache fetches are all misses and writes are dropped.
# * Local cache. Hot in-memory primary cache within block/middleware scope.
-# * +read_multi+ and +write_multi+ support for Redis mget/mset. Use Redis::Distributed
-# 4.0.1+ for distributed mget support.
+# * +read_multi+ and +write_multi+ support for Redis mget/mset. Use
+# +Redis::Distributed+ 4.0.1+ for distributed mget support.
# * +delete_matched+ support for Redis KEYS globs.
#
-# source://activesupport//lib/active_support/cache/redis_cache_store.rb#36
+# source://activesupport//lib/active_support/cache/redis_cache_store.rb#37
class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store
include ::ActiveSupport::Cache::Strategy::LocalCache
# Creates a new Redis cache store.
#
- # Handles four options: :redis block, :redis instance, single :url
- # string, and multiple :url strings.
+ # There are four ways to provide the Redis client used by the cache: the
+ # +:redis+ param can be a Redis instance or a block that returns a Redis
+ # instance, or the +:url+ param can be a string or an array of strings
+ # which will be used to create a Redis instance or a +Redis::Distributed+
+ # instance.
#
# Option Class Result
# :redis Proc -> options[:redis].call
@@ -1348,7 +1352,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store
#
# Race condition TTL is not set by default. This can be used to avoid
# "thundering herd" cache writes when hot cache entries are expired.
- # See ActiveSupport::Cache::Store#fetch for more.
+ # See ActiveSupport::Cache::Store#fetch for more.
#
# Setting skip_nil: true will not cache nil results:
#
@@ -1359,7 +1363,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store
#
# @return [RedisCacheStore] a new instance of RedisCacheStore
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#145
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#149
def initialize(error_handler: T.unsafe(nil), **redis_options); end
# Cache Store API implementation.
@@ -1381,7 +1385,7 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store
# Decrement a cached integer value using the Redis decrby atomic operator.
# Returns the updated value.
#
- # If the key is unset or has expired, it will be set to -amount:
+ # If the key is unset or has expired, it will be set to +-amount+:
#
# cache.decrement("foo") # => -1
#
@@ -1438,12 +1442,12 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store
# source://activesupport//lib/active_support/cache/strategy/local_cache.rb#97
def increment(name, amount = T.unsafe(nil), options = T.unsafe(nil)); end
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#160
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#164
def inspect; end
# Returns the value of attribute max_key_bytesize.
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#108
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#109
def max_key_bytesize; end
# Cache Store API implementation.
@@ -1451,87 +1455,87 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store
# Read multiple values at once. Returns a hash of requested keys ->
# fetched values.
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#168
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#172
def read_multi(*names); end
# Returns the value of attribute redis.
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#109
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#110
def redis; end
# Get info from redis servers.
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#291
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#295
def stats; end
private
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#440
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#444
def change_counter(key, amount, options); end
# Delete an entry from the cache.
#
- # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#159
+ # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#162
def delete_entry(key, **_arg1); end
# Deletes multiple entries in the cache. Returns the number of entries deleted.
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#382
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#386
def delete_multi_entries(entries, **_options); end
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#418
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#422
def deserialize_entry(payload, raw: T.unsafe(nil), **_arg2); end
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#474
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#478
def failsafe(method, returning: T.unsafe(nil)); end
# Truncate keys that exceed 1kB.
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#404
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#408
def normalize_key(key, options); end
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#296
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#300
def pipeline_entries(entries, &block); end
# Store provider interface:
# Read an entry from the cache.
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#310
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#314
def read_entry(key, **options); end
# source://activesupport//lib/active_support/cache/strategy/local_cache.rb#134
- def read_multi_entries(keys, **options); end
+ def read_multi_entries(names, **options); end
# source://activesupport//lib/active_support/cache/strategy/local_cache.rb#120
def read_serialized_entry(key, raw: T.unsafe(nil), **options); end
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#434
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#438
def serialize_entries(entries, **options); end
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#426
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#430
def serialize_entry(entry, raw: T.unsafe(nil), **options); end
# @return [Boolean]
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#467
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#471
def supports_expire_nx?; end
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#408
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#412
def truncate_key(key); end
# Write an entry to the cache.
#
# Requires Redis 2.6.12+ for extended SET options.
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#347
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#351
def write_entry(key, entry, raw: T.unsafe(nil), **options); end
# Nonstandard store provider API to write multiple values at once.
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#389
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#393
def write_multi_entries(entries, **options); end
- # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#150
+ # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#153
def write_serialized_entry(key, payload, **_arg2); end
class << self
@@ -1546,40 +1550,40 @@ class ActiveSupport::Cache::RedisCacheStore < ::ActiveSupport::Cache::Store
# :url String -> Redis.new(url: …)
# :url Array -> Redis::Distributed.new([{ url: … }, { url: … }, …])
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#80
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#81
def build_redis(redis: T.unsafe(nil), url: T.unsafe(nil), **redis_options); end
# Advertise cache versioning support.
#
# @return [Boolean]
#
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#62
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#63
def supports_cache_versioning?; end
private
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#103
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#104
def build_redis_client(**redis_options); end
- # source://activesupport//lib/active_support/cache/redis_cache_store.rb#97
+ # source://activesupport//lib/active_support/cache/redis_cache_store.rb#98
def build_redis_distributed_client(urls:, **redis_options); end
end
end
-# source://activesupport//lib/active_support/cache/redis_cache_store.rb#46
+# source://activesupport//lib/active_support/cache/redis_cache_store.rb#47
ActiveSupport::Cache::RedisCacheStore::DEFAULT_ERROR_HANDLER = T.let(T.unsafe(nil), Proc)
-# source://activesupport//lib/active_support/cache/redis_cache_store.rb#40
+# source://activesupport//lib/active_support/cache/redis_cache_store.rb#41
ActiveSupport::Cache::RedisCacheStore::DEFAULT_REDIS_OPTIONS = T.let(T.unsafe(nil), Hash)
-# Keys are truncated with the ActiveSupport digest if they exceed 1kB
+# Keys are truncated with the Active Support digest if they exceed 1kB
#
-# source://activesupport//lib/active_support/cache/redis_cache_store.rb#38
+# source://activesupport//lib/active_support/cache/redis_cache_store.rb#39
ActiveSupport::Cache::RedisCacheStore::MAX_KEY_BYTESIZE = T.let(T.unsafe(nil), Integer)
# The maximum number of entries to receive per SCAN call.
#
-# source://activesupport//lib/active_support/cache/redis_cache_store.rb#58
+# source://activesupport//lib/active_support/cache/redis_cache_store.rb#59
ActiveSupport::Cache::RedisCacheStore::SCAN_BATCH_SIZE = T.let(T.unsafe(nil), Integer)
# source://activesupport//lib/active_support/cache/serializer_with_fallback.rb#8
@@ -1730,8 +1734,8 @@ ActiveSupport::Cache::SerializerWithFallback::SERIALIZERS = T.let(T.unsafe(nil),
# Some implementations may not support all methods beyond the basic cache
# methods of #fetch, #write, #read, #exist?, and #delete.
#
-# ActiveSupport::Cache::Store can store any Ruby object that is supported by
-# its +coder+'s +dump+ and +load+ methods.
+# +ActiveSupport::Cache::Store+ can store any Ruby object that is supported
+# by its +coder+'s +dump+ and +load+ methods.
#
# cache = ActiveSupport::Cache::MemoryStore.new
#
@@ -1930,8 +1934,8 @@ class ActiveSupport::Cache::Store
#
# ==== Options
#
- # Internally, +fetch+ calls #read_entry, and calls #write_entry on a cache
- # miss. Thus, +fetch+ supports the same options as #read and #write.
+ # Internally, +fetch+ calls +read_entry+, and calls +write_entry+ on a
+ # cache miss. Thus, +fetch+ supports the same options as #read and #write.
# Additionally, +fetch+ supports the following options:
#
# * force: true - Forces a cache "miss," meaning we treat the
@@ -2193,7 +2197,7 @@ class ActiveSupport::Cache::Store
def delete_multi_entries(entries, **options); end
# source://activesupport//lib/active_support/cache.rb#821
- def deserialize_entry(payload); end
+ def deserialize_entry(payload, **_arg1); end
# Expands key to be a consistent string value. Invokes +cache_key+ if
# object responds to +cache_key+. Otherwise, +to_param+ method will be
@@ -2359,31 +2363,31 @@ module ActiveSupport::Cache::Strategy::LocalCache
private
- # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#182
+ # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#185
def bypass_local_cache(&block); end
- # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#159
+ # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#162
def delete_entry(key, **_arg1); end
- # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#178
+ # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#181
def local_cache; end
- # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#174
+ # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#177
def local_cache_key; end
# source://activesupport//lib/active_support/cache/strategy/local_cache.rb#134
- def read_multi_entries(keys, **options); end
+ def read_multi_entries(names, **options); end
# source://activesupport//lib/active_support/cache/strategy/local_cache.rb#120
def read_serialized_entry(key, raw: T.unsafe(nil), **options); end
- # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#186
+ # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#189
def use_temporary_local_cache(temporary_cache); end
- # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#164
+ # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#167
def write_cache_value(name, value, **options); end
- # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#150
+ # source://activesupport//lib/active_support/cache/strategy/local_cache.rb#153
def write_serialized_entry(key, payload, **_arg2); end
end
@@ -2461,29 +2465,42 @@ end
# source://activesupport//lib/active_support/cache.rb#26
ActiveSupport::Cache::UNIVERSAL_OPTIONS = T.let(T.unsafe(nil), Array)
-# source://activesupport//lib/active_support/cache.rb#1067
+# Enables the dynamic configuration of Cache entry options while ensuring
+# that conflicting options are not both set. When a block is given to
+# ActiveSupport::Cache::Store#fetch, the second argument will be an
+# instance of +WriteOptions+.
+#
+# source://activesupport//lib/active_support/cache.rb#1071
class ActiveSupport::Cache::WriteOptions
# @return [WriteOptions] a new instance of WriteOptions
#
- # source://activesupport//lib/active_support/cache.rb#1068
+ # source://activesupport//lib/active_support/cache.rb#1072
def initialize(options); end
- # source://activesupport//lib/active_support/cache.rb#1089
+ # source://activesupport//lib/active_support/cache.rb#1096
def expires_at; end
- # source://activesupport//lib/active_support/cache.rb#1093
+ # Sets the Cache entry's +expires_at+ value. If an +expires_in+ option was
+ # previously set, this will unset it since +expires_at+ and +expires_in+
+ # cannot both be set.
+ #
+ # source://activesupport//lib/active_support/cache.rb#1103
def expires_at=(expires_at); end
- # source://activesupport//lib/active_support/cache.rb#1080
+ # source://activesupport//lib/active_support/cache.rb#1084
def expires_in; end
- # source://activesupport//lib/active_support/cache.rb#1084
+ # Sets the Cache entry's +expires_in+ value. If an +expires_at+ option was
+ # previously set, this will unset it since +expires_in+ and +expires_at+
+ # cannot both be set.
+ #
+ # source://activesupport//lib/active_support/cache.rb#1091
def expires_in=(expires_in); end
- # source://activesupport//lib/active_support/cache.rb#1072
+ # source://activesupport//lib/active_support/cache.rb#1076
def version; end
- # source://activesupport//lib/active_support/cache.rb#1076
+ # source://activesupport//lib/active_support/cache.rb#1080
def version=(version); end
end
@@ -4387,15 +4404,15 @@ end
# You can create a custom behavior or set any from the +DEFAULT_BEHAVIORS+
# constant. Available behaviors are:
#
-# [+raise+] Raise ActiveSupport::DeprecationException.
-# [+stderr+] Log all deprecation warnings to $stderr.
-# [+log+] Log all deprecation warnings to +Rails.logger+.
-# [+notify+] Use ActiveSupport::Notifications to notify +deprecation.rails+.
-# [+report+] Use ActiveSupport::ErrorReporter to report deprecations.
-# [+silence+] Do nothing. On \Rails, set config.active_support.report_deprecations = false to disable all behaviors.
+# [+:raise+] Raise ActiveSupport::DeprecationException.
+# [+:stderr+] Log all deprecation warnings to $stderr.
+# [+:log+] Log all deprecation warnings to +Rails.logger+.
+# [+:notify+] Use ActiveSupport::Notifications to notify +deprecation.rails+.
+# [+:report+] Use ActiveSupport::ErrorReporter to report deprecations.
+# [+:silence+] Do nothing. On \Rails, set config.active_support.report_deprecations = false to disable all behaviors.
#
# Setting behaviors only affects deprecations that happen after boot time.
-# For more information you can read the documentation of the +behavior=+ method.
+# For more information you can read the documentation of the #behavior= method.
#
# source://activesupport//lib/active_support/deprecation/behaviors.rb#69
module ActiveSupport::Deprecation::Behavior
@@ -4409,12 +4426,12 @@ module ActiveSupport::Deprecation::Behavior
#
# Available behaviors:
#
- # [+raise+] Raise ActiveSupport::DeprecationException.
- # [+stderr+] Log all deprecation warnings to $stderr.
- # [+log+] Log all deprecation warnings to +Rails.logger+.
- # [+notify+] Use ActiveSupport::Notifications to notify +deprecation.rails+.
- # [+report+] Use ActiveSupport::ErrorReporter to report deprecations.
- # [+silence+] Do nothing.
+ # [+:raise+] Raise ActiveSupport::DeprecationException.
+ # [+:stderr+] Log all deprecation warnings to $stderr.
+ # [+:log+] Log all deprecation warnings to +Rails.logger+.
+ # [+:notify+] Use ActiveSupport::Notifications to notify +deprecation.rails+.
+ # [+:report+] Use ActiveSupport::ErrorReporter to report deprecations.
+ # [+:silence+] Do nothing.
#
# Setting behaviors only affects deprecations that happen after boot time.
# Deprecation warnings raised by gems are not affected by this setting
@@ -4428,10 +4445,12 @@ module ActiveSupport::Deprecation::Behavior
# # custom stuff
# }
#
- # If you are using \Rails, you can set config.active_support.report_deprecations = false to disable
- # all deprecation behaviors. This is similar to the +silence+ option but more performant.
+ # If you are using \Rails, you can set
+ # config.active_support.report_deprecations = false to disable
+ # all deprecation behaviors. This is similar to the +:silence+ option but
+ # more performant.
#
- # source://activesupport//lib/active_support/deprecation/behaviors.rb#109
+ # source://activesupport//lib/active_support/deprecation/behaviors.rb#111
def behavior=(behavior); end
# Whether to print a backtrace along with the warning.
@@ -4451,18 +4470,18 @@ module ActiveSupport::Deprecation::Behavior
# Sets the behavior for disallowed deprecations (those configured by
# ActiveSupport::Deprecation#disallowed_warnings=) to the specified
- # value. As with +behavior=+, this can be a single value, array, or an
+ # value. As with #behavior=, this can be a single value, array, or an
# object that responds to +call+.
#
- # source://activesupport//lib/active_support/deprecation/behaviors.rb#117
+ # source://activesupport//lib/active_support/deprecation/behaviors.rb#119
def disallowed_behavior=(behavior); end
private
- # source://activesupport//lib/active_support/deprecation/behaviors.rb#122
+ # source://activesupport//lib/active_support/deprecation/behaviors.rb#124
def arity_coerce(behavior); end
- # source://activesupport//lib/active_support/deprecation/behaviors.rb#141
+ # source://activesupport//lib/active_support/deprecation/behaviors.rb#143
def arity_of_callable(callable); end
end
@@ -4962,7 +4981,7 @@ module ActiveSupport::Deprecation::Reporting
private
- # source://activesupport//lib/active_support/deprecation/reporting.rb#151
+ # source://activesupport//lib/active_support/deprecation/reporting.rb#153
def _extract_callstack(callstack); end
# Outputs a deprecation warning message
@@ -4986,11 +5005,16 @@ module ActiveSupport::Deprecation::Reporting
# source://activesupport//lib/active_support/deprecation/reporting.rb#140
def extract_callstack(callstack); end
- # source://activesupport//lib/active_support/deprecation/reporting.rb#166
- def ignored_callstack(path); end
+ # @return [Boolean]
+ #
+ # source://activesupport//lib/active_support/deprecation/reporting.rb#169
+ def ignored_callstack?(path); end
end
-# source://activesupport//lib/active_support/deprecation/reporting.rb#164
+# source://activesupport//lib/active_support/deprecation/reporting.rb#167
+ActiveSupport::Deprecation::Reporting::LIB_DIR = T.let(T.unsafe(nil), String)
+
+# source://activesupport//lib/active_support/deprecation/reporting.rb#166
ActiveSupport::Deprecation::Reporting::RAILS_GEM_ROOT = T.let(T.unsafe(nil), String)
# Raised when ActiveSupport::Deprecation::Behavior#behavior is set with :raise.
@@ -9870,10 +9894,10 @@ class ActiveSupport::Notifications::Fanout
# source://activesupport//lib/active_support/notifications/fanout.rb#314
def listening?(name); end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#91
+ # source://mutex_m/0.2.0/mutex_m.rb#91
def lock; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#81
+ # source://mutex_m/0.2.0/mutex_m.rb#81
def locked?; end
# source://activesupport//lib/active_support/notifications/fanout.rb#293
@@ -9888,13 +9912,13 @@ class ActiveSupport::Notifications::Fanout
# source://activesupport//lib/active_support/notifications/fanout.rb#68
def subscribe(pattern = T.unsafe(nil), callable = T.unsafe(nil), monotonic: T.unsafe(nil), &block); end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#76
+ # source://mutex_m/0.2.0/mutex_m.rb#76
def synchronize(&block); end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#86
+ # source://mutex_m/0.2.0/mutex_m.rb#86
def try_lock; end
- # source://mutex_m/0.2.0/lib/mutex_m.rb#96
+ # source://mutex_m/0.2.0/mutex_m.rb#96
def unlock; end
# source://activesupport//lib/active_support/notifications/fanout.rb#85
@@ -10236,379 +10260,433 @@ module ActiveSupport::NumberHelper
extend ::ActiveSupport::Autoload
extend ::ActiveSupport::NumberHelper
- # Formats a +number+ into a currency string (e.g., $13.65). You
- # can customize the format in the +options+ hash.
+ # Formats a +number+ into a currency string.
+ #
+ # number_to_currency(1234567890.50) # => "$1,234,567,890.50"
+ # number_to_currency(1234567890.506) # => "$1,234,567,890.51"
+ # number_to_currency("12x34") # => "$12x34"
+ #
+ # number_to_currency(1234567890.50, unit: "£", separator: ",", delimiter: "")
+ # # => "£1234567890,50"
#
# The currency unit and number formatting of the current locale will be used
- # unless otherwise specified in the provided options. No currency conversion
- # is performed. If the user is given a way to change their locale, they will
+ # unless otherwise specified via options. No currency conversion is
+ # performed. If the user is given a way to change their locale, they will
# also be able to change the relative value of the currency displayed with
# this helper. If your application will ever support multiple locales, you
- # may want to specify a constant :locale option or consider
- # using a library capable of currency conversion.
+ # may want to specify a constant +:locale+ option or consider using a
+ # library capable of currency conversion.
#
# ==== Options
#
- # * :locale - Sets the locale to be used for formatting
- # (defaults to current locale).
- # * :precision - Sets the level of precision (defaults
- # to 2).
- # * :round_mode - Determine how rounding is performed
- # (defaults to :default. See BigDecimal::mode)
- # * :unit - Sets the denomination of the currency
- # (defaults to "$").
- # * :separator - Sets the separator between the units
- # (defaults to ".").
- # * :delimiter - Sets the thousands delimiter (defaults
- # to ",").
- # * :format - Sets the format for non-negative numbers
- # (defaults to "%u%n"). Fields are %u for the
- # currency, and %n for the number.
- # * :negative_format - Sets the format for negative
- # numbers (defaults to prepending a hyphen to the formatted
- # number given by :format). Accepts the same fields
- # than :format, except %n is here the
- # absolute value of the number.
- # * :strip_insignificant_zeros - If +true+ removes
- # insignificant zeros after the decimal separator (defaults to
- # +false+).
+ # [+:locale+]
+ # The locale to use for formatting. Defaults to the current locale.
#
- # ==== Examples
+ # number_to_currency(1234567890.506, locale: :fr)
+ # # => "1 234 567 890,51 €"
#
- # number_to_currency(1234567890.50) # => "$1,234,567,890.50"
- # number_to_currency(1234567890.506) # => "$1,234,567,890.51"
- # number_to_currency(1234567890.506, precision: 3) # => "$1,234,567,890.506"
- # number_to_currency(1234567890.506, locale: :fr) # => "1 234 567 890,51 €"
- # number_to_currency('123a456') # => "$123a456"
- #
- # number_to_currency(-0.456789, precision: 0)
- # # => "$0"
- # number_to_currency(-1234567890.50, negative_format: '(%u%n)')
- # # => "($1,234,567,890.50)"
- # number_to_currency(1234567890.50, unit: '£', separator: ',', delimiter: '')
- # # => "£1234567890,50"
- # number_to_currency(1234567890.50, unit: '£', separator: ',', delimiter: '', format: '%n %u')
- # # => "1234567890,50 £"
- # number_to_currency(1234567890.50, strip_insignificant_zeros: true)
- # # => "$1,234,567,890.5"
- # number_to_currency(1234567890.50, precision: 0, round_mode: :up)
- # # => "$1,234,567,891"
- #
- # source://activesupport//lib/active_support/number_helper.rb#114
+ # [+:precision+]
+ # The level of precision. Defaults to 2.
+ #
+ # number_to_currency(1234567890.123, precision: 3) # => "$1,234,567,890.123"
+ # number_to_currency(0.456789, precision: 0) # => "$0"
+ #
+ # [+:round_mode+]
+ # Specifies how rounding is performed. See +BigDecimal.mode+. Defaults to
+ # +:default+.
+ #
+ # number_to_currency(1234567890.01, precision: 0, round_mode: :up)
+ # # => "$1,234,567,891"
+ #
+ # [+:unit+]
+ # The denomination of the currency. Defaults to "$".
+ #
+ # [+:separator+]
+ # The decimal separator. Defaults to ".".
+ #
+ # [+:delimiter+]
+ # The thousands delimiter. Defaults to ",".
+ #
+ # [+:format+]
+ # The format for non-negative numbers. %u represents the currency,
+ # and %n represents the number. Defaults to "%u%n".
+ #
+ # number_to_currency(1234567890.50, format: "%n %u")
+ # # => "1,234,567,890.50 $"
+ #
+ # [+:negative_format+]
+ # The format for negative numbers. %u and %n behave the
+ # same as in +:format+, but %n represents the absolute value of
+ # the number. Defaults to the value of +:format+ prepended with -.
+ #
+ # number_to_currency(-1234567890.50, negative_format: "(%u%n)")
+ # # => "($1,234,567,890.50)"
+ #
+ # [+:strip_insignificant_zeros+]
+ # Whether to remove insignificant zeros after the decimal separator.
+ # Defaults to false.
+ #
+ # number_to_currency(1234567890.50, strip_insignificant_zeros: true)
+ # # => "$1,234,567,890.5"
+ #
+ # source://activesupport//lib/active_support/number_helper.rb#139
def number_to_currency(number, options = T.unsafe(nil)); end
- # Formats a +number+ with grouped thousands using +delimiter+
- # (e.g., 12,324). You can customize the format in the +options+
- # hash.
+ # Formats +number+ by grouping thousands with a delimiter.
+ #
+ # number_to_delimited(12345678) # => "12,345,678"
+ # number_to_delimited("123456") # => "123,456"
+ # number_to_delimited(12345678.9876) # => "12,345,678.9876"
+ # number_to_delimited("12x34") # => "12x34"
+ #
+ # number_to_delimited(12345678.9876, delimiter: ".", separator: ",")
+ # # => "12.345.678,9876"
#
# ==== Options
#
- # * :locale - Sets the locale to be used for formatting
- # (defaults to current locale).
- # * :delimiter - Sets the thousands delimiter (defaults
- # to ",").
- # * :separator - Sets the separator between the
- # fractional and integer digits (defaults to ".").
- # * :delimiter_pattern - Sets a custom regular expression used for
- # deriving the placement of delimiter. Helpful when using currency formats
- # like INR.
+ # [+:locale+]
+ # The locale to use for formatting. Defaults to the current locale.
#
- # ==== Examples
+ # number_to_delimited(12345678.05, locale: :fr)
+ # # => "12 345 678,05"
+ #
+ # [+:delimiter+]
+ # The thousands delimiter. Defaults to ",".
+ #
+ # number_to_delimited(12345678, delimiter: ".")
+ # # => "12.345.678"
+ #
+ # [+:separator+]
+ # The decimal separator. Defaults to ".".
+ #
+ # number_to_delimited(12345678.05, separator: " ")
+ # # => "12,345,678 05"
#
- # number_to_delimited(12345678) # => "12,345,678"
- # number_to_delimited('123456') # => "123,456"
- # number_to_delimited(12345678.05) # => "12,345,678.05"
- # number_to_delimited(12345678, delimiter: '.') # => "12.345.678"
- # number_to_delimited(12345678, delimiter: ',') # => "12,345,678"
- # number_to_delimited(12345678.05, separator: ' ') # => "12,345,678 05"
- # number_to_delimited(12345678.05, locale: :fr) # => "12 345 678,05"
- # number_to_delimited('112a') # => "112a"
- # number_to_delimited(98765432.98, delimiter: ' ', separator: ',')
- # # => "98 765 432,98"
- # number_to_delimited("123456.78",
- # delimiter_pattern: /(\d+?)(?=(\d\d)+(\d)(?!\d))/)
- # # => "1,23,456.78"
- #
- # source://activesupport//lib/active_support/number_helper.rb#189
+ # [+:delimiter_pattern+]
+ # A regexp to determine the placement of delimiters. Helpful when using
+ # currency formats like INR.
+ #
+ # number_to_delimited("123456.78", delimiter_pattern: /(\d+?)(?=(\d\d)+(\d)(?!\d))/)
+ # # => "1,23,456.78"
+ #
+ # source://activesupport//lib/active_support/number_helper.rb#242
def number_to_delimited(number, options = T.unsafe(nil)); end
- # Pretty prints (formats and approximates) a number in a way it
- # is more readable by humans (e.g.: 1200000000 becomes "1.2
- # Billion"). This is useful for numbers that can get very large
- # (and too hard to read).
+ # Formats +number+ into a more human-friendly representation. Useful for
+ # numbers that can become very large and too hard to read.
#
- # See number_to_human_size if you want to print a file
- # size.
+ # number_to_human(123) # => "123"
+ # number_to_human(1234) # => "1.23 Thousand"
+ # number_to_human(12345) # => "12.3 Thousand"
+ # number_to_human(1234567) # => "1.23 Million"
+ # number_to_human(1234567890) # => "1.23 Billion"
+ # number_to_human(1234567890123) # => "1.23 Trillion"
+ # number_to_human(1234567890123456) # => "1.23 Quadrillion"
+ # number_to_human(1234567890123456789) # => "1230 Quadrillion"
#
- # You can also define your own unit-quantifier names if you want
- # to use other decimal units (e.g.: 1500 becomes "1.5
- # kilometers", 0.150 becomes "150 milliliters", etc). You may
- # define a wide range of unit quantifiers, even fractional ones
- # (centi, deci, mili, etc).
+ # See #number_to_human_size if you want to pretty-print a file size.
#
# ==== Options
#
- # * :locale - Sets the locale to be used for formatting
- # (defaults to current locale).
- # * :precision - Sets the precision of the number
- # (defaults to 3).
- # * :round_mode - Determine how rounding is performed
- # (defaults to :default. See BigDecimal::mode)
- # * :significant - If +true+, precision will be the number
- # of significant_digits. If +false+, the number of fractional
- # digits (defaults to +true+)
- # * :separator - Sets the separator between the
- # fractional and integer digits (defaults to ".").
- # * :delimiter - Sets the thousands delimiter (defaults
- # to "").
- # * :strip_insignificant_zeros - If +true+ removes
- # insignificant zeros after the decimal separator (defaults to
- # +true+)
- # * :units - A Hash of unit quantifier names. Or a
- # string containing an i18n scope where to find this hash. It
- # might have the following keys:
- # * *integers*: :unit, :ten,
- # :hundred, :thousand, :million,
- # :billion, :trillion,
- # :quadrillion
- # * *fractionals*: :deci, :centi,
- # :mili, :micro, :nano,
- # :pico, :femto
- # * :format - Sets the format of the output string
- # (defaults to "%n %u"). The field types are:
- # * %u - The quantifier (ex.: 'thousand')
- # * %n - The number
- #
- # ==== Examples
- #
- # number_to_human(123) # => "123"
- # number_to_human(1234) # => "1.23 Thousand"
- # number_to_human(12345) # => "12.3 Thousand"
- # number_to_human(1234567) # => "1.23 Million"
- # number_to_human(1234567890) # => "1.23 Billion"
- # number_to_human(1234567890123) # => "1.23 Trillion"
- # number_to_human(1234567890123456) # => "1.23 Quadrillion"
- # number_to_human(1234567890123456789) # => "1230 Quadrillion"
- # number_to_human(489939, precision: 2) # => "490 Thousand"
- # number_to_human(489939, precision: 4) # => "489.9 Thousand"
- # number_to_human(489939, precision: 2
- # , round_mode: :down) # => "480 Thousand"
- # number_to_human(1234567, precision: 4,
- # significant: false) # => "1.2346 Million"
- # number_to_human(1234567, precision: 1,
- # separator: ',',
- # significant: false) # => "1,2 Million"
- #
- # number_to_human(500000000, precision: 5) # => "500 Million"
- # number_to_human(12345012345, significant: false) # => "12.345 Billion"
- #
- # Non-significant zeros after the decimal separator are stripped
- # out by default (set :strip_insignificant_zeros to
- # +false+ to change that):
- #
- # number_to_human(12.00001) # => "12"
- # number_to_human(12.00001, strip_insignificant_zeros: false) # => "12.0"
- #
- # ==== Custom Unit Quantifiers
- #
- # You can also use your own custom unit quantifiers:
- #
- # number_to_human(500000, units: { unit: 'ml', thousand: 'lt' }) # => "500 lt"
- #
- # If in your I18n locale you have:
- #
- # distance:
- # centi:
- # one: "centimeter"
- # other: "centimeters"
- # unit:
- # one: "meter"
- # other: "meters"
- # thousand:
- # one: "kilometer"
- # other: "kilometers"
- # billion: "gazillion-distance"
- #
- # Then you could do:
- #
- # number_to_human(543934, units: :distance) # => "544 kilometers"
- # number_to_human(54393498, units: :distance) # => "54400 kilometers"
- # number_to_human(54393498000, units: :distance) # => "54.4 gazillion-distance"
- # number_to_human(343, units: :distance, precision: 1) # => "300 meters"
- # number_to_human(1, units: :distance) # => "1 meter"
- # number_to_human(0.34, units: :distance) # => "34 centimeters"
- #
- # source://activesupport//lib/active_support/number_helper.rb#392
+ # [+:locale+]
+ # The locale to use for formatting. Defaults to the current locale.
+ #
+ # [+:precision+]
+ # The level of precision. Defaults to 3.
+ #
+ # number_to_human(123456, precision: 2) # => "120 Thousand"
+ # number_to_human(123456, precision: 4) # => "123.5 Thousand"
+ #
+ # [+:round_mode+]
+ # Specifies how rounding is performed. See +BigDecimal.mode+. Defaults to
+ # +:default+.
+ #
+ # number_to_human(123456, precision: 2, round_mode: :up)
+ # # => "130 Thousand"
+ #
+ # [+:significant+]
+ # Whether +:precision+ should be applied to significant digits instead of
+ # fractional digits. Defaults to true.
+ #
+ # [+:separator+]
+ # The decimal separator. Defaults to ".".
+ #
+ # number_to_human(123456, precision: 4, separator: ",")
+ # # => "123,5 Thousand"
+ #
+ # [+:delimiter+]
+ # The thousands delimiter. Defaults to ",".
+ #
+ # [+:strip_insignificant_zeros+]
+ # Whether to remove insignificant zeros after the decimal separator.
+ # Defaults to true.
+ #
+ # number_to_human(1000000) # => "1 Million"
+ # number_to_human(1000000, strip_insignificant_zeros: false) # => "1.00 Million"
+ # number_to_human(10.01) # => "10"
+ # number_to_human(10.01, strip_insignificant_zeros: false) # => "10.0"
+ #
+ # [+:format+]
+ # The format of the output. %n represents the number, and
+ # %u represents the quantifier (e.g., "Thousand"). Defaults to
+ # "%n %u".
+ #
+ # [+:units+]
+ # A Hash of custom unit quantifier names.
+ #
+ # number_to_human(1, units: { unit: "m", thousand: "km" }) # => "1 m"
+ # number_to_human(100, units: { unit: "m", thousand: "km" }) # => "100 m"
+ # number_to_human(1000, units: { unit: "m", thousand: "km" }) # => "1 km"
+ # number_to_human(100000, units: { unit: "m", thousand: "km" }) # => "100 km"
+ # number_to_human(10000000, units: { unit: "m", thousand: "km" }) # => "10000 km"
+ #
+ # The following keys are supported for integer units: +:unit+, +:ten+,
+ # +:hundred+, +:thousand+, +:million+, +:billion+, +:trillion+,
+ # +:quadrillion+. Additionally, the following keys are supported for
+ # fractional units: +:deci+, +:centi+, +:mili+, +:micro+, +:nano+,
+ # +:pico+, +:femto+.
+ #
+ # The Hash can also be defined as a scope in an I18n locale. For example:
+ #
+ # en:
+ # distance:
+ # centi:
+ # one: "centimeter"
+ # other: "centimeters"
+ # unit:
+ # one: "meter"
+ # other: "meters"
+ # thousand:
+ # one: "kilometer"
+ # other: "kilometers"
+ #
+ # Then it can be specified by name:
+ #
+ # number_to_human(1, units: :distance) # => "1 meter"
+ # number_to_human(100, units: :distance) # => "100 meters"
+ # number_to_human(1000, units: :distance) # => "1 kilometer"
+ # number_to_human(100000, units: :distance) # => "100 kilometers"
+ # number_to_human(10000000, units: :distance) # => "10000 kilometers"
+ # number_to_human(0.1, units: :distance) # => "10 centimeters"
+ # number_to_human(0.01, units: :distance) # => "1 centimeter"
+ #
+ # source://activesupport//lib/active_support/number_helper.rb#453
def number_to_human(number, options = T.unsafe(nil)); end
- # Formats the bytes in +number+ into a more understandable
- # representation (e.g., giving it 1500 yields 1.46 KB). This
- # method is useful for reporting file sizes to users. You can
- # customize the format in the +options+ hash.
+ # Formats +number+ as bytes into a more human-friendly representation.
+ # Useful for reporting file sizes to users.
+ #
+ # number_to_human_size(123) # => "123 Bytes"
+ # number_to_human_size(1234) # => "1.21 KB"
+ # number_to_human_size(12345) # => "12.1 KB"
+ # number_to_human_size(1234567) # => "1.18 MB"
+ # number_to_human_size(1234567890) # => "1.15 GB"
+ # number_to_human_size(1234567890123) # => "1.12 TB"
+ # number_to_human_size(1234567890123456) # => "1.1 PB"
+ # number_to_human_size(1234567890123456789) # => "1.07 EB"
#
- # See number_to_human if you want to pretty-print a
- # generic number.
+ # See #number_to_human if you want to pretty-print a generic number.
#
# ==== Options
#
- # * :locale - Sets the locale to be used for formatting
- # (defaults to current locale).
- # * :precision - Sets the precision of the number
- # (defaults to 3).
- # * :round_mode - Determine how rounding is performed
- # (defaults to :default. See BigDecimal::mode)
- # * :significant - If +true+, precision will be the number
- # of significant_digits. If +false+, the number of fractional
- # digits (defaults to +true+)
- # * :separator - Sets the separator between the
- # fractional and integer digits (defaults to ".").
- # * :delimiter - Sets the thousands delimiter (defaults
- # to "").
- # * :strip_insignificant_zeros - If +true+ removes
- # insignificant zeros after the decimal separator (defaults to
- # +true+)
+ # [+:locale+]
+ # The locale to use for formatting. Defaults to the current locale.
#
- # ==== Examples
+ # [+:precision+]
+ # The level of precision. Defaults to 3.
+ #
+ # number_to_human_size(123456, precision: 2) # => "120 KB"
+ # number_to_human_size(1234567, precision: 2) # => "1.2 MB"
+ #
+ # [+:round_mode+]
+ # Specifies how rounding is performed. See +BigDecimal.mode+. Defaults to
+ # +:default+.
+ #
+ # number_to_human_size(123456, precision: 2, round_mode: :up)
+ # # => "130 KB"
+ #
+ # [+:significant+]
+ # Whether +:precision+ should be applied to significant digits instead of
+ # fractional digits. Defaults to true.
+ #
+ # [+:separator+]
+ # The decimal separator. Defaults to ".".
+ #
+ # number_to_human_size(1234567, separator: ",")
+ # # => "1,18 MB"
+ #
+ # [+:delimiter+]
+ # The thousands delimiter. Defaults to ",".
#
- # number_to_human_size(123) # => "123 Bytes"
- # number_to_human_size(1234) # => "1.21 KB"
- # number_to_human_size(12345) # => "12.1 KB"
- # number_to_human_size(1234567) # => "1.18 MB"
- # number_to_human_size(1234567890) # => "1.15 GB"
- # number_to_human_size(1234567890123) # => "1.12 TB"
- # number_to_human_size(1234567890123456) # => "1.1 PB"
- # number_to_human_size(1234567890123456789) # => "1.07 EB"
- # number_to_human_size(1234567, precision: 2) # => "1.2 MB"
- # number_to_human_size(483989, precision: 2) # => "470 KB"
- # number_to_human_size(483989, precision: 2, round_mode: :up) # => "480 KB"
- # number_to_human_size(1234567, precision: 2, separator: ',') # => "1,2 MB"
- # number_to_human_size(1234567890123, precision: 5) # => "1.1228 TB"
- # number_to_human_size(524288000, precision: 5) # => "500 MB"
- #
- # source://activesupport//lib/active_support/number_helper.rb#283
+ # [+:strip_insignificant_zeros+]
+ # Whether to remove insignificant zeros after the decimal separator.
+ # Defaults to true.
+ #
+ # source://activesupport//lib/active_support/number_helper.rb#351
def number_to_human_size(number, options = T.unsafe(nil)); end
- # Formats a +number+ as a percentage string (e.g., 65%). You can
- # customize the format in the +options+ hash.
+ # Formats +number+ as a percentage string.
+ #
+ # number_to_percentage(100) # => "100.000%"
+ # number_to_percentage("99") # => "99.000%"
+ # number_to_percentage("99x") # => "99x%"
+ #
+ # number_to_percentage(12345.6789, delimiter: ".", separator: ",", precision: 2)
+ # # => "12.345,68%"
#
# ==== Options
#
- # * :locale - Sets the locale to be used for formatting
- # (defaults to current locale).
- # * :precision - Sets the precision of the number
- # (defaults to 3). Keeps the number's precision if +nil+.
- # * :round_mode - Determine how rounding is performed
- # (defaults to :default. See BigDecimal::mode)
- # * :significant - If +true+, precision will be the number
- # of significant_digits. If +false+, the number of fractional
- # digits (defaults to +false+).
- # * :separator - Sets the separator between the
- # fractional and integer digits (defaults to ".").
- # * :delimiter - Sets the thousands delimiter (defaults
- # to "").
- # * :strip_insignificant_zeros - If +true+ removes
- # insignificant zeros after the decimal separator (defaults to
- # +false+).
- # * :format - Specifies the format of the percentage
- # string The number field is %n (defaults to "%n%").
+ # [+:locale+]
+ # The locale to use for formatting. Defaults to the current locale.
#
- # ==== Examples
+ # number_to_percentage(1000, locale: :fr)
+ # # => "1000,000%"
+ #
+ # [+:precision+]
+ # The level of precision, or +nil+ to preserve +number+'s precision.
+ # Defaults to 2.
+ #
+ # number_to_percentage(12.3456789, precision: 4) # => "12.3457%"
+ # number_to_percentage(99.999, precision: 0) # => "100%"
+ # number_to_percentage(99.999, precision: nil) # => "99.999%"
+ #
+ # [+:round_mode+]
+ # Specifies how rounding is performed. See +BigDecimal.mode+. Defaults to
+ # +:default+.
+ #
+ # number_to_percentage(12.3456789, precision: 4, round_mode: :down)
+ # # => "12.3456%"
+ #
+ # [+:significant+]
+ # Whether +:precision+ should be applied to significant digits instead of
+ # fractional digits. Defaults to false.
+ #
+ # number_to_percentage(12345.6789) # => "12345.679%"
+ # number_to_percentage(12345.6789, significant: true) # => "12300%"
+ # number_to_percentage(12345.6789, precision: 2) # => "12345.68%"
+ # number_to_percentage(12345.6789, precision: 2, significant: true) # => "12000%"
+ #
+ # [+:separator+]
+ # The decimal separator. Defaults to ".".
+ #
+ # [+:delimiter+]
+ # The thousands delimiter. Defaults to ",".
+ #
+ # [+:strip_insignificant_zeros+]
+ # Whether to remove insignificant zeros after the decimal separator.
+ # Defaults to false.
+ #
+ # [+:format+]
+ # The format of the output. %n represents the number. Defaults to
+ # "%n%".
+ #
+ # number_to_percentage(100, format: "%n %")
+ # # => "100.000 %"
#
- # number_to_percentage(100) # => "100.000%"
- # number_to_percentage('98') # => "98.000%"
- # number_to_percentage(100, precision: 0) # => "100%"
- # number_to_percentage(1000, delimiter: '.', separator: ',') # => "1.000,000%"
- # number_to_percentage(302.24398923423, precision: 5) # => "302.24399%"
- # number_to_percentage(1000, locale: :fr) # => "1000,000%"
- # number_to_percentage(1000, precision: nil) # => "1000%"
- # number_to_percentage('98a') # => "98a%"
- # number_to_percentage(100, format: '%n %') # => "100.000 %"
- # number_to_percentage(302.24398923423, precision: 5, round_mode: :down) # => "302.24398%"
- #
- # source://activesupport//lib/active_support/number_helper.rb#154
+ # source://activesupport//lib/active_support/number_helper.rb#201
def number_to_percentage(number, options = T.unsafe(nil)); end
- # Formats a +number+ into a phone number (US by default e.g., (555)
- # 123-9876). You can customize the format in the +options+ hash.
+ # Formats +number+ into a phone number.
+ #
+ # number_to_phone(5551234) # => "555-1234"
+ # number_to_phone("5551234") # => "555-1234"
+ # number_to_phone(1235551234) # => "123-555-1234"
+ # number_to_phone("12x34") # => "12x34"
+ #
+ # number_to_phone(1235551234, delimiter: ".", country_code: 1, extension: 1343)
+ # # => "+1.123.555.1234 x 1343"
#
# ==== Options
#
- # * :area_code - Adds parentheses around the area code.
- # * :delimiter - Specifies the delimiter to use
- # (defaults to "-").
- # * :extension - Specifies an extension to add to the
- # end of the generated number.
- # * :country_code - Sets the country code for the phone
- # number.
- # * :pattern - Specifies how the number is divided into three
- # groups with the custom regexp to override the default format.
- # ==== Examples
+ # [+:area_code+]
+ # Whether to use parentheses for the area code. Defaults to false.
#
- # number_to_phone(5551234) # => "555-1234"
- # number_to_phone('5551234') # => "555-1234"
- # number_to_phone(1235551234) # => "123-555-1234"
- # number_to_phone(1235551234, area_code: true) # => "(123) 555-1234"
- # number_to_phone(1235551234, delimiter: ' ') # => "123 555 1234"
- # number_to_phone(1235551234, area_code: true, extension: 555) # => "(123) 555-1234 x 555"
- # number_to_phone(1235551234, country_code: 1) # => "+1-123-555-1234"
- # number_to_phone('123a456') # => "123a456"
+ # number_to_phone(1235551234, area_code: true)
+ # # => "(123) 555-1234"
#
- # number_to_phone(1235551234, country_code: 1, extension: 1343, delimiter: '.')
- # # => "+1.123.555.1234 x 1343"
+ # [+:delimiter+]
+ # The digit group delimiter to use. Defaults to "-".
+ #
+ # number_to_phone(1235551234, delimiter: " ")
+ # # => "123 555 1234"
+ #
+ # [+:country_code+]
+ # A country code to prepend.
#
- # number_to_phone(75561234567, pattern: /(\d{1,4})(\d{4})(\d{4})$/, area_code: true)
- # # => "(755) 6123-4567"
- # number_to_phone(13312345678, pattern: /(\d{3})(\d{4})(\d{4})$/)
- # # => "133-1234-5678"
+ # number_to_phone(1235551234, country_code: 1)
+ # # => "+1-123-555-1234"
#
- # source://activesupport//lib/active_support/number_helper.rb#53
+ # [+:extension+]
+ # An extension to append.
+ #
+ # number_to_phone(1235551234, extension: 555)
+ # # => "123-555-1234 x 555"
+ #
+ # [+:pattern+]
+ # A regexp that specifies how the digits should be grouped. The first
+ # three captures from the regexp are treated as digit groups.
+ #
+ # number_to_phone(13312345678, pattern: /(\d{3})(\d{4})(\d{4})$/)
+ # # => "133-1234-5678"
+ # number_to_phone(75561234567, pattern: /(\d{1,4})(\d{4})(\d{4})$/, area_code: true)
+ # # => "(755) 6123-4567"
+ #
+ # source://activesupport//lib/active_support/number_helper.rb#66
def number_to_phone(number, options = T.unsafe(nil)); end
- # Formats a +number+ with the specified level of
- # :precision (e.g., 112.32 has a precision of 2 if
- # +:significant+ is +false+, and 5 if +:significant+ is +true+).
- # You can customize the format in the +options+ hash.
+ # Formats +number+ to a specific level of precision.
+ #
+ # number_to_rounded(12345.6789) # => "12345.679"
+ # number_to_rounded(12345.6789, precision: 2) # => "12345.68"
+ # number_to_rounded(12345.6789, precision: 0) # => "12345"
+ # number_to_rounded(12345, precision: 5) # => "12345.00000"
#
# ==== Options
#
- # * :locale - Sets the locale to be used for formatting
- # (defaults to current locale).
- # * :precision - Sets the precision of the number
- # (defaults to 3). Keeps the number's precision if +nil+.
- # * :round_mode - Determine how rounding is performed
- # (defaults to :default. See BigDecimal::mode)
- # * :significant - If +true+, precision will be the number
- # of significant_digits. If +false+, the number of fractional
- # digits (defaults to +false+).
- # * :separator - Sets the separator between the
- # fractional and integer digits (defaults to ".").
- # * :delimiter - Sets the thousands delimiter (defaults
- # to "").
- # * :strip_insignificant_zeros - If +true+ removes
- # insignificant zeros after the decimal separator (defaults to
- # +false+).
+ # [+:locale+]
+ # The locale to use for formatting. Defaults to the current locale.
#
- # ==== Examples
+ # number_to_rounded(111.234, locale: :fr)
+ # # => "111,234"
+ #
+ # [+:precision+]
+ # The level of precision, or +nil+ to preserve +number+'s precision.
+ # Defaults to 3.
#
- # number_to_rounded(111.2345) # => "111.235"
- # number_to_rounded(111.2345, precision: 2) # => "111.23"
- # number_to_rounded(13, precision: 5) # => "13.00000"
- # number_to_rounded(389.32314, precision: 0) # => "389"
- # number_to_rounded(111.2345, significant: true) # => "111"
- # number_to_rounded(111.2345, precision: 1, significant: true) # => "100"
- # number_to_rounded(13, precision: 5, significant: true) # => "13.000"
- # number_to_rounded(13, precision: nil) # => "13"
- # number_to_rounded(389.32314, precision: 0, round_mode: :up) # => "390"
- # number_to_rounded(111.234, locale: :fr) # => "111,234"
- #
- # number_to_rounded(13, precision: 5, significant: true, strip_insignificant_zeros: true)
- # # => "13"
- #
- # number_to_rounded(389.32314, precision: 4, significant: true) # => "389.3"
- # number_to_rounded(1111.2345, precision: 2, separator: ',', delimiter: '.')
- # # => "1.111,23"
- #
- # source://activesupport//lib/active_support/number_helper.rb#236
+ # number_to_rounded(12345.6789, precision: nil)
+ # # => "12345.6789"
+ #
+ # [+:round_mode+]
+ # Specifies how rounding is performed. See +BigDecimal.mode+. Defaults to
+ # +:default+.
+ #
+ # number_to_rounded(12.34, precision: 0, round_mode: :up)
+ # # => "13"
+ #
+ # [+:significant+]
+ # Whether +:precision+ should be applied to significant digits instead of
+ # fractional digits. Defaults to false.
+ #
+ # number_to_rounded(12345.6789) # => "12345.679"
+ # number_to_rounded(12345.6789, significant: true) # => "12300"
+ # number_to_rounded(12345.6789, precision: 2) # => "12345.68"
+ # number_to_rounded(12345.6789, precision: 2, significant: true) # => "12000"
+ #
+ # [+:separator+]
+ # The decimal separator. Defaults to ".".
+ #
+ # [+:delimiter+]
+ # The thousands delimiter. Defaults to ",".
+ #
+ # [+:strip_insignificant_zeros+]
+ # Whether to remove insignificant zeros after the decimal separator.
+ # Defaults to false.
+ #
+ # number_to_rounded(12.34, strip_insignificant_zeros: false) # => "12.340"
+ # number_to_rounded(12.34, strip_insignificant_zeros: true) # => "12.34"
+ # number_to_rounded(12.3456, strip_insignificant_zeros: true) # => "12.346"
+ #
+ # source://activesupport//lib/active_support/number_helper.rb#298
def number_to_rounded(number, options = T.unsafe(nil)); end
end
@@ -12155,8 +12233,15 @@ class ActiveSupport::SyntaxErrorProxy
private
- # source://activesupport//lib/active_support/syntax_error_proxy.rb#45
+ # source://activesupport//lib/active_support/syntax_error_proxy.rb#47
def parse_message_for_trace; end
+
+ # 3.2 and older versions of Ruby
+ #
+ # @return [Boolean]
+ #
+ # source://activesupport//lib/active_support/syntax_error_proxy.rb#61
+ def source_location_eval?; end
end
# source://activesupport//lib/active_support/syntax_error_proxy.rb#15
@@ -12334,43 +12419,43 @@ class ActiveSupport::TestCase < ::Minitest::Test
# source://activesupport//lib/active_support/callbacks.rb#963
def _teardown_callbacks; end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#735
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#736
def assert_no_match(matcher, obj, msg = T.unsafe(nil)); end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#664
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#665
def assert_not_empty(obj, msg = T.unsafe(nil)); end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#675
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#676
def assert_not_equal(exp, act, msg = T.unsafe(nil)); end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#687
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#688
def assert_not_in_delta(exp, act, delta = T.unsafe(nil), msg = T.unsafe(nil)); end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#699
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#700
def assert_not_in_epsilon(a, b, epsilon = T.unsafe(nil), msg = T.unsafe(nil)); end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#706
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#707
def assert_not_includes(collection, obj, msg = T.unsafe(nil)); end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#717
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#718
def assert_not_instance_of(cls, obj, msg = T.unsafe(nil)); end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#727
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#728
def assert_not_kind_of(cls, obj, msg = T.unsafe(nil)); end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#745
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#746
def assert_not_nil(obj, msg = T.unsafe(nil)); end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#780
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#781
def assert_not_operator(o1, op, o2 = T.unsafe(nil), msg = T.unsafe(nil)); end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#803
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#804
def assert_not_predicate(o1, op, msg = T.unsafe(nil)); end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#811
- def assert_not_respond_to(obj, meth, msg = T.unsafe(nil)); end
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#813
+ def assert_not_respond_to(obj, meth, msg = T.unsafe(nil), include_all: T.unsafe(nil)); end
- # source://minitest/5.20.0/lib/minitest/assertions.rb#820
+ # source://minitest/5.21.1/lib/minitest/assertions.rb#822
def assert_not_same(exp, act, msg = T.unsafe(nil)); end
# source://activesupport//lib/active_support/testing/file_fixtures.rb#20
@@ -12382,7 +12467,7 @@ class ActiveSupport::TestCase < ::Minitest::Test
# source://activesupport//lib/active_support/test_case.rb#298
def inspect; end
- # source://minitest/5.20.0/lib/minitest.rb#307
+ # source://minitest/5.21.1/lib/minitest.rb#311
def method_name; end
class << self
@@ -12616,7 +12701,7 @@ module ActiveSupport::Testing::Assertions
# post :create, params: { status: { ok: true } }
# end
#
- # Provide the optional keyword argument :from to specify the expected
+ # Provide the optional keyword argument +:from+ to specify the expected
# initial value.
#
# assert_no_changes -> { Status.all_good? }, from: true do
@@ -13405,7 +13490,7 @@ module ActiveSupport::Testing::TimeHelpers
# end
# Time.current # => Sun, 09 Jul 2017 15:34:50 EST -05:00
#
- # source://activesupport//lib/active_support/testing/time_helpers.rb#252
+ # source://activesupport//lib/active_support/testing/time_helpers.rb#256
def freeze_time(with_usec: T.unsafe(nil), &block); end
# Changes current time to the time in the future or in the past by a given time difference by
@@ -13459,7 +13544,7 @@ module ActiveSupport::Testing::TimeHelpers
#
# Time.current # => Wed, 24 Nov 2004 01:04:44 EST -05:00
#
- # source://activesupport//lib/active_support/testing/time_helpers.rb#226
+ # source://activesupport//lib/active_support/testing/time_helpers.rb#230
def travel_back; end
# Changes current time to the given time by stubbing +Time.now+, +Time.new+,
@@ -13522,24 +13607,24 @@ module ActiveSupport::Testing::TimeHelpers
#
# Time.current # => Wed, 24 Nov 2004 01:04:44 EST -05:00
#
- # source://activesupport//lib/active_support/testing/time_helpers.rb#226
+ # source://activesupport//lib/active_support/testing/time_helpers.rb#230
def unfreeze_time; end
private
# Returns the value of attribute in_block.
#
- # source://activesupport//lib/active_support/testing/time_helpers.rb#261
+ # source://activesupport//lib/active_support/testing/time_helpers.rb#265
def in_block; end
# Sets the attribute in_block
#
# @param value the value to set the attribute in_block to.
#
- # source://activesupport//lib/active_support/testing/time_helpers.rb#261
+ # source://activesupport//lib/active_support/testing/time_helpers.rb#265
def in_block=(_arg0); end
- # source://activesupport//lib/active_support/testing/time_helpers.rb#257
+ # source://activesupport//lib/active_support/testing/time_helpers.rb#261
def simple_stubs; end
end
@@ -17734,7 +17819,7 @@ class IO::Buffer
def get_string(*_arg0); end
def get_value(_arg0, _arg1); end
def get_values(_arg0, _arg1); end
- def hexdump; end
+ def hexdump(*_arg0); end
def inspect; end
def internal?; end
def locked; end
@@ -17744,6 +17829,7 @@ class IO::Buffer
def null?; end
def or!(_arg0); end
def pread(*_arg0); end
+ def private?; end
def pwrite(*_arg0); end
def read(*_arg0); end
def readonly?; end
@@ -17771,6 +17857,7 @@ class IO::Buffer
def for(_arg0); end
def map(*_arg0); end
def size_of(_arg0); end
+ def string(_arg0); end
end
end
@@ -19762,7 +19849,7 @@ class Object < ::BasicObject
# You can access these methods using the class name instead:
#
# class Phone < ActiveRecord::Base
- # enum phone_number_type: { home: 0, office: 1, mobile: 2 }
+ # enum :phone_number_type, { home: 0, office: 1, mobile: 2 }
#
# with_options presence: true do
# validates :phone_number_type, inclusion: { in: Phone.phone_number_types.keys }
@@ -19858,18 +19945,6 @@ class Range
# source://activesupport//lib/active_support/core_ext/range/compare_range.rb#41
def include?(value); end
- # @raise [TypeError]
- # @return [Boolean]
- #
- # source://activesupport//lib/active_support/core_ext/range/overlap.rb#8
- def overlap?(other); end
-
- # @raise [TypeError]
- # @return [Boolean]
- #
- # source://activesupport//lib/active_support/core_ext/range/overlap.rb#8
- def overlaps?(other); end
-
# source://activesupport//lib/active_support/core_ext/range/each.rb#12
def step(n = T.unsafe(nil), &block); end
@@ -19878,13 +19953,6 @@ class Range
#
# source://activesupport//lib/active_support/core_ext/enumerable.rb#236
def sum(initial_value = T.unsafe(nil)); end
-
- private
-
- # @return [Boolean]
- #
- # source://activesupport//lib/active_support/core_ext/range/overlap.rb#31
- def _empty_range?(b, e, excl); end
end
# source://activesupport//lib/active_support/core_ext/object/json.rb#141
@@ -19909,10 +19977,10 @@ end
# source://activesupport//lib/active_support/core_ext/securerandom.rb#5
module SecureRandom
class << self
- # source://activesupport//lib/active_support/core_ext/securerandom.rb#49
+ # source://activesupport//lib/active_support/core_ext/securerandom.rb#45
def base36(n = T.unsafe(nil)); end
- # source://activesupport//lib/active_support/core_ext/securerandom.rb#24
+ # source://activesupport//lib/active_support/core_ext/securerandom.rb#20
def base58(n = T.unsafe(nil)); end
end
end
@@ -20213,7 +20281,7 @@ class String
#
# The second argument, +indent_string+, specifies which indent string to
# use. The default is +nil+, which tells the method to make a guess by
- # peeking at the first indented line, and fallback to a space if there is
+ # peeking at the first indented line, and fall back to a space if there is
# none.
#
# " foo".indent(2) # => " foo"
diff --git a/sorbet/rbi/gems/bigdecimal@3.1.5.rbi b/sorbet/rbi/gems/bigdecimal@3.1.6.rbi
similarity index 100%
rename from sorbet/rbi/gems/bigdecimal@3.1.5.rbi
rename to sorbet/rbi/gems/bigdecimal@3.1.6.rbi
diff --git a/sorbet/rbi/gems/concurrent-ruby@1.2.2.rbi b/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi
similarity index 98%
rename from sorbet/rbi/gems/concurrent-ruby@1.2.2.rbi
rename to sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi
index 6c849d14f..e51423a74 100644
--- a/sorbet/rbi/gems/concurrent-ruby@1.2.2.rbi
+++ b/sorbet/rbi/gems/concurrent-ruby@1.2.3.rbi
@@ -4131,7 +4131,7 @@ end
# @see http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html Java ExecutorService interface
# @see https://docs.oracle.com/javase/8/docs/api/java/lang/Thread.html#setDaemon-boolean-
#
-# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb#197
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb#201
class Concurrent::FixedThreadPool < ::Concurrent::ThreadPoolExecutor
# Create a new thread pool.
#
@@ -4143,7 +4143,7 @@ class Concurrent::FixedThreadPool < ::Concurrent::ThreadPoolExecutor
# @return [FixedThreadPool] a new instance of FixedThreadPool
# @see http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Executors.html#newFixedThreadPool-int-
#
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb#211
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb#215
def initialize(num_threads, opts = T.unsafe(nil)); end
end
@@ -4257,7 +4257,7 @@ Concurrent::GLOBAL_TIMER_SET = T.let(T.unsafe(nil), Concurrent::Delay)
#
# @see http://ruby-doc.org/core/Hash.html Ruby standard library `Hash`
#
-# source://concurrent-ruby//lib/concurrent-ruby/concurrent/hash.rb#47
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/hash.rb#49
class Concurrent::Hash < ::Hash; end
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/hash.rb#16
@@ -6476,7 +6476,7 @@ class Concurrent::PromiseExecutionError < ::StandardError; end
# {include:file:docs-source/promises-main.md}
#
-# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#12
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#13
module Concurrent::Promises
extend ::Concurrent::Promises::FactoryMethods::Configuration
extend ::Concurrent::Promises::FactoryMethods
@@ -6484,40 +6484,40 @@ end
# @abstract
#
-# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2037
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#2047
class Concurrent::Promises::AbstractAnyPromise < ::Concurrent::Promises::BlockedPromise; end
# Common ancestor of {Event} and {Future} classes, many shared methods are defined here.
#
-# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#512
+# source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#513
class Concurrent::Promises::AbstractEventFuture < ::Concurrent::Synchronization::Object
include ::Concurrent::Promises::InternalStates
extend ::Concurrent::Synchronization::SafeInitialization
# @return [AbstractEventFuture] a new instance of AbstractEventFuture
#
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#521
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#522
def initialize(promise, default_executor); end
# source://concurrent-ruby//lib/concurrent-ruby/concurrent/synchronization/object.rb#137
def __initialize_atomic_fields__; end
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#737
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#738
def add_callback_clear_delayed_node(node); end
- # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#732
+ # source://concurrent-ruby//lib/concurrent-ruby/concurrent/promises.rb#733
def add_callback_notify_blocked(promise, index); end
# For inspection.
#
# @return [Array
+ #
# # config/environments/production.rb
# Rails.application.configure do
# config.middleware.use ExceptionNotifier, config_for(:exception_notification)
# end
#
- # # You can also store configurations in a shared section which will be
- # # merged with the environment configuration
+ # You can also store configurations in a shared section which will be merged
+ # with the environment configuration
#
# # config/example.yml
# shared:
@@ -263,17 +264,19 @@ class Rails::Application < ::Rails::Engine
# bar:
# qux: 2
#
+ #
+ #
# # development environment
# Rails.application.config_for(:example)[:foo][:bar]
# # => { baz: 1, qux: 2 }
#
- # source://railties//lib/rails/application.rb#271
+ # source://railties//lib/rails/application.rb#274
def config_for(name, env: T.unsafe(nil)); end
# Sends any console called in the instance of a new application up
# to the +console+ method defined in Rails::Railtie.
#
- # source://railties//lib/rails/application.rb#354
+ # source://railties//lib/rails/application.rb#357
def console(&blk); end
# Returns an ActiveSupport::EncryptedConfiguration instance for the
@@ -291,14 +294,14 @@ class Rails::Application < ::Rails::Engine
# config/credentials/#{environment}.key for the current
# environment, or +config/master.key+ if that file does not exist.
#
- # source://railties//lib/rails/application.rb#513
+ # source://railties//lib/rails/application.rb#516
def credentials; end
# Sets the attribute credentials
#
# @param value the value to set the attribute credentials to.
#
- # source://railties//lib/rails/application.rb#457
+ # source://railties//lib/rails/application.rb#460
def credentials=(_arg0); end
# source://railties//lib/rails/application.rb#104
@@ -317,7 +320,7 @@ class Rails::Application < ::Rails::Engine
# Eager loads the application code.
#
- # source://railties//lib/rails/application.rb#571
+ # source://railties//lib/rails/application.rb#574
def eager_load!; end
# Returns an ActiveSupport::EncryptedConfiguration instance for an encrypted
@@ -336,13 +339,13 @@ class Rails::Application < ::Rails::Engine
# command. (See the output of bin/rails encrypted:edit --help for
# more information.)
#
- # source://railties//lib/rails/application.rb#532
+ # source://railties//lib/rails/application.rb#535
def encrypted(path, key_path: T.unsafe(nil), env_key: T.unsafe(nil)); end
# Stores some of the \Rails initial environment parameters which
# will be used by middlewares and engines to configure themselves.
#
- # source://railties//lib/rails/application.rb#300
+ # source://railties//lib/rails/application.rb#303
def env_config; end
# Returns the value of attribute executor.
@@ -353,16 +356,16 @@ class Rails::Application < ::Rails::Engine
# Sends any generators called in the instance of a new application up
# to the +generators+ method defined in Rails::Railtie.
#
- # source://railties//lib/rails/application.rb#360
+ # source://railties//lib/rails/application.rb#363
def generators(&blk); end
- # source://railties//lib/rails/application.rb#545
+ # source://railties//lib/rails/application.rb#548
def helpers_paths; end
# Initialize the application passing the given group. By default, the
# group is :default
#
- # source://railties//lib/rails/application.rb#421
+ # source://railties//lib/rails/application.rb#424
def initialize!(group = T.unsafe(nil)); end
# Returns true if the application is initialized.
@@ -376,15 +379,15 @@ class Rails::Application < ::Rails::Engine
# Rails::Initializable module. Each Rails::Application class has its own
# set of initializers, as defined by the Initializable module.
#
- # source://railties//lib/rails/application.rb#342
+ # source://railties//lib/rails/application.rb#345
def initializer(name, opts = T.unsafe(nil), &block); end
- # source://railties//lib/rails/application.rb#428
+ # source://railties//lib/rails/application.rb#431
def initializers; end
# Sends the +isolate_namespace+ method up to the class method.
#
- # source://railties//lib/rails/application.rb#371
+ # source://railties//lib/rails/application.rb#374
def isolate_namespace(mod); end
# Returns a key generator (ActiveSupport::CachingKeyGenerator) for a
@@ -395,7 +398,7 @@ class Rails::Application < ::Rails::Engine
# source://railties//lib/rails/application.rb#161
def key_generator(secret_key_base = T.unsafe(nil)); end
- # source://railties//lib/rails/application.rb#565
+ # source://railties//lib/rails/application.rb#568
def load_generators(app = T.unsafe(nil)); end
# Returns a message verifier object.
@@ -458,13 +461,13 @@ class Rails::Application < ::Rails::Engine
# copying migrations from railties ; we need them in the order given by
# +railties_order+.
#
- # source://railties//lib/rails/application.rb#561
+ # source://railties//lib/rails/application.rb#564
def migration_railties; end
# If you try to define a set of Rake tasks on the instance, these will get
# passed up to the Rake tasks defined on the application's class.
#
- # source://railties//lib/rails/application.rb#335
+ # source://railties//lib/rails/application.rb#338
def rake_tasks(&block); end
# Reload application routes regardless if they changed or not.
@@ -482,10 +485,10 @@ class Rails::Application < ::Rails::Engine
# source://railties//lib/rails/application.rb#102
def reloaders; end
- # source://railties//lib/rails/application.rb#397
+ # source://railties//lib/rails/application.rb#400
def require_environment!; end
- # source://railties//lib/rails/application.rb#402
+ # source://railties//lib/rails/application.rb#405
def routes_reloader; end
# source://railties//lib/rails/application.rb#138
@@ -494,7 +497,7 @@ class Rails::Application < ::Rails::Engine
# Sends any runner called in the instance of a new application up
# to the +runner+ method defined in Rails::Railtie.
#
- # source://railties//lib/rails/application.rb#348
+ # source://railties//lib/rails/application.rb#351
def runner(&blk); end
# Returns the value of attribute sandbox.
@@ -531,87 +534,87 @@ class Rails::Application < ::Rails::Engine
# then +credentials.secret_key_base+, and finally +secrets.secret_key_base+. For most applications,
# the correct place to store it is in the encrypted credentials file.
#
- # source://railties//lib/rails/application.rb#475
+ # source://railties//lib/rails/application.rb#478
def secret_key_base; end
- # source://railties//lib/rails/application.rb#440
+ # source://railties//lib/rails/application.rb#443
def secrets; end
# Sets the attribute secrets
#
# @param value the value to set the attribute secrets to.
#
- # source://railties//lib/rails/application.rb#457
+ # source://railties//lib/rails/application.rb#460
def secrets=(_arg0); end
# Sends any server called in the instance of a new application up
# to the +server+ method defined in Rails::Railtie.
#
- # source://railties//lib/rails/application.rb#366
+ # source://railties//lib/rails/application.rb#369
def server(&blk); end
- # source://railties//lib/rails/application.rb#541
+ # source://railties//lib/rails/application.rb#544
def to_app; end
# Returns an array of file paths appended with a hash of
# directories-extensions suitable for ActiveSupport::FileUpdateChecker
# API.
#
- # source://railties//lib/rails/application.rb#409
+ # source://railties//lib/rails/application.rb#412
def watchable_args; end
protected
- # source://railties//lib/rails/application.rb#644
+ # source://railties//lib/rails/application.rb#647
def default_middleware_stack; end
- # source://railties//lib/rails/application.rb#659
+ # source://railties//lib/rails/application.rb#662
def ensure_generator_templates_added; end
# Returns the ordered railties for this application considering railties_order.
#
- # source://railties//lib/rails/application.rb#610
+ # source://railties//lib/rails/application.rb#613
def ordered_railties; end
- # source://railties//lib/rails/application.rb#632
+ # source://railties//lib/rails/application.rb#635
def railties_initializers(current); end
- # source://railties//lib/rails/application.rb#599
+ # source://railties//lib/rails/application.rb#602
def run_console_blocks(app); end
- # source://railties//lib/rails/application.rb#589
+ # source://railties//lib/rails/application.rb#592
def run_generators_blocks(app); end
- # source://railties//lib/rails/application.rb#594
+ # source://railties//lib/rails/application.rb#597
def run_runner_blocks(app); end
- # source://railties//lib/rails/application.rb#604
+ # source://railties//lib/rails/application.rb#607
def run_server_blocks(app); end
- # source://railties//lib/rails/application.rb#578
+ # source://railties//lib/rails/application.rb#581
def run_tasks_blocks(app); end
- # source://railties//lib/rails/application.rb#649
+ # source://railties//lib/rails/application.rb#652
def validate_secret_key_base(secret_key_base); end
private
- # source://railties//lib/rails/application.rb#697
+ # source://railties//lib/rails/application.rb#700
def build_middleware; end
- # source://railties//lib/rails/application.rb#690
+ # source://railties//lib/rails/application.rb#693
def build_request(env); end
- # source://railties//lib/rails/application.rb#701
+ # source://railties//lib/rails/application.rb#704
def coerce_same_site_protection(protection); end
- # source://railties//lib/rails/application.rb#705
+ # source://railties//lib/rails/application.rb#708
def filter_parameters; end
- # source://railties//lib/rails/application.rb#665
+ # source://railties//lib/rails/application.rb#668
def generate_local_secret; end
- # source://railties//lib/rails/application.rb#684
+ # source://railties//lib/rails/application.rb#687
def secrets_secret_key_base; end
class << self
@@ -629,7 +632,7 @@ class Rails::Application < ::Rails::Engine
# Rails application, you will need to add lib to $LOAD_PATH on your own in case
# you need to load files in lib/ during the application configuration as well.
#
- # source://railties//lib/rails/application.rb#390
+ # source://railties//lib/rails/application.rb#393
def add_lib_to_load_path!(root); end
# source://railties//lib/rails/application.rb#84
@@ -687,7 +690,7 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration
# source://railties//lib/rails/application/configuration.rb#14
def allow_concurrency=(_arg0); end
- # source://railties//lib/rails/application/configuration.rb#532
+ # source://railties//lib/rails/application/configuration.rb#541
def annotations; end
# Returns the value of attribute api_only.
@@ -734,10 +737,10 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration
# source://railties//lib/rails/application/configuration.rb#14
def autoflush_log=(_arg0); end
- # source://railties//lib/rails/application/configuration.rb#464
+ # source://railties//lib/rails/application/configuration.rb#473
def autoload_lib(ignore:); end
- # source://railties//lib/rails/application/configuration.rb#476
+ # source://railties//lib/rails/application/configuration.rb#485
def autoload_lib_once(ignore:); end
# Returns the value of attribute beginning_of_week.
@@ -752,6 +755,9 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration
# source://railties//lib/rails/application/configuration.rb#14
def beginning_of_week=(_arg0); end
+ # source://railties//lib/rails/application/configuration.rb#387
+ def broadcast_log_level; end
+
# Returns the value of attribute cache_classes.
#
# source://railties//lib/rails/application/configuration.rb#14
@@ -776,10 +782,10 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration
# source://railties//lib/rails/application/configuration.rb#14
def cache_store=(_arg0); end
- # source://railties//lib/rails/application/configuration.rb#488
+ # source://railties//lib/rails/application/configuration.rb#497
def colorize_logging; end
- # source://railties//lib/rails/application/configuration.rb#492
+ # source://railties//lib/rails/application/configuration.rb#501
def colorize_logging=(val); end
# Returns the value of attribute consider_all_requests_local.
@@ -808,7 +814,7 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration
# Configures the ActionDispatch::ContentSecurityPolicy.
#
- # source://railties//lib/rails/application/configuration.rb#537
+ # source://railties//lib/rails/application/configuration.rb#546
def content_security_policy(&block); end
# Returns the value of attribute content_security_policy_nonce_directives.
@@ -862,20 +868,20 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration
# Loads and returns the entire raw configuration of database from
# values stored in config/database.yml.
#
- # source://railties//lib/rails/application/configuration.rb#427
+ # source://railties//lib/rails/application/configuration.rb#436
def database_configuration; end
- # source://railties//lib/rails/application/configuration.rb#382
+ # source://railties//lib/rails/application/configuration.rb#391
def debug_exception_response_format; end
# Sets the attribute debug_exception_response_format
#
# @param value the value to set the attribute debug_exception_response_format to.
#
- # source://railties//lib/rails/application/configuration.rb#386
+ # source://railties//lib/rails/application/configuration.rb#395
def debug_exception_response_format=(_arg0); end
- # source://railties//lib/rails/application/configuration.rb#554
+ # source://railties//lib/rails/application/configuration.rb#563
def default_log_file; end
# Returns the value of attribute disable_sandbox.
@@ -1030,7 +1036,7 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration
# source://railties//lib/rails/application/configuration.rb#14
def hosts=(_arg0); end
- # source://railties//lib/rails/application/configuration.rb#566
+ # source://railties//lib/rails/application/configuration.rb#575
def inspect; end
# Load the config/database.yml to create the Rake tasks for
@@ -1039,7 +1045,7 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration
#
# Do not use this method, use #database_configuration instead.
#
- # source://railties//lib/rails/application/configuration.rb#409
+ # source://railties//lib/rails/application/configuration.rb#418
def load_database_yaml; end
# Loads default configuration values for a target version. This includes
@@ -1081,15 +1087,11 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration
# Returns the value of attribute log_level.
#
- # source://railties//lib/rails/application/configuration.rb#14
+ # source://railties//lib/rails/application/configuration.rb#28
def log_level; end
- # Sets the attribute log_level
- #
- # @param value the value to set the attribute log_level to.
- #
- # source://railties//lib/rails/application/configuration.rb#14
- def log_level=(_arg0); end
+ # source://railties//lib/rails/application/configuration.rb#382
+ def log_level=(level); end
# Returns the value of attribute log_tags.
#
@@ -1115,12 +1117,12 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration
# source://railties//lib/rails/application/configuration.rb#14
def logger=(_arg0); end
- # source://railties//lib/rails/application/configuration.rb#388
+ # source://railties//lib/rails/application/configuration.rb#397
def paths; end
# Configures the ActionDispatch::PermissionsPolicy.
#
- # source://railties//lib/rails/application/configuration.rb#546
+ # source://railties//lib/rails/application/configuration.rb#555
def permissions_policy(&block); end
# Returns the value of attribute precompile_filter_parameters.
@@ -1288,12 +1290,12 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration
# # use ActionDispatch::Session::MyCustomStore as the session store
# config.session_store :my_custom_store
#
- # source://railties//lib/rails/application/configuration.rb#512
+ # source://railties//lib/rails/application/configuration.rb#521
def session_store(new_session_store = T.unsafe(nil), **options); end
# @return [Boolean]
#
- # source://railties//lib/rails/application/configuration.rb#528
+ # source://railties//lib/rails/application/configuration.rb#537
def session_store?; end
# Returns the value of attribute ssl_options.
@@ -1334,25 +1336,25 @@ class Rails::Application::Configuration < ::Rails::Engine::Configuration
private
- # source://railties//lib/rails/application/configuration.rb#591
+ # source://railties//lib/rails/application/configuration.rb#600
def credentials_defaults; end
end
-# source://railties//lib/rails/application/configuration.rb#570
+# source://railties//lib/rails/application/configuration.rb#579
class Rails::Application::Configuration::Custom
# @return [Custom] a new instance of Custom
#
- # source://railties//lib/rails/application/configuration.rb#571
+ # source://railties//lib/rails/application/configuration.rb#580
def initialize; end
- # source://railties//lib/rails/application/configuration.rb#575
+ # source://railties//lib/rails/application/configuration.rb#584
def method_missing(method, *args); end
private
# @return [Boolean]
#
- # source://railties//lib/rails/application/configuration.rb#585
+ # source://railties//lib/rails/application/configuration.rb#594
def respond_to_missing?(symbol, *_arg1); end
end
@@ -1438,10 +1440,10 @@ class Rails::Application::RoutesReloader
# source://railties//lib/rails/application/routes_reloader.rb#15
def initialize; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
# Returns the value of attribute eager_load.
@@ -1507,13 +1509,13 @@ class Rails::Application::RoutesReloader
def updater; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
end
end
@@ -1522,7 +1524,7 @@ end
class Rails::ApplicationController < ::ActionController::Base
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
# source://railties//lib/rails/application_controller.rb#25
@@ -1537,16 +1539,16 @@ class Rails::ApplicationController < ::ActionController::Base
def require_local!; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#211
def _layout; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#212
def _layout_conditions; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -2097,7 +2099,8 @@ end
# feature and application sharing.
#
# Any +Rails::Engine+ is also a Rails::Railtie, so the same
-# methods (like rake_tasks and +generators+) and configuration
+# methods (like {rake_tasks}[rdoc-ref:Rails::Railtie::rake_tasks] and
+# {generators}[rdoc-ref:Rails::Railtie::generators]) and configuration
# options that are available in railties can also be used in engines.
#
# == Creating an Engine
@@ -2198,7 +2201,7 @@ end
# An engine can also be a Rack application. It can be useful if you have a Rack application that
# you would like to provide with some of the +Engine+'s features.
#
-# To do that, use the +endpoint+ method:
+# To do that, use the ::endpoint method:
#
# module MyEngine
# class Engine < Rails::Engine
@@ -2279,7 +2282,7 @@ end
# named routes from the application will be available to your engine's controllers as well.
#
# However, sometimes you want to isolate your engine from the application, especially if your engine
-# has its own router. To do that, you simply need to call +isolate_namespace+. This method requires
+# has its own router. To do that, you simply need to call ::isolate_namespace. This method requires
# you to pass a module where all your controllers, helpers, and models should be nested to:
#
# module MyEngine
@@ -2409,7 +2412,7 @@ end
# To use engine's migrations in application you can use the rake task below, which copies them to
# application's dir:
#
-# rake ENGINE_NAME:install:migrations
+# $ rake ENGINE_NAME:install:migrations
#
# Note that some of the migrations may be skipped if a migration with the same name already exists
# in application. In such a situation you must decide whether to leave that migration or rename the
@@ -2436,82 +2439,82 @@ class Rails::Engine < ::Rails::Railtie
# @return [Engine] a new instance of Engine
#
- # source://railties//lib/rails/engine.rb#432
+ # source://railties//lib/rails/engine.rb#439
def initialize; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#963
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#963
def _load_seed_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#951
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#951
def _run_load_seed_callbacks(&block); end
# Returns the underlying Rack application for this engine.
#
- # source://railties//lib/rails/engine.rb#510
+ # source://railties//lib/rails/engine.rb#517
def app; end
# Define the Rack API for this engine.
#
- # source://railties//lib/rails/engine.rb#527
+ # source://railties//lib/rails/engine.rb#534
def call(env); end
# Define the configuration object for the engine.
#
- # source://railties//lib/rails/engine.rb#546
+ # source://railties//lib/rails/engine.rb#553
def config; end
- # source://railties//lib/rails/engine.rb#484
+ # source://railties//lib/rails/engine.rb#491
def eager_load!; end
# Returns the endpoint for this engine. If none is registered,
# defaults to an ActionDispatch::Routing::RouteSet.
#
- # source://railties//lib/rails/engine.rb#522
+ # source://railties//lib/rails/engine.rb#529
def endpoint; end
- # source://railties//lib/rails/engine.rb#430
+ # source://railties//lib/rails/engine.rb#437
def engine_name(*_arg0, **_arg1, &_arg2); end
# Defines additional Rack env configuration that is added on each call.
#
- # source://railties//lib/rails/engine.rb#533
+ # source://railties//lib/rails/engine.rb#540
def env_config; end
# Returns a module with all the helpers defined for the engine.
#
- # source://railties//lib/rails/engine.rb#494
+ # source://railties//lib/rails/engine.rb#501
def helpers; end
# Returns all registered helpers paths.
#
- # source://railties//lib/rails/engine.rb#505
+ # source://railties//lib/rails/engine.rb#512
def helpers_paths; end
- # source://railties//lib/rails/engine.rb#430
+ # source://railties//lib/rails/engine.rb#437
def isolated?(&block); end
# Load console and invoke the registered hooks.
# Check Rails::Railtie.console for more info.
#
- # source://railties//lib/rails/engine.rb#446
+ # source://railties//lib/rails/engine.rb#453
def load_console(app = T.unsafe(nil)); end
# Load \Rails generators and invoke the registered hooks.
# Check Rails::Railtie.generators for more info.
#
- # source://railties//lib/rails/engine.rb#470
+ # source://railties//lib/rails/engine.rb#477
def load_generators(app = T.unsafe(nil)); end
# Load \Rails runner and invoke the registered hooks.
# Check Rails::Railtie.runner for more info.
#
- # source://railties//lib/rails/engine.rb#455
+ # source://railties//lib/rails/engine.rb#462
def load_runner(app = T.unsafe(nil)); end
# Load data from db/seeds.rb file. It can be used in to load engines'
@@ -2519,114 +2522,114 @@ class Rails::Engine < ::Rails::Railtie
#
# Blog::Engine.load_seed
#
- # source://railties//lib/rails/engine.rb#554
+ # source://railties//lib/rails/engine.rb#561
def load_seed; end
# Invoke the server registered hooks.
# Check Rails::Railtie.server for more info.
#
- # source://railties//lib/rails/engine.rb#479
+ # source://railties//lib/rails/engine.rb#486
def load_server(app = T.unsafe(nil)); end
# Load Rake and railties tasks, and invoke the registered hooks.
# Check Rails::Railtie.rake_tasks for more info.
#
- # source://railties//lib/rails/engine.rb#462
+ # source://railties//lib/rails/engine.rb#469
def load_tasks(app = T.unsafe(nil)); end
- # source://railties//lib/rails/engine.rb#429
+ # source://railties//lib/rails/engine.rb#436
def middleware(*_arg0, **_arg1, &_arg2); end
- # source://railties//lib/rails/engine.rb#429
+ # source://railties//lib/rails/engine.rb#436
def paths(*_arg0, **_arg1, &_arg2); end
- # source://railties//lib/rails/engine.rb#489
+ # source://railties//lib/rails/engine.rb#496
def railties; end
- # source://railties//lib/rails/engine.rb#429
+ # source://railties//lib/rails/engine.rb#436
def root(*_arg0, **_arg1, &_arg2); end
# Defines the routes for this engine. If a block is given to
# routes, it is appended to the engine.
#
- # source://railties//lib/rails/engine.rb#539
+ # source://railties//lib/rails/engine.rb#546
def routes(&block); end
# @return [Boolean]
#
- # source://railties//lib/rails/engine.rb#670
+ # source://railties//lib/rails/engine.rb#677
def routes?; end
protected
- # source://railties//lib/rails/engine.rb#675
+ # source://railties//lib/rails/engine.rb#682
def run_tasks_blocks(*_arg0); end
private
- # source://railties//lib/rails/engine.rb#707
+ # source://railties//lib/rails/engine.rb#714
def _all_autoload_once_paths; end
- # source://railties//lib/rails/engine.rb#711
+ # source://railties//lib/rails/engine.rb#718
def _all_autoload_paths; end
- # source://railties//lib/rails/engine.rb#720
+ # source://railties//lib/rails/engine.rb#727
def _all_load_paths(add_autoload_paths_to_load_path); end
- # source://railties//lib/rails/engine.rb#744
+ # source://railties//lib/rails/engine.rb#751
def build_middleware; end
- # source://railties//lib/rails/engine.rb#736
+ # source://railties//lib/rails/engine.rb#743
def build_request(env); end
- # source://railties//lib/rails/engine.rb#703
+ # source://railties//lib/rails/engine.rb#710
def default_middleware_stack; end
# @return [Boolean]
#
- # source://railties//lib/rails/engine.rb#731
+ # source://railties//lib/rails/engine.rb#738
def fixtures_in_root_and_not_in_vendor?(fixtures); end
# @return [Boolean]
#
- # source://railties//lib/rails/engine.rb#687
+ # source://railties//lib/rails/engine.rb#694
def has_migrations?; end
- # source://railties//lib/rails/engine.rb#681
+ # source://railties//lib/rails/engine.rb#688
def load_config_initializer(initializer); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks=(value); end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks?; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#955
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#955
def _load_seed_callbacks; end
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#959
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#959
def _load_seed_callbacks=(value); end
# Returns the value of attribute called_from.
#
- # source://railties//lib/rails/engine.rb#353
+ # source://railties//lib/rails/engine.rb#354
def called_from; end
# Sets the attribute called_from
#
# @param value the value to set the attribute called_from to.
#
- # source://railties//lib/rails/engine.rb#353
+ # source://railties//lib/rails/engine.rb#354
def called_from=(_arg0); end
- # source://railties//lib/rails/engine.rb#358
+ # source://railties//lib/rails/engine.rb#359
def eager_load!(*_arg0, **_arg1, &_arg2); end
- # source://railties//lib/rails/engine.rb#378
+ # source://railties//lib/rails/engine.rb#379
def endpoint(endpoint = T.unsafe(nil)); end
# source://railties//lib/rails/railtie.rb#176
@@ -2634,38 +2637,38 @@ class Rails::Engine < ::Rails::Railtie
# Finds engine with given path.
#
- # source://railties//lib/rails/engine.rb#416
+ # source://railties//lib/rails/engine.rb#423
def find(path); end
- # source://railties//lib/rails/engine.rb#374
+ # source://railties//lib/rails/engine.rb#375
def find_root(from); end
- # source://railties//lib/rails/engine.rb#691
+ # source://railties//lib/rails/engine.rb#698
def find_root_with_flag(flag, root_path, default = T.unsafe(nil)); end
# @private
#
- # source://railties//lib/rails/engine.rb#360
+ # source://railties//lib/rails/engine.rb#361
def inherited(base); end
- # source://railties//lib/rails/engine.rb#384
+ # source://railties//lib/rails/engine.rb#385
def isolate_namespace(mod); end
# Returns the value of attribute isolated.
#
- # source://railties//lib/rails/engine.rb#353
+ # source://railties//lib/rails/engine.rb#354
def isolated; end
# Sets the attribute isolated
#
# @param value the value to set the attribute isolated to.
#
- # source://railties//lib/rails/engine.rb#353
+ # source://railties//lib/rails/engine.rb#354
def isolated=(_arg0); end
# Returns the value of attribute isolated.
#
- # source://railties//lib/rails/engine.rb#353
+ # source://railties//lib/rails/engine.rb#354
def isolated?; end
end
end
@@ -2858,7 +2861,7 @@ module Rails::Generators
def configure!(config); end
# Hold configured generators fallbacks. If a plugin developer wants a
- # generator group to fallback to another group in case of missing generators,
+ # generator group to fall back to another group in case of missing generators,
# they can add a fallback.
#
# For example, shoulda is considered a test_framework and is an extension
@@ -3511,6 +3514,9 @@ class Rails::Generators::AppBase < ::Rails::Generators::Base
private
+ # source://railties//lib/rails/generators/app_base.rb#707
+ def add_bundler_platforms; end
+
# source://railties//lib/rails/generators/app_base.rb#243
def apply_rails_template; end
@@ -3571,7 +3577,7 @@ class Rails::Generators::AppBase < ::Rails::Generators::Base
# source://railties//lib/rails/generators/app_base.rb#503
def dockerfile_bun_version; end
- # source://railties//lib/rails/generators/app_base.rb#754
+ # source://railties//lib/rails/generators/app_base.rb#752
def dockerfile_chown_directories; end
# source://railties//lib/rails/generators/app_base.rb#579
@@ -3580,10 +3586,10 @@ class Rails::Generators::AppBase < ::Rails::Generators::Base
# source://railties//lib/rails/generators/app_base.rb#497
def dockerfile_yarn_version; end
- # source://railties//lib/rails/generators/app_base.rb#750
+ # source://railties//lib/rails/generators/app_base.rb#748
def edge_branch; end
- # source://railties//lib/rails/generators/app_base.rb#725
+ # source://railties//lib/rails/generators/app_base.rb#723
def empty_directory_with_keep_file(destination, config = T.unsafe(nil)); end
# source://railties//lib/rails/generators/app_base.rb#628
@@ -3595,10 +3601,10 @@ class Rails::Generators::AppBase < ::Rails::Generators::Base
# source://railties//lib/rails/generators/app_base.rb#127
def gemfile_entries; end
- # source://railties//lib/rails/generators/app_base.rb#719
+ # source://railties//lib/rails/generators/app_base.rb#717
def generate_bundler_binstub; end
- # source://railties//lib/rails/generators/app_base.rb#738
+ # source://railties//lib/rails/generators/app_base.rb#736
def git_init_command; end
# source://railties//lib/rails/generators/app_base.rb#462
@@ -3637,7 +3643,7 @@ class Rails::Generators::AppBase < ::Rails::Generators::Base
# source://railties//lib/rails/generators/app_base.rb#447
def jbuilder_gemfile_entry; end
- # source://railties//lib/rails/generators/app_base.rb#730
+ # source://railties//lib/rails/generators/app_base.rb#728
def keep_file(destination); end
# @return [Boolean]
@@ -3671,13 +3677,13 @@ class Rails::Generators::AppBase < ::Rails::Generators::Base
# source://railties//lib/rails/generators/app_base.rb#676
def run_bundle; end
- # source://railties//lib/rails/generators/app_base.rb#707
+ # source://railties//lib/rails/generators/app_base.rb#695
def run_css; end
- # source://railties//lib/rails/generators/app_base.rb#701
+ # source://railties//lib/rails/generators/app_base.rb#689
def run_hotwire; end
- # source://railties//lib/rails/generators/app_base.rb#692
+ # source://railties//lib/rails/generators/app_base.rb#680
def run_javascript; end
# source://railties//lib/rails/generators/app_base.rb#249
@@ -3736,7 +3742,7 @@ class Rails::Generators::AppBase < ::Rails::Generators::Base
# source://railties//lib/rails/generators/app_base.rb#653
def target_rails_prerelease(self_command = T.unsafe(nil)); end
- # source://railties//lib/rails/generators/app_base.rb#734
+ # source://railties//lib/rails/generators/app_base.rb#732
def user_default_branch; end
# @return [Boolean]
@@ -3919,7 +3925,7 @@ class Rails::Generators::Base < ::Thor::Group
def default_generator_root; end
# Returns the default source root for a given generator. This is used internally
- # by rails to set its generators source root. If you want to customize your source
+ # by \Rails to set its generators source root. If you want to customize your source
# root, you should use source_root.
#
# source://railties//lib/rails/generators/base.rb#227
@@ -3971,7 +3977,7 @@ class Rails::Generators::Base < ::Thor::Group
#
# For example, if the user invoke the controller generator as:
#
- # bin/rails generate controller Account --test-framework=test_unit
+ # $ bin/rails generate controller Account --test-framework=test_unit
#
# The controller generator will then try to invoke the following generators:
#
@@ -4026,11 +4032,11 @@ class Rails::Generators::Base < ::Thor::Group
# All hooks come with switches for user interface. If you do not want
# to use any test framework, you can do:
#
- # bin/rails generate controller Account --skip-test-framework
+ # $ bin/rails generate controller Account --skip-test-framework
#
# Or similarly:
#
- # bin/rails generate controller Account --no-test-framework
+ # $ bin/rails generate controller Account --no-test-framework
#
# ==== Boolean hooks
#
@@ -4042,7 +4048,7 @@ class Rails::Generators::Base < ::Thor::Group
#
# Then, if you want webrat to be invoked, just supply:
#
- # bin/rails generate controller Account --webrat
+ # $ bin/rails generate controller Account --webrat
#
# The hooks lookup is similar as above:
#
@@ -5061,7 +5067,7 @@ class Rails::HealthController < ::ActionController::Base
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
# source://railties//lib/rails/health_controller.rb#51
@@ -5074,10 +5080,10 @@ class Rails::HealthController < ::ActionController::Base
def render_up; end
class << self
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
- # source://activesupport/7.1.2/lib/active_support/rescuable.rb#15
+ # source://activesupport/7.1.3/lib/active_support/rescuable.rb#15
def rescue_handlers; end
end
end
@@ -5128,7 +5134,7 @@ class Rails::InfoController < ::Rails::ApplicationController
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
# source://railties//lib/rails/info_controller.rb#8
@@ -5138,16 +5144,16 @@ class Rails::InfoController < ::Rails::ApplicationController
def matching_routes(query:, exact_match:); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#211
def _layout; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#212
def _layout_conditions; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -5255,7 +5261,7 @@ class Rails::MailersController < ::Rails::ApplicationController
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
# source://railties//lib/rails/mailers_controller.rb#90
@@ -5282,13 +5288,13 @@ class Rails::MailersController < ::Rails::ApplicationController
def show_previews?; end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionpack/7.1.2/lib/abstract_controller/helpers.rb#12
+ # source://actionpack/7.1.3/lib/abstract_controller/helpers.rb#12
def _helper_methods; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end
@@ -6373,20 +6379,20 @@ class Rails::WelcomeController < ::Rails::ApplicationController
private
- # source://actionview/7.1.2/lib/action_view/layouts.rb#330
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#330
def _layout(lookup_context, formats); end
class << self
- # source://activesupport/7.1.2/lib/active_support/callbacks.rb#70
+ # source://activesupport/7.1.3/lib/active_support/callbacks.rb#70
def __callbacks; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#211
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#211
def _layout; end
- # source://actionview/7.1.2/lib/action_view/layouts.rb#212
+ # source://actionview/7.1.3/lib/action_view/layouts.rb#212
def _layout_conditions; end
- # source://actionpack/7.1.2/lib/action_controller/metal.rb#262
+ # source://actionpack/7.1.3/lib/action_controller/metal.rb#262
def middleware_stack; end
end
end