HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/activerecord-7.0.4.2/ri/ActiveRecord/Persistence/save-i.ri
U:RDoc::AnyMethod[iI"	save:ETI"#ActiveRecord::Persistence#save;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"Saves the model.;To:RDoc::Markup::BlankLineo;
;	[I"KIf the model is new, a record gets created in the database, otherwise ;TI"&the existing record gets updated.;T@o;
;	[	I"NBy default, save always runs validations. If any of them fail the action ;TI"cis cancelled and #save returns +false+, and the record won't be saved. However, if you supply ;TI"H<tt>validate: false</tt>, validations are bypassed altogether. See ;TI"4ActiveRecord::Validations for more information.;T@o;
;	[I"MBy default, #save also sets the +updated_at+/+updated_on+ attributes to ;TI"Kthe current time. However, if you supply <tt>touch: false</tt>, these ;TI"$timestamps will not be updated.;T@o;
;	[	I"HThere's a series of callbacks associated with #save. If any of the ;TI"M<tt>before_*</tt> callbacks throws +:abort+ the action is cancelled and ;TI"D#save returns +false+. See ActiveRecord::Callbacks for further ;TI"
details.;T@o;
;	[I"IAttributes marked as readonly are silently ignored if the record is ;TI"being updated.;T:
@fileI"%lib/active_record/persistence.rb;T:0@omit_headings_from_table_of_contents_below0I"save(**options)
;T0[I"(**options, &block);T@(FI"Persistence;TcRDoc::NormalModule00