Displaying 4 results from an estimated 4 matches for "logged_at".
2007 Nov 25
4
is notify resevered word?
...y Load (0.000799) SELECT * FROM `user_notifies` WHERE
(user_notifies.user_id = 1) LIMIT 1
User Update (0.000362) UPDATE `users` SET `created_at` = ''2007-11-17
19:02:16'', `times_logged_in` = 0, `hashed_password` =
''e0195770807aa8c82b0b128d9c0423b5ad035172'', `logged_at` = ''2007-11-25
14:58:56'', `nickname` = ''Jamal'', `email` = ''jamal-fqskXWjLZVE@public.gmane.org'' WHERE `id` =
1
User::Notify Load (0.000768) SELECT * FROM `user_notifies` WHERE
(user_notifies.user_id = 1) LIMIT 1
User::Notify Load (0.000781)...
2005 Nov 20
1
mySQL 5.0 upgrade - incompatible DateTime format?
...39;'ve upgraded to mySQL 5.0, and it''s gone pretty smoothly except that on
DateTime.now doesn''t seem to return a value that mySQL likes any more,
as seen in the following exception:
Incorrect datetime value: ''2005-11-20T15:33:12-0800'' for column ''logged_at'' at row 1: UPDATE notes SET `due_on` = ''2005-11-20'', `created_at` = ''2005-11-20 15:33:12'', `deleted` = 0, `user_name` = ''steve'', `labels` = NULL, `job_name` = NULL, `domain_controller` = NULL, `domain_id` = NULL, `contact_name` = NULL,...
2007 Nov 01
3
autotest debugger?
...re
- You have a nil object when you didn''t expect it!
- You might have expected an instance of Array.
- The error occurred while evaluating nil.empty?
...but when I type this in ./script/console
>> @user = User.new
=> #<User id: nil, email: nil, nickname: nil, password: nil, logged_at:
nil, created_at: nil>
>> @user.valid?
=> false
>> @user.email = "asd@"
>> @user.errors.on ''email''
=> "is invalid"
So how do you guys test things out and see what''s happening behind? I''m
lost :(
Thanks in advance :...
2006 Mar 21
3
Newbie - ActiveRecord relationships
...gs` (
`id` int(4) NOT NULL auto_increment,
`user_id` int(4) NOT NULL default ''0'',
`task_id` int(4) NOT NULL default ''0'',
`hours` decimal(8,2) NOT NULL default ''0.00'',
`worked_on` date NOT NULL default ''0000-00-00'',
`logged_at` datetime NOT NULL default ''0000-00-00 00:00:00'',
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`),
KEY `task_id` (`task_id`)
) TYPE=InnoDB AUTO_INCREMENT=1 ;
CREATE TABLE `task_types` (
`id` int(4) NOT NULL auto_increment,
`title` varchar(100) NOT NULL default ''...