APIdock / Ruby on Rails
/
Browse About
method

belongs_to

v6.1.7.7 - Show latest stable - Class: ActiveRecord::ConnectionAdapters::ColumnMethods::Table
belongs_to(*args, **options)
public

Alias for ActiveRecord::ConnectionAdapters::ColumnMethods::Table#references

Related methods

  • Instance methods
  • belongs_to
  • change
  • change_default
  • change_null
  • check_constraint
  • column
  • column_exists?
  • foreign_key
  • foreign_key_exists?
  • index
  • index_exists?
  • references
  • remove
  • remove_belongs_to
  • remove_check_constraint
  • remove_foreign_key
  • remove_index
  • remove_references
  • remove_timestamps
  • rename
  • rename_index
  • timestamps
  • Class methods
  • new
APIdock API Documentation Browser

© 2026 APIdock