I've run into an interesting issue. When setting up a table with data
from a file (I'm doing this in a block). I find that I can't create
separate entries manually after the import. It complains about a
duplicate primary key. I've tried Schedule.id += 1 but id= either
isn't defined or accessible in the class
Here is my code:
"r") do |row|
unless row == "CRN"
# This would be faster as straight SQL if the current method
# slows down too much.