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
a57c6441a8
rails--rails
/
activerecord
/
test
/
models
/
speedometer.rb
5 lines
104 B
Ruby
Raw
Normal View
History
Unescape
Escape
string IDs are now quoted correctly [#5064 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-10 15:19:25 -04:00
class
Speedometer
<
ActiveRecord
::
Base
Deprecate set_primary_key in favour of self.primary_key=
2011-11-29 13:58:41 -05:00
self
.
primary_key
=
:speedometer_id
string IDs are now quoted correctly [#5064 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
2010-07-10 15:19:25 -04:00
belongs_to
:dashboard
Deprecate set_primary_key in favour of self.primary_key=
2011-11-29 13:58:41 -05:00
end
Copy permalink