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 -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -