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