Displaying 3 results from an estimated 3 matches for "clear_schedule".
2006 Apr 28
7
Active Record save doesn''t save! (or throw an exception)
PLEASE help me - this is making me insane.
Can anyone suggest any reasons for this behavior? It occured previously,
then went away and is now back.
In Task.rb (where task is an active record subclass)
def clear_schedule
puts "clearing schedule for task"
scheduled_end_date= nil #reset the
scheduled end date
save
halt. #this makes
execution stop with an error.
end
This is the console output this p...
2006 Apr 28
2
Active Record save doesn''t save! (more detail - is this a bug?)
...t; > Can anyone suggest any reasons for this behavior? It occured
> > > > > previously, then went away and is now back.
> > > > >
> > > > > In Task.rb (where task is an active record subclass)
> > > > >
> > > > > def clear_schedule
> > > > > puts "clearing schedule for task"
> > > > > scheduled_end_date= nil #reset
> > > > > the scheduled end date
> > > > > save
> > > > > halt.
> >...
2006 Apr 28
0
RE: Rails Digest, Vol 19, Issue 784
...16e8c0b66@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
PLEASE help me - this is making me insane.
Can anyone suggest any reasons for this behavior? It occured previously,
then went away and is now back.
In Task.rb (where task is an active record subclass)
def clear_schedule
puts "clearing schedule for task"
scheduled_end_date= nil #reset the
scheduled end date
save
halt. #this makes
execution stop with an error.
end
This is the console output this p...