andrykonchin/simpleblog — comment on commit 6eb259e2b77b839af75dedbcbe6eff8d8596ccd8
File: app/models/article.rb line 16
By anlek:

Instead of writing your own before_create filter, you can use `include Mongoid::Timestamps`
You can read more about it here: http://mongoid.org/docs/extras.html