This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this should provide you with 20 random paths from each of the rendering apps on GOV.UK | |
# | |
# ssh content-store-1.integration | |
# govuk_app_console content-store | |
require 'yaml' | |
paths = [] | |
ContentItem.distinct(:rendering_app).each do |rendering_app| | |
coll = ContentItem.where(rendering_app: rendering_app) |