Skip to content

Commit 6ba31a7

Browse files
fix indication file for User application (#74)
oupsyy copy/paste from previous example
1 parent 92072ed commit 6ba31a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rails6/fr/chapter05-user-products.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ end
126126

127127
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.
128128

129-
.test/models/user_test.rb
129+
.app/models/user.rb
130130
[source,ruby]
131131
----
132132
# ...

0 commit comments

Comments
 (0)