File: //usr/local/rvm/gems/default/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::BlankLine o: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