Questions et réponses pour le belongs-to :
Ceci est une relation maître de détail où un élément "appartient à" un autre et a une clé étrangère pour maintenir la relation.
9
votes
Rubis sur rails: attributs imbriqués, appartient à la relation
J'ai une entité utilisateur qui a un champ de localisation actuel (ville et pays). Pour contenir ces informations, j'ai créé une entité appelée emplacement que H ...
nested
ruby-on-rails
attributes
belongs-to
2 commentaire(s)