I have an easy question that I can''t seem to find an answer to. When I have a table with a created_at or created_on column I''ve read that Rails will automatically update these because they are "magic" column names. I assumed that since this was all supposed to be done in the background that these columns would not show up in the standard forms that are created by the generate scaffold command, but they do for me. I thought since these were "magic" rails would not include them on the form. Is it just up to me to remove them fromt the forms that are created? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060611/947211b1/attachment-0001.html
> Is it just up to me to remove them fromt the forms that are created?Yup. -- Rick Olson http://techno-weenie.net
Thanks for the speedy response! On 6/11/06, Rick Olson <technoweenie@gmail.com> wrote:> > > Is it just up to me to remove them fromt the forms that are created? > > Yup. > > -- > Rick Olson > http://techno-weenie.net > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060611/0d3ed083/attachment.html
Apparently Analagous Threads
- created_on, created_at defaulting to 2000/01/01 00:00:00
- created_on & updated_on - helper to display date only
- AR many-many join tables - can they have created_on, updated_on ?
- Created_on and updated_on in a non-ActiveRecord model
- Easy Date question - newb