Hi,
So this is a bit embarrassing, but I've been working through the depot tutorial in Agile Web Development. In the add_column migration, there is:
add_column :products, :price, :decimal, :precision => 8, :scale=>2, :default=>0
I'm assuming that precision means the number of significant digits, no? Could someone clarify what those three parameters after decimal mean?
Thanks,
Ron