File: //usr/local/rvm/gems/ruby-2.7.4/doc/activemodel-6.1.4.1/ri/ActiveModel/Lint/Tests/test_to_key-i.ri
U:RDoc::AnyMethod[iI"test_to_key:ETI")ActiveModel::Lint::Tests#test_to_key;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"MPasses if the object's model responds to <tt>to_key</tt> and if calling ;TI"Athis method returns +nil+ when the object is not persisted. ;TI"Fails otherwise.;To:RDoc::Markup::BlankLine o;
; [I"K<tt>to_key</tt> returns an Enumerable of all (primary) key attributes ;TI"Jof the model, and is used to a generate unique DOM id for the object.;T:
@fileI"lib/active_model/lint.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@FI"
Tests;TcRDoc::NormalModule00