Skip to content

Instantly share code, notes, and snippets.

@kenton
Created October 19, 2012 17:48
Show Gist options
  • Save kenton/3919601 to your computer and use it in GitHub Desktop.
Save kenton/3919601 to your computer and use it in GitHub Desktop.
users
=> #<User id: 3176837, email: "sdsmmm@mail.ru", remember_token: nil, crypted_password: nil, salt: nil, forgot_password_code: nil, hashed_identifier: nil, has_ever_logged_in: false, remember_token_expires_at: nil, password_reset_at: nil, created_at: "2012-10-18 23:28:40", updated_at: "2012-10-18 23:57:30", is_subscribed: true, phone_num: "4085157002", login_count: 0, last_login_date: nil, email_validation_result: nil, source_status: 0, is_password_strong: false, first_name: "leo", last_name: "pekker", session_id: nil, travel_preferences: nil, role: nil, company_group_id: 43361, uuid: "J30YC5", blacklisted_status: 0, is_reviewer: true, phone_num_alt: nil, phone_num_digits: nil, preferred_contact_type: nil, mobile_security_token: nil>
>> User.find(us.last)
=> #<User id: 3176838, email: "sdmmm@mail.ru", remember_token: nil, crypted_password: nil, salt: nil, forgot_password_code: nil, hashed_identifier: nil, has_ever_logged_in: false, remember_token_expires_at: nil, password_reset_at: nil, created_at: "2012-10-18 23:36:12", updated_at: "2012-10-18 23:36:12", is_subscribed: true, phone_num: "4085157002", login_count: 0, last_login_date: nil, email_validation_result: nil, source_status: 0, is_password_strong: false, first_name: "leo", last_name: "peker", session_id: nil, travel_preferences: nil, role: nil, company_group_id: nil, uuid: "J30YC6", blacklisted_status: 0, is_reviewer: true, phone_num_alt: nil, phone_num_digits: nil, preferred_contact_type: nil, mobile_security_token: nil>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment