File: //usr/local/rvm/gems/default/doc/activesupport-6.1.4.1/ri/ActiveSupport/Inflector/foreign_key-i.ri
U:RDoc::AnyMethod[iI"foreign_key:ETI")ActiveSupport::Inflector#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"5foreign_key('Message') # => "message_id"
;TI"4foreign_key('Message', false) # => "messageid"
;TI"1foreign_key('Admin::Post') # => "post_id";T:@format0:
@fileI",lib/active_support/inflector/methods.rb;T:0@omit_headings_from_table_of_contents_below000[ I"D(class_name, separate_class_name_and_id_with_underscore = true);T@FI"Inflector;TcRDoc::NormalModule00