Sha256: 741d524488c250252969e6905b333ec9285b66482bd4bb74b1e687ada1069482

Contents?: true

Size: 1.27 KB

Versions: 13

Compression:

Stored size: 1.27 KB

Contents

posts = [
  'can ruby on rails run on windows',
  'can ruby on rails be used for mobile apps',
  'does ruby on rails have a future',
  'what does ruby on rails do',
  'how does ruby on rails work',
  'what is rails ruby',
  'where ruby on rails',
  'what ruby on rails is used for',
  'where ruby on rails active record',
  'where ruby on rails performance',
  'which companies use ruby on rails',
  'what is ruby on rails developer',
  'who created ruby on rails',
  'what is ruby on rails good for',
  'is ruby on rails worth learning',
  'is ruby on rails hard to learn',
  'is ruby on rails backend or frontend',
  'is ruby on rails a programming language',
  'is ruby on rails easy to learn',
  'who uses ruby on rails',
  'who created ruby on rails',
  'is ruby rails dead',
  'what is rails ruby',
  'when to use ruby on rails',
  'why ruby on rails is good',
  'where ruby on rails is used',
  'where ruby on rails',
  'where ruby on rails active record',
  'where ruby on rails performance',
  'query where ruby on rails'
]

categories = [
  'ruby',
  'rails',
  'ruby on rails',
  'ror',
  'rails 7',
  'full stack',
  'web',
  'web app'
]

posts.each do |post|
  Post.create(title: post.capitalize, category: categories.sample, body: Faker::Lorem.paragraphs(number: 20).join(' '))
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 after_templates/addons/friendly_id/db/seeds.rb
rails_app_generator-0.3.5 after_templates/addons/friendly_id/db/seeds.rb
rails_app_generator-0.3.4 after_templates/addons/friendly_id/db/seeds.rb
rails_app_generator-0.3.3 after_templates/addons/friendly_id/db/seeds.rb
rails_app_generator-0.3.2 after_templates/addons/friendly_id/db/seeds.rb
rails_app_generator-0.3.1 after_templates/addons/friendly_id/db/seeds.rb
rails_app_generator-0.3.0 after_templates/addons/friendly_id/db/seeds.rb
rails_app_generator-0.2.43 after_templates/addons/friendly_id/db/seeds.rb
rails_app_generator-0.2.42 after_templates/addons/friendly_id/db/seeds.rb
rails_app_generator-0.2.41 after_templates/addons/friendly_id/db/seeds.rb
rails_app_generator-0.2.40 after_templates/addons/friendly_id/db/seeds.rb
rails_app_generator-0.2.39 after_templates/addons/friendly_id/db/seeds.rb
rails_app_generator-0.2.38 after_templates/addons/friendly_id/db/seeds.rb