Ruby on Rails ActiveRecord
Dashboard
>
Ruby
>
Home
>
Ruby on Rails ActiveRecord
Community
Ruby
Log In
|
Sign Up
Browse Space
Add News
View
A
ttachments (0)
I
nfo
Added by
박재성
, last edited by
박재성
on 12월 19, 2006
Labels:
(None)
Add Labels
Enter labels to add to this page:
Tip:
Looking for a label? Just start typing.
belongs_to (1:N)
1:N 관계에서 1에 해당하는 Model이 N에 해당하는 Model과의 관계를 정의할 때 사용
has_many (1:N)
1:N 관계에서 N에 해당하는 Model이 1에 해당하는 Model과의 관계를 정의할 때 사용
has_one (1:1)
1:1 관계에서 서로의 관계를 정의하고자할 때 사용
has_and_belongs_to_many (M:N)
acts_as_list
순서가 있는 리스트로 관계를 형성하고자할 때 사용
acts_as_tree
Tree관계를 정의하고자할 때 사용
acts_as_nested_set
Add Comment
Site running on a free
Atlassian Confluence Open Source Project License
granted to JavaJiGi Project.
Evaluate Confluence today
.
Powered by
Atlassian Confluence
, the
Enterprise Wiki
. (Version: 2.3.1 Build:#643 1월 22, 2007) -
Bug/feature request
-
Contact Administrators