I needed to seed my database with close to 20,000 rows. It took a long time.
The problem was that I was creating the rows one at a time. However, #create can take an array which makes it possible to create multiple rows at once.
It is used to represent the end of a string but could also be used when a placeholder character is required. Perhaps as padding, differentiating from ' '.
In Ruby, 0.chr evaluates to the Null character.
There is a can of worms called Null Byte Injection associated with this character.