--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Sets the name of the primary key column to use to the given value, or (if the value is nil or false) to the value returned by the given block.
- !ruby/struct:SM::Flow::P 
  body: "Example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  class Project &lt; ActiveRecord::Base\n    set_primary_key &quot;sysid&quot;\n  end\n"
full_name: ActiveRecord::Base::set_primary_key
is_singleton: true
name: set_primary_key
params: (value = nil, &block)
visibility: public
