How to set the current date to a text_field

Hi!
I'm new to Rails, and I have an app which uses text_fields. How can I
set the default value to the current date? I'm using Rails 2.

thanks!

Federico Andino wrote:

Hi!
I'm new to Rails, and I have an app which uses text_fields. How can I
set the default value to the current date? I'm using Rails 2.

thanks!

Someone told me! I've set it into the controller...thanks!

edited you could use that ??

Sorry about the rant
Hope this helps

On May 13, 10:37 am, Federico Andino <rails-mailing-l...@andreas-

Thanks! I'll refine the date with this!