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.5.9/doc/activesupport-6.1.4.1/ri/String/foreign_key-i.ri
U:RDoc::AnyMethod[iI"foreign_key:ETI"String#foreign_key;TF:publico:RDoc::Markup::Document:@parts[	o:RDoc::Markup::Paragraph;	[I"3Creates a foreign key name from a class name. ;TI"?+separate_class_name_and_id_with_underscore+ sets whether ;TI"9the method should put '_' between the name and 'id'.;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"4'Message'.foreign_key        # => "message_id"
;TI"3'Message'.foreign_key(false) # => "messageid"
;TI"1'Admin::Post'.foreign_key    # => "post_id"
;T:@format0o;
;	[I".See ActiveSupport::Inflector.foreign_key.;T:
@fileI"6lib/active_support/core_ext/string/inflections.rb;T:0@omit_headings_from_table_of_contents_below000[I"8(separate_class_name_and_id_with_underscore = true);T@FI"String;TcRDoc::NormalClass00