Skip to content

Instantly share code, notes, and snippets.

@knowuh
Created April 20, 2010 21:30
Show Gist options
  • Save knowuh/373111 to your computer and use it in GitHub Desktop.
Save knowuh/373111 to your computer and use it in GitHub Desktop.
=> #<User id: 16244, login: "essrt2010", identity_url: nil, first_name: "ESS", last_name: "Resource Team", email: "[email protected]", crypted_password: "2ddeb42018c6732b13d178499ba4baf8283b37ac", salt: "8f6e91b3b71c2e77c2dd334a4568f6d76a357935", remember_token: nil, activation_code: nil, state: "active", remember_token_expires_at: nil, activated_at: "2010-02-07 14:21:08", deleted_at: nil, uuid: "fdd04a40-13f3-11df-b03e-000c29a93d64", created_at: "2010-02-07 14:20:50", updated_at: "2010-02-28 20:16:53", vendor_interface_id: 6, default_user: false, site_admin: false, type: nil, external_user_domain_id: nil>
>> ess.investigations.first.pages.first.user
=> #<User id: 44, login: "essteam", identity_url: nil, first_name: "ESS", last_name: "Team", email: "[email protected]", crypted_password: "d5448891daf99c11ad7d0e877cf3d3126af8a0c1", salt: "ee5160064175017764ec5189b178c2553e54c11b", remember_token: nil, activation_code: nil, state: "active", remember_token_expires_at: nil, activated_at: "2009-07-01 16:05:01", deleted_at: nil, uuid: "d4858108-6658-11de-a484-001ec94098a1", created_at: "2009-07-01 16:04:17", updated_at: "2009-08-04 20:07:56", vendor_interface_id: 6, default_user: false, site_admin: false, type: "User", external_user_domain_id: nil>
>> ess.investigations[1].pages.first.user
=> #<User id: 44, login: "essteam", identity_url: nil, first_name: "ESS", last_name: "Team", email: "[email protected]", crypted_password: "d5448891daf99c11ad7d0e877cf3d3126af8a0c1", salt: "ee5160064175017764ec5189b178c2553e54c11b", remember_token: nil, activation_code: nil, state: "active", remember_token_expires_at: nil, activated_at: "2009-07-01 16:05:01", deleted_at: nil, uuid: "d4858108-6658-11de-a484-001ec94098a1", created_at: "2009-07-01 16:04:17", updated_at: "2009-08-04 20:07:56", vendor_interface_id: 6, default_user: false, site_admin: false, type: "User", external_user_domain_id: nil>
>> ess.investigations[2].pages.first.user
=> #<User id: 44, login: "essteam", identity_url: nil, first_name: "ESS", last_name: "Team", email: "[email protected]", crypted_password: "d5448891daf99c11ad7d0e877cf3d3126af8a0c1", salt: "ee5160064175017764ec5189b178c2553e54c11b", remember_token: nil, activation_code: nil, state: "active", remember_token_expires_at: nil, activated_at: "2009-07-01 16:05:01", deleted_at: nil, uuid: "d4858108-6658-11de-a484-001ec94098a1", created_at: "2009-07-01 16:04:17", updated_at: "2009-08-04 20:07:56", vendor_interface_id: 6, default_user: false, site_admin: false, type: "User", external_user_domain_id: nil>
>> ess.investigations[3].pages.first.user
=> #<User id: 12, login: "ehazzard", identity_url: nil, first_name: "Edmund", last_name: "Hazzard", email: "[email protected]", crypted_password: "7f03da7a5c4375d5d8d296a5906b9026af718cd5", salt: "44240df38b7a3e934e05ee4bd5b6970821fec8d2", remember_token: nil, activation_code: nil, state: "active", remember_token_expires_at: nil, activated_at: "2009-05-18 21:07:03", deleted_at: nil, uuid: "c4235dc0-43ef-11de-ba46-0014c2c34555", created_at: "2009-05-18 21:06:33", updated_at: "2010-04-20 18:18:29", vendor_interface_id: 6, default_user: false, site_admin: false, type: "User", external_user_domain_id: nil>
>> ess.investigations[0].sections.first.user
=> #<User id: 44, login: "essteam", identity_url: nil, first_name: "ESS", last_name: "Team", email: "[email protected]", crypted_password: "d5448891daf99c11ad7d0e877cf3d3126af8a0c1", salt: "ee5160064175017764ec5189b178c2553e54c11b", remember_token: nil, activation_code: nil, state: "active", remember_token_expires_at: nil, activated_at: "2009-07-01 16:05:01", deleted_at: nil, uuid: "d4858108-6658-11de-a484-001ec94098a1", created_at: "2009-07-01 16:04:17", updated_at: "2009-08-04 20:07:56", vendor_interface_id: 6, default_user: false, site_admin: false, type: "User", external_user_domain_id: nil>
>> ess.investigations[0].pages.first.user
=> #<User id: 44, login: "essteam", identity_url: nil, first_name: "ESS", last_name: "Team", email: "[email protected]", crypted_password: "d5448891daf99c11ad7d0e877cf3d3126af8a0c1", salt: "ee5160064175017764ec5189b178c2553e54c11b", remember_token: nil, activation_code: nil, state: "active", remember_token_expires_at: nil, activated_at: "2009-07-01 16:05:01", deleted_at: nil, uuid: "d4858108-6658-11de-a484-001ec94098a1", created_at: "2009-07-01 16:04:17", updated_at: "2009-08-04 20:07:56", vendor_interface_id: 6, default_user: false, site_admin: false, type: "User", external_user_domain_id: nil>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment