Skip to content

Instantly share code, notes, and snippets.

@richdownie
Created April 19, 2010 15:28
Show Gist options
  • Save richdownie/371161 to your computer and use it in GitHub Desktop.
Save richdownie/371161 to your computer and use it in GitHub Desktop.
Processing ProjectMembershipsController#remove_tag_from_pager (for 74.220.158.207 at 2010-04-19 15:27:36) [POST]
Apr 19 15:27:36 -- Parameters: {"project_id"=>"1624", "pager"=>{"label"=>"Participants", "omit_top_line"=>"", "filter_by_key"=>"", "destroy_url"=>"", "exclude_proxy"=>"", "update_partial"=>"", "starting_not_included_count"=>"", "omit_remove_all_button"=>"", "create_url"=>"", "sort_by"=>"", "filter"=>"", "starting_can_be_added_count"=>"", "starting_included_count"=>"", "url"=>"https://qaauto.rollstream.com/projects/1624/project_memberships/search", "filter_by_value"=>"", "partition_proxy"=>"", "act_on_results_params"=>"jack", "page"=>"1", "starting_can_be_removed_count"=>"", "paging_and_sorting_only"=>"", "ignore_less_than_10"=>"", "omit_add_all_button"=>"", "only_result_count"=>"", "omit_summary"=>"", "new_ui"=>"true", "update_partial_id"=>"project_memberships_update_partial", "javascript_listener_method"=>"", "omit_advanced_search"=>"", "omit_top_bar"=>"", "omit_quick_search"=>"", "result_id"=>"project_memberships_results", "remove_url"=>"", "add_url"=>"", "omit_bottom_bar"=>""}}
Apr 19 15:27:36 -- Person Load (0.4ms) SELECT * FROM "people" WHERE ("people"."id" = 1) ORDER BY id asc LIMIT 1
Apr 19 15:27:36 -- Project Load (0.3ms) SELECT * FROM "projects" WHERE ("projects"."id" = 1624)
Apr 19 15:27:36 -- SQL (0.3ms) SELECT count(*) AS count_all FROM "tags" WHERE ("tags"."taggable_type" = E'Person' AND "tags"."user_id" = 1 AND "tags"."name" = E'jack')
Apr 19 15:27:36 -- Tag Load (0.2ms) SELECT * FROM "tags" WHERE ("tags"."taggable_type" = E'Person' AND "tags"."user_id" = 1 AND "tags"."name" = E'jack')
Apr 19 15:27:36 -- SQL (0.1ms) BEGIN
Apr 19 15:27:36 -- Tag Destroy (0.3ms) DELETE FROM "tags" WHERE "id" = 103
Apr 19 15:27:36 -- SQL (2.7ms) COMMIT
Apr 19 15:27:36 -- SQL (1.0ms) SELECT count(*) AS count_all FROM "memberships" INNER JOIN "people" ON "people".id = "memberships".person_id INNER JOIN roles on roles.id = memberships.role_id INNER JOIN people as pr on pr.id = memberships.person_id WHERE ( ( ( project_id = 1624 and role_id = 1 and people.disabled_at is null ) ) ) AND ( ("memberships"."type" = 'ProjectMembership' ) )
Apr 19 15:27:36 -- SQL (0.9ms) SELECT count(*) AS count_all FROM "memberships" INNER JOIN "people" ON "people".id = "memberships".person_id INNER JOIN roles on roles.id = memberships.role_id INNER JOIN people as pr on pr.id = memberships.person_id WHERE ( ( ( ( ( project_id = 1624 and role_id = 1 and people.disabled_at is null ) ) ) ) ) AND ( ("memberships"."type" = 'ProjectMembership' ) )
Apr 19 15:27:36 -- ProjectMembership Load (1.0ms) SELECT "memberships".* FROM "memberships" INNER JOIN "people" ON "people".id = "memberships".person_id INNER JOIN roles on roles.id = memberships.role_id INNER JOIN people as pr on pr.id = memberships.person_id WHERE ( ( ( ( ( ( ( ( ( ( ( project_id = 1624 and role_id = 1 and people.disabled_at is null ) ) ) ) ) ) ) ) ) ) ) AND ( ("memberships"."type" = 'ProjectMembership' ) ) ORDER BY roles.name,pr.first_name,pr.last_name LIMIT 10
Apr 19 15:27:36 -- SQL (0.5ms) SELECT count(*) AS count_all FROM "memberships" INNER JOIN "people" ON "people".id = "memberships".person_id WHERE ( ( ( ( ( ( ( ( ( ( ( project_id = 1624 and role_id = 1 and people.disabled_at is null ) ) ) ) ) ) ) ) ) ) ) AND ( ("memberships"."type" = 'ProjectMembership' ) )
Apr 19 15:27:36 -- Person Load (0.3ms) SELECT * FROM "people" WHERE ("people"."id" = 6)
Apr 19 15:27:36 -- ProjectRole Load (0.3ms) SELECT * FROM "roles" WHERE ("roles"."id" = 1) AND ( ("roles"."type" = 'ProjectRole' ) )
Apr 19 15:27:36 -- OrganizationalMembership Load (0.3ms) SELECT * FROM "organizational_memberships" WHERE ("organizational_memberships".person_id = 6) ORDER BY id asc LIMIT 1
Apr 19 15:27:36 -- Organization Load (0.3ms) SELECT * FROM "organizations" WHERE ("organizations"."id" = 2)
Apr 19 15:27:36 -- Rendered project_memberships/_list_item (10.4ms)
Apr 19 15:27:36 -- Rendered shared/_new_ui_pager_list (20.0ms)
Apr 19 15:27:36 -- Person Load (0.4ms) SELECT * FROM "people" WHERE ("people"."id" = 1) ORDER BY id asc LIMIT 1
Apr 19 15:27:36 -- Tag Load (0.2ms) SELECT tags.name FROM "tags" WHERE (("tags"."taggable_type" = E'Person' AND "tags"."user_id" = 1)) ORDER BY name
Apr 19 15:27:36 -- CommunityMembership Load (0.3ms) SELECT * FROM "memberships" WHERE ("memberships"."role_id" = 9 AND "memberships"."person_id" = 1 AND "memberships"."community_id" = 1) AND ( ("memberships"."type" = 'CommunityMembership' ) )
Apr 19 15:27:36 -- Tag Load (0.2ms) SELECT tags.name FROM "tags" WHERE ("tags"."taggable_type" = E'Person') ORDER BY name
Apr 19 15:27:36 -- Completed in 50ms (View: 7, DB: 1) | 200 OK [https://qaauto.rollstream.com/projects/1624/project_memberships/remove_tag_from_pager]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment