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/Core/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"ActiveRecord::Core::new;TT:publico:RDoc::Markup::Document:@parts[	o:RDoc::Markup::Paragraph;	[	I"fNew objects can be instantiated as either empty (pass no construction parameter) or pre-set with ;TI"kattributes but not yet saved (pass a hash with key names matching the associated table column names). ;TI"kIn both instances, valid attribute keys are determined by the column names of the associated table -- ;TI"Khence you can't have attributes that aren't part of the table columns.;To:RDoc::Markup::BlankLineS:RDoc::Markup::Heading:
leveli	:	textI"
Example:;To:RDoc::Markup::Verbatim;	[I"(# Instantiates a single new object
;TI""User.new(first_name: 'Jamie');T:@format0:
@fileI"lib/active_record/core.rb;T:0@omit_headings_from_table_of_contents_below00I"	self;T[I"(attributes = nil);T@FI"	Core;TcRDoc::NormalModule00