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/QueryMethods/create_with-i.ri
U:RDoc::AnyMethod[iI"create_with:ETI"+ActiveRecord::QueryMethods#create_with;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"ASets attributes to be used when creating new records from a ;TI"relation object.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[
I"'users = User.where(name: 'Oscar')
;TI"!users.new.name # => 'Oscar'
;TI"
;TI",users = users.create_with(name: 'DHH')
;TI"users.new.name # => 'DHH'
;T:@format0o;
;	[I"<You can pass +nil+ to #create_with to reset attributes:;T@o;;	[I"$users = users.create_with(nil)
;TI" users.new.name # => 'Oscar';T;
0:
@fileI"0lib/active_record/relation/query_methods.rb;T:0@omit_headings_from_table_of_contents_below000[I"(value);T@FI"QueryMethods;TcRDoc::NormalModule00