This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
rails--rails
Watch
1
Star
0
Fork
You've already forked rails--rails
0
mirror of
https://github.com/rails/rails.git
synced
2022-11-09 12:12:34 -05:00
Code
Releases
Activity
10058ea280
rails--rails
/
activerecord
/
test
/
models
/
matey.rb
5 lines
104 B
Ruby
Raw
Normal View
History
Unescape
Escape
Fixed that create table with :id => false and fixtures don't play nice together (closes #10154) [jbarnette] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-11-25 17:08:38 -05:00
class
Matey
<
ActiveRecord
::
Base
belongs_to
:pirate
Foxy fixtures: allow mixed usage to make migration easier and more attractive. Closes #10004. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8218 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-11-26 17:45:43 -05:00
belongs_to
:target
,
:class_name
=
>
'Pirate'
Fixed that create table with :id => false and fixtures don't play nice together (closes #10154) [jbarnette] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8205 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-11-25 17:08:38 -05:00
end
Copy permalink