db/seeds.rb in decidim-comments-0.0.8.1 vs db/seeds.rb in decidim-comments-0.1.0
- old
+ new
@@ -1,11 +1,13 @@
+# frozen_string_literal: true
# Since comments cannot exist without a real model we are not including
# specific seeds for this engine.
# Other engines are free to include comments on their seeds like this:
-#
-# n.times do
+#
+# n.times do
# Decidim::Comments::Comment.create!(
# author: author,
# commentable: commentable,
+# root_commentable: commentable,
# body: Faker::Lorem.paragraph
# )
# end