Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [randy@teehee:isfeasting]$ sc
- Loading development environment (Rails 2.1.0)
- >> u = User.first
- => #<User id: 1, subdomain: "randy", name: "Randy Schmidt", email: "randy@umlatte.com", crypted_password: "377e07c3e0fc789b4da5a45ea704c6186ae91ef7", salt: "4c9d6c8e5f8a12f3b8352acb8bc2f53ccc62eaab", created_at: "2008-08-28 02:51:55", updated_at: "2008-09-03 01:32:01", remember_token: "c941ad38396790ce243779692e5b72bfcc122700", remember_token_expires_at: "2008-09-17 01:31:44", activation_code: nil, activated_at: "2008-08-28 02:52:54", email_token: "c41862", time_zone: "Eastern Time (US & Canada)", avatar_file_name: "avatar3.jpg", avatar_content_type: "image/jpeg", avatar_file_size: 286246, about: "Credibly communicate integrated innovation with foc...">
- >> Time.zone = u.time_zone
- => "Eastern Time (US & Canada)"
- >> Post.last.created_at
- => Wed Sep 03 01:43:21 UTC 2008
- >> Comment.last.created_at
- => Thu, 28 Aug 2008 22:44:37 EDT -04:00
- >> Post.last
- => #<Post id: 3, title: "test", photo_file_name: "DSCN0896.JPG", photo_content_type: "image/jpeg", photo_file_size: 1624857, created_at: "2008-09-03 01:43:21", updated_at: "2008-09-03 01:43:21", user_id: 1, permalink: "test">
- >> Comment.last
- => #<Comment id: 22, post_id: 1, body: "Phosfluorescently foster interactive content throug...", name: "Randy", email: "randy@umlatte.com", website: nil, created_at: "2008-08-29 02:44:37", updated_at: "2008-08-29 02:44:37">
Add Comment
Please, Sign In to add comment