Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- EmailTemplate.send_job_planner(u, false)
- EmailTemplate Load (12.2ms) SELECT "email_templates".* FROM "email_templates" WHERE "email_templates"."tag" = 'JobSeekerNotifier.job_planner' LIMIT 1
- JobOpportunity Load (7.7ms) SELECT "job_opportunities".* FROM "job_opportunities" WHERE "job_opportunities"."owner_id" = 38648 AND (job_opportunities.internal_status_id is not null AND not disabled and hidden_from_view = false) ORDER BY job_opportunities.status_updated_at desc
- Profile Load (10.5ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."owner_id" = 38648 LIMIT 1
- User Load (3.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = 38648 LIMIT 1
- CustomerEmail Load (1.4ms) SELECT "customer_emails".* FROM "customer_emails" WHERE "customer_emails"."email" = 'a.karabitski@gmail.com' ORDER BY customer_emails.created_at desc LIMIT 1
- (21.1ms) SELECT 1 FROM "profiles" WHERE ("profiles"."owner_id" = 38648 AND "profiles"."id" != 37031) LIMIT 1
- Level Load (6.7ms) SELECT "levels".* FROM "levels" WHERE "levels"."id" = 38 ORDER BY title, position ASC LIMIT 1
- Education Load (5.5ms) SELECT "educations".* FROM "educations" WHERE "educations"."id" = 50 ORDER BY title, position ASC LIMIT 1
- Resume Load (8.6ms) SELECT "blobs".* FROM "blobs" WHERE "blobs"."type" IN ('Resume') AND "blobs"."id" = 66902 LIMIT 1
- Function Load (2.5ms) SELECT "functions".* FROM "functions" WHERE "functions"."id" = 72 ORDER BY title LIMIT 1
- ZipCode Load (10.9ms) SELECT "locations".* FROM "locations" WHERE "locations"."type" IN ('ZipCode') AND "locations"."id" = 68962 ORDER BY title LIMIT 1
- ZipCode Load (248.0ms) SELECT "locations".* FROM "locations" WHERE "locations"."type" IN ('ZipCode') AND "locations"."name" = '90025' ORDER BY title LIMIT 1
- (1896.6ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.7ms) BEGIN
- (2007.0ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.6ms) COMMIT
- (0.5ms) BEGIN
- (1.6ms) UPDATE "profiles" SET "partners_info" = '--- {}
- ', "skipped_partners" = '--- []
- ', "declined_matching_profile_ids" = '--- []
- ', "updated_at" = '2012-04-27 13:43:32.337757' WHERE "profiles"."id" = 37031
- (5.9ms) COMMIT
- Security Load (1.0ms) SELECT "securities".* FROM "securities" WHERE "securities"."id" = 37 ORDER BY title, position ASC LIMIT 1
- CareerStatus Load (2.1ms) SELECT "career_statuses".* FROM "career_statuses" WHERE "career_statuses"."id" = 3 ORDER BY title, position ASC LIMIT 1
- (2047.6ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- CustomerEmail Load (1.1ms) SELECT "customer_emails".* FROM "customer_emails" WHERE "customer_emails"."email" = 'a.karabitski@gmail.com' ORDER BY customer_emails.created_at desc LIMIT 1
- (0.8ms) SELECT 1 FROM "profiles" WHERE ("profiles"."owner_id" = 38648 AND "profiles"."id" != 37031) LIMIT 1
- ZipCode Load (138.9ms) SELECT "locations".* FROM "locations" WHERE "locations"."type" IN ('ZipCode') AND "locations"."name" = '90025' ORDER BY title LIMIT 1
- (1854.6ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.7ms) BEGIN
- (1794.3ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.8ms) COMMIT
- (0.5ms) BEGIN
- (5.7ms) UPDATE "profiles" SET "partners_info" = '--- {}
- ', "skipped_partners" = '--- []
- ', "declined_matching_profile_ids" = '--- []
- ', "updated_at" = '2012-04-27 13:43:38.259799' WHERE "profiles"."id" = 37031
- (4.9ms) COMMIT
- FacebookToken Load (1.2ms) SELECT "facebook_tokens".* FROM "facebook_tokens" WHERE "facebook_tokens"."owner_id" = 38648 LIMIT 1
- Company Load (33.2ms) SELECT "companies".* FROM "companies" WHERE "companies"."id" = 44470 ORDER BY title LIMIT 1
- ExternalApplication Load (69.3ms) SELECT "external_applications".* FROM "external_applications" WHERE "external_applications"."job_opportunity_id" = 150664 LIMIT 1
- (1899.5ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- CustomerEmail Load (1.6ms) SELECT "customer_emails".* FROM "customer_emails" WHERE "customer_emails"."email" = 'a.karabitski@gmail.com' ORDER BY customer_emails.created_at desc LIMIT 1
- (314.6ms) SELECT 1 FROM "profiles" WHERE ("profiles"."owner_id" = 38648 AND "profiles"."id" != 37031) LIMIT 1
- ZipCode Load (180.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."type" IN ('ZipCode') AND "locations"."name" = '90025' ORDER BY title LIMIT 1
- (1723.2ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (3.0ms) BEGIN
- (1656.4ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.5ms) COMMIT
- (0.5ms) BEGIN
- (1.9ms) UPDATE "profiles" SET "partners_info" = '--- {}
- ', "skipped_partners" = '--- []
- ', "declined_matching_profile_ids" = '--- []
- ', "updated_at" = '2012-04-27 13:43:44.218853' WHERE "profiles"."id" = 37031
- (2.1ms) COMMIT
- CareerBuilderToken Load (60.3ms) SELECT "career_builder_tokens".* FROM "career_builder_tokens" WHERE "career_builder_tokens"."owner_id" = 38648 LIMIT 1
- Location Load (1.0ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- Location Load (1.6ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- Location Load (17.9ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- RecentJobSearch Load (4308.5ms) SELECT "job_searches".* FROM "job_searches" WHERE "job_searches"."type" IN ('RecentJobSearch') AND "job_searches"."owner_id" = 38648 ORDER BY job_searches.created_at desc LIMIT 6
- Location Load (2.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" IN (27872) ORDER BY title
- MatchingProfile Load (19.5ms) SELECT "matching_profiles".* FROM "matching_profiles" WHERE (delivery_method != 'advertisement') AND (matching_profiles.disabled is null or matching_profiles.disabled = false) AND (exists(select id from current_functions_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.function_id in (72)) or not exists(select id from current_functions_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from levels_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.level_id in (38)) or not exists(select id from levels_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from educations_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.education_id in (50)) or not exists(select id from educations_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from securities_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.security_id in (37)) or not exists(select id from securities_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND ((matching_profiles.career_status_id is null or matching_profiles.career_status_id = 3)) AND (matching_profiles.id not in (select d.matching_profile_id from distributions d where d.owner_id = 38648)) ORDER BY title
- MatchingProfileLocation Load (2.6ms) SELECT "matching_profile_locations".* FROM "matching_profile_locations" WHERE "matching_profile_locations"."matching_profile_id" IN (288, 168, 294, 296, 297, 141, 293, 291, 292, 287, 125, 466, 278, 170, 499, 128, 129, 494, 131, 132, 303, 482, 133, 135, 136, 137, 478, 305, 138, 140, 147, 215, 150, 151, 153, 154, 155, 156, 157, 159, 160, 467, 496, 213, 162, 163, 165, 166, 167, 221, 222, 223, 224, 225, 226, 231, 227, 229, 230, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 251, 252, 253, 254, 255, 256, 257, 258, 259, 250, 260, 261, 262, 263, 264, 265, 266, 268, 267, 228, 269, 270, 271, 272, 273, 274, 275, 174, 279, 465, 501, 488, 487, 182, 171, 193, 500, 198, 199, 200, 201, 202, 197, 203, 204, 476, 525, 515, 206, 207, 280, 208, 205, 210, 219, 212, 214)
- Location Load (1.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" IN (28477, 27850, 27800, 23, 10, 42, 35, 33, 8, 9, 24, 32, 17, 49, 25, 43, 38) ORDER BY title
- Location Load (1.0ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 6 ORDER BY title LIMIT 1
- Location Load (0.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 6 ORDER BY title LIMIT 1
- Location Load (0.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 31 ORDER BY title LIMIT 1
- Location Load (0.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 58 ORDER BY title LIMIT 1
- Location Load (0.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 31 ORDER BY title LIMIT 1
- Location Load (0.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 27872 ORDER BY title LIMIT 1
- Location Load (0.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 6 ORDER BY title LIMIT 1
- MatchingProfile Load (1.4ms) SELECT "matching_profiles".* FROM "matching_profiles" INNER JOIN "distributions" ON "matching_profiles"."id" = "distributions"."matching_profile_id" WHERE "distributions"."owner_id" = 38648 ORDER BY title
- (2.5ms) SELECT COUNT(*) FROM "partners" WHERE "partners"."id" IN (120, 589, 357, 583, 136, 145, 153, 591, 203, 587, 587, 186, 187, 191, 389, 354) AND "partners"."superior" = 't'
- (1133.3ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- CustomerEmail Load (1.1ms) SELECT "customer_emails".* FROM "customer_emails" WHERE "customer_emails"."email" = 'a.karabitski@gmail.com' ORDER BY customer_emails.created_at desc LIMIT 1
- (0.8ms) SELECT 1 FROM "profiles" WHERE ("profiles"."owner_id" = 38648 AND "profiles"."id" != 37031) LIMIT 1
- ZipCode Load (115.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."type" IN ('ZipCode') AND "locations"."name" = '90025' ORDER BY title LIMIT 1
- (1371.7ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.6ms) BEGIN
- (1234.2ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.6ms) COMMIT
- (0.5ms) BEGIN
- (1.0ms) UPDATE "profiles" SET "partners_info" = '--- {}
- ', "skipped_partners" = '--- []
- ', "declined_matching_profile_ids" = '--- []
- ', "updated_at" = '2012-04-27 13:43:53.050830' WHERE "profiles"."id" = 37031
- (1.9ms) COMMIT
- Distribution Load (2.1ms) SELECT "distributions"."matching_profile_id" FROM "distributions" INNER JOIN "matching_profiles" ON "matching_profiles"."id" = "distributions"."matching_profile_id" WHERE "distributions"."owner_id" = 38648 AND (status = 'incomplete' AND matching_profiles.disabled = false)
- (978.4ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- CustomerEmail Load (1.1ms) SELECT "customer_emails".* FROM "customer_emails" WHERE "customer_emails"."email" = 'a.karabitski@gmail.com' ORDER BY customer_emails.created_at desc LIMIT 1
- (2.4ms) SELECT 1 FROM "profiles" WHERE ("profiles"."owner_id" = 38648 AND "profiles"."id" != 37031) LIMIT 1
- ZipCode Load (54.1ms) SELECT "locations".* FROM "locations" WHERE "locations"."type" IN ('ZipCode') AND "locations"."name" = '90025' ORDER BY title LIMIT 1
- (554.3ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.5ms) BEGIN
- (397.9ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.5ms) COMMIT
- (0.7ms) BEGIN
- (1.1ms) UPDATE "profiles" SET "partners_info" = '--- {}
- ', "skipped_partners" = '--- []
- ', "declined_matching_profile_ids" = '--- []
- ', "updated_at" = '2012-04-27 13:43:55.067474' WHERE "profiles"."id" = 37031
- (2.2ms) COMMIT
- (822.0ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- CustomerEmail Load (0.8ms) SELECT "customer_emails".* FROM "customer_emails" WHERE "customer_emails"."email" = 'a.karabitski@gmail.com' ORDER BY customer_emails.created_at desc LIMIT 1
- (1.0ms) SELECT 1 FROM "profiles" WHERE ("profiles"."owner_id" = 38648 AND "profiles"."id" != 37031) LIMIT 1
- ZipCode Load (100.4ms) SELECT "locations".* FROM "locations" WHERE "locations"."type" IN ('ZipCode') AND "locations"."name" = '90025' ORDER BY title LIMIT 1
- (1264.0ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.5ms) BEGIN
- (1051.0ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.7ms) COMMIT
- (1.7ms) BEGIN
- (1.3ms) UPDATE "profiles" SET "partners_info" = '--- {}
- ', "skipped_partners" = '--- []
- ', "declined_matching_profile_ids" = '--- []
- ', "updated_at" = '2012-04-27 13:43:58.330900' WHERE "profiles"."id" = 37031
- (2.0ms) COMMIT
- (895.0ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- CustomerEmail Load (12.9ms) SELECT "customer_emails".* FROM "customer_emails" WHERE "customer_emails"."email" = 'a.karabitski@gmail.com' ORDER BY customer_emails.created_at desc LIMIT 1
- (0.7ms) SELECT 1 FROM "profiles" WHERE ("profiles"."owner_id" = 38648 AND "profiles"."id" != 37031) LIMIT 1
- ZipCode Load (55.5ms) SELECT "locations".* FROM "locations" WHERE "locations"."type" IN ('ZipCode') AND "locations"."name" = '90025' ORDER BY title LIMIT 1
- (498.1ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (12.6ms) BEGIN
- (803.8ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.5ms) COMMIT
- (0.4ms) BEGIN
- (0.9ms) UPDATE "profiles" SET "partners_info" = '--- {}
- ', "skipped_partners" = '--- []
- ', "declined_matching_profile_ids" = '--- []
- ', "updated_at" = '2012-04-27 13:44:01.168999' WHERE "profiles"."id" = 37031
- (2.1ms) COMMIT
- Location Load (1.0ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- Location Load (0.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- Location Load (0.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- RecentJobSearch Load (621.4ms) SELECT "job_searches".* FROM "job_searches" WHERE "job_searches"."type" IN ('RecentJobSearch') AND "job_searches"."owner_id" = 38648 ORDER BY job_searches.created_at desc LIMIT 6
- Location Load (1.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" IN (27872) ORDER BY title
- MatchingProfile Load (11.8ms) SELECT "matching_profiles".* FROM "matching_profiles" WHERE (delivery_method != 'advertisement') AND (matching_profiles.disabled is null or matching_profiles.disabled = false) AND (exists(select id from current_functions_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.function_id in (72)) or not exists(select id from current_functions_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from levels_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.level_id in (38)) or not exists(select id from levels_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from educations_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.education_id in (50)) or not exists(select id from educations_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from securities_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.security_id in (37)) or not exists(select id from securities_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND ((matching_profiles.career_status_id is null or matching_profiles.career_status_id = 3)) AND (matching_profiles.id not in (select d.matching_profile_id from distributions d where d.owner_id = 38648)) ORDER BY title
- MatchingProfileLocation Load (2.7ms) SELECT "matching_profile_locations".* FROM "matching_profile_locations" WHERE "matching_profile_locations"."matching_profile_id" IN (288, 168, 294, 296, 297, 141, 293, 291, 292, 287, 125, 466, 278, 170, 499, 128, 129, 494, 131, 132, 303, 482, 133, 135, 136, 137, 478, 305, 138, 140, 147, 215, 150, 151, 153, 154, 155, 156, 157, 159, 160, 467, 496, 213, 162, 163, 165, 166, 167, 221, 222, 223, 224, 225, 226, 231, 227, 229, 230, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 251, 252, 253, 254, 255, 256, 257, 258, 259, 250, 260, 261, 262, 263, 264, 265, 266, 268, 267, 228, 269, 270, 271, 272, 273, 274, 275, 174, 279, 465, 501, 488, 487, 182, 171, 193, 500, 198, 199, 200, 201, 202, 197, 203, 204, 476, 525, 515, 206, 207, 280, 208, 205, 210, 219, 212, 214)
- Location Load (3.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" IN (28477, 27850, 27800, 23, 10, 42, 35, 33, 8, 9, 24, 32, 17, 49, 25, 43, 38) ORDER BY title
- Location Load (3.5ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 6 ORDER BY title LIMIT 1
- Location Load (2.4ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 6 ORDER BY title LIMIT 1
- Location Load (1.3ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 31 ORDER BY title LIMIT 1
- Location Load (3.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 58 ORDER BY title LIMIT 1
- Location Load (1.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 31 ORDER BY title LIMIT 1
- Location Load (6.2ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 27872 ORDER BY title LIMIT 1
- Location Load (0.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 6 ORDER BY title LIMIT 1
- (1.2ms) SELECT COUNT(*) FROM "partners" WHERE "partners"."id" IN (120, 589, 357, 583, 136, 145, 153, 591, 203, 587, 587, 186, 187, 191, 389, 354) AND "partners"."superior" = 't'
- (1013.2ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- CustomerEmail Load (2.8ms) SELECT "customer_emails".* FROM "customer_emails" WHERE "customer_emails"."email" = 'a.karabitski@gmail.com' ORDER BY customer_emails.created_at desc LIMIT 1
- (0.8ms) SELECT 1 FROM "profiles" WHERE ("profiles"."owner_id" = 38648 AND "profiles"."id" != 37031) LIMIT 1
- ZipCode Load (92.6ms) SELECT "locations".* FROM "locations" WHERE "locations"."type" IN ('ZipCode') AND "locations"."name" = '90025' ORDER BY title LIMIT 1
- (666.0ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.5ms) BEGIN
- (402.6ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.6ms) COMMIT
- (0.5ms) BEGIN
- (1.0ms) UPDATE "profiles" SET "partners_info" = '--- {}
- ', "skipped_partners" = '--- []
- ', "declined_matching_profile_ids" = '--- []
- ', "updated_at" = '2012-04-27 13:44:04.248970' WHERE "profiles"."id" = 37031
- (1.7ms) COMMIT
- Distribution Load (2.2ms) SELECT "distributions"."matching_profile_id" FROM "distributions" INNER JOIN "matching_profiles" ON "matching_profiles"."id" = "distributions"."matching_profile_id" WHERE "distributions"."owner_id" = 38648 AND (status = 'incomplete' AND matching_profiles.disabled = false)
- (316.7ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- CustomerEmail Load (1.2ms) SELECT "customer_emails".* FROM "customer_emails" WHERE "customer_emails"."email" = 'a.karabitski@gmail.com' ORDER BY customer_emails.created_at desc LIMIT 1
- (0.7ms) SELECT 1 FROM "profiles" WHERE ("profiles"."owner_id" = 38648 AND "profiles"."id" != 37031) LIMIT 1
- ZipCode Load (36.0ms) SELECT "locations".* FROM "locations" WHERE "locations"."type" IN ('ZipCode') AND "locations"."name" = '90025' ORDER BY title LIMIT 1
- (434.9ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.5ms) BEGIN
- (398.4ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.7ms) COMMIT
- (0.5ms) BEGIN
- (1.4ms) UPDATE "profiles" SET "partners_info" = '--- {}
- ', "skipped_partners" = '--- []
- ', "declined_matching_profile_ids" = '--- []
- ', "updated_at" = '2012-04-27 13:44:05.460954' WHERE "profiles"."id" = 37031
- (1.8ms) COMMIT
- Location Load (16.1ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- Location Load (1.0ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- Location Load (0.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- RecentJobSearch Load (446.1ms) SELECT "job_searches".* FROM "job_searches" WHERE "job_searches"."type" IN ('RecentJobSearch') AND "job_searches"."owner_id" = 38648 ORDER BY job_searches.created_at desc LIMIT 6
- Location Load (1.4ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" IN (27872) ORDER BY title
- MatchingProfile Load (45.9ms) SELECT "matching_profiles".* FROM "matching_profiles" WHERE (delivery_method = 'advertisement') AND (matching_profiles.disabled is null or matching_profiles.disabled = false) AND (exists(select id from current_functions_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.function_id in (72)) or not exists(select id from current_functions_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from levels_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.level_id in (38)) or not exists(select id from levels_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from educations_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.education_id in (50)) or not exists(select id from educations_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from securities_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.security_id in (37)) or not exists(select id from securities_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND ((matching_profiles.career_status_id is null or matching_profiles.career_status_id = 3)) AND (matching_profiles.id not in (select d.matching_profile_id from advertisement_distributions d where d.owner_id = 38648)) AND (matching_profiles.id not in (0)) ORDER BY title
- MatchingProfileLocation Load (1.3ms) SELECT "matching_profile_locations".* FROM "matching_profile_locations" WHERE "matching_profile_locations"."matching_profile_id" IN (519, 304, 308, 317, 325, 326, 517, 521, 357, 514, 524, 194, 178, 179, 195, 392, 377, 306, 486, 400, 374)
- Location Load (5.2ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" IN (2548, 6, 414, 47) ORDER BY title
- Location Load (0.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 6 ORDER BY title LIMIT 1
- Location Load (1.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 35 ORDER BY title LIMIT 1
- (923.7ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- CustomerEmail Load (1.5ms) SELECT "customer_emails".* FROM "customer_emails" WHERE "customer_emails"."email" = 'a.karabitski@gmail.com' ORDER BY customer_emails.created_at desc LIMIT 1
- (3.3ms) SELECT 1 FROM "profiles" WHERE ("profiles"."owner_id" = 38648 AND "profiles"."id" != 37031) LIMIT 1
- ZipCode Load (130.4ms) SELECT "locations".* FROM "locations" WHERE "locations"."type" IN ('ZipCode') AND "locations"."name" = '90025' ORDER BY title LIMIT 1
- (1269.9ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.6ms) BEGIN
- (1027.8ms) SELECT 1 FROM "blobs" WHERE ("blobs"."persistence_token" = '4bddafa828f6037e1c39d93682555f4c' AND "blobs"."id" != 66902) LIMIT 1
- (0.5ms) COMMIT
- (0.5ms) BEGIN
- (0.9ms) UPDATE "profiles" SET "partners_info" = '--- {}
- ', "skipped_partners" = '--- []
- ', "declined_matching_profile_ids" = '--- []
- ', "updated_at" = '2012-04-27 13:44:09.812616' WHERE "profiles"."id" = 37031
- (1.8ms) COMMIT
- Location Load (0.9ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- Location Load (0.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- Location Load (0.9ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- RecentJobSearch Load (1065.7ms) SELECT "job_searches".* FROM "job_searches" WHERE "job_searches"."type" IN ('RecentJobSearch') AND "job_searches"."owner_id" = 38648 ORDER BY job_searches.created_at desc LIMIT 6
- Location Load (6.4ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" IN (27872) ORDER BY title
- MatchingProfile Load (103.3ms) SELECT "matching_profiles".* FROM "matching_profiles" WHERE (delivery_method = 'advertisement') AND (matching_profiles.disabled is null or matching_profiles.disabled = false) AND (exists(select id from current_functions_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.function_id in (72)) or not exists(select id from current_functions_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from levels_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.level_id in (38)) or not exists(select id from levels_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from educations_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.education_id in (50)) or not exists(select id from educations_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from securities_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.security_id in (37)) or not exists(select id from securities_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND ((matching_profiles.career_status_id is null or matching_profiles.career_status_id = 3)) AND (matching_profiles.id not in (select d.matching_profile_id from advertisement_distributions d where d.owner_id = 38648)) AND (matching_profiles.id not in (0)) ORDER BY title
- MatchingProfileLocation Load (2.5ms) SELECT "matching_profile_locations".* FROM "matching_profile_locations" WHERE "matching_profile_locations"."matching_profile_id" IN (519, 304, 308, 317, 325, 326, 517, 521, 357, 514, 524, 194, 178, 179, 195, 392, 377, 306, 486, 400, 374)
- Location Load (2.6ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" IN (2548, 6, 414, 47) ORDER BY title
- Location Load (9.0ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 6 ORDER BY title LIMIT 1
- Location Load (1.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 35 ORDER BY title LIMIT 1
- Location Load (0.9ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- Location Load (0.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- Location Load (1.1ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- RecentJobSearch Load (913.8ms) SELECT "job_searches".* FROM "job_searches" WHERE "job_searches"."type" IN ('RecentJobSearch') AND "job_searches"."owner_id" = 38648 ORDER BY job_searches.created_at desc LIMIT 6
- Location Load (1.2ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" IN (27872) ORDER BY title
- MatchingProfile Load (106.4ms) SELECT "matching_profiles".* FROM "matching_profiles" WHERE (delivery_method = 'advertisement') AND (matching_profiles.disabled is null or matching_profiles.disabled = false) AND (exists(select id from current_functions_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.function_id in (72)) or not exists(select id from current_functions_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from levels_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.level_id in (38)) or not exists(select id from levels_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from educations_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.education_id in (50)) or not exists(select id from educations_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from securities_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.security_id in (37)) or not exists(select id from securities_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND ((matching_profiles.career_status_id is null or matching_profiles.career_status_id = 3)) AND (matching_profiles.id not in (select d.matching_profile_id from advertisement_distributions d where d.owner_id = 38648)) AND (matching_profiles.id not in (0)) ORDER BY title
- MatchingProfileLocation Load (0.9ms) SELECT "matching_profile_locations".* FROM "matching_profile_locations" WHERE "matching_profile_locations"."matching_profile_id" IN (519, 304, 308, 317, 325, 326, 517, 521, 357, 514, 524, 194, 178, 179, 195, 392, 377, 306, 486, 400, 374)
- Location Load (0.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" IN (2548, 6, 414, 47) ORDER BY title
- Location Load (1.3ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 6 ORDER BY title LIMIT 1
- Location Load (1.1ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 35 ORDER BY title LIMIT 1
- Location Load (1.2ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- Location Load (0.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- Location Load (4.1ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 68962 ORDER BY title LIMIT 1
- RecentJobSearch Load (958.7ms) SELECT "job_searches".* FROM "job_searches" WHERE "job_searches"."type" IN ('RecentJobSearch') AND "job_searches"."owner_id" = 38648 ORDER BY job_searches.created_at desc LIMIT 6
- Location Load (11.2ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" IN (27872) ORDER BY title
- MatchingProfile Load (12.4ms) SELECT "matching_profiles".* FROM "matching_profiles" WHERE (delivery_method != 'advertisement') AND (matching_profiles.disabled is null or matching_profiles.disabled = false) AND (exists(select id from current_functions_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.function_id in (72)) or not exists(select id from current_functions_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from levels_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.level_id in (38)) or not exists(select id from levels_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from educations_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.education_id in (50)) or not exists(select id from educations_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND (exists(select id from securities_matching_profiles t where t.matching_profile_id = matching_profiles.id and t.security_id in (37)) or not exists(select id from securities_matching_profiles t where t.matching_profile_id = matching_profiles.id)) AND ((matching_profiles.career_status_id is null or matching_profiles.career_status_id = 3)) AND (matching_profiles.id not in (select d.matching_profile_id from distributions d where d.owner_id = 38648)) ORDER BY title
- MatchingProfileLocation Load (2.7ms) SELECT "matching_profile_locations".* FROM "matching_profile_locations" WHERE "matching_profile_locations"."matching_profile_id" IN (288, 168, 294, 296, 297, 141, 293, 291, 292, 287, 125, 466, 278, 170, 499, 128, 129, 494, 131, 132, 303, 482, 133, 135, 136, 137, 478, 305, 138, 140, 147, 215, 150, 151, 153, 154, 155, 156, 157, 159, 160, 467, 496, 213, 162, 163, 165, 166, 167, 221, 222, 223, 224, 225, 226, 231, 227, 229, 230, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 251, 252, 253, 254, 255, 256, 257, 258, 259, 250, 260, 261, 262, 263, 264, 265, 266, 268, 267, 228, 269, 270, 271, 272, 273, 274, 275, 174, 279, 465, 501, 488, 487, 182, 171, 193, 500, 198, 199, 200, 201, 202, 197, 203, 204, 476, 525, 515, 206, 207, 280, 208, 205, 210, 219, 212, 214)
- Location Load (4.4ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" IN (28477, 27850, 27800, 23, 10, 42, 35, 33, 8, 9, 24, 32, 17, 49, 25, 43, 38) ORDER BY title
- Location Load (0.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 6 ORDER BY title LIMIT 1
- Location Load (1.0ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 6 ORDER BY title LIMIT 1
- Location Load (6.2ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 31 ORDER BY title LIMIT 1
- Location Load (1.5ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 58 ORDER BY title LIMIT 1
- Location Load (3.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 31 ORDER BY title LIMIT 1
- Location Load (0.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 27872 ORDER BY title LIMIT 1
- Location Load (0.7ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 6 ORDER BY title LIMIT 1
- (31.6ms) SELECT COUNT(*) FROM "partners" WHERE "partners"."id" IN (120, 589, 357, 583, 136, 145, 153, 591, 203, 587, 587, 186, 187, 191, 389, 354) AND "partners"."superior" = 't'
- (1.2ms) SELECT COUNT(*) FROM "partners" WHERE "partners"."id" IN (120, 589, 357, 583, 136, 145, 153, 591, 203, 587, 587, 186, 187, 191, 389, 354) AND "partners"."superior" = 't'
- JobOpportunity Load (1.2ms) SELECT "job_opportunities".* FROM "job_opportunities" WHERE "job_opportunities"."owner_id" = 38648 AND (not disabled) ORDER BY job_opportunities.status_updated_at desc, job_opportunities.updated_at DESC LIMIT 5
- RecentJobSearch Load (737.0ms) SELECT "job_searches".* FROM "job_searches" WHERE "job_searches"."type" IN ('RecentJobSearch') AND "job_searches"."owner_id" = 38648 AND (title <> '"manager" OR "Ruby developer" OR "Ruby On Rails Developer"') ORDER BY job_searches.created_at desc, "job_searches"."created_at" DESC LIMIT 1
- Location Load (2.8ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 27872 ORDER BY title LIMIT 1
- User Load (1.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 38648 LIMIT 1
- Profile Load (6.9ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."owner_id" = 38648 LIMIT 1
- SuggestedJob Load (1.7ms) SELECT recommended_jobs.jobkey FROM "recommended_jobs" WHERE "recommended_jobs"."type" IN ('SuggestedJob') AND "recommended_jobs"."owner_id" = 38648 AND (recommended_jobs.liked OR recommended_jobs.disabled OR exists(select * from job_opportunities jo where recommended_job_id = recommended_jobs.id and jo.internal_status_id is not null)) ORDER BY recommended_jobs.created_at desc
- SuggestedJob Load (11.3ms) SELECT recommended_jobs.jobkey FROM "recommended_jobs" WHERE "recommended_jobs"."type" IN ('SuggestedJob') AND "recommended_jobs"."viewed" = 't' AND "recommended_jobs"."owner_id" = 38648 ORDER BY recommended_jobs.created_at desc
- SuggestedJob Load (1.6ms) SELECT recommended_jobs.jobkey FROM "recommended_jobs" WHERE "recommended_jobs"."type" IN ('SuggestedJob') AND "recommended_jobs"."owner_id" = 38648 AND (recommended_jobs.liked OR recommended_jobs.disabled OR exists(select * from job_opportunities jo where recommended_job_id = recommended_jobs.id and jo.internal_status_id is not null)) ORDER BY recommended_jobs.created_at desc
- SuggestedJob Load (0.7ms) SELECT recommended_jobs.jobkey FROM "recommended_jobs" WHERE "recommended_jobs"."type" IN ('SuggestedJob') AND "recommended_jobs"."viewed" = 't' AND "recommended_jobs"."owner_id" = 38648 ORDER BY recommended_jobs.created_at desc
- (29.7ms) SELECT COUNT(*) FROM "external_applications" WHERE "external_applications"."owner_id" = 38648
- Location Load (1.2ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 73307 ORDER BY title LIMIT 1
- InternalStatus Load (1.7ms) SELECT "internal_statuses".* FROM "internal_statuses" WHERE "internal_statuses"."id" = 13 LIMIT 1
- CompanyRelation Load (8.6ms) SELECT "company_relations".* FROM "company_relations" WHERE "company_relations"."owner_id" = 38648 AND "company_relations"."company_id" = 44470 LIMIT 1
- Location Load (1.1ms) SELECT "locations".* FROM "locations" WHERE "locations"."id" = 28191 ORDER BY title LIMIT 1
- Company Load (4.1ms) SELECT "companies".* FROM "companies" WHERE "companies"."id" = 2455904 ORDER BY title LIMIT 1
- InternalStatus Load (2.1ms) SELECT "internal_statuses".* FROM "internal_statuses" WHERE "internal_statuses"."id" = 13 LIMIT 1
- ExternalApplication Load (27.7ms) SELECT "external_applications".* FROM "external_applications" WHERE "external_applications"."job_opportunity_id" = 141743 LIMIT 1
- CompanyRelation Load (0.8ms) SELECT "company_relations".* FROM "company_relations" WHERE "company_relations"."owner_id" = 38648 AND "company_relations"."company_id" = 2455904 LIMIT 1
- => #<Mail::Message:117731660, Multipart: false, Headers: <Date: Fri, 27 Apr 2012 13:44:14 +0000>, <From: jobplanner@startwire.com>, <To: a.karabitski@gmail.com>, <Cc: >, <Bcc: >, <Message-ID: <4f9aa2aee32af_4343ec7930122c@ip-10-42-234-119.mail>>, <Subject: Andrei, here's your StartWire Job Search Planner for 04/27/12>, <Mime-Version: 1.0>, <Content-Type: text/html>, <Content-Transfer-Encoding: quoted-printable>, <X-SMTPAPI: {"category": "Job Planner"}>>
Add Comment
Please, Sign In to add comment