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
04ef46dd90
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
applies new string literal convention in activerecord/test The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
2016-08-06 12:26:20 -04: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