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
d3cb00b87e
rails--rails
/
activerecord
/
test
/
models
/
wheel.rb
4 lines
101 B
Ruby
Raw
Normal View
History
Unescape
Escape
reset_counter should work with non-traditional belongs_to and polymorphic belongs_to [#4984 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-27 11:17:44 -04:00
class
Wheel
<
ActiveRecord
::
Base
modernizes hash syntax in activerecord
2016-08-06 13:37:57 -04:00
belongs_to
:wheelable
,
polymorphic
:
true
,
counter_cache
:
true
reset_counter should work with non-traditional belongs_to and polymorphic belongs_to [#4984 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-27 11:17:44 -04:00
end
Copy permalink