Sha256: aad74d0da1bc80841d9d7547d81fd4571df75076534bfc8cb2d7135ce927c7b2
Contents?: true
Size: 493 Bytes
Versions: 38
Compression:
Stored size: 493 Bytes
Contents
# How to add dummy content to a development application? ## Proposals example 1. In decidim-proposals open `lib/decidim/proposals/component.rb`. 1. Find the `component.seeds do...` block. 1. Create your dummy content as if you were in a `db/seed.rb` script. - Take advantage of the Faker gem, already in decidim. - You can use https://github.com/decidim/decidim/blob/master/decidim-core/lib/decidim/faker/localized.rb, which uses `Faker` internally, if you need content for i18n fields.
Version data entries
38 entries across 38 versions & 1 rubygems