Answers for "rails self-referential association"

0

self referencing association in ruby on rails

has_many :users, class_name: 'User'
belongs_to :manager, class_name: 'User', optional: true
Posted by: Guest on November-07-2020

Code answers related to "rails self-referential association"

Browse Popular Code Answers by Language