Guest User

Untitled

a guest
Apr 19th, 2018
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. >> @contact = Contact.find(:first)
  2. => #<Contact id: 1, contact_type: "company", company_id: nil, first_name: "Catalyst Media Studios", last_name: nil, title: nil, username: nil, hashed_password: nil, salt: nil, invited: nil, is_user: nil, is_account_owner: nil, user_type: "none", start_letter: nil, timezone: nil, delta: false, created_at: "2008-03-25 17:21:53", updated_at: "2008-03-25 17:21:53", account_id: 1, is_account_company: false>
  3. >> @contact.class
  4. => Contact(id: integer, contact_type: string, company_id: integer, first_name: string, last_name: string, title: string, username: string, hashed_password: string, salt: string, invited: boolean, is_user: boolean, is_account_owner: boolean, user_type: string, start_letter: string, timezone: string, delta: boolean, created_at: datetime, updated_at: datetime, account_id: integer, is_account_company: boolean)
Add Comment
Please, Sign In to add comment