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-3.0.2/doc/activerecord-6.1.4.1/ri/ActiveRecord/Core/init_with-i.ri
U:RDoc::AnyMethod[iI"init_with:ETI"!ActiveRecord::Core#init_with;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"FInitialize an empty model object from +coder+. +coder+ should be ;TI"Ethe result of previously encoding an Active Record model, using ;TI"#encode_with.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"%class Post < ActiveRecord::Base
;TI"	end
;TI"
;TI"/old_post = Post.new(title: "hello world")
;TI"coder = {}
;TI"!old_post.encode_with(coder)
;TI"
;TI"post = Post.allocate
;TI"post.init_with(coder)
;TI""post.title # => 'hello world';T:@format0:
@fileI"lib/active_record/core.rb;T:0@omit_headings_from_table_of_contents_below000[I"(coder, &block);T@FI"	Core;TcRDoc::NormalModule00