openstax_salesforce 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/controllers/openstax/salesforce/application_controller.rb +4 -0
- data/app/models/openstax/salesforce/user.rb +2 -2
- data/config/initializers/openstax_salesforce.rb +4 -6
- data/lib/openstax/salesforce/remote/class_size.rb +57 -0
- data/lib/openstax/salesforce/remote/individual_adoption.rb +30 -0
- data/lib/openstax/salesforce/remote/opportunity.rb +16 -0
- data/lib/openstax/salesforce/remote/os_ancillary.rb +87 -0
- data/lib/openstax/salesforce/remote/term_year.rb +80 -0
- data/lib/openstax/salesforce/version.rb +1 -1
- data/lib/openstax_salesforce.rb +5 -1
- data/spec/dummy/config/routes.rb +2 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +1701 -0
- data/spec/factories/user.rb +17 -0
- data/spec/openstax/salesforce/controllers/application_controller_spec.rb +22 -0
- data/spec/openstax/salesforce/controllers/settings_controller_spec.rb +86 -0
- data/spec/openstax/salesforce/remote/opportunity_spec.rb +10 -0
- data/spec/openstax/salesforce/remote/os_ancillary_spec.rb +35 -0
- data/spec/openstax/salesforce/remote/term_year_spec.rb +81 -0
- data/spec/rails_helper.rb +46 -1
- data/spec/routing_spec.rb +9 -0
- metadata +35 -3
- data/app/models/user.rb +0 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9903e27b9f7c96bd9109d2d0f68707a154a3976b
|
4
|
+
data.tar.gz: 532e2f3b45e249947ecbefef71b8b4c46024eea9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 280be839937bdb59ae6eb2dda7e01a1e24033e157dab7dee7f5ab0aa11faaa8d6bc232bf64ca1b076c6890200bbc64a02a51ec118f39719ce06126887be86138
|
7
|
+
data.tar.gz: 59d4b57c579ed9aaa8c9fb87a4491371b5453fa2a24478660a2cc24ac0d2cd8655f4137d564eb5adac9e7ccc9db2900f14c9c145452298eb9afadf14bad97867
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# OpenStax::Salesforce
|
2
2
|
|
3
|
-
[![Gem Version](https://badge.fury.io/rb/openstax_salesforce.svg)](http://badge.fury.io/rb/
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/openstax_salesforce.svg)](http://badge.fury.io/rb/openstax_salesforce)
|
4
4
|
[![Build Status](https://travis-ci.org/openstax/openstax_salesforce.svg?branch=master)](https://travis-ci.org/openstax/openstax_salesforce)
|
5
5
|
[![Code Climate](https://codeclimate.com/github/openstax/openstax_salesforce/badges/gpa.svg)](https://codeclimate.com/github/openstax/openstax_salesforce)
|
6
6
|
|
@@ -8,7 +8,7 @@ module OpenStax::Salesforce
|
|
8
8
|
after_save :ensure_only_one_record
|
9
9
|
|
10
10
|
def self.save_from_omniauth!(auth)
|
11
|
-
where(auth
|
11
|
+
where(uid: auth[:uid]).first_or_initialize.tap do |user|
|
12
12
|
user.uid = auth.uid
|
13
13
|
user.name = auth.info.name
|
14
14
|
user.oauth_token = auth.credentials.token
|
@@ -19,7 +19,7 @@ module OpenStax::Salesforce
|
|
19
19
|
end
|
20
20
|
|
21
21
|
def ensure_only_one_record
|
22
|
-
self.class.where{id != self.id}.destroy_all
|
22
|
+
self.class.where{id != my{self.id}}.destroy_all
|
23
23
|
end
|
24
24
|
end
|
25
25
|
end
|
@@ -7,15 +7,13 @@ OpenStax::Salesforce.configure do |config|
|
|
7
7
|
# Layout to be used for OpenStax::Salesforce's controllers
|
8
8
|
config.layout = 'application'
|
9
9
|
|
10
|
-
# Proc called with
|
11
|
-
config.current_user_proc = -> { nil }
|
12
|
-
|
13
|
-
# Proc called with a user as argument and a controller as self.
|
10
|
+
# Proc called with an argument of the controller where this is called.
|
14
11
|
# This proc is called when a user tries to access the engine's controllers.
|
15
12
|
# Should raise an exception, render or redirect unless the user is a manager
|
16
13
|
# or admin. The default renders 403 Forbidden for all users.
|
17
|
-
|
18
|
-
|
14
|
+
config.authenticate_admin_proc = ->(controller) {
|
15
|
+
controller.head(:forbidden)
|
16
|
+
}
|
19
17
|
|
20
18
|
# Consumer key and secret for connecting to the Salesforce app
|
21
19
|
config.salesforce_client_key = 'put_real_key_value_here'
|
@@ -0,0 +1,57 @@
|
|
1
|
+
module OpenStax::Salesforce::Remote
|
2
|
+
class ClassSize < ActiveForce::SObject
|
3
|
+
|
4
|
+
field :concept_coach_approved, from: "Concept_Coach_Approved__c", as: :boolean
|
5
|
+
field :course_name, from: "Course_Name__c"
|
6
|
+
field :course_id, from: "Tutor_ID__c"
|
7
|
+
field :created_at, from: "Tutor_Created_Date__c", as: :datetime
|
8
|
+
field :num_students, from: "Student_using_Tutor__c", as: :int
|
9
|
+
field :num_teachers, from: "Active_Teachers__c", as: :int
|
10
|
+
field :num_sections, from: "Number_of_Sections__c", as: :int
|
11
|
+
field :teacher_join_url, from: "Teacher_Join_URL__c"
|
12
|
+
field :error, from: "Tutor_Error__c"
|
13
|
+
field :book_name, from: "Book_Name__c"
|
14
|
+
field :school, from: "School__c"
|
15
|
+
field :term_year, from: "TermYear__c"
|
16
|
+
field :opportunity_id, from: 'Opportunity__c'
|
17
|
+
field :os_ancillary_id, from: "OSA__c"
|
18
|
+
|
19
|
+
belongs_to :opportunity, model: OpenStax::Salesforce::Remote::Opportunity
|
20
|
+
|
21
|
+
self.table_name = 'Class_Size__c'
|
22
|
+
|
23
|
+
def term_year_object
|
24
|
+
@term_year_object ||= OpenStax::Salesforce::Remote::TermYear.from_string(self.term_year)
|
25
|
+
end
|
26
|
+
|
27
|
+
def reset_stats
|
28
|
+
self.num_students = 0
|
29
|
+
self.num_teachers = 0
|
30
|
+
self.num_sections = 0
|
31
|
+
end
|
32
|
+
|
33
|
+
# Methods to make this legacy SF object compatible with current OsAncillary interface.
|
34
|
+
# All ClassSize records were used for college CC courses.
|
35
|
+
|
36
|
+
def is_tutor?
|
37
|
+
false
|
38
|
+
end
|
39
|
+
|
40
|
+
def is_concept_coach?
|
41
|
+
true
|
42
|
+
end
|
43
|
+
|
44
|
+
def valid_product?
|
45
|
+
true
|
46
|
+
end
|
47
|
+
|
48
|
+
def is_college?
|
49
|
+
true
|
50
|
+
end
|
51
|
+
|
52
|
+
def product
|
53
|
+
"Concept Coach"
|
54
|
+
end
|
55
|
+
|
56
|
+
end
|
57
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module OpenStax::Salesforce::Remote
|
2
|
+
class IndividualAdoption < ActiveForce::SObject
|
3
|
+
|
4
|
+
field :book_name, from: "Book_Text__c"
|
5
|
+
field :contact_id, from: "Contact__c"
|
6
|
+
field :book_id, from: "Book__c"
|
7
|
+
field :school_id, from: "Account__c"
|
8
|
+
field :school_year, from: "School_Year__c"
|
9
|
+
field :fall_start_date, from: "Fall_Start_Date__c"
|
10
|
+
field :summer_start_date, from: "Summer_Start_Date__c"
|
11
|
+
field :winter_start_date, from: "Winter_Start_Date__c"
|
12
|
+
field :spring_start_date, from: "Spring_Start_Date__c"
|
13
|
+
field :adoption_level, from: "Adoption_Level__c"
|
14
|
+
field :description, from: "Description__c"
|
15
|
+
|
16
|
+
# Deprecated
|
17
|
+
field :term_year, from: "TermYear__c"
|
18
|
+
field :class_start_date, from: "Class_Start_Date__c"
|
19
|
+
|
20
|
+
belongs_to :school, model: OpenStax::Salesforce::Remote::School
|
21
|
+
belongs_to :book, model: OpenStax::Salesforce::Remote::Book
|
22
|
+
|
23
|
+
self.table_name = 'Individual_Adoption__c'
|
24
|
+
|
25
|
+
def term_year_object
|
26
|
+
@term_year_object ||= OpenStax::Salesforce::Remote::TermYear.from_string(term_year)
|
27
|
+
end
|
28
|
+
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,16 @@
|
|
1
|
+
module OpenStax::Salesforce::Remote
|
2
|
+
class Opportunity < ActiveForce::SObject
|
3
|
+
|
4
|
+
field :term_year, from: "TermYear__c"
|
5
|
+
field :book_name, from: "Book_Text__c"
|
6
|
+
field :contact_id, from: "Contact__c"
|
7
|
+
field :new, from: "New__c", as: :boolean
|
8
|
+
|
9
|
+
self.table_name = 'Opportunity'
|
10
|
+
|
11
|
+
def term_year_object
|
12
|
+
@term_year_object ||= OpenStax::Salesforce::Remote::TermYear.from_string(term_year)
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
16
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
module OpenStax::Salesforce::Remote
|
2
|
+
class OsAncillary < ActiveForce::SObject
|
3
|
+
|
4
|
+
field :status, from: "Status__c", as: :picklist
|
5
|
+
field :product, from: "Product__c", as: :picklist
|
6
|
+
field :account_type, from: "Account_Type__c"
|
7
|
+
field :book_name, from: "Book_Name__c"
|
8
|
+
field :course_start_date, from: "Class_Start_Date__c", as: :date
|
9
|
+
field :course_name, from: "Course_Name__c"
|
10
|
+
field :course_code, from: "Course_Code__c"
|
11
|
+
field :course_id, from: "External_ID__c"
|
12
|
+
field :created_at, from: "E_Created_Date__c", as: :datetime
|
13
|
+
field :error, from: "Error__c"
|
14
|
+
field :general_access_url, from: "General_Access_URL__c"
|
15
|
+
field :teacher_join_url, from: "Teacher_Join_URL__c"
|
16
|
+
field :school, from: "School_Name__c"
|
17
|
+
field :num_teachers, from: "Active_Teachers__c", as: :int
|
18
|
+
field :num_sections, from: "Sections__c", as: :int
|
19
|
+
field :num_students, from: "Students_Using__c", as: :int
|
20
|
+
field :term_year, from: "TermYear__c"
|
21
|
+
field :term, from: "Term__c"
|
22
|
+
field :opportunity_id, from: 'Opportunity__c'
|
23
|
+
field :individual_adoption_id, from: "Individual_Adoption__c"
|
24
|
+
field :contact_id, from: "Contact__c"
|
25
|
+
|
26
|
+
belongs_to :opportunity, model: OpenStax::Salesforce::Remote::Opportunity
|
27
|
+
|
28
|
+
self.table_name = 'OS_Ancillary__c'
|
29
|
+
|
30
|
+
def reset_stats
|
31
|
+
self.num_students = 0
|
32
|
+
self.num_teachers = 0
|
33
|
+
self.num_sections = 0
|
34
|
+
end
|
35
|
+
|
36
|
+
def is_concept_coach?
|
37
|
+
"Concept Coach" == product
|
38
|
+
end
|
39
|
+
|
40
|
+
def is_tutor?
|
41
|
+
"Tutor" == product
|
42
|
+
end
|
43
|
+
|
44
|
+
def valid_product?
|
45
|
+
["Tutor", "Concept Coach"].include?(product)
|
46
|
+
end
|
47
|
+
|
48
|
+
def term_year_object
|
49
|
+
@term_year_object ||= OpenStax::Salesforce::Remote::TermYear.from_string(self.term_year)
|
50
|
+
end
|
51
|
+
|
52
|
+
def is_college?
|
53
|
+
# Seems like college account types are more likely to be added to
|
54
|
+
# more than high school types, so match non college types and negate
|
55
|
+
!NON_COLLEGE_ACCOUNT_TYPES.include?(account_type)
|
56
|
+
end
|
57
|
+
|
58
|
+
# TODO warn somewhere if come across unknown account type
|
59
|
+
def known_account_type?
|
60
|
+
ACCOUNT_TYPES.include(account_type)
|
61
|
+
end
|
62
|
+
|
63
|
+
NON_COLLEGE_ACCOUNT_TYPES = [
|
64
|
+
"High School",
|
65
|
+
"Elementary School",
|
66
|
+
"Middle/Junior High School",
|
67
|
+
"K-12 School"
|
68
|
+
]
|
69
|
+
|
70
|
+
# Unused, here for posterity
|
71
|
+
COLLEGE_ACCOUNT_TYPES = [
|
72
|
+
"College/University (4)",
|
73
|
+
"Technical/Community College (2)",
|
74
|
+
"Career School/For-Profit (2)",
|
75
|
+
"For-Profit Tutoring",
|
76
|
+
]
|
77
|
+
|
78
|
+
ACCOUNT_TYPES = [
|
79
|
+
COLLEGE_ACCOUNT_TYPES,
|
80
|
+
NON_COLLEGE_ACCOUNT_TYPES,
|
81
|
+
"Other"
|
82
|
+
].flatten
|
83
|
+
|
84
|
+
STATUS_APPROVED = "Approved"
|
85
|
+
|
86
|
+
end
|
87
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
module OpenStax::Salesforce::Remote
|
2
|
+
class TermYear
|
3
|
+
|
4
|
+
# TermYear strings in Salesforce look like:
|
5
|
+
# 2015 - 16 Fall
|
6
|
+
# 2015 - 16 Spring
|
7
|
+
# One day in the not-distant future we will probably be adding a Summer term
|
8
|
+
|
9
|
+
TERMS = [:fall, :spring]
|
10
|
+
|
11
|
+
attr_reader :start_year, :end_year, :term
|
12
|
+
|
13
|
+
def initialize(start_year:, term:)
|
14
|
+
raise "Invalid term #{term}" if !TERMS.include?(term)
|
15
|
+
@start_year = start_year
|
16
|
+
@end_year = [:fall, :spring].include?(term) ? start_year + 1 : start_year
|
17
|
+
@term = term
|
18
|
+
end
|
19
|
+
|
20
|
+
def self.guess_from_created_at(created_at)
|
21
|
+
spring_to_fall_cutoff = Time.zone.local(created_at.year, 4, 15, 00, 00)
|
22
|
+
fall_to_spring_cutoff = Time.zone.local(created_at.year, 11, 15, 00, 00)
|
23
|
+
|
24
|
+
if created_at < spring_to_fall_cutoff
|
25
|
+
new(start_year: created_at.year - 1, term: :spring)
|
26
|
+
elsif created_at > fall_to_spring_cutoff
|
27
|
+
new(start_year: created_at.year, term: :spring)
|
28
|
+
else
|
29
|
+
new(start_year: created_at.year, term: :fall)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.from_string(string)
|
34
|
+
return if string.blank?
|
35
|
+
|
36
|
+
string.match(/20(\d\d) - (\d\d) (\w+)/).tap do |match|
|
37
|
+
raise(ParseError, "Cannot parse '#{string}' as a TermYear") if match.nil?
|
38
|
+
end
|
39
|
+
|
40
|
+
term = $3.downcase.to_sym
|
41
|
+
start_year = "20#{$1}".to_i
|
42
|
+
raise "Non-sequential years in TermYear: '#{string}'" if $2.to_i != $1.to_i + 1
|
43
|
+
|
44
|
+
new(start_year: start_year, term: term)
|
45
|
+
end
|
46
|
+
|
47
|
+
def next
|
48
|
+
fall? ?
|
49
|
+
self.class.new(start_year: start_year, term: :spring) :
|
50
|
+
self.class.new(start_year: start_year + 1, term: :fall)
|
51
|
+
end
|
52
|
+
|
53
|
+
def to_s
|
54
|
+
"#{start_year} - #{end_year.to_s[2..3]} #{fall? ? 'Fall' : 'Spring'}"
|
55
|
+
end
|
56
|
+
|
57
|
+
def fall?
|
58
|
+
:fall == @term
|
59
|
+
end
|
60
|
+
|
61
|
+
def spring?
|
62
|
+
!fall?
|
63
|
+
end
|
64
|
+
|
65
|
+
def ==(other)
|
66
|
+
to_s == other.to_s
|
67
|
+
end
|
68
|
+
|
69
|
+
def eql?(other)
|
70
|
+
self == other
|
71
|
+
end
|
72
|
+
|
73
|
+
def dup
|
74
|
+
self.class.new(start_year: start_year, term: term)
|
75
|
+
end
|
76
|
+
|
77
|
+
class ParseError < StandardError; end
|
78
|
+
|
79
|
+
end
|
80
|
+
end
|
data/lib/openstax_salesforce.rb
CHANGED
@@ -8,8 +8,13 @@ require "openstax/salesforce/engine"
|
|
8
8
|
require "openstax/salesforce/user_missing"
|
9
9
|
require "openstax/salesforce/client"
|
10
10
|
|
11
|
+
require "openstax/salesforce/remote/term_year"
|
11
12
|
require "openstax/salesforce/remote/book"
|
12
13
|
require "openstax/salesforce/remote/school"
|
14
|
+
require "openstax/salesforce/remote/opportunity"
|
15
|
+
require "openstax/salesforce/remote/individual_adoption"
|
16
|
+
require "openstax/salesforce/remote/class_size"
|
17
|
+
require "openstax/salesforce/remote/os_ancillary"
|
13
18
|
require "openstax/salesforce/remote/contact"
|
14
19
|
require "openstax/salesforce/remote/lead"
|
15
20
|
|
@@ -27,7 +32,6 @@ module OpenStax
|
|
27
32
|
# See `config/initializers/openstax_salesforce.rb` for documentation on options
|
28
33
|
class Configuration
|
29
34
|
attr_accessor :layout
|
30
|
-
attr_accessor :current_user_proc
|
31
35
|
attr_accessor :authenticate_admin_proc
|
32
36
|
attr_accessor :salesforce_client_key
|
33
37
|
attr_accessor :salesforce_client_secret
|
data/spec/dummy/config/routes.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -49,3 +49,1704 @@ Migrating to InstallOpenStaxSalesforce (0)
|
|
49
49
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
50
50
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
51
51
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
52
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
53
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
54
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
55
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
56
|
+
Completed 500 Internal Server Error in 17ms (ActiveRecord: 0.0ms)
|
57
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
58
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
59
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
60
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
61
|
+
Rendered text template (0.0ms)
|
62
|
+
Completed 200 OK in 14ms (Views: 14.1ms | ActiveRecord: 0.0ms)
|
63
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
64
|
+
Rendered text template (0.0ms)
|
65
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
66
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
67
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
68
|
+
Rendered text template (0.0ms)
|
69
|
+
Completed 200 OK in 13ms (Views: 13.1ms | ActiveRecord: 0.0ms)
|
70
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
71
|
+
Rendered text template (0.0ms)
|
72
|
+
Completed 200 OK in 0ms (Views: 0.3ms | ActiveRecord: 0.0ms)
|
73
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
74
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
75
|
+
Rendered text template (0.0ms)
|
76
|
+
Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms)
|
77
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
78
|
+
Rendered text template (0.0ms)
|
79
|
+
Completed 200 OK in 0ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
80
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
81
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
82
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
83
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
84
|
+
Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
|
85
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
86
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
87
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
88
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
89
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
90
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
91
|
+
Filter chain halted as #<Proc:0x007fb9dbf45b18@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
|
92
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
93
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
94
|
+
Filter chain halted as #<Proc:0x007fb9dbf45b18@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
|
95
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
96
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
97
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
98
|
+
Filter chain halted as #<Proc:0x007f9acc1718d0@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
|
99
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
100
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
101
|
+
Rendered text template (0.0ms)
|
102
|
+
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
103
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
104
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
106
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "411a76e4c5bf554b0baa"], ["name", "Magnolia Raynor"], ["oauth_token", "c8b30f557cb20a34614b25cacbaf94be"], ["refresh_token", "12fe9c9a7d9b1f31ed186359156bd769"], ["instance_url", "http://buckridgegibson.com/mary.runte"], ["created_at", "2017-05-10 00:58:43.735538"], ["updated_at", "2017-05-10 00:58:43.735538"]]
|
107
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"[0m
|
108
|
+
[1m[35m (0.7ms)[0m commit transaction
|
109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
110
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "9d2053f5cc6dbc2d6714"], ["name", "Mr. Roel Hayes"], ["oauth_token", "8f4bcc676c6f08e7911d1799d6ff655e"], ["refresh_token", "1a30881d5659bfd1c0280f5247134565"], ["instance_url", "http://okonmohr.net/rex.huel"], ["created_at", "2017-05-10 00:58:43.741967"], ["updated_at", "2017-05-10 00:58:43.741967"]]
|
111
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"[0m
|
112
|
+
[1m[35m (0.7ms)[0m commit transaction
|
113
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
114
|
+
[1m[35m (0.1ms)[0m begin transaction
|
115
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "3911e1203daccf7dd708"], ["name", "Samara Becker"], ["oauth_token", "a585c66e7c981885bcb4f00417ffe03b"], ["refresh_token", "1dc015d088c7041f9f8660cd4617a050"], ["instance_url", "http://abshire.name/kayleigh"], ["created_at", "2017-05-10 00:58:43.749029"], ["updated_at", "2017-05-10 00:58:43.749029"]]
|
116
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
|
117
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
118
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
119
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
120
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
121
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
122
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m
|
123
|
+
[1m[35m (0.0ms)[0m begin transaction
|
124
|
+
[1m[36mSQL (0.5ms)[0m [1mUPDATE "openstax_salesforce_users" SET "uid" = ?, "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ?[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 00:59:27.839281"], ["id", 1]]
|
125
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
|
126
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
127
|
+
Redirected to http://test.host/admin/salesforce/
|
128
|
+
Completed 302 Found in 25ms (ActiveRecord: 1.6ms)
|
129
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
131
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "f5bbcd87d1d912ba6f8a"], ["name", "Eudora Bednar"], ["oauth_token", "23ad31ba076b575c261aca37af04d94e"], ["refresh_token", "11d92dc97c3d3e507ab8f7fe79036bbf"], ["instance_url", "http://kunze.info/jeie"], ["created_at", "2017-05-10 00:59:28.356160"], ["updated_at", "2017-05-10 00:59:28.356160"]]
|
132
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"[0m
|
133
|
+
[1m[35m (2.1ms)[0m commit transaction
|
134
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
135
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "45559684c14d2c90543f"], ["name", "Lindsay Bins"], ["oauth_token", "55b173992288c130a4eaff4a7cdd026d"], ["refresh_token", "69b777de37a3a52e1282caf73e157320"], ["instance_url", "http://willms.com/devon"], ["created_at", "2017-05-10 00:59:28.361602"], ["updated_at", "2017-05-10 00:59:28.361602"]]
|
136
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"[0m
|
137
|
+
[1m[35m (0.7ms)[0m commit transaction
|
138
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
139
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
140
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
|
141
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
142
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
|
143
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
144
|
+
Redirected to http://test.host/admin/salesforce/
|
145
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
146
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
147
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
148
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "b98763f31ce4645534c3"], ["name", "Ms. Yvonne Emard"], ["oauth_token", "712189b2179e70ab4e42a2acb768f729"], ["refresh_token", "ae4cf0b669da3adbcf62c0302b2936ee"], ["instance_url", "http://donnellycarroll.biz/barney"], ["created_at", "2017-05-10 00:59:28.379374"], ["updated_at", "2017-05-10 00:59:28.379374"]]
|
149
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"[0m
|
150
|
+
[1m[35m (0.7ms)[0m commit transaction
|
151
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
152
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
153
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
154
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
155
|
+
[1m[36mOpenStax::Salesforce::User Load (0.5ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m
|
156
|
+
[1m[35m (0.5ms)[0m begin transaction
|
157
|
+
[1m[36mOpenStax::Salesforce::User Load (0.5ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"[0m
|
158
|
+
[1m[35m (0.3ms)[0m commit transaction
|
159
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
160
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
161
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
162
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
163
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
164
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
|
165
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
166
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
167
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
168
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
169
|
+
[1m[35m (0.9ms)[0m DELETE FROM "openstax_salesforce_users";
|
170
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
171
|
+
[1m[35m (0.7ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
172
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
173
|
+
[1m[35m (0.0ms)[0m commit transaction
|
174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
175
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
176
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
177
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
178
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
179
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
180
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
181
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m
|
182
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
183
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 01:06:34.370353"], ["updated_at", "2017-05-10 01:06:34.370353"]]
|
184
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
185
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"[0m
|
186
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
187
|
+
Redirected to http://test.host/admin/salesforce/
|
188
|
+
Completed 302 Found in 13155ms (ActiveRecord: 1.4ms)
|
189
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
190
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
191
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
192
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
193
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
194
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
195
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "5b4d6de96004b482793a"], ["name", "Harmony Zieme"], ["oauth_token", "fc25f0e538cf67e83c7a541c605f9532"], ["refresh_token", "a3948b322571b5bbd9b07ee41e2842d6"], ["instance_url", "http://denesik.io/brionna.abshire"], ["created_at", "2017-05-10 01:06:39.364485"], ["updated_at", "2017-05-10 01:06:39.364485"]]
|
196
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
|
197
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
198
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
199
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "b1517bf0b410470a1d37"], ["name", "Ms. Bruce Bogan"], ["oauth_token", "0b0d202933532f3b703e5cbf8ae2102b"], ["refresh_token", "270bb1e3f4601af5082fd0e3a397fd33"], ["instance_url", "http://beer.net/bethany.pfannerstill"], ["created_at", "2017-05-10 01:06:40.227701"], ["updated_at", "2017-05-10 01:06:40.227701"]]
|
200
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
|
201
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
202
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
203
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
204
|
+
[1m[36mOpenStax::Salesforce::User Load (0.2ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m
|
205
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
206
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "openstax_salesforce_users" SET "uid" = ?, "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ?[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 01:06:41.510661"], ["id", 1]]
|
207
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
|
208
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
209
|
+
Redirected to http://test.host/admin/salesforce/
|
210
|
+
Completed 302 Found in 1223ms (ActiveRecord: 0.7ms)
|
211
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
212
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
213
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
214
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
215
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
216
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
217
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "e9a8468761161aff2ec2"], ["name", "Kristina Schaden"], ["oauth_token", "8624019c8750d569bfff7fdc7b0f08c7"], ["refresh_token", "522a8f7959a5f171128b47c2eded0e59"], ["instance_url", "http://gottlieb.info/lafayette_zemlak"], ["created_at", "2017-05-10 01:06:42.061002"], ["updated_at", "2017-05-10 01:06:42.061002"]]
|
218
|
+
[1m[36mOpenStax::Salesforce::User Load (0.2ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"[0m
|
219
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
220
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
221
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
222
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
223
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
224
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
225
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
226
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
227
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
228
|
+
[1m[35m (2.5ms)[0m DELETE FROM "openstax_salesforce_users";
|
229
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
230
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
231
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
232
|
+
[1m[35m (0.0ms)[0m commit transaction
|
233
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
234
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
235
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
236
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
237
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
238
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
239
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
|
240
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
241
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 01:07:05.773855"], ["updated_at", "2017-05-10 01:07:05.773855"]]
|
242
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"[0m
|
243
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
244
|
+
Redirected to http://test.host/admin/salesforce/
|
245
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.8ms)
|
246
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
247
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
248
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
249
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
250
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
251
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
252
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "fe9f603efae1713f8de6"], ["name", "Annabel Powlowski"], ["oauth_token", "3be1b142d7f24eec7b6f145b7e6d73cc"], ["refresh_token", "7578592ab664fba62312bfc1a3489ae4"], ["instance_url", "http://pouros.info/demetrius_corkery"], ["created_at", "2017-05-10 01:07:06.284119"], ["updated_at", "2017-05-10 01:07:06.284119"]]
|
253
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
|
254
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
255
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
256
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "d241c13b7bdb6fbab549"], ["name", "Juanita Johnson DVM"], ["oauth_token", "46baed1fcc40c35a0ce6303b3ba4d39b"], ["refresh_token", "22e3aa8aa65e846d3528bac7e9502644"], ["instance_url", "http://morar.info/arlene"], ["created_at", "2017-05-10 01:07:06.287350"], ["updated_at", "2017-05-10 01:07:06.287350"]]
|
257
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
|
258
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
259
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
260
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
261
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m
|
262
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
263
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "openstax_salesforce_users" SET "uid" = ?, "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ?[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 01:07:06.294848"], ["id", 1]]
|
264
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
|
265
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
266
|
+
Redirected to http://test.host/admin/salesforce/
|
267
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.4ms)
|
268
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
269
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
270
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
271
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
272
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
273
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
274
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "014a680061ae317e97f7"], ["name", "Icie Ryan"], ["oauth_token", "c7a373fc3fd94e86de76b6ef78034045"], ["refresh_token", "92e6f1f1f54cf4e969068feee7d0473a"], ["instance_url", "http://funk.info/mike"], ["created_at", "2017-05-10 01:07:06.325740"], ["updated_at", "2017-05-10 01:07:06.325740"]]
|
275
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"[0m
|
276
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
277
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
278
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
279
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
280
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
281
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
282
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
283
|
+
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
284
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
285
|
+
[1m[35m (2.5ms)[0m DELETE FROM "openstax_salesforce_users";
|
286
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
287
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
288
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
289
|
+
[1m[35m (0.0ms)[0m commit transaction
|
290
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
291
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
292
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
293
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
294
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
295
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_2
|
296
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "61e44f186bf21b37d20b"], ["name", "Burnice Rohan"], ["oauth_token", "c32361d747801fbbe817f2ab80cdf457"], ["refresh_token", "c7c4cf550fc96ac9ea3aa351b0f83e02"], ["instance_url", "http://ruecker.name/glenna_rau"], ["created_at", "2017-05-10 01:08:07.042979"], ["updated_at", "2017-05-10 01:08:07.042979"]]
|
297
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
298
|
+
[1m[35m (1.9ms)[0m DELETE FROM "openstax_salesforce_users";
|
299
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
300
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
301
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
302
|
+
[1m[35m (0.0ms)[0m commit transaction
|
303
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
304
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
305
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
306
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
307
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
308
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
309
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
310
|
+
[1m[35m (2.9ms)[0m DELETE FROM "openstax_salesforce_users";
|
311
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
312
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
313
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
314
|
+
[1m[35m (0.0ms)[0m commit transaction
|
315
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
316
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
317
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
318
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
319
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
320
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
321
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
322
|
+
[1m[35m (2.9ms)[0m DELETE FROM "openstax_salesforce_users";
|
323
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
324
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
325
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
326
|
+
[1m[35m (0.0ms)[0m commit transaction
|
327
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
328
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
329
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
330
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
331
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
332
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
333
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
334
|
+
[1m[35m (2.2ms)[0m DELETE FROM "openstax_salesforce_users";
|
335
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
336
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
337
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
338
|
+
[1m[35m (0.0ms)[0m commit transaction
|
339
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
340
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
341
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
342
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
343
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
344
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "86d6cf1da26b51755c96"], ["name", "Judson Ruecker"], ["oauth_token", "ef26e11ee6c3fe509b886f13785f4c5f"], ["refresh_token", "eb1d3aa43bc3c1883373f574acec9000"], ["instance_url", "http://kutch.name/tyshawn"], ["created_at", "2017-05-10 01:14:19.314318"], ["updated_at", "2017-05-10 01:14:19.314318"]]
|
345
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
346
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
347
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "3917804267c69ccb8cd8"], ["name", "Mr. Jamaal Koepp"], ["oauth_token", "c5d778036c75de4ec34b3fdb241f2bad"], ["refresh_token", "a66dad3f7a8660acd5514d064ca0a3c3"], ["instance_url", "http://nitzsche.net/ocie.ledner"], ["created_at", "2017-05-10 01:14:19.319079"], ["updated_at", "2017-05-10 01:14:19.319079"]]
|
348
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
349
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
350
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
351
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1
|
352
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
353
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "openstax_salesforce_users" SET "uid" = ?, "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 01:14:19.330143"], ["id", 1]]
|
354
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
355
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
|
356
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
357
|
+
[1m[35m (2.3ms)[0m DELETE FROM "openstax_salesforce_users";
|
358
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
359
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
360
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
361
|
+
[1m[35m (0.0ms)[0m commit transaction
|
362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
363
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
364
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
365
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
366
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
367
|
+
[1m[35m (0.3ms)[0m SAVEPOINT active_record_2
|
368
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "ba8b59af2c1aefc803dd"], ["name", "Delaney Mayer I"], ["oauth_token", "11fdb4e7d75c5389890a046b17737d82"], ["refresh_token", "28420916a9ee395493bc2a3d2535daec"], ["instance_url", "http://leffler.co/jace.ledner"], ["created_at", "2017-05-10 01:15:46.231271"], ["updated_at", "2017-05-10 01:15:46.231271"]]
|
369
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_2
|
370
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
371
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
372
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
373
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "85a6db0d2fce143f7bf5"], ["name", "Liam Skiles MD"], ["oauth_token", "9b0dd7527dd90856870230b3360b62ed"], ["refresh_token", "bd4e038e6cf56e898003356467e41ae5"], ["instance_url", "http://corkery.com/shad"], ["created_at", "2017-05-10 01:15:58.150520"], ["updated_at", "2017-05-10 01:15:58.150520"]]
|
374
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
375
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
376
|
+
[1m[36mOpenStax::Salesforce::User Load (0.2ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
377
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
378
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
379
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m
|
380
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
381
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "openstax_salesforce_users" SET "uid" = ?, "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ?[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 01:16:20.141215"], ["id", 1]]
|
382
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
|
383
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
384
|
+
[1m[35m (2.3ms)[0m DELETE FROM "openstax_salesforce_users";
|
385
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
386
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
387
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
388
|
+
[1m[35m (0.0ms)[0m commit transaction
|
389
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
390
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
391
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
392
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
393
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
394
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "dadc789c42c59436e0a7"], ["name", "Kianna Moen II"], ["oauth_token", "3b2357de7bc1f51aa5b7198d5021600c"], ["refresh_token", "3c9e2be7bb921b62b71e13419f630f61"], ["instance_url", "http://ebertmoen.co/foster_goldner"], ["created_at", "2017-05-10 01:17:00.794581"], ["updated_at", "2017-05-10 01:17:00.794581"]]
|
395
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
396
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
397
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "0fa93a1ad800975bf2d6"], ["name", "Roma Reynolds V"], ["oauth_token", "43fb6be5f4368eee620521ece0f7d50e"], ["refresh_token", "0c6afdf2e21be7eda0239618789e9f5b"], ["instance_url", "http://beer.co/kaylee_mills"], ["created_at", "2017-05-10 01:17:01.364266"], ["updated_at", "2017-05-10 01:17:01.364266"]]
|
398
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
399
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
400
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
401
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
|
402
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
403
|
+
[1m[35m (0.7ms)[0m DELETE FROM "openstax_salesforce_users";
|
404
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
405
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
406
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
407
|
+
[1m[35m (0.0ms)[0m commit transaction
|
408
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
409
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
410
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
411
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
412
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
413
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "02810df574ebf977db1c"], ["name", "Lenore Dooley"], ["oauth_token", "b8bbf8ee808a03b48eae8b2421219485"], ["refresh_token", "8133fa6b4d5c76a69ef2519b866ceaa2"], ["instance_url", "http://satterfieldrath.net/leanna"], ["created_at", "2017-05-10 01:18:38.888442"], ["updated_at", "2017-05-10 01:18:38.888442"]]
|
414
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
415
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
416
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "16a7db0c2df617afeb28"], ["name", "Assunta Kiehn III"], ["oauth_token", "2e2d48d146a945ece1d0fbf851b8881b"], ["refresh_token", "c67ccd4d084ffa0d0864018feba2461f"], ["instance_url", "http://goldner.org/lafayette"], ["created_at", "2017-05-10 01:18:39.588462"], ["updated_at", "2017-05-10 01:18:39.588462"]]
|
417
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
418
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
419
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
420
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
421
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m [["uid", "someuid"]]
|
422
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
423
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 01:18:53.853659"], ["updated_at", "2017-05-10 01:18:53.853659"]]
|
424
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
|
425
|
+
[1m[36mOpenStax::Salesforce::User Load (0.2ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
426
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != "openstax_salesforce_users"."id"
|
427
|
+
[1m[36mOpenStax::Salesforce::User Load (0.2ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3[0m
|
428
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
429
|
+
[1m[35m (2.8ms)[0m DELETE FROM "openstax_salesforce_users";
|
430
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
431
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
432
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
433
|
+
[1m[35m (0.0ms)[0m commit transaction
|
434
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
435
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
436
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
437
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
438
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
439
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "8d4e09e5690eec38b915"], ["name", "Preston Stracke V"], ["oauth_token", "ccd1c7e891e91e2141974ca49f4d96bc"], ["refresh_token", "115b9f75a59e9a8b0f159d5045676456"], ["instance_url", "http://lockman.name/aniya"], ["created_at", "2017-05-10 01:20:00.252961"], ["updated_at", "2017-05-10 01:20:00.252961"]]
|
440
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
441
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
442
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "242eb8220f2659a91e18"], ["name", "Edison Flatley"], ["oauth_token", "94727e1d85d0676a4a2c9507acd43986"], ["refresh_token", "dd56292f1fd72d8fe48430834b4510eb"], ["instance_url", "http://lindgren.org/casper"], ["created_at", "2017-05-10 01:20:00.746062"], ["updated_at", "2017-05-10 01:20:00.746062"]]
|
443
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
444
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
445
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
446
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
447
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
448
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 01:20:03.338261"], ["updated_at", "2017-05-10 01:20:03.338261"]]
|
449
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
450
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
|
451
|
+
[1m[36mOpenStax::Salesforce::User Load (0.2ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3[0m
|
452
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
|
453
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 2]]
|
454
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
455
|
+
Redirected to http://test.host/admin/salesforce/
|
456
|
+
Completed 302 Found in 21104ms (ActiveRecord: 1.1ms)
|
457
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
458
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
459
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
460
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
461
|
+
[1m[35m (2.6ms)[0m DELETE FROM "openstax_salesforce_users";
|
462
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
463
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
464
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
465
|
+
[1m[35m (0.0ms)[0m commit transaction
|
466
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
467
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
468
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
469
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
470
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
471
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "19fe492ed655d9928882"], ["name", "Clifford Zboncak"], ["oauth_token", "557b1a7ec97e1823d3b57a5daf58fc15"], ["refresh_token", "915cfac3cfe5c3b3165d914777dfa4dc"], ["instance_url", "http://wiegand.co/aurelia"], ["created_at", "2017-05-10 01:22:02.677343"], ["updated_at", "2017-05-10 01:22:02.677343"]]
|
472
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
473
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
474
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "f4ceb56b43f39ac2b304"], ["name", "Glenna Watsica"], ["oauth_token", "c369dce9fe54ff25c676ba2e1eef0e26"], ["refresh_token", "00fe5ef3a4c01268917576e1a907f65b"], ["instance_url", "http://considine.com/chelsie.oconner"], ["created_at", "2017-05-10 01:22:02.681856"], ["updated_at", "2017-05-10 01:22:02.681856"]]
|
475
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
476
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
477
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
478
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
479
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
480
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 01:22:02.697065"], ["updated_at", "2017-05-10 01:22:02.697065"]]
|
481
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3[0m
|
482
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
|
483
|
+
[1m[36mSQL (0.0ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 2]]
|
484
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
485
|
+
Redirected to http://test.host/admin/salesforce/
|
486
|
+
Completed 302 Found in 11ms (ActiveRecord: 0.5ms)
|
487
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
488
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
|
489
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
490
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
491
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
492
|
+
[1m[35m (0.1ms)[0m begin transaction
|
493
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Hellen Willms"], ["oauth_token", "78acb6ea10d407116fbe5d9e821589ff"], ["refresh_token", "52747570d40374fd0f0d424df49745b3"], ["instance_url", "http://friesenstamm.net/moriah_grant"], ["created_at", "2017-05-10 01:23:13.567883"], ["updated_at", "2017-05-10 01:23:13.567883"]]
|
494
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
495
|
+
[1m[36m (1.9ms)[0m [1mcommit transaction[0m
|
496
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
497
|
+
[1m[35m (2.9ms)[0m DELETE FROM "openstax_salesforce_users";
|
498
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
499
|
+
[1m[35m (0.8ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
500
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
501
|
+
[1m[35m (0.0ms)[0m commit transaction
|
502
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
503
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
504
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
505
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
506
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
507
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
508
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
509
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
510
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 01:23:34.514942"], ["updated_at", "2017-05-10 01:23:34.514942"]]
|
511
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
512
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
513
|
+
Redirected to http://test.host/admin/salesforce/
|
514
|
+
Completed 302 Found in 21ms (ActiveRecord: 0.8ms)
|
515
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
516
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
517
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
518
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
519
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
520
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
521
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "5c67f69b52ffd01117cc"], ["name", "Miss Carolyne Johns"], ["oauth_token", "80cdaa8bbb9cb30033fbac3f4d2b84a4"], ["refresh_token", "59fa6401bf2df38648527792ba6bbe22"], ["instance_url", "http://labadieledner.com/olin_nikolaus"], ["created_at", "2017-05-10 01:23:35.034760"], ["updated_at", "2017-05-10 01:23:35.034760"]]
|
522
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
523
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
524
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "afda014ba6cde1986a7c"], ["name", "Delmer Kessler"], ["oauth_token", "161cba73c0e0a3922212f496f3a190ca"], ["refresh_token", "72094b092a45c8bfe0e1642c5f726b72"], ["instance_url", "http://roberts.co/craig"], ["created_at", "2017-05-10 01:23:35.037073"], ["updated_at", "2017-05-10 01:23:35.037073"]]
|
525
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
526
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
527
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
528
|
+
[1m[36mOpenStax::Salesforce::User Load (0.0ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m [["uid", "someuid"]]
|
529
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
530
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 01:23:35.043524"], ["updated_at", "2017-05-10 01:23:35.043524"]]
|
531
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
|
532
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
533
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
|
534
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
535
|
+
Redirected to http://test.host/admin/salesforce/
|
536
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
|
537
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
538
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
539
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
540
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
541
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
542
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
543
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
544
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Aimee Grady"], ["oauth_token", "e6e6d1f5ea1fec6413e7343a6ba3aadf"], ["refresh_token", "60552d8c82ea9ad4cb4f2a07cf32b3ff"], ["instance_url", "http://okon.biz/lance"], ["created_at", "2017-05-10 01:23:35.052552"], ["updated_at", "2017-05-10 01:23:35.052552"]]
|
545
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
546
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
547
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
548
|
+
[1m[35mOpenStax::Salesforce::User Load (0.0ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
549
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
550
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 01:23:35.058522"], ["id", 1]]
|
551
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
552
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
553
|
+
Redirected to http://test.host/admin/salesforce/
|
554
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
555
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
556
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
557
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
558
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
559
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
560
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
561
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "f329bae3786c2ca3e8e2"], ["name", "Christelle Haley"], ["oauth_token", "7aa79ea2a963b838be441ad777051a12"], ["refresh_token", "ffb188ec42a90ca64165c12fdff4ee5c"], ["instance_url", "http://mannkunde.org/gene"], ["created_at", "2017-05-10 01:23:35.065755"], ["updated_at", "2017-05-10 01:23:35.065755"]]
|
562
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
563
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
564
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
565
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
566
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
567
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
568
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
569
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
570
|
+
[1m[35m (2.1ms)[0m rollback transaction
|
571
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
572
|
+
[1m[35m (2.0ms)[0m DELETE FROM "openstax_salesforce_users";
|
573
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
574
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
575
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
576
|
+
[1m[35m (0.0ms)[0m commit transaction
|
577
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
578
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
579
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
580
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
581
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
582
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
583
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
584
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
585
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
586
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
587
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "7f1affaf14adbe58dfaf"], ["name", "Emanuel Feil"], ["oauth_token", "06ab05b0d6c17d129e59ef52dafb6c8c"], ["refresh_token", "6646be834c9cd4f8db28f07638ed132b"], ["instance_url", "http://wunsch.biz/braeden.bechtelar"], ["created_at", "2017-05-10 02:12:12.335834"], ["updated_at", "2017-05-10 02:12:12.335834"]]
|
588
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
589
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
590
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "8536cf5b9f0af7110042"], ["name", "Shannon Hansen"], ["oauth_token", "768ccc899e43a8da738d25f9c3290237"], ["refresh_token", "6c2541f50e6ed4100846f8343ad876d0"], ["instance_url", "http://wilkinson.org/leonor"], ["created_at", "2017-05-10 02:12:12.339789"], ["updated_at", "2017-05-10 02:12:12.339789"]]
|
591
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
592
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
593
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
594
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
595
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
596
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
597
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
598
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Mrs. Stevie VonRueden"], ["oauth_token", "248acdc20453c3639070a41c390a3028"], ["refresh_token", "04886ae2f53c04996a4555c3df6012ed"], ["instance_url", "http://koepppollich.biz/cruz"], ["created_at", "2017-05-10 02:12:12.346194"], ["updated_at", "2017-05-10 02:12:12.346194"]]
|
599
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
600
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
601
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
602
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
603
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
604
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
605
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
606
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "9a831f76326c26acf228"], ["name", "Ms. Eliezer Deckow"], ["oauth_token", "c7928c781451a2af1b5fcb05831a4a3c"], ["refresh_token", "736827c55e33e66b0d24c18b463132cd"], ["instance_url", "http://bartoletti.info/denis"], ["created_at", "2017-05-10 02:12:12.354237"], ["updated_at", "2017-05-10 02:12:12.354237"]]
|
607
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
608
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
609
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
610
|
+
Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
|
611
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"
|
612
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
613
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 1]]
|
614
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
615
|
+
Redirected to http://test.host/admin/salesforce/
|
616
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
|
617
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
618
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
619
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
620
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
621
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
622
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
623
|
+
[1m[35m (1.7ms)[0m rollback transaction
|
624
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
625
|
+
[1m[35m (2.1ms)[0m DELETE FROM "openstax_salesforce_users";
|
626
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
627
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
628
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
629
|
+
[1m[35m (0.0ms)[0m commit transaction
|
630
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
631
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
632
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
633
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
634
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
635
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
636
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
637
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
638
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 02:12:27.412557"], ["updated_at", "2017-05-10 02:12:27.412557"]]
|
639
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
640
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
641
|
+
Redirected to http://test.host/admin/salesforce/
|
642
|
+
Completed 302 Found in 19ms (ActiveRecord: 0.8ms)
|
643
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
644
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
645
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
646
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
647
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
648
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
649
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "34a3f48b017ac1ce992a"], ["name", "Estel Bechtelar"], ["oauth_token", "8f8bff064264267403cc609afaf3e1be"], ["refresh_token", "a81a2934fb40b4c577e8950c56e222b4"], ["instance_url", "http://runolfsdottir.com/khalid_rice"], ["created_at", "2017-05-10 02:12:27.912603"], ["updated_at", "2017-05-10 02:12:27.912603"]]
|
650
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
651
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
652
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "ed08496f9578eef1eaf7"], ["name", "Monica Huels"], ["oauth_token", "7f4af57d6d49c5d358cc3894574e5c62"], ["refresh_token", "84316e5f9dd3a6f69f6f998a74fa6986"], ["instance_url", "http://trantow.org/keenan_mayer"], ["created_at", "2017-05-10 02:12:27.914886"], ["updated_at", "2017-05-10 02:12:27.914886"]]
|
653
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
654
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
655
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
656
|
+
[1m[36mOpenStax::Salesforce::User Load (0.0ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m [["uid", "someuid"]]
|
657
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
658
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 02:12:27.922540"], ["updated_at", "2017-05-10 02:12:27.922540"]]
|
659
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
|
660
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
661
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
|
662
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
663
|
+
Redirected to http://test.host/admin/salesforce/
|
664
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.4ms)
|
665
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
666
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
667
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
668
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
669
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
670
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
671
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
672
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Miss Jason Harber"], ["oauth_token", "d03905d83c6d832a18767504b82cf0d8"], ["refresh_token", "212b9b6cfd681ef4ffee485aeed4db3a"], ["instance_url", "http://marvin.info/lue"], ["created_at", "2017-05-10 02:12:27.932160"], ["updated_at", "2017-05-10 02:12:27.932160"]]
|
673
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
674
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
675
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
676
|
+
[1m[35mOpenStax::Salesforce::User Load (0.0ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
677
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
678
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 02:12:27.939346"], ["id", 1]]
|
679
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
680
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
681
|
+
Redirected to http://test.host/admin/salesforce/
|
682
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
683
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
684
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
685
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
686
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
687
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
688
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
689
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "9254ef25320e80954169"], ["name", "Icie Braun"], ["oauth_token", "59a18c08639101aba8f03f24e6d79614"], ["refresh_token", "71b6cbf331a54b9697d92ad379c5262a"], ["instance_url", "http://hudsonlittle.org/abdullah"], ["created_at", "2017-05-10 02:12:27.946570"], ["updated_at", "2017-05-10 02:12:27.946570"]]
|
690
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
691
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
692
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
693
|
+
Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
|
694
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
695
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
696
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
697
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
698
|
+
Redirected to http://test.host/admin/salesforce/
|
699
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
700
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
701
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
702
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
703
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
704
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
705
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
706
|
+
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
707
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
708
|
+
[1m[35m (2.4ms)[0m DELETE FROM "openstax_salesforce_users";
|
709
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
710
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
711
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
712
|
+
[1m[35m (0.0ms)[0m commit transaction
|
713
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
714
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
715
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
716
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
717
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
718
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
719
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
720
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
721
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 02:13:48.938210"], ["updated_at", "2017-05-10 02:13:48.938210"]]
|
722
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
723
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
724
|
+
Redirected to http://test.host/admin/salesforce/
|
725
|
+
Completed 302 Found in 16ms (ActiveRecord: 0.6ms)
|
726
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
727
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
728
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
729
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
730
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
731
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
732
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "dabca930d509640e2c67"], ["name", "Madge Feeney"], ["oauth_token", "9907aae4d632235241aef8750f805045"], ["refresh_token", "fa68a40ad081d91e680d1011c621c281"], ["instance_url", "http://hodkiewiczgrant.org/mazie.bashirian"], ["created_at", "2017-05-10 02:13:49.440273"], ["updated_at", "2017-05-10 02:13:49.440273"]]
|
733
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
734
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
735
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "9e0a685990dea590f26b"], ["name", "Miss Naomi Kessler"], ["oauth_token", "327227d82aefb54839b4c5cf4ffdf583"], ["refresh_token", "1adc005d004f75010ccfe5a60f615209"], ["instance_url", "http://ullrichdicki.biz/rowan.renner"], ["created_at", "2017-05-10 02:13:49.442529"], ["updated_at", "2017-05-10 02:13:49.442529"]]
|
736
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
737
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
738
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
739
|
+
[1m[36mOpenStax::Salesforce::User Load (0.0ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m [["uid", "someuid"]]
|
740
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
741
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 02:13:49.448964"], ["updated_at", "2017-05-10 02:13:49.448964"]]
|
742
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
|
743
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
744
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
|
745
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
746
|
+
Redirected to http://test.host/admin/salesforce/
|
747
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.5ms)
|
748
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
749
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
750
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
751
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
752
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
753
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
754
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
755
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Miss Dashawn Daniel"], ["oauth_token", "4890725725b661d2726fed8c1bde64dc"], ["refresh_token", "e3aad72c851d9c2754b781d065bfb72f"], ["instance_url", "http://nicolas.com/fleta"], ["created_at", "2017-05-10 02:13:49.461246"], ["updated_at", "2017-05-10 02:13:49.461246"]]
|
756
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
757
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
758
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
759
|
+
[1m[35mOpenStax::Salesforce::User Load (0.0ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
760
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
761
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 02:13:49.469824"], ["id", 1]]
|
762
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
763
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
764
|
+
Redirected to http://test.host/admin/salesforce/
|
765
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
766
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
767
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
768
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
769
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
770
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
771
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
772
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "f46d144717d805744409"], ["name", "Phyllis Veum PhD"], ["oauth_token", "a5aa04df063815aa221ddbbe23d15459"], ["refresh_token", "8d269db9c20c68470a90208beec09185"], ["instance_url", "http://trantow.org/joaquin.koelpin"], ["created_at", "2017-05-10 02:13:49.478023"], ["updated_at", "2017-05-10 02:13:49.478023"]]
|
773
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
774
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
775
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
776
|
+
Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
|
777
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
778
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
779
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
780
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
781
|
+
Redirected to http://test.host/admin/salesforce/
|
782
|
+
Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
|
783
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
784
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
785
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
786
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
787
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
788
|
+
Processing by OpenStax::Salesforce::SettingsController#show as HTML
|
789
|
+
Filter chain halted as #<Proc:0x007f8f843db600@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
|
790
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
791
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
792
|
+
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
793
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
794
|
+
[1m[35m (2.4ms)[0m DELETE FROM "openstax_salesforce_users";
|
795
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
796
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
797
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
798
|
+
[1m[35m (0.1ms)[0m commit transaction
|
799
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
800
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
801
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
802
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
803
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
804
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
805
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
806
|
+
[1m[35m (0.0ms)[0m commit transaction
|
807
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
808
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
809
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
810
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
811
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
812
|
+
Filter chain halted as #<Proc:0x007fa0cb20f760@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
|
813
|
+
Completed 403 Forbidden in 1ms (ActiveRecord: 0.0ms)
|
814
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
815
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
816
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
817
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
818
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
819
|
+
Rendered text template (0.0ms)
|
820
|
+
Completed 200 OK in 7ms (Views: 6.9ms | ActiveRecord: 0.0ms)
|
821
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
822
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
823
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
824
|
+
[1m[35m (0.0ms)[0m commit transaction
|
825
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
826
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
827
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
828
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
829
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
830
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
831
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
832
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
833
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 02:14:09.431682"], ["updated_at", "2017-05-10 02:14:09.431682"]]
|
834
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
835
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
836
|
+
Redirected to http://test.host/admin/salesforce/
|
837
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.5ms)
|
838
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
839
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
840
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
841
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
842
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
843
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
844
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "8ead061896a4d2401827"], ["name", "Kaleb Koss"], ["oauth_token", "4775c7b7cae23a1ed2884b5aa814cc32"], ["refresh_token", "093e3d1ebe9fd6fa50a59f206f13edef"], ["instance_url", "http://sporer.biz/laurel.durgan"], ["created_at", "2017-05-10 02:14:10.009906"], ["updated_at", "2017-05-10 02:14:10.009906"]]
|
845
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
846
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
847
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "0c8af85db754ed593cda"], ["name", "Salvador Emard"], ["oauth_token", "ee7e98de69faef6189e4ce613ac20abb"], ["refresh_token", "8f920caeab5a2a0ae6df1a12bc565c28"], ["instance_url", "http://rowe.io/sharon"], ["created_at", "2017-05-10 02:14:10.012764"], ["updated_at", "2017-05-10 02:14:10.012764"]]
|
848
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
849
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
850
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
851
|
+
[1m[36mOpenStax::Salesforce::User Load (0.0ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m [["uid", "someuid"]]
|
852
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
853
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 02:14:10.020339"], ["updated_at", "2017-05-10 02:14:10.020339"]]
|
854
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
|
855
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
856
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
|
857
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
858
|
+
Redirected to http://test.host/admin/salesforce/
|
859
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
860
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
861
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
862
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
863
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
864
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
865
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
866
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
867
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Pattie Vandervort"], ["oauth_token", "41bfc880998d9aea13fb3063743fbae2"], ["refresh_token", "8db521b24bda2ccec6da1107b4ad8c09"], ["instance_url", "http://bogisich.info/levi"], ["created_at", "2017-05-10 02:14:10.028584"], ["updated_at", "2017-05-10 02:14:10.028584"]]
|
868
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
869
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
870
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
871
|
+
[1m[35mOpenStax::Salesforce::User Load (0.0ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
872
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
873
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 02:14:10.034712"], ["id", 1]]
|
874
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
875
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
876
|
+
Redirected to http://test.host/admin/salesforce/
|
877
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.3ms)
|
878
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
879
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
880
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
881
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
882
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
883
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
884
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "4143b761e1be9e4be3ec"], ["name", "Okey Paucek"], ["oauth_token", "17ded2e497951af25e22e9e17eb76e68"], ["refresh_token", "42e2d55b493e86c3d5df7b14dbba84dc"], ["instance_url", "http://mannkaulke.com/ryder.feil"], ["created_at", "2017-05-10 02:14:10.043405"], ["updated_at", "2017-05-10 02:14:10.043405"]]
|
885
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
886
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
887
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
888
|
+
Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
|
889
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
890
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
891
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
892
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
893
|
+
Redirected to http://test.host/admin/salesforce/
|
894
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
895
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
896
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
897
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
898
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
899
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
900
|
+
Processing by OpenStax::Salesforce::SettingsController#show as HTML
|
901
|
+
Filter chain halted as #<Proc:0x007fa0cb20f760@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
|
902
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
903
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
904
|
+
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
905
|
+
[1m[35m (0.0ms)[0m begin transaction
|
906
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
907
|
+
[1m[35m (0.0ms)[0m begin transaction
|
908
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
909
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
910
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
911
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
912
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
913
|
+
[1m[35m (0.0ms)[0m begin transaction
|
914
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
915
|
+
[1m[35m (0.0ms)[0m begin transaction
|
916
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
917
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
918
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
919
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
920
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
921
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
922
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
923
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
924
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
925
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
926
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
927
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
928
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
929
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
930
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
931
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
932
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
933
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
934
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
935
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
936
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
937
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
938
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
939
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
940
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
941
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
942
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
943
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
944
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
945
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
946
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
947
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
948
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
949
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
950
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
951
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
952
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
953
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
954
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
955
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
956
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
957
|
+
[1m[35m (0.0ms)[0m begin transaction
|
958
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
959
|
+
[1m[35m (0.0ms)[0m begin transaction
|
960
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
961
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
962
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
963
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
964
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
965
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
966
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
967
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
968
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
969
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
970
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
971
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
972
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
973
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
974
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
975
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
977
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
978
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
979
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
980
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
981
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
982
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
983
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
984
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
986
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
987
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
988
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
989
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
990
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
991
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
992
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
993
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
994
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
995
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
996
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
997
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
998
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
999
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1000
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1001
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1002
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1003
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1004
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1005
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1006
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1007
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1008
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1009
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1010
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1011
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1012
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1013
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1014
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1015
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1016
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1017
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1018
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1019
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1020
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1021
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1022
|
+
[1m[35m (2.3ms)[0m DELETE FROM "openstax_salesforce_users";
|
1023
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1024
|
+
[1m[35m (0.3ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
1025
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1026
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1027
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1028
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1029
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1030
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1031
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1032
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1033
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1034
|
+
[1m[35m (2.3ms)[0m DELETE FROM "openstax_salesforce_users";
|
1035
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1036
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
1037
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1038
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1039
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1040
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1041
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1042
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1043
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1044
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1045
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1046
|
+
[1m[35m (2.2ms)[0m DELETE FROM "openstax_salesforce_users";
|
1047
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1048
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
1049
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1050
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1051
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1052
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1053
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1054
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1055
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1056
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1058
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1059
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1060
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1061
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1062
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1063
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
1064
|
+
Filter chain halted as #<Proc:0x007fcd1c2e6418@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
|
1065
|
+
Completed 403 Forbidden in 1ms (ActiveRecord: 0.0ms)
|
1066
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1067
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1068
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1069
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1070
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
1071
|
+
Rendered text template (0.0ms)
|
1072
|
+
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
|
1073
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1074
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1075
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1076
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1077
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1078
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1079
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1080
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1081
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
1082
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
1083
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
1084
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
1085
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 02:26:05.581088"], ["updated_at", "2017-05-10 02:26:05.581088"]]
|
1086
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
1087
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
1088
|
+
Redirected to http://test.host/admin/salesforce/
|
1089
|
+
Completed 302 Found in 18ms (ActiveRecord: 0.6ms)
|
1090
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
1091
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1092
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1093
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1094
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1095
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1096
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "affa552e9b1342b15d56"], ["name", "Earnest Dibbert"], ["oauth_token", "596bb1c5cf36c9dbddfdbc6b61a3cbfe"], ["refresh_token", "60adbe689feb9106f631ef45ee0bb720"], ["instance_url", "http://okuneva.io/sandra.torp"], ["created_at", "2017-05-10 02:26:06.125986"], ["updated_at", "2017-05-10 02:26:06.125986"]]
|
1097
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
1098
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
1099
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "4aa1576b5755d16c4b14"], ["name", "Carli Bechtelar"], ["oauth_token", "3ee65417c7a192177bf19b65da1d5a46"], ["refresh_token", "a2b2a98508ed7ae3f8b274461f2ffeb1"], ["instance_url", "http://stanton.name/blair"], ["created_at", "2017-05-10 02:26:06.128193"], ["updated_at", "2017-05-10 02:26:06.128193"]]
|
1100
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1101
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
1102
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
1103
|
+
[1m[36mOpenStax::Salesforce::User Load (0.0ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m [["uid", "someuid"]]
|
1104
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
1105
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 02:26:06.134932"], ["updated_at", "2017-05-10 02:26:06.134932"]]
|
1106
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
|
1107
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
1108
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
|
1109
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1110
|
+
Redirected to http://test.host/admin/salesforce/
|
1111
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.6ms)
|
1112
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
1113
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
1114
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1115
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1116
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1117
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1118
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
1119
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Wilma Ryan"], ["oauth_token", "62d7a9a4b8b3d04345169bf14f97af39"], ["refresh_token", "58030714ac0515d3bbb37589ae7df5a1"], ["instance_url", "http://strackewilderman.co/pasquale.zemlak"], ["created_at", "2017-05-10 02:26:06.144780"], ["updated_at", "2017-05-10 02:26:06.144780"]]
|
1120
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
1121
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1122
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
1123
|
+
[1m[35mOpenStax::Salesforce::User Load (0.0ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
1124
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
1125
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 02:26:06.151018"], ["id", 1]]
|
1126
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
1127
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1128
|
+
Redirected to http://test.host/admin/salesforce/
|
1129
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
|
1130
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1131
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1132
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1133
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1134
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1135
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
1136
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "432cd9c4a8e3884cbf30"], ["name", "Hilda Labadie Jr."], ["oauth_token", "834cdcb12d9364949c6cf85b8b9c4df6"], ["refresh_token", "c7ed84484bd742705032f27984eb81de"], ["instance_url", "http://king.biz/caesar.abshire"], ["created_at", "2017-05-10 02:26:06.160083"], ["updated_at", "2017-05-10 02:26:06.160083"]]
|
1137
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
1138
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1139
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
1140
|
+
Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
|
1141
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
1142
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
1143
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
1144
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1145
|
+
Redirected to http://test.host/admin/salesforce/
|
1146
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1147
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
1148
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1149
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1150
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1151
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1152
|
+
Processing by OpenStax::Salesforce::SettingsController#show as HTML
|
1153
|
+
Filter chain halted as #<Proc:0x007fcd1c2e6418@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
|
1154
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
1155
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1156
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
1157
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1158
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1159
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1160
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1161
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1162
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1163
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1164
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1165
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1166
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1167
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1168
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1169
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1170
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1171
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1172
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1173
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1174
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1175
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1176
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1177
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1178
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1179
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1180
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1181
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1182
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1183
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1184
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1185
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1186
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1187
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1188
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1189
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1190
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1191
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1192
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1193
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1194
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1195
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1196
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1197
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1198
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1199
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1200
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1201
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1202
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1203
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1204
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1205
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1206
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1207
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1208
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1209
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1210
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1211
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1212
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1213
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1214
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1215
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1216
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1217
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1218
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1219
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1220
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1221
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1222
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1223
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1224
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1225
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1226
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1227
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1228
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1229
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1230
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1231
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1232
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1233
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1234
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1235
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1236
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1237
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1238
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1239
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1240
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1241
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1242
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1243
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1244
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1245
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1246
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1247
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1248
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1249
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1250
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1251
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1252
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1253
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1254
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1255
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1256
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1257
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1258
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1259
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1260
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1261
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1262
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1263
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1264
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1265
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1266
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1267
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1268
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1269
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1270
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1271
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1272
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1273
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1274
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1275
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1276
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1277
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1278
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1279
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1280
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1281
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1282
|
+
[1m[35m (2.3ms)[0m DELETE FROM "openstax_salesforce_users";
|
1283
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1284
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
1285
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1286
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1287
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1288
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1289
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1290
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1291
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1292
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1293
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1294
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1295
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1296
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1297
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1298
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1299
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
1300
|
+
Filter chain halted as #<Proc:0x007fef241ae620@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
|
1301
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
1302
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1303
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1304
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1305
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1306
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
1307
|
+
Rendered text template (0.0ms)
|
1308
|
+
Completed 200 OK in 10ms (Views: 9.5ms | ActiveRecord: 0.0ms)
|
1309
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1310
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1311
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1312
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1313
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1314
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1315
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1316
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1317
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
1318
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
1319
|
+
[1m[35mOpenStax::Salesforce::User Load (0.2ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
1320
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
1321
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 02:28:06.377100"], ["updated_at", "2017-05-10 02:28:06.377100"]]
|
1322
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
1323
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
1324
|
+
Redirected to http://test.host/admin/salesforce/
|
1325
|
+
Completed 302 Found in 17ms (ActiveRecord: 0.6ms)
|
1326
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
1327
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1328
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1329
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1330
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1331
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1332
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "2b31eb61bc92c502ef04"], ["name", "Ruthie Moen"], ["oauth_token", "b907aa3d3b58e4eb86bd35457cf1144d"], ["refresh_token", "e68134c8f0c69716703fc01a62b668b6"], ["instance_url", "http://boyerpacocha.co/albert_paucek"], ["created_at", "2017-05-10 02:28:06.923834"], ["updated_at", "2017-05-10 02:28:06.923834"]]
|
1333
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
1334
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
1335
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "72a29ee3a876536ba924"], ["name", "Leta Morissette"], ["oauth_token", "1cb117cff3f2f7fa63838edec3f385a1"], ["refresh_token", "50fa65dac09a6c5af31acd2e72d38262"], ["instance_url", "http://friesen.biz/jeffery_harber"], ["created_at", "2017-05-10 02:28:06.926581"], ["updated_at", "2017-05-10 02:28:06.926581"]]
|
1336
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1337
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
1338
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
1339
|
+
[1m[36mOpenStax::Salesforce::User Load (0.0ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m [["uid", "someuid"]]
|
1340
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
1341
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 02:28:06.933617"], ["updated_at", "2017-05-10 02:28:06.933617"]]
|
1342
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
|
1343
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
1344
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
|
1345
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1346
|
+
Redirected to http://test.host/admin/salesforce/
|
1347
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.4ms)
|
1348
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
1349
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
1350
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1351
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1352
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1353
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1354
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
1355
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Cleta Turcotte"], ["oauth_token", "fd2c21629e64555ab56f71324da3eb78"], ["refresh_token", "ccef7c73a7cdca0512ba828e0c297a70"], ["instance_url", "http://greenfelderemmerich.biz/hyman_bashirian"], ["created_at", "2017-05-10 02:28:06.942092"], ["updated_at", "2017-05-10 02:28:06.942092"]]
|
1356
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
1357
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1358
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
1359
|
+
[1m[35mOpenStax::Salesforce::User Load (0.0ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
1360
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
1361
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 02:28:06.948345"], ["id", 1]]
|
1362
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
1363
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
1364
|
+
Redirected to http://test.host/admin/salesforce/
|
1365
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
1366
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1367
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1368
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1369
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1370
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1371
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
1372
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "0af08ec51837f2987b5d"], ["name", "Makayla Marquardt DVM"], ["oauth_token", "c40c89a2f1453dd892018d0053c0d626"], ["refresh_token", "4ec666e38d8adf1c6d8523dba4f50b2f"], ["instance_url", "http://rowenolan.io/adelia"], ["created_at", "2017-05-10 02:28:06.955971"], ["updated_at", "2017-05-10 02:28:06.955971"]]
|
1373
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
1374
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1375
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
1376
|
+
Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
|
1377
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
1378
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
1379
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
1380
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
1381
|
+
Redirected to http://test.host/admin/salesforce/
|
1382
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.2ms)
|
1383
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
1384
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1385
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1386
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1387
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1388
|
+
Processing by OpenStax::Salesforce::SettingsController#show as HTML
|
1389
|
+
Filter chain halted as #<Proc:0x007fef241ae620@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
|
1390
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
1391
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1392
|
+
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
1393
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1394
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1395
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1396
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1397
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1398
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1399
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1400
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1401
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1402
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1403
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1404
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1405
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1406
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1407
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1408
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1409
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1410
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1411
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1412
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1413
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1414
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1415
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1416
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1417
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1418
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1419
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1420
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1421
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1422
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1423
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1424
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1425
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1426
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1427
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1428
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1429
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1430
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1431
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1432
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1433
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1434
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1435
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1436
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1437
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1438
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1439
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1440
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1441
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1442
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1443
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1444
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1445
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1446
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1447
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1448
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1449
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1450
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1451
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1452
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1453
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1454
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1455
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1456
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1457
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1458
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1459
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1460
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1461
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1462
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1463
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1464
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1465
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1466
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1467
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1468
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1469
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1470
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1471
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1472
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1473
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1474
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1475
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1476
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1477
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1478
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1479
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1480
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1481
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1482
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1483
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1484
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1485
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1486
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1487
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1488
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1489
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1490
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1491
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1492
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1493
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1494
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1495
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1496
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1497
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1498
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1499
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1500
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1501
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1502
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1503
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1504
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1505
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1506
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1507
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1508
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1509
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1510
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1511
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1512
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1513
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1514
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1515
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1516
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1517
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1518
|
+
[1m[35m (1.0ms)[0m DELETE FROM "openstax_salesforce_users";
|
1519
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1520
|
+
[1m[35m (0.4ms)[0m DELETE FROM sqlite_sequence where name = 'openstax_salesforce_users';
|
1521
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1522
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1523
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1524
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1525
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1526
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1527
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1528
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1529
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1530
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1531
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1532
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1533
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1534
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1535
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
1536
|
+
Filter chain halted as #<Proc:0x007ffa1f069610@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
|
1537
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
1538
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1539
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1540
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1541
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1542
|
+
Processing by OpenStax::Salesforce::ApplicationController#index as HTML
|
1543
|
+
Rendered text template (0.0ms)
|
1544
|
+
Completed 200 OK in 10ms (Views: 9.4ms | ActiveRecord: 0.0ms)
|
1545
|
+
[1m[36m (0.1ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1546
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1547
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1548
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1549
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1550
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1551
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1552
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1553
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
1554
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
1555
|
+
[1m[35mOpenStax::Salesforce::User Load (0.3ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
1556
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
1557
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 02:58:51.314240"], ["updated_at", "2017-05-10 02:58:51.314240"]]
|
1558
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
1559
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_2
|
1560
|
+
Redirected to http://test.host/admin/salesforce/
|
1561
|
+
Completed 302 Found in 19ms (ActiveRecord: 0.8ms)
|
1562
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
1563
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1564
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1565
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1566
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1567
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1568
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "a967fa0aa50e5670a084"], ["name", "Jacinto Gutmann"], ["oauth_token", "98cb51d8101e5f0dc9457bdeefb2fae4"], ["refresh_token", "6b8cecf419421812d71d012b2297e211"], ["instance_url", "http://braunpfeffer.org/lance"], ["created_at", "2017-05-10 02:58:51.838137"], ["updated_at", "2017-05-10 02:58:51.838137"]]
|
1569
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1570
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_2[0m
|
1571
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["uid", "ffad5d1b101ab903fc4c"], ["name", "Ms. Marques Ortiz"], ["oauth_token", "7d27ba4696c095774877d56c51495635"], ["refresh_token", "c744b6abde8d3bf5d6134c7e9a0537db"], ["instance_url", "http://trantow.io/anthony"], ["created_at", "2017-05-10 02:58:51.841406"], ["updated_at", "2017-05-10 02:58:51.841406"]]
|
1572
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1573
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
1574
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
1575
|
+
[1m[36mOpenStax::Salesforce::User Load (0.0ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1[0m [["uid", "someuid"]]
|
1576
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
1577
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["created_at", "2017-05-10 02:58:51.849878"], ["updated_at", "2017-05-10 02:58:51.849878"]]
|
1578
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 3
|
1579
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
1580
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? [["id", 2]]
|
1581
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1582
|
+
Redirected to http://test.host/admin/salesforce/
|
1583
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.5ms)
|
1584
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
1585
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
1586
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1587
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1588
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1589
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1590
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
1591
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "someuid"], ["name", "Mrs. Peter Armstrong"], ["oauth_token", "8828ac642a078e664d63468354f2ee66"], ["refresh_token", "530fefff2146e65204290c230bbf9155"], ["instance_url", "http://cole.com/shanel"], ["created_at", "2017-05-10 02:58:51.859878"], ["updated_at", "2017-05-10 02:58:51.859878"]]
|
1592
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
1593
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1594
|
+
Processing by OpenStax::Salesforce::SettingsController#callback as HTML
|
1595
|
+
[1m[35mOpenStax::Salesforce::User Load (0.0ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."uid" = ? ORDER BY "openstax_salesforce_users"."id" ASC LIMIT 1 [["uid", "someuid"]]
|
1596
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_2[0m
|
1597
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "openstax_salesforce_users" SET "name" = ?, "oauth_token" = ?, "refresh_token" = ?, "instance_url" = ?, "updated_at" = ? WHERE "openstax_salesforce_users"."id" = ? [["name", "Bobby Thomas"], ["oauth_token", "oauth_token"], ["refresh_token", "refresh_token"], ["instance_url", "http://blah.com/"], ["updated_at", "2017-05-10 02:58:51.865964"], ["id", 1]]
|
1598
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1[0m
|
1599
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1600
|
+
Redirected to http://test.host/admin/salesforce/
|
1601
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.3ms)
|
1602
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ? LIMIT 1[0m [["id", 1]]
|
1603
|
+
[1m[35m (0.2ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1604
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1605
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1606
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1607
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_2
|
1608
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "openstax_salesforce_users" ("uid", "name", "oauth_token", "refresh_token", "instance_url", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["uid", "57cf3f0edc3571616957"], ["name", "Miss Ulices Anderson"], ["oauth_token", "63a6720d6df62f4f6f12427aeb1a4ec0"], ["refresh_token", "bd555e0086ea21517627295941ba2328"], ["instance_url", "http://fritschlockman.org/federico"], ["created_at", "2017-05-10 02:58:51.876827"], ["updated_at", "2017-05-10 02:58:51.876827"]]
|
1609
|
+
[1m[35mOpenStax::Salesforce::User Load (0.1ms)[0m SELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" != 1
|
1610
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_2[0m
|
1611
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "openstax_salesforce_users"
|
1612
|
+
Processing by OpenStax::Salesforce::SettingsController#destroy_user as HTML
|
1613
|
+
[1m[36mOpenStax::Salesforce::User Load (0.1ms)[0m [1mSELECT "openstax_salesforce_users".* FROM "openstax_salesforce_users"[0m
|
1614
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_2
|
1615
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "openstax_salesforce_users" WHERE "openstax_salesforce_users"."id" = ?[0m [["id", 1]]
|
1616
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_2
|
1617
|
+
Redirected to http://test.host/admin/salesforce/
|
1618
|
+
Completed 302 Found in 3ms (ActiveRecord: 0.3ms)
|
1619
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "openstax_salesforce_users"[0m
|
1620
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1621
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1622
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1623
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1624
|
+
Processing by OpenStax::Salesforce::SettingsController#show as HTML
|
1625
|
+
Filter chain halted as #<Proc:0x007ffa1f069610@/Users/jps/dev/openstax/openstax_salesforce/app/controllers/openstax/salesforce/application_controller.rb:5> rendered or redirected
|
1626
|
+
Completed 403 Forbidden in 0ms (ActiveRecord: 0.0ms)
|
1627
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1628
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1629
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1630
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1631
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1632
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1633
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1634
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1635
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1636
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1637
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1638
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1639
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1640
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1641
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1642
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1643
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1644
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1645
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1646
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1647
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1648
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1649
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1650
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1651
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1652
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1653
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1654
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1655
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1656
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1657
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1658
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1659
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1660
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1661
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1662
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1663
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1664
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1665
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1666
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1667
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1668
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1669
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1670
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1671
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1672
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1673
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1674
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1675
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1676
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1677
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1678
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1679
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1680
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1681
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1682
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1683
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1684
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1685
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1686
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1687
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1688
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1689
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1690
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1691
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1692
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1693
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1694
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1695
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1696
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1697
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1698
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1699
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1700
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1701
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1702
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1703
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1704
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1705
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1706
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1707
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1708
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1709
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1710
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1711
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1712
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1713
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1714
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1715
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1717
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1718
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1719
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1720
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1721
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1722
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1723
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1724
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1725
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1726
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1727
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1728
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1729
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1730
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1731
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1732
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1733
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1734
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1735
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1736
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1737
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1738
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1739
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1740
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1741
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1742
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1743
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1744
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1745
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1746
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1747
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1748
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1749
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1750
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1751
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1752
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|