This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
rails--rails
Watch
1
Star
0
Fork
You've already forked rails--rails
0
mirror of
https://github.com/rails/rails.git
synced
2022-11-09 12:12:34 -05:00
Code
Releases
Activity
7162ea2a0c
rails--rails
/
activerecord
/
test
/
models
/
keyboard.rb
4 lines
74 B
Ruby
Raw
Normal View
History
Unescape
Escape
Add test coverage for customized primary keys including a failing test for #2444. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-12 15:55:46 -04:00
class
Keyboard
<
ActiveRecord
::
Base
Deprecate set_primary_key in favour of self.primary_key=
2011-11-29 13:58:41 -05:00
self
.
primary_key
=
'key_number'
Add test coverage for customized primary keys including a failing test for #2444. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2540 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-12 15:55:46 -04:00
end
Copy permalink