index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activerecord
/
test
/
models
/
ship_part.rb
blob: 0a606db23995e3aba50f2b6ec2bc5c729bf4e411 (
plain
) (
blame
)
1
2
3
4
5
class
ShipPart
<
ActiveRecord
::
Base
belongs_to
:ship
validates_presence_of
:name
end