Skip to content

Commit

Permalink
fix indication file for User application (#74)
Browse files Browse the repository at this point in the history
oupsyy copy/paste from previous example
  • Loading branch information
dianedelallee committed May 28, 2021
1 parent 92072ed commit 6ba31a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rails6/fr/chapter05-user-products.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ end

Il suffit de modifier le modèle `User` et lui spécifier la relation `has_many` avec l'option `dependent: :destroy`. Nous verrons plus tard ce que cette méthode fait plus en détails.

.test/models/user_test.rb
.app/models/user.rb
[source,ruby]
----
# ...
Expand Down

0 comments on commit 6ba31a7

Please sign in to comment.