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