Forum: Ruby on Rails set value based on action being taken

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
rbrant (Guest)
on 2005-11-15 23:10
(Received via mailing list)
I have a form where I enter a TimeEntry record.  When creating the
record, I want the 'end' date to be null. When editing the record, I
want the field to be available. I can think of different ways to do
this, but I'm curious to see how this would be (should be) done in

This topic is locked and can not be replied to.