search for: scheduled_end_date

Displaying 4 results from an estimated 4 matches for "scheduled_end_date".

2006 Mar 09
4
sort-weirdness - active record issue?
...Issue.find(:all, :conditions => ["person_id = ? and status <> ''closed''" , session[:user].id.to_s] ) @assignments.concat(tasks) @assignments.concat(issues) @assignments= @assignments.sort @assignments.each {|ea| puts ea.name + ea.scheduled_end_date.to_s} end The output from the puts statement is this: P2 Task1 2006-03-16 T2 2006-03-23 Test Task 2006-01-05 super tests 2006-01-19 super test 3 2006-01-26 Larry''s issue 2006-03-09 For some reason, the sort algorithm thinks that all the dates are nil so they do...
2006 Apr 28
2
Active Record save doesn''t save! (more detail - is this a bug?)
I got it to work by changing scheduled_end_date= nil to self.scheduled_end_date= nil. I believe these statements should be equivilent. I don''t know Ruby/Rails well enough to know when, if or why that should matter. Can someone educate me please? I want to believe this framework is ready for production work, but silently dropping data...
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 produces: clearing schedule for task 127.0.0.1 - - [28/Apr/2006:13:44:01 Easter...
2006 Apr 28
0
RE: Rails Digest, Vol 19, Issue 784
...59-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 produces: clearing schedule for task 127.0.0.1 - - [28/Apr/2006:13:44:01 Easter...