From Ruby on Rails: best method of handling currency / money, how do you generate a scaffold for the folowing:
add_column :items, :price, :decimal, :precision => 8, :scale => 2
Such as:
rails generate scaffold LineItem name:string \
price:decimal {:precision => 8, :scale => 2}
Also, what is the correct term for "extra description" for the decimal type?
Working in Rails 3.07, Ruby 1.92