File: //usr/local/rvm/gems/default/doc/activemodel-6.1.4.1/ri/ActiveModel/Lint/Tests/test_to_param-i.ri
U:RDoc::AnyMethod[iI"test_to_param:ETI"+ActiveModel::Lint::Tests#test_to_param;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"GPasses if the object's model responds to <tt>to_param</tt> and if ;TI"Icalling this method returns +nil+ when the object is not persisted. ;TI"Fails otherwise.;To:RDoc::Markup::BlankLine o;
; [
I"F<tt>to_param</tt> is used to represent the object's key in URLs. ;TI"GImplementers can decide to either raise an exception or provide a ;TI"Kdefault in case the record uses a composite primary key. There are no ;TI"Ltests for this behavior in lint because it doesn't make sense to force ;TI"Fany of the possible implementation strategies on the implementer.;T:
@fileI"lib/active_model/lint.rb;T:0@omit_headings_from_table_of_contents_below000[ I"();T@FI"
Tests;TcRDoc::NormalModule00