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
f9b698f93b
rails--rails
/
activerecord
/
test
/
models
/
mixed_case_monkey.rb
4 lines
79 B
Ruby
Raw
Normal View
History
Unescape
Escape
Consistently quote primary key column names. Closes #7763. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-08 22:23:37 -05:00
class
MixedCaseMonkey
<
ActiveRecord
::
Base
Deprecate set_primary_key in favour of self.primary_key=
2011-11-29 13:58:41 -05:00
self
.
primary_key
=
'monkeyID'
Consistently quote primary key column names. Closes #7763. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6364 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-03-08 22:23:37 -05:00
end
Copy permalink