Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
- [1m[35m (0.2ms)[0m BEGIN
- Started GET "/sign_in" for 127.0.0.1 at 2017-07-20 17:41:34 +0200
- Processing by SessionsController#new as HTML
- Rendered devise/sessions/new.html.haml within layouts/simple (1264.5ms)
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
- Rendered shared_partials/_favicon.html.erb (1.9ms)
- Completed 200 OK in 1321ms (Views: 1291.5ms | ActiveRecord: 3.7ms)
- Started POST "/sign_in" for 127.0.0.1 at 2017-07-20 17:41:36 +0200
- Processing by SessionsController#create as HTML
- Parameters: {"utf8"=>"✓", "user"=>{"email"=>"sharie.durgan@beckerterry.com", "password"=>"[FILTERED]", "remember_me"=>"1"}, "commit"=>"Connexion"}
- [1m[36mSQL (0.8ms)[0m [1mSELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."encrypted_password" AS t0_r2, "users"."reset_password_token" AS t0_r3, "users"."reset_password_sent_at" AS t0_r4, "users"."remember_created_at" AS t0_r5, "users"."sign_in_count" AS t0_r6, "users"."current_sign_in_at" AS t0_r7, "users"."last_sign_in_at" AS t0_r8, "users"."current_sign_in_ip" AS t0_r9, "users"."last_sign_in_ip" AS t0_r10, "users"."created_at" AS t0_r11, "users"."updated_at" AS t0_r12, "users"."confirmation_token" AS t0_r13, "users"."confirmed_at" AS t0_r14, "users"."confirmation_sent_at" AS t0_r15, "users"."name" AS t0_r16, "users"."last_name" AS t0_r17, "users"."phone" AS t0_r18, "users"."birth_date" AS t0_r19, "users"."civility" AS t0_r20, "users"."attitude" AS t0_r21, "users"."hobbies" AS t0_r22, "users"."avatar_file_name" AS t0_r23, "users"."avatar_content_type" AS t0_r24, "users"."avatar_file_size" AS t0_r25, "users"."avatar_updated_at" AS t0_r26, "users"."provider" AS t0_r27, "users"."uid" AS t0_r28, "users"."activity" AS t0_r29, "users"."area_of_interests" AS t0_r30, "user_profiles"."id" AS t1_r0, "user_profiles"."user_id" AS t1_r1, "user_profiles"."discussion" AS t1_r2, "user_profiles"."balance" AS t1_r3, "user_profiles"."checkout" AS t1_r4, "user_profiles"."disability" AS t1_r5, "user_profiles"."locality_id" AS t1_r6, "user_profiles"."disability_support" AS t1_r7, "user_profiles"."iban_name" AS t1_r8, "user_profiles"."iban_number" AS t1_r9, "user_profiles"."bic" AS t1_r10 FROM "users" LEFT OUTER JOIN "user_profiles" ON "user_profiles"."user_id" = "users"."id" WHERE "users"."email" = $1 ORDER BY "users"."id" ASC LIMIT 1[0m [["email", "sharie.durgan@beckerterry.com"]]
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.4ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = $1, "current_sign_in_at" = $2, "sign_in_count" = $3, "updated_at" = $4 WHERE "users"."id" = $5[0m [["last_sign_in_at", "2017-07-20 13:42:17.327473"], ["current_sign_in_at", "2017-07-20 15:41:36.263029"], ["sign_in_count", 5], ["updated_at", "2017-07-20 15:41:36.263899"], ["id", 2]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.7ms)[0m [1m SELECT
- (SELECT COUNT(*) FROM accompaniment_people WHERE status IN (7,14) AND user_id = 2)
- AS activity,
- (SELECT COUNT(DISTINCT sender_id) FROM messages WHERE read = False AND sender_id != 2
- AND receiver_id = 2) AS messages
- [0m
- [1m[35mSQL (0.6ms)[0m SELECT "accompaniments"."id" AS t0_r0, "accompaniments"."a_type" AS t0_r1, "accompaniments"."frequency" AS t0_r2, "accompaniments"."date" AS t0_r3, "accompaniments"."status" AS t0_r4, "accompaniments"."created_at" AS t0_r5, "accompaniments"."updated_at" AS t0_r6, "accompaniments"."accompaniment_recurrence_id" AS t0_r7, "accompaniments"."transport_type" AS t0_r8, "accompaniments"."description" AS t0_r9, "accompaniments"."travel_type" AS t0_r10, "accompaniments"."starting_point_id" AS t0_r11, "accompaniments"."ending_point_id" AS t0_r12, "accompaniments"."free_travel_for_follower" AS t0_r13, "accompaniments"."luggage_port" AS t0_r14, "accompaniment_people"."id" AS t1_r0, "accompaniment_people"."accompaniment_id" AS t1_r1, "accompaniment_people"."ap_type" AS t1_r2, "accompaniment_people"."user_id" AS t1_r3, "accompaniment_people"."created_at" AS t1_r4, "accompaniment_people"."updated_at" AS t1_r5, "accompaniment_people"."owner" AS t1_r6, "accompaniment_people"."status" AS t1_r7, "accompaniment_people"."transport_type" AS t1_r8 FROM "accompaniments" INNER JOIN "accompaniment_people" ON "accompaniment_people"."accompaniment_id" = "accompaniments"."id" LEFT OUTER JOIN "accompaniment_people" "owners_accompaniments" ON "owners_accompaniments"."accompaniment_id" = "accompaniments"."id" AND "owners_accompaniments"."owner" = $1 WHERE "accompaniment_people"."user_id" = $2 AND (accompaniments.status IN (2,4,5) AND date < ('2017-07-20 15:41:36.271278')) [["owner", "t"], ["user_id", 2]]
- [1m[36mUserStatistic Load (0.4ms)[0m [1mSELECT "user_statistics".* FROM "user_statistics" WHERE "user_statistics"."user_id" = $1 LIMIT 1[0m [["user_id", 2]]
- [1m[35mSQL (2.3ms)[0m SELECT DISTINCT "accompaniment_people"."id" FROM "accompaniment_people" LEFT OUTER JOIN "accompaniments" ON "accompaniments"."id" = "accompaniment_people"."accompaniment_id" LEFT OUTER JOIN "places" ON "places"."id" = "accompaniments"."starting_point_id" LEFT OUTER JOIN "places" "ending_points_accompaniments" ON "ending_points_accompaniments"."id" = "accompaniments"."ending_point_id" LEFT OUTER JOIN "accompaniment_people" "owners_accompaniments" ON "owners_accompaniments"."accompaniment_id" = "accompaniments"."id" AND "owners_accompaniments"."owner" = $1 LEFT OUTER JOIN "users" ON "users"."id" = "owners_accompaniments"."user_id" LEFT OUTER JOIN "accompaniment_people" "pending_bookings_accompaniments" ON "pending_bookings_accompaniments"."accompaniment_id" = "accompaniments"."id" AND "pending_bookings_accompaniments"."status" = $2 AND "pending_bookings_accompaniments"."owner" IS NULL LEFT OUTER JOIN "users" "users_accompaniment_people" ON "users_accompaniment_people"."id" = "pending_bookings_accompaniments"."user_id" LEFT OUTER JOIN "accompaniments" "accompaniments_accompaniment_people" ON "accompaniments_accompaniment_people"."id" = "pending_bookings_accompaniments"."accompaniment_id" LEFT OUTER JOIN "non_urban_accompaniment_times" ON "non_urban_accompaniment_times"."accompaniment_id" = "accompaniments_accompaniment_people"."id" LEFT OUTER JOIN "accompaniment_people" "validated_bookings_accompaniments" ON "validated_bookings_accompaniments"."accompaniment_id" = "accompaniments"."id" AND "validated_bookings_accompaniments"."status" IN (4, 7, 8, 9, 10) AND "validated_bookings_accompaniments"."owner" IS NULL LEFT OUTER JOIN "users" "users_accompaniment_people_2" ON "users_accompaniment_people_2"."id" = "validated_bookings_accompaniments"."user_id" LEFT OUTER JOIN "accompaniments" "accompaniments_accompaniment_people_2" ON "accompaniments_accompaniment_people_2"."id" = "validated_bookings_accompaniments"."accompaniment_id" LEFT OUTER JOIN "non_urban_accompaniment_times" "non_urban_accompaniment_times_accompaniments" ON "non_urban_accompaniment_times_accompaniments"."accompaniment_id" = "accompaniments_accompaniment_people_2"."id" WHERE "accompaniment_people"."user_id" = $3 AND (accompaniments.date >= ('2017-07-20 15:41:36.296656')) AND "accompaniment_people"."status" IN (12, 1, 4, 14) AND "accompaniments"."status" IN (2, 4, 5) LIMIT 10 OFFSET 0 [["owner", "t"], ["status", 1], ["user_id", 2]]
- Redirected to http://www.example.com/search
- Completed 302 Found in 193ms (ActiveRecord: 12.3ms)
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.2ms)[0m DELETE FROM "sessions" WHERE "sessions"."id" = $1 [["id", 249]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- Started GET "/search" for 127.0.0.1 at 2017-07-20 17:41:36 +0200
- Processing by AccompanimentsController#search as HTML
- [1m[35mSQL (0.4ms)[0m SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."encrypted_password" AS t0_r2, "users"."reset_password_token" AS t0_r3, "users"."reset_password_sent_at" AS t0_r4, "users"."remember_created_at" AS t0_r5, "users"."sign_in_count" AS t0_r6, "users"."current_sign_in_at" AS t0_r7, "users"."last_sign_in_at" AS t0_r8, "users"."current_sign_in_ip" AS t0_r9, "users"."last_sign_in_ip" AS t0_r10, "users"."created_at" AS t0_r11, "users"."updated_at" AS t0_r12, "users"."confirmation_token" AS t0_r13, "users"."confirmed_at" AS t0_r14, "users"."confirmation_sent_at" AS t0_r15, "users"."name" AS t0_r16, "users"."last_name" AS t0_r17, "users"."phone" AS t0_r18, "users"."birth_date" AS t0_r19, "users"."civility" AS t0_r20, "users"."attitude" AS t0_r21, "users"."hobbies" AS t0_r22, "users"."avatar_file_name" AS t0_r23, "users"."avatar_content_type" AS t0_r24, "users"."avatar_file_size" AS t0_r25, "users"."avatar_updated_at" AS t0_r26, "users"."provider" AS t0_r27, "users"."uid" AS t0_r28, "users"."activity" AS t0_r29, "users"."area_of_interests" AS t0_r30, "user_profiles"."id" AS t1_r0, "user_profiles"."user_id" AS t1_r1, "user_profiles"."discussion" AS t1_r2, "user_profiles"."balance" AS t1_r3, "user_profiles"."checkout" AS t1_r4, "user_profiles"."disability" AS t1_r5, "user_profiles"."locality_id" AS t1_r6, "user_profiles"."disability_support" AS t1_r7, "user_profiles"."iban_name" AS t1_r8, "user_profiles"."iban_number" AS t1_r9, "user_profiles"."bic" AS t1_r10 FROM "users" LEFT OUTER JOIN "user_profiles" ON "user_profiles"."user_id" = "users"."id" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
- [1m[36m (0.4ms)[0m [1m SELECT
- (SELECT COUNT(*) FROM accompaniment_people WHERE status IN (7,14) AND user_id = 2)
- AS activity,
- (SELECT COUNT(DISTINCT sender_id) FROM messages WHERE read = False AND sender_id != 2
- AND receiver_id = 2) AS messages
- [0m
- [1m[35mPlace Load (0.3ms)[0m SELECT "places".* FROM "places" WHERE "places"."id" = $1 LIMIT 1 [["id", 1]]
- [1m[36mSQL (0.6ms)[0m [1mSELECT "accompaniments"."id" AS t0_r0, "accompaniments"."a_type" AS t0_r1, "accompaniments"."frequency" AS t0_r2, "accompaniments"."date" AS t0_r3, "accompaniments"."status" AS t0_r4, "accompaniments"."created_at" AS t0_r5, "accompaniments"."updated_at" AS t0_r6, "accompaniments"."accompaniment_recurrence_id" AS t0_r7, "accompaniments"."transport_type" AS t0_r8, "accompaniments"."description" AS t0_r9, "accompaniments"."travel_type" AS t0_r10, "accompaniments"."starting_point_id" AS t0_r11, "accompaniments"."ending_point_id" AS t0_r12, "accompaniments"."free_travel_for_follower" AS t0_r13, "accompaniments"."luggage_port" AS t0_r14, "accompaniment_people"."id" AS t1_r0, "accompaniment_people"."accompaniment_id" AS t1_r1, "accompaniment_people"."ap_type" AS t1_r2, "accompaniment_people"."user_id" AS t1_r3, "accompaniment_people"."created_at" AS t1_r4, "accompaniment_people"."updated_at" AS t1_r5, "accompaniment_people"."owner" AS t1_r6, "accompaniment_people"."status" AS t1_r7, "accompaniment_people"."transport_type" AS t1_r8 FROM "accompaniments" INNER JOIN "accompaniment_people" ON "accompaniment_people"."accompaniment_id" = "accompaniments"."id" LEFT OUTER JOIN "accompaniment_people" "owners_accompaniments" ON "owners_accompaniments"."accompaniment_id" = "accompaniments"."id" AND "owners_accompaniments"."owner" = $1 WHERE "accompaniment_people"."user_id" = $2 AND (accompaniments.status IN (2,4,5) AND date < ('2017-07-20 15:41:36.357522'))[0m [["owner", "t"], ["user_id", 2]]
- Rendered accompaniments/search.html.haml within layouts/application (22.2ms)
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
- Rendered shared_partials/_favicon.html.erb (1.5ms)
- Rendered shared_partials/application/_header.html.haml (20.3ms)
- Completed 200 OK in 91ms (Views: 64.8ms | ActiveRecord: 2.5ms)
- Started GET "/credits/overview" for 127.0.0.1 at 2017-07-20 17:41:36 +0200
- Processing by UsersController#credits as HTML
- Parameters: {"subpart"=>"overview"}
- [1m[35mSQL (0.4ms)[0m SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."encrypted_password" AS t0_r2, "users"."reset_password_token" AS t0_r3, "users"."reset_password_sent_at" AS t0_r4, "users"."remember_created_at" AS t0_r5, "users"."sign_in_count" AS t0_r6, "users"."current_sign_in_at" AS t0_r7, "users"."last_sign_in_at" AS t0_r8, "users"."current_sign_in_ip" AS t0_r9, "users"."last_sign_in_ip" AS t0_r10, "users"."created_at" AS t0_r11, "users"."updated_at" AS t0_r12, "users"."confirmation_token" AS t0_r13, "users"."confirmed_at" AS t0_r14, "users"."confirmation_sent_at" AS t0_r15, "users"."name" AS t0_r16, "users"."last_name" AS t0_r17, "users"."phone" AS t0_r18, "users"."birth_date" AS t0_r19, "users"."civility" AS t0_r20, "users"."attitude" AS t0_r21, "users"."hobbies" AS t0_r22, "users"."avatar_file_name" AS t0_r23, "users"."avatar_content_type" AS t0_r24, "users"."avatar_file_size" AS t0_r25, "users"."avatar_updated_at" AS t0_r26, "users"."provider" AS t0_r27, "users"."uid" AS t0_r28, "users"."activity" AS t0_r29, "users"."area_of_interests" AS t0_r30, "user_profiles"."id" AS t1_r0, "user_profiles"."user_id" AS t1_r1, "user_profiles"."discussion" AS t1_r2, "user_profiles"."balance" AS t1_r3, "user_profiles"."checkout" AS t1_r4, "user_profiles"."disability" AS t1_r5, "user_profiles"."locality_id" AS t1_r6, "user_profiles"."disability_support" AS t1_r7, "user_profiles"."iban_name" AS t1_r8, "user_profiles"."iban_number" AS t1_r9, "user_profiles"."bic" AS t1_r10 FROM "users" LEFT OUTER JOIN "user_profiles" ON "user_profiles"."user_id" = "users"."id" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
- [1m[36m (0.5ms)[0m [1m SELECT
- (SELECT COUNT(*) FROM accompaniment_people WHERE status IN (7,14) AND user_id = 2)
- AS activity,
- (SELECT COUNT(DISTINCT sender_id) FROM messages WHERE read = False AND sender_id != 2
- AND receiver_id = 2) AS messages
- [0m
- [1m[35mPlace Load (0.3ms)[0m SELECT "places".* FROM "places" WHERE "places"."id" = $1 LIMIT 1 [["id", 1]]
- [1m[36mSQL (0.4ms)[0m [1mSELECT "accompaniments"."id" AS t0_r0, "accompaniments"."a_type" AS t0_r1, "accompaniments"."frequency" AS t0_r2, "accompaniments"."date" AS t0_r3, "accompaniments"."status" AS t0_r4, "accompaniments"."created_at" AS t0_r5, "accompaniments"."updated_at" AS t0_r6, "accompaniments"."accompaniment_recurrence_id" AS t0_r7, "accompaniments"."transport_type" AS t0_r8, "accompaniments"."description" AS t0_r9, "accompaniments"."travel_type" AS t0_r10, "accompaniments"."starting_point_id" AS t0_r11, "accompaniments"."ending_point_id" AS t0_r12, "accompaniments"."free_travel_for_follower" AS t0_r13, "accompaniments"."luggage_port" AS t0_r14, "accompaniment_people"."id" AS t1_r0, "accompaniment_people"."accompaniment_id" AS t1_r1, "accompaniment_people"."ap_type" AS t1_r2, "accompaniment_people"."user_id" AS t1_r3, "accompaniment_people"."created_at" AS t1_r4, "accompaniment_people"."updated_at" AS t1_r5, "accompaniment_people"."owner" AS t1_r6, "accompaniment_people"."status" AS t1_r7, "accompaniment_people"."transport_type" AS t1_r8 FROM "accompaniments" INNER JOIN "accompaniment_people" ON "accompaniment_people"."accompaniment_id" = "accompaniments"."id" LEFT OUTER JOIN "accompaniment_people" "owners_accompaniments" ON "owners_accompaniments"."accompaniment_id" = "accompaniments"."id" AND "owners_accompaniments"."owner" = $1 WHERE "accompaniment_people"."user_id" = $2 AND (accompaniments.status IN (2,4,5) AND date < ('2017-07-20 15:41:36.452945'))[0m [["owner", "t"], ["user_id", 2]]
- [1m[35mOrganization Load (0.4ms)[0m SELECT "organizations".* FROM "organizations"
- [1m[36mCreditOffer Load (0.7ms)[0m [1mSELECT "credit_offers".* FROM "credit_offers" WHERE (start_date_validity <= ('2017-07-20 15:41:36.460922') AND end_date_validity > ('2017-07-20 15:41:36.460922') AND start_date_visibility <= ('2017-07-20 15:41:36.460922') AND end_date_visibility > ('2017-07-20 15:41:36.460922') AND nb_offer > 0 AND special_offer = ('f') AND position >= 0) ORDER BY "credit_offers"."position" ASC[0m
- [1m[35mCreditOffer Load (0.5ms)[0m SELECT "credit_offers".* FROM "credit_offers" INNER JOIN "discount_codes" ON "discount_codes"."credit_offer_id" = "credit_offers"."id" WHERE (credit_offers.start_date_validity <= ('2017-07-20 15:41:36.461714') AND credit_offers.end_date_validity > ('2017-07-20 15:41:36.461714') AND credit_offers.start_date_visibility <= ('2017-07-20 15:41:36.461714') AND credit_offers.end_date_visibility > ('2017-07-20 15:41:36.461714') AND credit_offers.nb_offer > 0) AND "discount_codes"."user_id" = $1 AND "discount_codes"."status" IN (0, 1) ORDER BY "credit_offers"."position" ASC [["user_id", 2]]
- Rendered users/credits/_overview.html.haml (39.8ms)
- Rendered users/credits.html.haml within layouts/application (48.0ms)
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
- Rendered shared_partials/_favicon.html.erb (1.4ms)
- Rendered shared_partials/application/_header.html.haml (6.3ms)
- Completed 200 OK in 89ms (Views: 62.3ms | ActiveRecord: 6.9ms)
- [1m[36mSQL (0.4ms)[0m [1mSELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."encrypted_password" AS t0_r2, "users"."reset_password_token" AS t0_r3, "users"."reset_password_sent_at" AS t0_r4, "users"."remember_created_at" AS t0_r5, "users"."sign_in_count" AS t0_r6, "users"."current_sign_in_at" AS t0_r7, "users"."last_sign_in_at" AS t0_r8, "users"."current_sign_in_ip" AS t0_r9, "users"."last_sign_in_ip" AS t0_r10, "users"."created_at" AS t0_r11, "users"."updated_at" AS t0_r12, "users"."confirmation_token" AS t0_r13, "users"."confirmed_at" AS t0_r14, "users"."confirmation_sent_at" AS t0_r15, "users"."name" AS t0_r16, "users"."last_name" AS t0_r17, "users"."phone" AS t0_r18, "users"."birth_date" AS t0_r19, "users"."civility" AS t0_r20, "users"."attitude" AS t0_r21, "users"."hobbies" AS t0_r22, "users"."avatar_file_name" AS t0_r23, "users"."avatar_content_type" AS t0_r24, "users"."avatar_file_size" AS t0_r25, "users"."avatar_updated_at" AS t0_r26, "users"."provider" AS t0_r27, "users"."uid" AS t0_r28, "users"."activity" AS t0_r29, "users"."area_of_interests" AS t0_r30, "user_profiles"."id" AS t1_r0, "user_profiles"."user_id" AS t1_r1, "user_profiles"."discussion" AS t1_r2, "user_profiles"."balance" AS t1_r3, "user_profiles"."checkout" AS t1_r4, "user_profiles"."disability" AS t1_r5, "user_profiles"."locality_id" AS t1_r6, "user_profiles"."disability_support" AS t1_r7, "user_profiles"."iban_name" AS t1_r8, "user_profiles"."iban_number" AS t1_r9, "user_profiles"."bic" AS t1_r10 FROM "users" LEFT OUTER JOIN "user_profiles" ON "user_profiles"."user_id" = "users"."id" WHERE "users"."id" = $1 LIMIT 1[0m [["id", 2]]
- Started POST "/payment/credit_offer_summary" for 127.0.0.1 at 2017-07-20 17:41:36 +0200
- Processing by PaymentController#credit_offer_summary as HTML
- Parameters: {"utf8"=>"✓", "credit_offer_id"=>"1", "credit_offer_quantity"=>"1", "commit"=>"Acheter mes crédits"}
- [1m[35mSQL (0.4ms)[0m SELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."encrypted_password" AS t0_r2, "users"."reset_password_token" AS t0_r3, "users"."reset_password_sent_at" AS t0_r4, "users"."remember_created_at" AS t0_r5, "users"."sign_in_count" AS t0_r6, "users"."current_sign_in_at" AS t0_r7, "users"."last_sign_in_at" AS t0_r8, "users"."current_sign_in_ip" AS t0_r9, "users"."last_sign_in_ip" AS t0_r10, "users"."created_at" AS t0_r11, "users"."updated_at" AS t0_r12, "users"."confirmation_token" AS t0_r13, "users"."confirmed_at" AS t0_r14, "users"."confirmation_sent_at" AS t0_r15, "users"."name" AS t0_r16, "users"."last_name" AS t0_r17, "users"."phone" AS t0_r18, "users"."birth_date" AS t0_r19, "users"."civility" AS t0_r20, "users"."attitude" AS t0_r21, "users"."hobbies" AS t0_r22, "users"."avatar_file_name" AS t0_r23, "users"."avatar_content_type" AS t0_r24, "users"."avatar_file_size" AS t0_r25, "users"."avatar_updated_at" AS t0_r26, "users"."provider" AS t0_r27, "users"."uid" AS t0_r28, "users"."activity" AS t0_r29, "users"."area_of_interests" AS t0_r30, "user_profiles"."id" AS t1_r0, "user_profiles"."user_id" AS t1_r1, "user_profiles"."discussion" AS t1_r2, "user_profiles"."balance" AS t1_r3, "user_profiles"."checkout" AS t1_r4, "user_profiles"."disability" AS t1_r5, "user_profiles"."locality_id" AS t1_r6, "user_profiles"."disability_support" AS t1_r7, "user_profiles"."iban_name" AS t1_r8, "user_profiles"."iban_number" AS t1_r9, "user_profiles"."bic" AS t1_r10 FROM "users" LEFT OUTER JOIN "user_profiles" ON "user_profiles"."user_id" = "users"."id" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 2]]
- [1m[36m (0.4ms)[0m [1m SELECT
- (SELECT COUNT(*) FROM accompaniment_people WHERE status IN (7,14) AND user_id = 2)
- AS activity,
- (SELECT COUNT(DISTINCT sender_id) FROM messages WHERE read = False AND sender_id != 2
- AND receiver_id = 2) AS messages
- [0m
- [1m[35mPlace Load (0.2ms)[0m SELECT "places".* FROM "places" WHERE "places"."id" = $1 LIMIT 1 [["id", 1]]
- [1m[36mSQL (0.4ms)[0m [1mSELECT "accompaniments"."id" AS t0_r0, "accompaniments"."a_type" AS t0_r1, "accompaniments"."frequency" AS t0_r2, "accompaniments"."date" AS t0_r3, "accompaniments"."status" AS t0_r4, "accompaniments"."created_at" AS t0_r5, "accompaniments"."updated_at" AS t0_r6, "accompaniments"."accompaniment_recurrence_id" AS t0_r7, "accompaniments"."transport_type" AS t0_r8, "accompaniments"."description" AS t0_r9, "accompaniments"."travel_type" AS t0_r10, "accompaniments"."starting_point_id" AS t0_r11, "accompaniments"."ending_point_id" AS t0_r12, "accompaniments"."free_travel_for_follower" AS t0_r13, "accompaniments"."luggage_port" AS t0_r14, "accompaniment_people"."id" AS t1_r0, "accompaniment_people"."accompaniment_id" AS t1_r1, "accompaniment_people"."ap_type" AS t1_r2, "accompaniment_people"."user_id" AS t1_r3, "accompaniment_people"."created_at" AS t1_r4, "accompaniment_people"."updated_at" AS t1_r5, "accompaniment_people"."owner" AS t1_r6, "accompaniment_people"."status" AS t1_r7, "accompaniment_people"."transport_type" AS t1_r8 FROM "accompaniments" INNER JOIN "accompaniment_people" ON "accompaniment_people"."accompaniment_id" = "accompaniments"."id" LEFT OUTER JOIN "accompaniment_people" "owners_accompaniments" ON "owners_accompaniments"."accompaniment_id" = "accompaniments"."id" AND "owners_accompaniments"."owner" = $1 WHERE "accompaniment_people"."user_id" = $2 AND (accompaniments.status IN (2,4,5) AND date < ('2017-07-20 15:41:36.563480'))[0m [["owner", "t"], ["user_id", 2]]
- [1m[35mCreditOffer Load (0.3ms)[0m SELECT "credit_offers".* FROM "credit_offers" WHERE "credit_offers"."id" = $1 LIMIT 1 [["id", 1]]
- Rendered shared_partials/_payment_form.html.haml (5.8ms)
- Rendered payment/credit_offer_summary.html.haml within layouts/application (7.6ms)
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
- Rendered shared_partials/_favicon.html.erb (1.1ms)
- Rendered shared_partials/application/_header.html.haml (5.3ms)
- Completed 200 OK in 59ms (Views: 21.9ms | ActiveRecord: 2.0ms)
- Started POST "/payment" for 127.0.0.1 at 2017-07-20 17:41:36 +0200
- Processing by PaymentController#create as HTML
- Parameters: {"payment#create"=>nil}
- Completed 401 Unauthorized in 1ms (ActiveRecord: 0.0ms)
- Started POST "/payment" for 127.0.0.1 at 2017-07-20 17:41:36 +0200
- Processing by PaymentController#create as HTML
- Parameters: {"utf8"=>"✓", "card_owner"=>"Marcelle Perrot", "number"=>"4242 4242 4242 4242", "exp_month"=>"10", "exp_year"=>"20", "cvc"=>"123", "form_action"=>"buy_credit_offer", "credit_offer_id"=>"1", "credit_offer_quantity"=>"1", "commit"=>"Valider"}
- [1m[36mSQL (0.6ms)[0m [1mSELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."encrypted_password" AS t0_r2, "users"."reset_password_token" AS t0_r3, "users"."reset_password_sent_at" AS t0_r4, "users"."remember_created_at" AS t0_r5, "users"."sign_in_count" AS t0_r6, "users"."current_sign_in_at" AS t0_r7, "users"."last_sign_in_at" AS t0_r8, "users"."current_sign_in_ip" AS t0_r9, "users"."last_sign_in_ip" AS t0_r10, "users"."created_at" AS t0_r11, "users"."updated_at" AS t0_r12, "users"."confirmation_token" AS t0_r13, "users"."confirmed_at" AS t0_r14, "users"."confirmation_sent_at" AS t0_r15, "users"."name" AS t0_r16, "users"."last_name" AS t0_r17, "users"."phone" AS t0_r18, "users"."birth_date" AS t0_r19, "users"."civility" AS t0_r20, "users"."attitude" AS t0_r21, "users"."hobbies" AS t0_r22, "users"."avatar_file_name" AS t0_r23, "users"."avatar_content_type" AS t0_r24, "users"."avatar_file_size" AS t0_r25, "users"."avatar_updated_at" AS t0_r26, "users"."provider" AS t0_r27, "users"."uid" AS t0_r28, "users"."activity" AS t0_r29, "users"."area_of_interests" AS t0_r30, "user_profiles"."id" AS t1_r0, "user_profiles"."user_id" AS t1_r1, "user_profiles"."discussion" AS t1_r2, "user_profiles"."balance" AS t1_r3, "user_profiles"."checkout" AS t1_r4, "user_profiles"."disability" AS t1_r5, "user_profiles"."locality_id" AS t1_r6, "user_profiles"."disability_support" AS t1_r7, "user_profiles"."iban_name" AS t1_r8, "user_profiles"."iban_number" AS t1_r9, "user_profiles"."bic" AS t1_r10 FROM "users" LEFT OUTER JOIN "user_profiles" ON "user_profiles"."user_id" = "users"."id" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 2]]
- [1m[35m (0.5ms)[0m SELECT
- (SELECT COUNT(*) FROM accompaniment_people WHERE status IN (7,14) AND user_id = 2)
- AS activity,
- (SELECT COUNT(DISTINCT sender_id) FROM messages WHERE read = False AND sender_id != 2
- AND receiver_id = 2) AS messages
- [1m[36mPlace Load (0.4ms)[0m [1mSELECT "places".* FROM "places" WHERE "places"."id" = $1 LIMIT 1[0m [["id", 1]]
- [1m[35mSQL (0.5ms)[0m SELECT "accompaniments"."id" AS t0_r0, "accompaniments"."a_type" AS t0_r1, "accompaniments"."frequency" AS t0_r2, "accompaniments"."date" AS t0_r3, "accompaniments"."status" AS t0_r4, "accompaniments"."created_at" AS t0_r5, "accompaniments"."updated_at" AS t0_r6, "accompaniments"."accompaniment_recurrence_id" AS t0_r7, "accompaniments"."transport_type" AS t0_r8, "accompaniments"."description" AS t0_r9, "accompaniments"."travel_type" AS t0_r10, "accompaniments"."starting_point_id" AS t0_r11, "accompaniments"."ending_point_id" AS t0_r12, "accompaniments"."free_travel_for_follower" AS t0_r13, "accompaniments"."luggage_port" AS t0_r14, "accompaniment_people"."id" AS t1_r0, "accompaniment_people"."accompaniment_id" AS t1_r1, "accompaniment_people"."ap_type" AS t1_r2, "accompaniment_people"."user_id" AS t1_r3, "accompaniment_people"."created_at" AS t1_r4, "accompaniment_people"."updated_at" AS t1_r5, "accompaniment_people"."owner" AS t1_r6, "accompaniment_people"."status" AS t1_r7, "accompaniment_people"."transport_type" AS t1_r8 FROM "accompaniments" INNER JOIN "accompaniment_people" ON "accompaniment_people"."accompaniment_id" = "accompaniments"."id" LEFT OUTER JOIN "accompaniment_people" "owners_accompaniments" ON "owners_accompaniments"."accompaniment_id" = "accompaniments"."id" AND "owners_accompaniments"."owner" = $1 WHERE "accompaniment_people"."user_id" = $2 AND (accompaniments.status IN (2,4,5) AND date < ('2017-07-20 15:41:36.643217')) [["owner", "t"], ["user_id", 2]]
- [1m[36mCreditOffer Load (0.4ms)[0m [1mSELECT "credit_offers".* FROM "credit_offers" WHERE "credit_offers"."id" = $1 LIMIT 1[0m [["id", 1]]
- [1m[35m (0.2ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "user_credit_purchase_transactions" ("user_id", "payment_type", "credit_offer_id", "total_amount", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["user_id", 2], ["payment_type", 0], ["credit_offer_id", 1], ["total_amount", 10.0], ["created_at", "2017-07-20 15:41:36.658047"], ["updated_at", "2017-07-20 15:41:36.658047"]]
- [1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
- [1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
- [1m[35mSQL (0.4ms)[0m UPDATE "user_credit_purchase_transactions" SET "transaction_string_id" = $1, "status" = $2, "updated_at" = $3 WHERE "user_credit_purchase_transactions"."id" = $4 [["transaction_string_id", "test_ch_3"], ["status", 1], ["updated_at", "2017-07-20 15:41:36.662485"], ["id", 53]]
- [1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1
- [1m[36mSQL (0.3ms)[0m [1mUPDATE "user_profiles" SET "balance" = $1 WHERE "user_profiles"."id" = $2[0m [["balance", "110.0"], ["id", 2]]
- [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
- Redirected to http://www.example.com/payment/summary/53
- Completed 302 Found in 31ms (ActiveRecord: 6.3ms)
- Started GET "/payment/summary/53" for 127.0.0.1 at 2017-07-20 17:41:36 +0200
- Processing by PaymentController#summary as HTML
- Parameters: {"transaction_id"=>"53"}
- [1m[36mSQL (0.6ms)[0m [1mSELECT "users"."id" AS t0_r0, "users"."email" AS t0_r1, "users"."encrypted_password" AS t0_r2, "users"."reset_password_token" AS t0_r3, "users"."reset_password_sent_at" AS t0_r4, "users"."remember_created_at" AS t0_r5, "users"."sign_in_count" AS t0_r6, "users"."current_sign_in_at" AS t0_r7, "users"."last_sign_in_at" AS t0_r8, "users"."current_sign_in_ip" AS t0_r9, "users"."last_sign_in_ip" AS t0_r10, "users"."created_at" AS t0_r11, "users"."updated_at" AS t0_r12, "users"."confirmation_token" AS t0_r13, "users"."confirmed_at" AS t0_r14, "users"."confirmation_sent_at" AS t0_r15, "users"."name" AS t0_r16, "users"."last_name" AS t0_r17, "users"."phone" AS t0_r18, "users"."birth_date" AS t0_r19, "users"."civility" AS t0_r20, "users"."attitude" AS t0_r21, "users"."hobbies" AS t0_r22, "users"."avatar_file_name" AS t0_r23, "users"."avatar_content_type" AS t0_r24, "users"."avatar_file_size" AS t0_r25, "users"."avatar_updated_at" AS t0_r26, "users"."provider" AS t0_r27, "users"."uid" AS t0_r28, "users"."activity" AS t0_r29, "users"."area_of_interests" AS t0_r30, "user_profiles"."id" AS t1_r0, "user_profiles"."user_id" AS t1_r1, "user_profiles"."discussion" AS t1_r2, "user_profiles"."balance" AS t1_r3, "user_profiles"."checkout" AS t1_r4, "user_profiles"."disability" AS t1_r5, "user_profiles"."locality_id" AS t1_r6, "user_profiles"."disability_support" AS t1_r7, "user_profiles"."iban_name" AS t1_r8, "user_profiles"."iban_number" AS t1_r9, "user_profiles"."bic" AS t1_r10 FROM "users" LEFT OUTER JOIN "user_profiles" ON "user_profiles"."user_id" = "users"."id" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1[0m [["id", 2]]
- [1m[35m (0.6ms)[0m SELECT
- (SELECT COUNT(*) FROM accompaniment_people WHERE status IN (7,14) AND user_id = 2)
- AS activity,
- (SELECT COUNT(DISTINCT sender_id) FROM messages WHERE read = False AND sender_id != 2
- AND receiver_id = 2) AS messages
- [1m[36mPlace Load (0.4ms)[0m [1mSELECT "places".* FROM "places" WHERE "places"."id" = $1 LIMIT 1[0m [["id", 1]]
- [1m[35mSQL (0.6ms)[0m SELECT "accompaniments"."id" AS t0_r0, "accompaniments"."a_type" AS t0_r1, "accompaniments"."frequency" AS t0_r2, "accompaniments"."date" AS t0_r3, "accompaniments"."status" AS t0_r4, "accompaniments"."created_at" AS t0_r5, "accompaniments"."updated_at" AS t0_r6, "accompaniments"."accompaniment_recurrence_id" AS t0_r7, "accompaniments"."transport_type" AS t0_r8, "accompaniments"."description" AS t0_r9, "accompaniments"."travel_type" AS t0_r10, "accompaniments"."starting_point_id" AS t0_r11, "accompaniments"."ending_point_id" AS t0_r12, "accompaniments"."free_travel_for_follower" AS t0_r13, "accompaniments"."luggage_port" AS t0_r14, "accompaniment_people"."id" AS t1_r0, "accompaniment_people"."accompaniment_id" AS t1_r1, "accompaniment_people"."ap_type" AS t1_r2, "accompaniment_people"."user_id" AS t1_r3, "accompaniment_people"."created_at" AS t1_r4, "accompaniment_people"."updated_at" AS t1_r5, "accompaniment_people"."owner" AS t1_r6, "accompaniment_people"."status" AS t1_r7, "accompaniment_people"."transport_type" AS t1_r8 FROM "accompaniments" INNER JOIN "accompaniment_people" ON "accompaniment_people"."accompaniment_id" = "accompaniments"."id" LEFT OUTER JOIN "accompaniment_people" "owners_accompaniments" ON "owners_accompaniments"."accompaniment_id" = "accompaniments"."id" AND "owners_accompaniments"."owner" = $1 WHERE "accompaniment_people"."user_id" = $2 AND (accompaniments.status IN (2,4,5) AND date < ('2017-07-20 15:41:36.679294')) [["owner", "t"], ["user_id", 2]]
- [1m[36mUserCreditPurchaseTransaction Load (0.3ms)[0m [1mSELECT "user_credit_purchase_transactions".* FROM "user_credit_purchase_transactions" WHERE "user_credit_purchase_transactions"."id" = $1 LIMIT 1[0m [["id", 53]]
- Rendered payment/summary.html.haml within layouts/application (3.0ms)
- Template rendering was prevented by rspec-rails. Use `render_views` to verify rendered view contents if necessary.
- Rendered shared_partials/_favicon.html.erb (2.0ms)
- Rendered shared_partials/application/_header.html.haml (10.3ms)
- Completed 200 OK in 37ms (Views: 24.8ms | ActiveRecord: 2.9ms)
- [1m[35m (0.2ms)[0m ROLLBACK
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement