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/posts.yml
Jon Leighton 735844db71 Merge branch 'master' into nested_has_many_through
Conflicts:
	activerecord/CHANGELOG
	activerecord/lib/active_record/association_preload.rb
	activerecord/lib/active_record/associations.rb
	activerecord/lib/active_record/associations/class_methods/join_dependency.rb
	activerecord/lib/active_record/associations/class_methods/join_dependency/join_association.rb
	activerecord/lib/active_record/associations/has_many_association.rb
	activerecord/lib/active_record/associations/has_many_through_association.rb
	activerecord/lib/active_record/associations/has_one_association.rb
	activerecord/lib/active_record/associations/has_one_through_association.rb
	activerecord/lib/active_record/associations/through_association_scope.rb
	activerecord/lib/active_record/reflection.rb
	activerecord/test/cases/associations/has_many_through_associations_test.rb
	activerecord/test/cases/associations/has_one_through_associations_test.rb
	activerecord/test/cases/reflection_test.rb
	activerecord/test/cases/relations_test.rb
	activerecord/test/fixtures/memberships.yml
	activerecord/test/models/categorization.rb
	activerecord/test/models/category.rb
	activerecord/test/models/member.rb
	activerecord/test/models/reference.rb
	activerecord/test/models/tagging.rb
2011-03-04 09:30:27 +00:00

82 lines
1.2 KiB
YAML

welcome:
id: 1
author_id: 1
title: Welcome to the weblog
body: Such a lovely day
comments_count: 2
taggings_count: 1
tags_count: 1
type: Post
thinking:
id: 2
author_id: 1
title: So I was thinking
body: Like I hopefully always am
comments_count: 1
taggings_count: 1
tags_count: 1
type: SpecialPost
authorless:
id: 3
author_id: 0
title: I don't have any comments
body: I just don't want to
type: Post
sti_comments:
id: 4
author_id: 1
title: sti comments
body: hello
type: Post
sti_post_and_comments:
id: 5
author_id: 1
title: sti me
body: hello
type: StiPost
sti_habtm:
id: 6
author_id: 1
title: habtm sti test
body: hello
type: Post
eager_other:
id: 7
author_id: 2
title: eager loading with OR'd conditions
body: hello
type: Post
misc_by_bob:
id: 8
author_id: 3
title: misc post by bob
body: hello
type: Post
misc_by_mary:
id: 9
author_id: 2
title: misc post by mary
body: hello
type: Post
other_by_bob:
id: 10
author_id: 3
title: other post by bob
body: hello
type: Post
other_by_mary:
id: 11
author_id: 2
title: other post by mary
body: hello
type: Post