mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@388 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
e38ee7cd7f
commit
0f4cba7b86
2 changed files with 6 additions and 0 deletions
3
activerecord/test/fixtures/computer.rb
vendored
Normal file
3
activerecord/test/fixtures/computer.rb
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
class Computer < ActiveRecord::Base
|
||||
belongs_to :developer, :foreign_key=>'developer'
|
||||
end
|
3
activerecord/test/fixtures/computers.yml
vendored
Normal file
3
activerecord/test/fixtures/computers.yml
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
workstation:
|
||||
id: 1
|
||||
developer: 1
|
Loading…
Reference in a new issue