Let me explain:
class User < AR:Base
has_many :contacts
end
class Contact < AR:Base
belongs_to :user
end
Let me explain:
class User < AR:Base
has_many :contacts
end
class Contact < AR:Base
belongs_to :user
end
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs