Thomas Chester's Blog

Rails

Generating Test Data for Rails Projects

  • March 17, 2016
  • POST

How often have you created a database for a new Rails application and then sat staring at the empty tables? Often times when building a new application you need sample data to help flesh out the user interface or to show off the application to your customer. Rails provides a convenient method of loading this data via the seeds.rb file, but you still have to create the content for this file. This article will discuss a mostly automated way of generating content for your database.

RECENT POSTS
RunAs Tip for Long NetBIOS Names
  • October 24, 2017
  • POST
Lost Disk Space to Fuslogvw
  • December 7, 2016
  • POST
Using the bpod Gem
  • September 3, 2016
  • POST
Palindromic Prime Calculation
  • August 30, 2016
  • POST
Disable Google Chrome Updates [Updated]
  • July 20, 2016
  • POST

CATEGORIES
  • technote
  • howto
  • post
  • plug

TAGS
  • sql-server
  • linux
  • windows-server
  • bids
  • macos
  • registry
  • ruby
  • .net
  • archlinux
  • backup/restore
  • database
  • database-mirroring
  • dell-openmanage
  • dell-poweredge
  • dism
  • google-chrome
  • group-policy
  • ipfire
  • powershell
  • ssis

© Thomas Chester's Blog

Powered by Hugo.

Robust designed by Daisuke Tsuji.