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
44919e1cf0
rails--rails
/
activerecord
/
test
/
models
/
string_key_object.rb
4 lines
72 B
Ruby
Raw
Normal View
History
Unescape
Escape
Don't quote ID's as Arel will quote them -- follow same conventions as the delete method.
2011-03-14 22:19:47 -04:00
class
StringKeyObject
<
ActiveRecord
::
Base
Deprecate set_primary_key in favour of self.primary_key=
2011-11-29 13:58:41 -05:00
self
.
primary_key
=
:id
Don't quote ID's as Arel will quote them -- follow same conventions as the delete method.
2011-03-14 22:19:47 -04:00
end
Copy permalink