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
Post a Comment