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/ruby-2.6.8/doc/activerecord-6.1.4.1/ri/ActiveRecord/Relation/delete_by-i.ri
U:RDoc::AnyMethod[iI"delete_by:ETI"%ActiveRecord::Relation#delete_by;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph;	[I"FFinds and deletes all records matching the specified conditions. ;TI"KThis is short-hand for <tt>relation.where(condition).delete_all</tt>. ;TI")Returns the number of rows affected.;To:RDoc::Markup::BlankLineo;
;	[I"JIf no record is found, returns <tt>0</tt> as zero rows were affected.;T@o:RDoc::Markup::Verbatim;	[I"Person.delete_by(id: 13)
;TI"4Person.delete_by(name: 'Spartacus', rating: 4)
;TI"6Person.delete_by("published_at < ?", 2.weeks.ago);T:@format0:
@fileI""lib/active_record/relation.rb;T:0@omit_headings_from_table_of_contents_below000[I"(*args);T@FI"
Relation;TcRDoc::NormalClass00