docbrown/db
Daniel Uber 2a75ec8ecc
When calling Faker::Markdown, avoid "sandwich" method (#14685)
* When calling Faker::Markdown, avoid "sandwich" method

Since random can also be selected by random (without the exclude
list), avoid calling sandwich occassionally from random's call to
random.

This avoids generating body_markdown exceeding 12 newlines (which is
validated in Listing and prevents save, breaking the seeds process).

* just take 10 lines, don't be clever

Co-authored-by: Jamie Gaskins <jamie@forem.com>

Co-authored-by: Jamie Gaskins <jamie@forem.com>
2021-09-08 17:54:53 -05:00
..
migrate Replace splatted constant with its value (#14666) 2021-09-03 11:49:19 -05:00
schema.rb Various cleanups (#14616) 2021-08-31 09:17:24 +07:00
seeds.rb When calling Faker::Markdown, avoid "sandwich" method (#14685) 2021-09-08 17:54:53 -05:00