DISQUS

DISQUS Hello! ruby on rails blog is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Rails 2.0 Timestamps | ruby on rails blog

Started by ngng · 10 months ago

No excerpt available. Jump to website »

2 comments

  • Nice website. What do you use to color code the ruby, syntax?

    On the 't.timestamps', I thought it was singular, t.timestamp. And if you do 'rake db:schema:dump', it comes out t.datetime. I think it's the same thing.
  • The timestamp columns created are actually 'created_at' and 'updated_at', both datetime fields. The suffix '_on' denotes a date field, and the suffix '_at' denotes a datetime field. Thanks for the blog!

Add New Comment

Returning? Login