HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/gems/default/doc/activerecord-6.1.4.1/ri/ActiveRecord/Persistence/delete-i.ri
U:RDoc::AnyMethod[iI"delete:ETI"%ActiveRecord::Persistence#delete;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"EDeletes the record in the database and freezes this instance to ;TI"Areflect that no changes should be made (since they can't be ;TI"-persisted). Returns the frozen instance.;To:RDoc::Markup::BlankLineo;
;	[I"EThe row is simply removed with an SQL +DELETE+ statement on the ;TI"9record's primary key, and no callbacks are executed.;T@o;
;	[I"]Note that this will also delete records marked as {#readonly?}[rdoc-ref:Core#readonly?].;T@o;
;	[I"BTo enforce the object's +before_destroy+ and +after_destroy+ ;TI"6callbacks or any <tt>:dependent</tt> association ;TI"options, use #destroy.;T:
@fileI"%lib/active_record/persistence.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI"Persistence;TcRDoc::NormalModule00