Mar 26, 2008
Generic-user-small richard trus... 1 post

Topic: Agile Web Development with Rails / Depot with Rails 2.0.2

@ Steven Richard Price
A little bit messy I’m sure, but it looks like you need to run your scaffold again in order to see your prices. Run as you did before but add price:decimal to the command – then overwrite [y] the previous views.
I’ve not yet gotten my head around how to add options (precision, scale) correctly so you’ll have to edit your AddPrice migration as per the book.

1 post