method

reset_primary_key

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActiveRecord::Base
reset_primary_key(#:nodoc:) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/base.rb, line 1038
      def reset_primary_key #:nodoc:
        key = get_primary_key(base_class.name)
        set_primary_key(key)
        key
      end
Register or log in to add new notes.