Please sign in to comment.
docs, AR already auto-detects primary keys. Closes #13946.
This behavior was introduced since Rails 3.1 (207f266) but the docs were still out of date. Conflicts: activerecord/test/models/mixed_case_monkey.rb
- Loading branch information...
Showing with 8 additions and 5 deletions.
|@@ -1,3 +1,2 @@|
|class MixedCaseMonkey < ActiveRecord::Base|
|- self.primary_key = 'monkeyID'|