1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/fixtures/ratings.yml
Jefferson Lai 9c3afdc327 Fixes Issue #13466.
Changed the call to a scope block to be evaluated with instance_eval.
The result is that ScopeRegistry can use the actual class instead of base_class when
caching scopes so queries made by classes with a common ancestor won't leak scopes.
2014-04-23 17:21:45 -07:00

24 lines
327 B
YAML

normal_comment_rating:
id: 1
comment_id: 8
value: 1
type: Rating
special_comment_rating:
id: 2
comment_id: 6
value: 1
type: Rating
sub_special_comment_rating:
id: 3
comment_id: 12
value: 1
type: Rating
special_rating:
id: 4
comment_id: 10
value: 1
type: SpecialRating
special_comment_id: 3