THIS IS A TEST INSTANCE ONLY! REPOSITORIES CAN BE DELETED AT ANY TIME!
This website requires JavaScript.
Explore
Help
Sign In
TEST_CODEOWNERS
/
rails
Watch
3
Star
0
Fork
0
You've already forked rails
Code
Issues
Pull Requests
1
Actions
Packages
Projects
Releases
Wiki
Activity
eeac6151a5
rails
/
activerecord
/
test
/
models
/
matey.rb
5 lines
101 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 22:08:38 +00:00
class
Matey
<
ActiveRecord
::
Base
belongs_to
:pirate
modernizes hash syntax in activerecord
2016-08-06 17:37:57 +00: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 22:08:38 +00:00
end
Reference in New Issue
Copy Permalink