THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!
This website requires JavaScript.
Explore
Help
Sign In
TEST_CODEOWNERS
/
rails
Watch
3
Star
0
Fork
0
You've already forked rails
Code
Issues
Pull Requests
1
Actions
Packages
Projects
Releases
Wiki
Activity
19deeb08df
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 15:17:44 +00:00
class
Wheel
<
ActiveRecord
::
Base
modernizes hash syntax in activerecord
2016-08-06 17:37:57 +00: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 15:17:44 +00:00
end
Reference in New Issue
Copy Permalink