APIdock
/
Ruby on Rails
/
Browse
About
method
belongs_to
v2.1.0
-
Show latest stable
- Class:
ActiveRecord
::
ConnectionAdapters
::
TableDefinition
belongs_to
(*args)
public
Alias for
#references
Related methods
Instance methods
[]
belongs_to
column
primary_key
references
timestamps
to_sql
Class methods
new
Private methods
native