How Should I use percent values in my database for a Rails app? -


i new ruby on rails, , looking way include decimals in database. example, if wanted take total score , and multiply rate new score. use rails g model student name:string,score:integer,rate:decimal ?

yes - can use generate model. but, explain in more detail trying do? first statement "was looking way include decimals in database." - seems orthogonal "would use..." question.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -