Theocacao
Leopard
Design Element
Comment on "Error in Basic Rails Migration"
by Andrei Maxim — Dec 25
Yeah, I've had a couple of weird moments going through the Rails book, but mostly because I forgot to type a semicolon or something like that.

However, creating two almost identical objects (the two Product.new calls) is a serious logic error that's usually really hard to track down regardless of the presence of a compiler.
Back to "Error in Basic Rails Migration"
Design Element

Copyright © Scott Stevenson 2004-2015