Created
May 26, 2009 14:34
-
-
Save twinge/118092 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>> u = User.first | |
~ (0.047365) SELECT `id`, `login`, `password`, `email`, `salt`, `crypted_password`, `access_key_id`, `secret_access_key`, `updated_at`, `created_at`, `videos_domain`, `s3_videos_bucket`, `state_update_url`, `upload_redirect_url`, `current_instance`, `instance_state`, `instance_deployed`, `admin` FROM `users` ORDER BY `id` LIMIT 1 | |
=> #<User id=1 login="gsfn" password="" email=nil salt="d8f0664a761d2af7975d01ed9890043cde0b06b8" crypted_password="199a3d419aac77fc44dab7717d73e14779322f99" access_key_id="14HQMMGK282G8WB4SD02" secret_access_key="WN7pl2Qvp2wXt9MKRQpsA689UqK6h8A2gWUIXvml" updated_at=Thu, 21 May 2009 14:07:02 -0500 created_at=Thu, 14 May 2009 15:20:34 -0500 videos_domain="s3.amazonaws.com/gsfnvideo" s3_videos_bucket="gsfnvideo" state_update_url="http://localhost:4001/videos/$id/status_update" upload_redirect_url="http://localhost:4000/videos/$id/done" current_instance="i-c12b6ea8" instance_state="running" instance_deployed=false admin=true> | |
>> u.instance_state = nil | |
=> nil | |
>> u.save | |
=> true | |
>> u.reload | |
~ (0.070783) SELECT `id`, `login`, `password`, `email`, `salt`, `crypted_password`, `access_key_id`, `secret_access_key`, `updated_at`, `created_at`, `videos_domain`, `s3_videos_bucket`, `state_update_url`, `upload_redirect_url`, `current_instance`, `instance_state`, `instance_deployed`, `admin` FROM `users` WHERE (`id` = 1) ORDER BY `id` | |
=> #<User id=1 login="gsfn" password="" email=nil salt="d8f0664a761d2af7975d01ed9890043cde0b06b8" crypted_password="199a3d419aac77fc44dab7717d73e14779322f99" access_key_id="14HQMMGK282G8WB4SD02" secret_access_key="WN7pl2Qvp2wXt9MKRQpsA689UqK6h8A2gWUIXvml" updated_at=Thu, 21 May 2009 14:07:02 -0500 created_at=Thu, 14 May 2009 15:20:34 -0500 videos_domain="s3.amazonaws.com/gsfnvideo" s3_videos_bucket="gsfnvideo" state_update_url="http://localhost:4001/videos/$id/status_update" upload_redirect_url="http://localhost:4000/videos/$id/done" current_instance="i-c12b6ea8" instance_state="running" instance_deployed=false admin=true> | |
>> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment