diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/fixtures/reader.rb | 4 | ||||
-rw-r--r-- | activerecord/test/fixtures/readers.yml | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/reader.rb b/activerecord/test/fixtures/reader.rb new file mode 100644 index 0000000000..27527bf566 --- /dev/null +++ b/activerecord/test/fixtures/reader.rb @@ -0,0 +1,4 @@ +class Reader < ActiveRecord::Base + belongs_to :post + belongs_to :person +end diff --git a/activerecord/test/fixtures/readers.yml b/activerecord/test/fixtures/readers.yml new file mode 100644 index 0000000000..6ed73c9ec3 --- /dev/null +++ b/activerecord/test/fixtures/readers.yml @@ -0,0 +1,4 @@ +michael_welcome: + id: 1 + post_id: 1 + person_id: 1 |