I have a postgresql DB table which has “timeStamp” field, I wonder if it
is a good way to store time with ruby-rails “Time.now” with a
“timeStamp” field??? or will it better to store the “Time.now” into a
“varchar” or “text”???
I use timestamp column type. Also, if you name your columns as
created_on and updated_on you don’t have to populate it, Rails will do
it automatically for you.
I use timestamp column type. Also, if you name your columns as
created_on and updated_on you don’t have to populate it, Rails will do
it automatically for you.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.