From 0f4cba7b8657d7ab4f8e072e143a281330373cbb Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Tue, 11 Jan 2005 00:53:04 +0000 Subject: git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/computer.rb | 3 +++ activerecord/test/fixtures/computers.yml | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 activerecord/test/fixtures/computer.rb create mode 100644 activerecord/test/fixtures/computers.yml diff --git a/activerecord/test/fixtures/computer.rb b/activerecord/test/fixtures/computer.rb new file mode 100644 index 0000000000..cc8deb1b2b --- /dev/null +++ b/activerecord/test/fixtures/computer.rb @@ -0,0 +1,3 @@ +class Computer < ActiveRecord::Base + belongs_to :developer, :foreign_key=>'developer' +end diff --git a/activerecord/test/fixtures/computers.yml b/activerecord/test/fixtures/computers.yml new file mode 100644 index 0000000000..59253e0ce3 --- /dev/null +++ b/activerecord/test/fixtures/computers.yml @@ -0,0 +1,3 @@ +workstation: + id: 1 + developer: 1 \ No newline at end of file -- cgit v1.2.3