# Numeric (decimal) WITH precision and scale at generate scaffold time?

**URL:** <https://www.ruby-forum.com/t/numeric-decimal-with-precision-and-scale-at-generate-scaffold-time/135449>\
**Category:** Rails\
**Created:** [April 22, 2008, 10:16am UTC](https://www.ruby-forum.com/t/numeric-decimal-with-precision-and-scale-at-generate-scaffold-time/135449 "2008-04-22T10:16:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tommy\_Quist](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/4491bb/32.png) [@Tommy\_Quist](https://www.ruby-forum.com/u/Tommy_Quist)\
**Post date:** [April 22, 2008, 10:16am UTC](https://www.ruby-forum.com/t/numeric-decimal-with-precision-and-scale-at-generate-scaffold-time/135449/1 "2008-04-22T10:16:10Z")

</div>

Hello,

I was wondering if anyone knew if it is (or ever will be ) possible at  
all to specify things like precision and scale at generate scaffold  
time, and if so how.

Things like price:numeric(8,2) (obviously) just break the script.

Tommy
