If this has been discussed before, pardon me. My search skills might
not be up to the task of finding it. Does Rails have automagic support
for created/modified columns like cakePHP does?
Thanks in advance.
If this has been discussed before, pardon me. My search skills might
not be up to the task of finding it. Does Rails have automagic support
for created/modified columns like cakePHP does?
Thanks in advance.
On 2/11/08, rogwei [email protected] wrote:
If this has been discussed before, pardon me. My search skills might
not be up to the task of finding it. Does Rails have automagic support
for created/modified columns like cakePHP does?
Guessing a bit about cakePHP, I’d say yes.
If you create a datetime called created_at, or created_on it will be
automatically initialized when each record is first saved. a field
named either updated_at, or updated_on will set each time the record
is saved.
–
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs