invitational 1.4.3 → 1.5.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 +21 -21
- data/app/modules/invitational/invitation_core.rb +1 -1
- data/lib/invitational/version.rb +1 -1
- data/spec/internal/db/combustion_test.sqlite +0 -0
- data/spec/internal/log/test.log +1440 -0
- data/spec/invitational/models/invitation_spec.rb +9 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90b14930ffb9ebebb18a0da8bd647bd0434dff80b80a965a379f95794f8aa905
|
4
|
+
data.tar.gz: 8433d9fb558307f9ffb50d8cf8bc2f77da79b01eac40f5504fb711d1226ef4e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69f965c0e65204e0d2cae79be1f386ca4a48e5d1a93c0de06e6fc53d84820051da517c4b66ed892494743b7aafb70d9861ab81dbce998d99e096f26df90ff888
|
7
|
+
data.tar.gz: 1453db72a6e380227ab83e8c8d2bae5e81e09f2be8d8da3a618c8b58c3e0a6e3ca54ea0bc83bc4670b40ba0f2c58d96dfd3cbb97689b30968105e591e6d90c25
|
data/README.md
CHANGED
@@ -44,11 +44,11 @@ rake db:migrate
|
|
44
44
|
Invitational has three types of invitations:
|
45
45
|
|
46
46
|
## Entity
|
47
|
-
An `Entity` invitation, as the name imples, is for a specific entity within the system. For example, in a contract management system, a user might be invited to a
|
47
|
+
An `Entity` invitation, as the name imples, is for a specific entity within the system. For example, in a contract management system, a user might be invited to a
|
48
48
|
contract in the sytem with the role of 'Recipient' . They might then be able to read and to mark that specific contract as signed, but not access any other contracts in the system.
|
49
49
|
|
50
50
|
## System
|
51
|
-
A `System` invitation is not related to a specific entity, but to the system overall. For example, in the contract management system mentioned above, another user might be
|
51
|
+
A `System` invitation is not related to a specific entity, but to the system overall. For example, in the contract management system mentioned above, another user might be
|
52
52
|
invited to the sytem with the role of 'contract_manager'. They might then be able to manage *all* contracts within the system, but not have authority to invite other users.
|
53
53
|
|
54
54
|
## UberAdmin
|
@@ -58,9 +58,9 @@ effectively grants the associated user access to all parts of the system, as eve
|
|
58
58
|
# Implementation
|
59
59
|
|
60
60
|
## invited_to
|
61
|
-
The generator will setup your identity model (`User`) to include the `Invitational::InvitedTo` module. As part of the Invitational
|
62
|
-
functionality it provides, the `invited_to` method is added to your user class along with the foundational has_many relationship to
|
63
|
-
Invitation. This method accepts a list of the entity classes (as symbols)
|
61
|
+
The generator will setup your identity model (`User`) to include the `Invitational::InvitedTo` module. As part of the Invitational
|
62
|
+
functionality it provides, the `invited_to` method is added to your user class along with the foundational has_many relationship to
|
63
|
+
Invitation. This method accepts a list of the entity classes (as symbols)
|
64
64
|
to which a user can be invited:
|
65
65
|
|
66
66
|
```
|
@@ -82,7 +82,7 @@ To configure an entity as able to accept invitations, use the `make_invitable` g
|
|
82
82
|
rails generate invitational:make_invitable MODEL, ROLE1, ROLE2...
|
83
83
|
```
|
84
84
|
|
85
|
-
Here, replace MODEL with the name of the entity class you are making invitable. Replace, ROLE1, ROLE2 with the
|
85
|
+
Here, replace MODEL with the name of the entity class you are making invitable. Replace, ROLE1, ROLE2 with the
|
86
86
|
list of roles which are valid to this model, for example User, Admin. The generator will include the `Invitational::AcceptsInvitationAs`
|
87
87
|
module, and will pre-populate the call to the `accepts_invitation_as` method with the list of roles supplied:
|
88
88
|
|
@@ -101,7 +101,7 @@ entity.admins
|
|
101
101
|
You can then add this entity to the list of invitable classes on the `invited_to` call in your identity class.
|
102
102
|
|
103
103
|
## accepts_system_roles_as
|
104
|
-
System roles are defined in the `Invitation` class. Simply add the list of system roles to the class method that has been defined for you by the
|
104
|
+
System roles are defined in the `Invitation` class. Simply add the list of system roles to the class method that has been defined for you by the
|
105
105
|
generator:
|
106
106
|
|
107
107
|
```
|
@@ -139,8 +139,8 @@ To create an invitation to a system role:
|
|
139
139
|
Invitation.invite_system_user "foo@bar.com", :contract_manager
|
140
140
|
```
|
141
141
|
|
142
|
-
The method will return the Invitation. In the event that the email has already been invited to that entity or to the system role,
|
143
|
-
an `Invitational::AlreadyInvitedError` will be raised. If the passed role is not valid for the given entity (based on its
|
142
|
+
The method will return the Invitation. In the event that the email has already been invited to that entity or to the system role,
|
143
|
+
an `Invitational::AlreadyInvitedError` will be raised. If the passed role is not valid for the given entity (based on its
|
144
144
|
`accepts_invitation_as` call) or not a valid system role, an `Invitational::InvalidRoleError` will be raised.
|
145
145
|
|
146
146
|
|
@@ -172,14 +172,14 @@ Invitations can be claimed by passing their hash and the claiming user to the `c
|
|
172
172
|
Invitation.claim claim_hash, current_user
|
173
173
|
```
|
174
174
|
|
175
|
-
The method will return the claimed Invitation. In the event that the hash does match an existing invitation,
|
176
|
-
an `Invitational::InvitationNotFoundError` will be raised. If the hash is found, but the invitation has already
|
175
|
+
The method will return the claimed Invitation. In the event that the hash does match an existing invitation,
|
176
|
+
an `Invitational::InvitationNotFoundError` will be raised. If the hash is found, but the invitation has already
|
177
177
|
been claimed, an `Invitational::AlreadyClaimedError` will be raised.
|
178
178
|
|
179
179
|
## Checking for Invitations
|
180
180
|
|
181
|
-
The `invited_to?` instance method that Invitational adds to your identity class provides an easy interface to
|
182
|
-
check if a user has an accepted invitation to a specific entity. Your query can be general (invited in any role) or
|
181
|
+
The `invited_to?` instance method that Invitational adds to your identity class provides an easy interface to
|
182
|
+
check if a user has an accepted invitation to a specific entity. Your query can be general (invited in any role) or
|
183
183
|
specifically for a supplied role:
|
184
184
|
|
185
185
|
```
|
@@ -203,8 +203,8 @@ current_user.invited_to_system? :contract_manager
|
|
203
203
|
## UberAdmin
|
204
204
|
|
205
205
|
Invitational provides a special, system-wide, invitation and role called `:uberadmin`. A user that has
|
206
|
-
claimed an UberAdmin invitation will always indicate they have been invited to a given role for a given entity.
|
207
|
-
In other words, every call to `invited_to?` or `invited_to_system?` for an UberAdmin will return true.
|
206
|
+
claimed an UberAdmin invitation will always indicate they have been invited to a given role for a given entity.
|
207
|
+
In other words, every call to `invited_to?` or `invited_to_system?` for an UberAdmin will return true.
|
208
208
|
|
209
209
|
To create an UberAdmin invitation:
|
210
210
|
|
@@ -221,7 +221,7 @@ Invitation.invite_uberadmin current_user
|
|
221
221
|
|
222
222
|
The process to claim an UberAdmin invitation is the same as any other invitation.
|
223
223
|
|
224
|
-
To make getting started with a brand new Invitational based environment easier, a rake task is provided to
|
224
|
+
To make getting started with a brand new Invitational based environment easier, a rake task is provided to
|
225
225
|
create a new UberAdmin invitation.
|
226
226
|
|
227
227
|
```
|
@@ -239,8 +239,8 @@ current_user.uberadmin?
|
|
239
239
|
## CanCanCan
|
240
240
|
|
241
241
|
Invitational adds a new condition key to CanCanCan's abilities, `:role`. This allows you to define the role(s)
|
242
|
-
that a user must be invited into for a specific entity in order to perform the specified action. For example,
|
243
|
-
to indicate that a user invited to a Parent entity in an admin role can manage the parent entity, but a user
|
242
|
+
that a user must be invited into for a specific entity in order to perform the specified action. For example,
|
243
|
+
to indicate that a user invited to a Parent entity in an admin role can manage the parent entity, but a user
|
244
244
|
invited to a staff role can only read the parent entity, in your `ability.rb` file:
|
245
245
|
|
246
246
|
```
|
@@ -250,7 +250,7 @@ cannot :edit, Parent, roles: [:consultant]
|
|
250
250
|
```
|
251
251
|
|
252
252
|
### Wildcard Roles
|
253
|
-
Often is is neccessary to indicate that a user invited in any role has a given permission. For example, to
|
253
|
+
Often is is neccessary to indicate that a user invited in any role has a given permission. For example, to
|
254
254
|
indicate that any user invited to a Parent entity can view that Parent, regardless of their role:
|
255
255
|
|
256
256
|
```
|
@@ -262,13 +262,13 @@ can :view, Parent, roles: [:*]
|
|
262
262
|
To specify system roles for a given ability, utilize the `system_roles` method inside a `roles:` array:
|
263
263
|
|
264
264
|
```
|
265
|
-
can :manage, contract, roles: [system_roles(:contract_manager, :sales_manager)]
|
265
|
+
can :manage, contract, roles: [system_roles([:contract_manager, :sales_manager])]
|
266
266
|
```
|
267
267
|
|
268
268
|
|
269
269
|
### Invitation to a parent (or other attribute)
|
270
270
|
To idenfitify abilities based upon invitations to a parent entity or other attribute, Invitational provides an
|
271
|
-
```attribute_roles``` method. The first argument is symbol indicating the attribute name of the parent entity,
|
271
|
+
```attribute_roles``` method. The first argument is symbol indicating the attribute name of the parent entity,
|
272
272
|
the second is an array of roles in which the user must be invited to the parent entity:
|
273
273
|
|
274
274
|
```
|
data/lib/invitational/version.rb
CHANGED
Binary file
|
data/spec/internal/log/test.log
CHANGED
@@ -37681,3 +37681,1443 @@ Migrating to CreateInvitations (20130528220144)
|
|
37681
37681
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37682
37682
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
37683
37683
|
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
37684
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
37685
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
37686
|
+
[1m[35m (0.0ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
37687
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE TABLE "users" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
37688
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "grandparents"[0m
|
37689
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "grandparents" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
37690
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "entities"[0m
|
37691
|
+
[1m[35m (1.7ms)[0m [1m[35mCREATE TABLE "entities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "grandparent_id" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
37692
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "children"[0m
|
37693
|
+
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "children" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "entity_id" integer, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
37694
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "other_entities"[0m
|
37695
|
+
[1m[35m (2.5ms)[0m [1m[35mCREATE TABLE "other_entities" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
37696
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "system_things"[0m
|
37697
|
+
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "system_things" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
37698
|
+
[1m[35m (2.2ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" varchar NOT NULL PRIMARY KEY, "value" varchar, "created_at" datetime(6) NOT NULL, "updated_at" datetime(6) NOT NULL)[0m
|
37699
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
37700
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
37701
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "test"], ["created_at", "2021-03-02 01:12:45.034325"], ["updated_at", "2021-03-02 01:12:45.034325"]]
|
37702
|
+
[1m[36mTRANSACTION (1.4ms)[0m [1m[36mcommit transaction[0m
|
37703
|
+
[1m[35m (1.8ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL PRIMARY KEY)[0m
|
37704
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
37705
|
+
Migrating to CreateInvitations (20130528220144)
|
37706
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
37707
|
+
[1m[35m (0.2ms)[0m [1m[35mCREATE TABLE "invitations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "role" varchar, "invitable_type" varchar, "invitable_id" integer, "user_id" integer, "date_sent" datetime, "date_accepted" datetime, "claim_hash" varchar, "created_at" datetime, "updated_at" datetime)[0m
|
37708
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_invitations_on_invitable_id" ON "invitations" ("invitable_id")[0m
|
37709
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_invitations_on_invitable_type" ON "invitations" ("invitable_type")[0m
|
37710
|
+
[1m[35m (0.1ms)[0m [1m[35mCREATE INDEX "index_invitations_on_user_id" ON "invitations" ("user_id")[0m
|
37711
|
+
[1m[36mActiveRecord::SchemaMigration Create (0.1ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130528220144"]]
|
37712
|
+
[1m[36mTRANSACTION (1.9ms)[0m [1m[36mcommit transaction[0m
|
37713
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
37714
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
37715
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
37716
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37717
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.225776"], ["updated_at", "2021-03-02 01:12:45.225776"]]
|
37718
|
+
[1m[36mTRANSACTION (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37719
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37720
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.235792"], ["updated_at", "2021-03-02 01:12:45.235792"]]
|
37721
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37722
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37723
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.258901"], ["date_accepted", "2021-03-02 01:12:45.237762"], ["claim_hash", "5TKG0Zel8aFTO2Ize4WQxdnLeNPuXVOxYVundQGW"], ["created_at", "2021-03-02 01:12:45.258861"], ["updated_at", "2021-03-02 01:12:45.258861"]]
|
37724
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37725
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37726
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.260118"], ["updated_at", "2021-03-02 01:12:45.260118"]]
|
37727
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37728
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37729
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.260906"], ["updated_at", "2021-03-02 01:12:45.260906"]]
|
37730
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37731
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37732
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.261836"], ["date_accepted", "2021-03-02 01:12:45.261537"], ["claim_hash", "LIw2RH60rAW8dqjJQvHn6x4tMin2iI7HqncAZXih"], ["created_at", "2021-03-02 01:12:45.261817"], ["updated_at", "2021-03-02 01:12:45.261817"]]
|
37733
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37734
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37735
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-03-02 01:12:45.262736"], ["updated_at", "2021-03-02 01:12:45.262736"]]
|
37736
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37737
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37738
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-03-02 01:12:45.267710"], ["updated_at", "2021-03-02 01:12:45.267710"]]
|
37739
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37740
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37741
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-03-02 01:12:45.272814"], ["id", 2]]
|
37742
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37743
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37744
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-03-02 01:12:45.274145"], ["date_accepted", "2021-03-02 01:12:45.273760"], ["claim_hash", "IMyRJISSUFqzRoj6aw1BleCB1wGOsJ0TjVcN9qCI"], ["created_at", "2021-03-02 01:12:45.274123"], ["updated_at", "2021-03-02 01:12:45.274123"]]
|
37745
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37746
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37747
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.275155"], ["updated_at", "2021-03-02 01:12:45.275155"]]
|
37748
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37749
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37750
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-03-02 01:12:45.275988"], ["claim_hash", "4ZKMOq78Dp14ABnX6yxvWetTljHaXnQOG5qolcvR"], ["created_at", "2021-03-02 01:12:45.275968"], ["updated_at", "2021-03-02 01:12:45.275968"]]
|
37751
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37752
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37753
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.276817"], ["updated_at", "2021-03-02 01:12:45.276817"]]
|
37754
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37755
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37756
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-03-02 01:12:45.277644"], ["claim_hash", "lFB6u5ekWfaU5YpOP20MkOIeKUc0IWcJCCICzmRL"], ["created_at", "2021-03-02 01:12:45.277626"], ["updated_at", "2021-03-02 01:12:45.277626"]]
|
37757
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37758
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
37759
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
37760
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
37761
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
37762
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
37763
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
37764
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
37765
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
37766
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
37767
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
37768
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
37769
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
37770
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37771
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.287160"], ["updated_at", "2021-03-02 01:12:45.287160"]]
|
37772
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37773
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37774
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.288126"], ["updated_at", "2021-03-02 01:12:45.288126"]]
|
37775
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37776
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37777
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.289091"], ["date_accepted", "2021-03-02 01:12:45.288752"], ["claim_hash", "cqKdzXR3JW79FxAOEoR8kQjFp2jl6yq79TuFTviy"], ["created_at", "2021-03-02 01:12:45.289071"], ["updated_at", "2021-03-02 01:12:45.289071"]]
|
37778
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37779
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37780
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.290027"], ["updated_at", "2021-03-02 01:12:45.290027"]]
|
37781
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37782
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37783
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.290830"], ["updated_at", "2021-03-02 01:12:45.290830"]]
|
37784
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37785
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37786
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.291751"], ["date_accepted", "2021-03-02 01:12:45.291438"], ["claim_hash", "Rb9LMD9xzd5oWCxyDDqfsOo3a69j1MVzEiFg0UYS"], ["created_at", "2021-03-02 01:12:45.291732"], ["updated_at", "2021-03-02 01:12:45.291732"]]
|
37787
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37788
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37789
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-03-02 01:12:45.292612"], ["updated_at", "2021-03-02 01:12:45.292612"]]
|
37790
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37791
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37792
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-03-02 01:12:45.293347"], ["updated_at", "2021-03-02 01:12:45.293347"]]
|
37793
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37794
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37795
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-03-02 01:12:45.294320"], ["id", 2]]
|
37796
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37797
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37798
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-03-02 01:12:45.295242"], ["date_accepted", "2021-03-02 01:12:45.294935"], ["claim_hash", "n36JoIaoeSL6CiFGccQw0re5DHrpvp1luOqI4pd8"], ["created_at", "2021-03-02 01:12:45.295224"], ["updated_at", "2021-03-02 01:12:45.295224"]]
|
37799
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37800
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37801
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.296122"], ["updated_at", "2021-03-02 01:12:45.296122"]]
|
37802
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37803
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37804
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-03-02 01:12:45.296932"], ["claim_hash", "mBWlHNidh30TmnbrC1L1mMnlH5Sf7EWCHZEe9AK3"], ["created_at", "2021-03-02 01:12:45.296914"], ["updated_at", "2021-03-02 01:12:45.296914"]]
|
37805
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37806
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37807
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.297829"], ["updated_at", "2021-03-02 01:12:45.297829"]]
|
37808
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37809
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37810
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-03-02 01:12:45.298886"], ["claim_hash", "9UiVWh90D2l5tOsRiibhIimSDtLURhKIUDd790rB"], ["created_at", "2021-03-02 01:12:45.298862"], ["updated_at", "2021-03-02 01:12:45.298862"]]
|
37811
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37812
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
37813
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
37814
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 2], ["LIMIT", 1]]
|
37815
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
37816
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
37817
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 2], ["LIMIT", 1]]
|
37818
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
37819
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
37820
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 2], ["LIMIT", 1]]
|
37821
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
37822
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
37823
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
37824
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
37825
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
37826
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
37827
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37828
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.305898"], ["updated_at", "2021-03-02 01:12:45.305898"]]
|
37829
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37830
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37831
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.306909"], ["updated_at", "2021-03-02 01:12:45.306909"]]
|
37832
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37833
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37834
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.307929"], ["date_accepted", "2021-03-02 01:12:45.307586"], ["claim_hash", "EWnhzrGe9sxkm15vsEeUew5LZ8umja2JeZ6VS3sx"], ["created_at", "2021-03-02 01:12:45.307909"], ["updated_at", "2021-03-02 01:12:45.307909"]]
|
37835
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37836
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37837
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.308894"], ["updated_at", "2021-03-02 01:12:45.308894"]]
|
37838
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37839
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37840
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.309653"], ["updated_at", "2021-03-02 01:12:45.309653"]]
|
37841
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37842
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37843
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.310572"], ["date_accepted", "2021-03-02 01:12:45.310269"], ["claim_hash", "aZJ3xlJZIOn8oXOx13p86y2xVbpYSXpRtdPwfENw"], ["created_at", "2021-03-02 01:12:45.310554"], ["updated_at", "2021-03-02 01:12:45.310554"]]
|
37844
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37845
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37846
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-03-02 01:12:45.311475"], ["updated_at", "2021-03-02 01:12:45.311475"]]
|
37847
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37848
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37849
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-03-02 01:12:45.312239"], ["updated_at", "2021-03-02 01:12:45.312239"]]
|
37850
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37851
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37852
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-03-02 01:12:45.313303"], ["id", 2]]
|
37853
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37854
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37855
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-03-02 01:12:45.314622"], ["date_accepted", "2021-03-02 01:12:45.314186"], ["claim_hash", "HoNnvw3rSHO2uI4YHSFZ0W0HQkob0Yh70cVfss2Z"], ["created_at", "2021-03-02 01:12:45.314599"], ["updated_at", "2021-03-02 01:12:45.314599"]]
|
37856
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37857
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37858
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.315687"], ["updated_at", "2021-03-02 01:12:45.315687"]]
|
37859
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37860
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37861
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-03-02 01:12:45.316556"], ["claim_hash", "uzmvTfD5Gmu0YTwhlozSwmW0pAXdeysTUHuI4vsf"], ["created_at", "2021-03-02 01:12:45.316537"], ["updated_at", "2021-03-02 01:12:45.316537"]]
|
37862
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37863
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37864
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.317393"], ["updated_at", "2021-03-02 01:12:45.317393"]]
|
37865
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37866
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37867
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-03-02 01:12:45.318194"], ["claim_hash", "41huWlyw5gfcPbyIa2pFrPN9732yRQwp4QIDEO1R"], ["created_at", "2021-03-02 01:12:45.318176"], ["updated_at", "2021-03-02 01:12:45.318176"]]
|
37868
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37869
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
37870
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
37871
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
37872
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
37873
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
37874
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
37875
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
37876
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
37877
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
37878
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
37879
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
37880
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
37881
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
37882
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
37883
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37884
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.324779"], ["updated_at", "2021-03-02 01:12:45.324779"]]
|
37885
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37886
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37887
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.325798"], ["updated_at", "2021-03-02 01:12:45.325798"]]
|
37888
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37889
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37890
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.326812"], ["date_accepted", "2021-03-02 01:12:45.326466"], ["claim_hash", "zzdqpRQUn1l02HByTA8eatsgvPrm9W8LQ2XsNQ3N"], ["created_at", "2021-03-02 01:12:45.326793"], ["updated_at", "2021-03-02 01:12:45.326793"]]
|
37891
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37892
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37893
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.327735"], ["updated_at", "2021-03-02 01:12:45.327735"]]
|
37894
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37895
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37896
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.328479"], ["updated_at", "2021-03-02 01:12:45.328479"]]
|
37897
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37898
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37899
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.329384"], ["date_accepted", "2021-03-02 01:12:45.329088"], ["claim_hash", "v9ukk5H6VQDKEUGXqektEl4CJwCzXcGfqZNpseiY"], ["created_at", "2021-03-02 01:12:45.329366"], ["updated_at", "2021-03-02 01:12:45.329366"]]
|
37900
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37901
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37902
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-03-02 01:12:45.330267"], ["updated_at", "2021-03-02 01:12:45.330267"]]
|
37903
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37904
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37905
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-03-02 01:12:45.331033"], ["updated_at", "2021-03-02 01:12:45.331033"]]
|
37906
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37907
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37908
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-03-02 01:12:45.331996"], ["id", 2]]
|
37909
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37910
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37911
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-03-02 01:12:45.332913"], ["date_accepted", "2021-03-02 01:12:45.332610"], ["claim_hash", "6O5BEcl7IVG9IupS8ybI6Etk9PS5ZQv5Ht2SuPVb"], ["created_at", "2021-03-02 01:12:45.332894"], ["updated_at", "2021-03-02 01:12:45.332894"]]
|
37912
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37913
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37914
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.333796"], ["updated_at", "2021-03-02 01:12:45.333796"]]
|
37915
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37916
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37917
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-03-02 01:12:45.334614"], ["claim_hash", "DmnAZLu3RIxpxa8sQWsuoCNUcXpEYSS0HHaZ0Yc4"], ["created_at", "2021-03-02 01:12:45.334596"], ["updated_at", "2021-03-02 01:12:45.334596"]]
|
37918
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37919
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37920
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.335431"], ["updated_at", "2021-03-02 01:12:45.335431"]]
|
37921
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37922
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37923
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-03-02 01:12:45.336287"], ["claim_hash", "HKomtG3kFIKwbVCFnmQf7uopUR2MKDm50zzyPwGZ"], ["created_at", "2021-03-02 01:12:45.336268"], ["updated_at", "2021-03-02 01:12:45.336268"]]
|
37924
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37925
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37926
|
+
[1m[36mSystemThing Create (0.1ms)[0m [1m[32mINSERT INTO "system_things" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A System Object"], ["created_at", "2021-03-02 01:12:45.339540"], ["updated_at", "2021-03-02 01:12:45.339540"]]
|
37927
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37928
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 5]]
|
37929
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 5]]
|
37930
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
37931
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
37932
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37933
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.342459"], ["updated_at", "2021-03-02 01:12:45.342459"]]
|
37934
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37935
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37936
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.343442"], ["updated_at", "2021-03-02 01:12:45.343442"]]
|
37937
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37938
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37939
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.344780"], ["date_accepted", "2021-03-02 01:12:45.344312"], ["claim_hash", "ps4d45JWSFkOLi6TN0j5Rzn4p9WlPO2oCmKJVzUX"], ["created_at", "2021-03-02 01:12:45.344749"], ["updated_at", "2021-03-02 01:12:45.344749"]]
|
37940
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37941
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37942
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.346109"], ["updated_at", "2021-03-02 01:12:45.346109"]]
|
37943
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37944
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37945
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.346943"], ["updated_at", "2021-03-02 01:12:45.346943"]]
|
37946
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37947
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37948
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.347861"], ["date_accepted", "2021-03-02 01:12:45.347549"], ["claim_hash", "HiySFrGoaRomblXP33XzCUyTz5cFCl7XhNmIHBL6"], ["created_at", "2021-03-02 01:12:45.347842"], ["updated_at", "2021-03-02 01:12:45.347842"]]
|
37949
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37950
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37951
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-03-02 01:12:45.348759"], ["updated_at", "2021-03-02 01:12:45.348759"]]
|
37952
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37953
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37954
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-03-02 01:12:45.349509"], ["updated_at", "2021-03-02 01:12:45.349509"]]
|
37955
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37956
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37957
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-03-02 01:12:45.350457"], ["id", 2]]
|
37958
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37959
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37960
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-03-02 01:12:45.351390"], ["date_accepted", "2021-03-02 01:12:45.351084"], ["claim_hash", "nZ24p16vfoNV49rRei54nQIV0iQFKydls3dLaqFb"], ["created_at", "2021-03-02 01:12:45.351371"], ["updated_at", "2021-03-02 01:12:45.351371"]]
|
37961
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37962
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37963
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.352281"], ["updated_at", "2021-03-02 01:12:45.352281"]]
|
37964
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37965
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37966
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-03-02 01:12:45.353103"], ["claim_hash", "pDF1kPVbheMjt2LBzkofJM2ZmZqA5UoO85QKoSUh"], ["created_at", "2021-03-02 01:12:45.353086"], ["updated_at", "2021-03-02 01:12:45.353086"]]
|
37967
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37968
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37969
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.353939"], ["updated_at", "2021-03-02 01:12:45.353939"]]
|
37970
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37971
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37972
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-03-02 01:12:45.354766"], ["claim_hash", "3BDS9O63kPRCC99D3rLjbXelB6QB3gYFVqDyQElt"], ["created_at", "2021-03-02 01:12:45.354747"], ["updated_at", "2021-03-02 01:12:45.354747"]]
|
37973
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37974
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
37975
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
37976
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37977
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2021-03-02 01:12:45.359713"], ["updated_at", "2021-03-02 01:12:45.359713"]]
|
37978
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37979
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37980
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2021-03-02 01:12:45.361392"], ["id", 1]]
|
37981
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37982
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
37983
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37984
|
+
[1m[36mOtherEntity Create (0.1ms)[0m [1m[32mINSERT INTO "other_entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test other entity"], ["created_at", "2021-03-02 01:12:45.364859"], ["updated_at", "2021-03-02 01:12:45.364859"]]
|
37985
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37986
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
37987
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37988
|
+
[1m[36mSystemThing Create (0.1ms)[0m [1m[32mINSERT INTO "system_things" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A System Object"], ["created_at", "2021-03-02 01:12:45.366276"], ["updated_at", "2021-03-02 01:12:45.366276"]]
|
37989
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37990
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
37991
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
37992
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
37993
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37994
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.368315"], ["updated_at", "2021-03-02 01:12:45.368315"]]
|
37995
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37996
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
37997
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.369252"], ["updated_at", "2021-03-02 01:12:45.369252"]]
|
37998
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
37999
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38000
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.370265"], ["date_accepted", "2021-03-02 01:12:45.369890"], ["claim_hash", "Zu9mDxtsPLf8y4Dem3IemgHd57d8FLY53S3hQWRj"], ["created_at", "2021-03-02 01:12:45.370244"], ["updated_at", "2021-03-02 01:12:45.370244"]]
|
38001
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38002
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38003
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.371213"], ["updated_at", "2021-03-02 01:12:45.371213"]]
|
38004
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38005
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38006
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.371974"], ["updated_at", "2021-03-02 01:12:45.371974"]]
|
38007
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38008
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38009
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.372910"], ["date_accepted", "2021-03-02 01:12:45.372598"], ["claim_hash", "39PSRAOfG3BxeYo0ehJ2Lbi1ARp6g2vJhV3pfoIg"], ["created_at", "2021-03-02 01:12:45.372892"], ["updated_at", "2021-03-02 01:12:45.372892"]]
|
38010
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38011
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38012
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-03-02 01:12:45.373862"], ["updated_at", "2021-03-02 01:12:45.373862"]]
|
38013
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38014
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38015
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-03-02 01:12:45.374745"], ["updated_at", "2021-03-02 01:12:45.374745"]]
|
38016
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38017
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38018
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-03-02 01:12:45.376075"], ["id", 2]]
|
38019
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38020
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38021
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-03-02 01:12:45.377141"], ["date_accepted", "2021-03-02 01:12:45.376785"], ["claim_hash", "y4JUa0kO1EEeHRnCZpEt7zaDt9Lh4bS9dKJkE2Ip"], ["created_at", "2021-03-02 01:12:45.377121"], ["updated_at", "2021-03-02 01:12:45.377121"]]
|
38022
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38023
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38024
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.378092"], ["updated_at", "2021-03-02 01:12:45.378092"]]
|
38025
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38026
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38027
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-03-02 01:12:45.379019"], ["claim_hash", "q0EQtYHZsw0zBuqqCCxzlKJcK2YsvvdMz5SC2Gkp"], ["created_at", "2021-03-02 01:12:45.378992"], ["updated_at", "2021-03-02 01:12:45.378992"]]
|
38028
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38029
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38030
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.380139"], ["updated_at", "2021-03-02 01:12:45.380139"]]
|
38031
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38032
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38033
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-03-02 01:12:45.380989"], ["claim_hash", "IWYMxGxxm1QIR8rtvPkKPvANOgjhVXoFXB3Hi1Nk"], ["created_at", "2021-03-02 01:12:45.380970"], ["updated_at", "2021-03-02 01:12:45.380970"]]
|
38034
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38035
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38036
|
+
[1m[36mOtherEntity Create (0.1ms)[0m [1m[32mINSERT INTO "other_entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test other entity"], ["created_at", "2021-03-02 01:12:45.382009"], ["updated_at", "2021-03-02 01:12:45.382009"]]
|
38037
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38038
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 4]]
|
38039
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38040
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38041
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38042
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.384281"], ["updated_at", "2021-03-02 01:12:45.384281"]]
|
38043
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38044
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38045
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.385176"], ["updated_at", "2021-03-02 01:12:45.385176"]]
|
38046
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38047
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38048
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.386144"], ["date_accepted", "2021-03-02 01:12:45.385821"], ["claim_hash", "VhoYS6myyjfO2T5UMtRCzYoz1ijkWTlgWOVXHTHV"], ["created_at", "2021-03-02 01:12:45.386125"], ["updated_at", "2021-03-02 01:12:45.386125"]]
|
38049
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38050
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38051
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.387085"], ["updated_at", "2021-03-02 01:12:45.387085"]]
|
38052
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38053
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38054
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.387831"], ["updated_at", "2021-03-02 01:12:45.387831"]]
|
38055
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38056
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38057
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.388723"], ["date_accepted", "2021-03-02 01:12:45.388437"], ["claim_hash", "OiGuamHtJKrCDi52lCo7v68KSRVvwSLi2kN9uS6r"], ["created_at", "2021-03-02 01:12:45.388704"], ["updated_at", "2021-03-02 01:12:45.388704"]]
|
38058
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38059
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38060
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-03-02 01:12:45.389653"], ["updated_at", "2021-03-02 01:12:45.389653"]]
|
38061
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38062
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38063
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-03-02 01:12:45.390487"], ["updated_at", "2021-03-02 01:12:45.390487"]]
|
38064
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38065
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38066
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-03-02 01:12:45.391507"], ["id", 2]]
|
38067
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38068
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38069
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-03-02 01:12:45.392575"], ["date_accepted", "2021-03-02 01:12:45.392217"], ["claim_hash", "HO5jmrgImEDXS2KVD98UtKPK2T1H3c2tOylPzvcE"], ["created_at", "2021-03-02 01:12:45.392554"], ["updated_at", "2021-03-02 01:12:45.392554"]]
|
38070
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38071
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38072
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.393524"], ["updated_at", "2021-03-02 01:12:45.393524"]]
|
38073
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38074
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38075
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-03-02 01:12:45.394378"], ["claim_hash", "L9nllm1VKwZ7tBgBHttIsCgIggqWE4hSBKQsh6vS"], ["created_at", "2021-03-02 01:12:45.394360"], ["updated_at", "2021-03-02 01:12:45.394360"]]
|
38076
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38077
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38078
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.395217"], ["updated_at", "2021-03-02 01:12:45.395217"]]
|
38079
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38080
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38081
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-03-02 01:12:45.396025"], ["claim_hash", "WTRL0RpLuvKK3HjoZzxNjOVrWWJHQBAvKqLz09gO"], ["created_at", "2021-03-02 01:12:45.396008"], ["updated_at", "2021-03-02 01:12:45.396008"]]
|
38082
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38083
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38084
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2021-03-02 01:12:45.397037"], ["updated_at", "2021-03-02 01:12:45.397037"]]
|
38085
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38086
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38087
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2021-03-02 01:12:45.397965"], ["id", 1]]
|
38088
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38089
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
38090
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 2]]
|
38091
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
38092
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 2]]
|
38093
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 2], ["LIMIT", 1]]
|
38094
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38095
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38096
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38097
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.401678"], ["updated_at", "2021-03-02 01:12:45.401678"]]
|
38098
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38099
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38100
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.402652"], ["updated_at", "2021-03-02 01:12:45.402652"]]
|
38101
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38102
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38103
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.403651"], ["date_accepted", "2021-03-02 01:12:45.403295"], ["claim_hash", "jBx3ePySqdoveXHFytqOeQkLL2VCoa9VQp3IqWMk"], ["created_at", "2021-03-02 01:12:45.403631"], ["updated_at", "2021-03-02 01:12:45.403631"]]
|
38104
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38105
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38106
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.404571"], ["updated_at", "2021-03-02 01:12:45.404571"]]
|
38107
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38108
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38109
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.405325"], ["updated_at", "2021-03-02 01:12:45.405325"]]
|
38110
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38111
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38112
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.406495"], ["date_accepted", "2021-03-02 01:12:45.405970"], ["claim_hash", "Now42odg3DFQLirUyyJyHmKuATSgpKq4PMJzWoFG"], ["created_at", "2021-03-02 01:12:45.406468"], ["updated_at", "2021-03-02 01:12:45.406468"]]
|
38113
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38114
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38115
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-03-02 01:12:45.407803"], ["updated_at", "2021-03-02 01:12:45.407803"]]
|
38116
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38117
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38118
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-03-02 01:12:45.408595"], ["updated_at", "2021-03-02 01:12:45.408595"]]
|
38119
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38120
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38121
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-03-02 01:12:45.409572"], ["id", 2]]
|
38122
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38123
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38124
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-03-02 01:12:45.410534"], ["date_accepted", "2021-03-02 01:12:45.410199"], ["claim_hash", "2m6w0edF2vmPj6EYOonhwXu6M9lEF9d2zfTutmBf"], ["created_at", "2021-03-02 01:12:45.410514"], ["updated_at", "2021-03-02 01:12:45.410514"]]
|
38125
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38126
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38127
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.411463"], ["updated_at", "2021-03-02 01:12:45.411463"]]
|
38128
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38129
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38130
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-03-02 01:12:45.412379"], ["claim_hash", "tf9IArbAXZM7k4JuyEUzdAWpm1o8PuRogxG7jRw8"], ["created_at", "2021-03-02 01:12:45.412350"], ["updated_at", "2021-03-02 01:12:45.412350"]]
|
38131
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38132
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38133
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.413385"], ["updated_at", "2021-03-02 01:12:45.413385"]]
|
38134
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38135
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38136
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-03-02 01:12:45.414243"], ["claim_hash", "gaPgtly6uPMIFyi0NhdBsyW06D55Q58FcNNeEl0z"], ["created_at", "2021-03-02 01:12:45.414223"], ["updated_at", "2021-03-02 01:12:45.414223"]]
|
38137
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38138
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38139
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2021-03-02 01:12:45.415300"], ["updated_at", "2021-03-02 01:12:45.415300"]]
|
38140
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38141
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38142
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2021-03-02 01:12:45.416245"], ["id", 1]]
|
38143
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38144
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
38145
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 3]]
|
38146
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
38147
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 3]]
|
38148
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
38149
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 3]]
|
38150
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
38151
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Grandparent' AND invitable_id = 1)[0m [["user_id", 3]]
|
38152
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Grandparent' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 3], ["LIMIT", 1]]
|
38153
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38154
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38155
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38156
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.421101"], ["updated_at", "2021-03-02 01:12:45.421101"]]
|
38157
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38158
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38159
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.422033"], ["updated_at", "2021-03-02 01:12:45.422033"]]
|
38160
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38161
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38162
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.423085"], ["date_accepted", "2021-03-02 01:12:45.422728"], ["claim_hash", "IZ0p3NymTcQv1VGO7Pp3EwVN8Q0AshZ63RsxgS4S"], ["created_at", "2021-03-02 01:12:45.423064"], ["updated_at", "2021-03-02 01:12:45.423064"]]
|
38163
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38164
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38165
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.424028"], ["updated_at", "2021-03-02 01:12:45.424028"]]
|
38166
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38167
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38168
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.424783"], ["updated_at", "2021-03-02 01:12:45.424783"]]
|
38169
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38170
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38171
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.425729"], ["date_accepted", "2021-03-02 01:12:45.425424"], ["claim_hash", "6rbCBnLSUxbP2rTZAepThpJWwbmWbN3K9bbZvJr9"], ["created_at", "2021-03-02 01:12:45.425710"], ["updated_at", "2021-03-02 01:12:45.425710"]]
|
38172
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38173
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38174
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test5@d-i.co"], ["created_at", "2021-03-02 01:12:45.426641"], ["updated_at", "2021-03-02 01:12:45.426641"]]
|
38175
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38176
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38177
|
+
[1m[36mGrandparent Create (0.1ms)[0m [1m[32mINSERT INTO "grandparents" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "A Grandparent"], ["created_at", "2021-03-02 01:12:45.427395"], ["updated_at", "2021-03-02 01:12:45.427395"]]
|
38178
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38179
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38180
|
+
[1m[36mEntity Update (0.1ms)[0m [1m[33mUPDATE "entities" SET "grandparent_id" = ?, "updated_at" = ? WHERE "entities"."id" = ?[0m [["grandparent_id", 1], ["updated_at", "2021-03-02 01:12:45.428383"], ["id", 2]]
|
38181
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38182
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38183
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test5@d-i.co"], ["role", "admin"], ["invitable_type", "Grandparent"], ["invitable_id", 1], ["user_id", 3], ["date_sent", "2021-03-02 01:12:45.429314"], ["date_accepted", "2021-03-02 01:12:45.429002"], ["claim_hash", "eWjGWIEXYeCa1bbIntwAlNIp7t3oHTusK5pmCEof"], ["created_at", "2021-03-02 01:12:45.429295"], ["updated_at", "2021-03-02 01:12:45.429295"]]
|
38184
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38185
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38186
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.430197"], ["updated_at", "2021-03-02 01:12:45.430197"]]
|
38187
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38188
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38189
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 4], ["date_sent", "2021-03-02 01:12:45.431017"], ["claim_hash", "CeZTbwMeEz4Z2rENQq5lsMYtGXDJDNwSfnfl1XJz"], ["created_at", "2021-03-02 01:12:45.430999"], ["updated_at", "2021-03-02 01:12:45.430999"]]
|
38190
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38191
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38192
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.431841"], ["updated_at", "2021-03-02 01:12:45.431841"]]
|
38193
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38194
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38195
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 5], ["date_sent", "2021-03-02 01:12:45.432671"], ["claim_hash", "qNhm1Xs6sEafQYSh4Z6Lc5GJpMtBn6H5Qr8B28dA"], ["created_at", "2021-03-02 01:12:45.432653"], ["updated_at", "2021-03-02 01:12:45.432653"]]
|
38196
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38197
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38198
|
+
[1m[36mChild Create (0.1ms)[0m [1m[32mINSERT INTO "children" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Child 1"], ["created_at", "2021-03-02 01:12:45.433682"], ["updated_at", "2021-03-02 01:12:45.433682"]]
|
38199
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38200
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38201
|
+
[1m[36mChild Update (0.1ms)[0m [1m[33mUPDATE "children" SET "entity_id" = ?, "updated_at" = ? WHERE "children"."id" = ?[0m [["entity_id", 2], ["updated_at", "2021-03-02 01:12:45.434597"], ["id", 1]]
|
38202
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38203
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38204
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 1]]
|
38205
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38206
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
38207
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38208
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
38209
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38210
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Grandparent' AND invitable_id = 1)[0m [["user_id", 1]]
|
38211
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38212
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Child' AND invitable_id = 1)[0m [["user_id", 1]]
|
38213
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38214
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
38215
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38216
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 2)[0m [["user_id", 1]]
|
38217
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38218
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Grandparent' AND invitable_id = 1)[0m [["user_id", 1]]
|
38219
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38220
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38221
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38222
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38223
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.442409"], ["updated_at", "2021-03-02 01:12:45.442409"]]
|
38224
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38225
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38226
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.443404"], ["updated_at", "2021-03-02 01:12:45.443404"]]
|
38227
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38228
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38229
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.444399"], ["date_accepted", "2021-03-02 01:12:45.444037"], ["claim_hash", "z7FHZPZo0yTTfNHvNSqz43oqRMsrVPfhKa9iHZUh"], ["created_at", "2021-03-02 01:12:45.444379"], ["updated_at", "2021-03-02 01:12:45.444379"]]
|
38230
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38231
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "users"."id" = "invitations"."user_id" WHERE "invitations"."invitable_id" = ? AND "invitations"."invitable_type" = ? AND (invitations.role = 'admin') AND "users"."id" = ? LIMIT ?[0m [["invitable_id", 1], ["invitable_type", "Entity"], ["id", 1], ["LIMIT", 1]]
|
38232
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38233
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38234
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38235
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38236
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.451881"], ["updated_at", "2021-03-02 01:12:45.451881"]]
|
38237
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38238
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38239
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.452844"], ["updated_at", "2021-03-02 01:12:45.452844"]]
|
38240
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38241
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
38242
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38243
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.454405"], ["date_accepted", "2021-03-02 01:12:45.454189"], ["claim_hash", "cHOLPKnyblhDVpv0MKhh9JN49PHQYk90gStyZTXL"], ["created_at", "2021-03-02 01:12:45.454383"], ["updated_at", "2021-03-02 01:12:45.454383"]]
|
38244
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38245
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38246
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38247
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38248
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38249
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.456393"], ["updated_at", "2021-03-02 01:12:45.456393"]]
|
38250
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38251
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38252
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.457304"], ["updated_at", "2021-03-02 01:12:45.457304"]]
|
38253
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38254
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38255
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.458286"], ["date_accepted", "2021-03-02 01:12:45.457953"], ["claim_hash", "EyzbApyrbpqixy4HUQOLV9PbD643Ef7Hj9wOjf5d"], ["created_at", "2021-03-02 01:12:45.458263"], ["updated_at", "2021-03-02 01:12:45.458263"]]
|
38256
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38257
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
38258
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38259
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38260
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38261
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38262
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.460943"], ["updated_at", "2021-03-02 01:12:45.460943"]]
|
38263
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38264
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38265
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.461880"], ["updated_at", "2021-03-02 01:12:45.461880"]]
|
38266
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38267
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38268
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38269
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38270
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38271
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.463671"], ["updated_at", "2021-03-02 01:12:45.463671"]]
|
38272
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38273
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38274
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.464519"], ["updated_at", "2021-03-02 01:12:45.464519"]]
|
38275
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38276
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38277
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.465483"], ["date_accepted", "2021-03-02 01:12:45.465147"], ["claim_hash", "E7CLvGMfkhvKeo9d4IWSgvajKCO20mG9tSw8QZLZ"], ["created_at", "2021-03-02 01:12:45.465463"], ["updated_at", "2021-03-02 01:12:45.465463"]]
|
38278
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38279
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38280
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."invitable_id" = ? AND "invitations"."invitable_type" = ?[0m [["invitable_id", 1], ["invitable_type", "Entity"]]
|
38281
|
+
[1m[36mInvitation Destroy (0.1ms)[0m [1m[31mDELETE FROM "invitations" WHERE "invitations"."id" = ?[0m [["id", 1]]
|
38282
|
+
[1m[36mEntity Destroy (0.0ms)[0m [1m[31mDELETE FROM "entities" WHERE "entities"."id" = ?[0m [["id", 1]]
|
38283
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38284
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
38285
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38286
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38287
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38288
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38289
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.470163"], ["updated_at", "2021-03-02 01:12:45.470163"]]
|
38290
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38291
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38292
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test999@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.471290"], ["claim_hash", "zAdwhsGHPCWGou0y3npl2hFrd7cKO49I4mhoPoSq"], ["created_at", "2021-03-02 01:12:45.471270"], ["updated_at", "2021-03-02 01:12:45.471270"]]
|
38293
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38294
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38295
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38296
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38297
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38298
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.473266"], ["updated_at", "2021-03-02 01:12:45.473266"]]
|
38299
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38300
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38301
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test999@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.474407"], ["claim_hash", "6iDLDh7FBw6ZvcD92HMaNYrw6sgOvt7JO4pc9hcI"], ["created_at", "2021-03-02 01:12:45.474386"], ["updated_at", "2021-03-02 01:12:45.474386"]]
|
38302
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38303
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38304
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.475333"], ["updated_at", "2021-03-02 01:12:45.475333"]]
|
38305
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38306
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38307
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test999@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 2], ["date_sent", "2021-03-02 01:12:45.476202"], ["claim_hash", "v9JtwHW3Q8ExjDeYPtbInXgByuV86AU44UTUHzYR"], ["created_at", "2021-03-02 01:12:45.476183"], ["updated_at", "2021-03-02 01:12:45.476183"]]
|
38308
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38309
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38310
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38311
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38312
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38313
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.478069"], ["updated_at", "2021-03-02 01:12:45.478069"]]
|
38314
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38315
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38316
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.478986"], ["updated_at", "2021-03-02 01:12:45.478986"]]
|
38317
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38318
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38319
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.480086"], ["claim_hash", "MixFXw3Wwhuy1ABTGG41RHu4zEvM3yKtQWEPbuyB"], ["created_at", "2021-03-02 01:12:45.480065"], ["updated_at", "2021-03-02 01:12:45.480065"]]
|
38320
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38321
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38322
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38323
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38324
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38325
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.482054"], ["updated_at", "2021-03-02 01:12:45.482054"]]
|
38326
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38327
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38328
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.483030"], ["claim_hash", "nKlIyGw0zVAFc6mab65Q5UgBDkqUghJFKhMAra4n"], ["created_at", "2021-03-02 01:12:45.483011"], ["updated_at", "2021-03-02 01:12:45.483011"]]
|
38329
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38330
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38331
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38332
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38333
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38334
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.484843"], ["updated_at", "2021-03-02 01:12:45.484843"]]
|
38335
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38336
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38337
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.485704"], ["updated_at", "2021-03-02 01:12:45.485704"]]
|
38338
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38339
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38340
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.486623"], ["claim_hash", "iikQ59HAjcqd7AGo0iW14vjDiBmqVJVzCx6byCIo"], ["created_at", "2021-03-02 01:12:45.486604"], ["updated_at", "2021-03-02 01:12:45.486604"]]
|
38341
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38342
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38343
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.487544"], ["updated_at", "2021-03-02 01:12:45.487544"]]
|
38344
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38345
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38346
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.488283"], ["updated_at", "2021-03-02 01:12:45.488283"]]
|
38347
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38348
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38349
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 2], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.489182"], ["date_accepted", "2021-03-02 01:12:45.488891"], ["claim_hash", "SCXnvei8U9TKzIT1tj90hiVvBSPquSDidka1qfZZ"], ["created_at", "2021-03-02 01:12:45.489164"], ["updated_at", "2021-03-02 01:12:45.489164"]]
|
38350
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38351
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38352
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38353
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38354
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38355
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.491216"], ["updated_at", "2021-03-02 01:12:45.491216"]]
|
38356
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38357
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38358
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.492316"], ["claim_hash", "PpoNwem71ruhtVPMI3SMPvfJon3DwZpLfV2m0EVE"], ["created_at", "2021-03-02 01:12:45.492295"], ["updated_at", "2021-03-02 01:12:45.492295"]]
|
38359
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38360
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38361
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38362
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38363
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38364
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.494314"], ["updated_at", "2021-03-02 01:12:45.494314"]]
|
38365
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38366
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38367
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.495207"], ["updated_at", "2021-03-02 01:12:45.495207"]]
|
38368
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38369
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38370
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.496120"], ["claim_hash", "p0ZciZVm1DAGemT3BeQ8h0iM3V4tfsJDSEUFQSuS"], ["created_at", "2021-03-02 01:12:45.496100"], ["updated_at", "2021-03-02 01:12:45.496100"]]
|
38371
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38372
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38373
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38374
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38375
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38376
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.497953"], ["updated_at", "2021-03-02 01:12:45.497953"]]
|
38377
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38378
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38379
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.498866"], ["updated_at", "2021-03-02 01:12:45.498866"]]
|
38380
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38381
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38382
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.500237"], ["date_accepted", "2021-03-02 01:12:45.499782"], ["claim_hash", "P9lTKsLtFSL4yYxToemppYi8unqRgImCENj7DrCf"], ["created_at", "2021-03-02 01:12:45.500211"], ["updated_at", "2021-03-02 01:12:45.500211"]]
|
38383
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38384
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38385
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38386
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38387
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38388
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.510383"], ["updated_at", "2021-03-02 01:12:45.510383"]]
|
38389
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38390
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38391
|
+
[1m[36mEntity Create (1.4ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.511376"], ["updated_at", "2021-03-02 01:12:45.511376"]]
|
38392
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38393
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38394
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.513815"], ["claim_hash", "T2rTumnM6yPfi8mcLrDL1qRsi1tfkVC7QDOax3XN"], ["created_at", "2021-03-02 01:12:45.513792"], ["updated_at", "2021-03-02 01:12:45.513792"]]
|
38395
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38396
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'T2rTumnM6yPfi8mcLrDL1qRsi1tfkVC7QDOax3XN') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
38397
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38398
|
+
[1m[36mEntity Load (0.1ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
38399
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-03-02 01:12:45.515195"], ["updated_at", "2021-03-02 01:12:45.516207"], ["id", 1]]
|
38400
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38401
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
38402
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38403
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38404
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38405
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38406
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.518692"], ["updated_at", "2021-03-02 01:12:45.518692"]]
|
38407
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38408
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38409
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 3"], ["created_at", "2021-03-02 01:12:45.519607"], ["updated_at", "2021-03-02 01:12:45.519607"]]
|
38410
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38411
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38412
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.520529"], ["claim_hash", "xXk21sbHb1jK1fCG70MT1LHDUj6neuzmWZQj4Imf"], ["created_at", "2021-03-02 01:12:45.520509"], ["updated_at", "2021-03-02 01:12:45.520509"]]
|
38413
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38414
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (email = 'test4@d-i.co' AND user_id IS NULL)[0m
|
38415
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38416
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
38417
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-03-02 01:12:45.521639"], ["updated_at", "2021-03-02 01:12:45.522328"], ["id", 1]]
|
38418
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38419
|
+
[1m[36mEntity Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "entities" INNER JOIN "invitations" ON "entities"."id" = "invitations"."invitable_id" WHERE "invitations"."user_id" = ? AND "invitations"."invitable_type" = ? AND "entities"."id" = ? LIMIT ?[0m [["user_id", 1], ["invitable_type", "Entity"], ["id", 1], ["LIMIT", 1]]
|
38420
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38421
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38422
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38423
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38424
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.525342"], ["updated_at", "2021-03-02 01:12:45.525342"]]
|
38425
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38426
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND (email = 'test4@d-i.co')[0m
|
38427
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38428
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "uberadmin"], ["date_sent", "2021-03-02 01:12:45.526692"], ["claim_hash", "5sdjHdxCMZOiVqwClOblLfQCgi5lQiAL3EriVqDn"], ["created_at", "2021-03-02 01:12:45.526671"], ["updated_at", "2021-03-02 01:12:45.526671"]]
|
38429
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38430
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38431
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38432
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38433
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38434
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.528574"], ["updated_at", "2021-03-02 01:12:45.528574"]]
|
38435
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38436
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38437
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38438
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.530354"], ["date_accepted", "2021-03-02 01:12:45.530119"], ["claim_hash", "twCnFd5pqJzFsV0x2ZMmEfix9npwVhP5Nt4ZEk7l"], ["created_at", "2021-03-02 01:12:45.530327"], ["updated_at", "2021-03-02 01:12:45.530327"]]
|
38439
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38440
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38441
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38442
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38443
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38444
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.532766"], ["updated_at", "2021-03-02 01:12:45.532766"]]
|
38445
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38446
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38447
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.533806"], ["claim_hash", "WjFQDEqPNRltgsvynWL5IMDOc1bi5cCOlaPscOSN"], ["created_at", "2021-03-02 01:12:45.533786"], ["updated_at", "2021-03-02 01:12:45.533786"]]
|
38448
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38449
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38450
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38451
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38452
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38453
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38454
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.536317"], ["updated_at", "2021-03-02 01:12:45.536317"]]
|
38455
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38456
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'employer') AND (email = 'test4@d-i.co')[0m
|
38457
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38458
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["date_sent", "2021-03-02 01:12:45.537608"], ["claim_hash", "lv1dx3dxlAHqe5oMN63H8HCXpDlOuLH35hw9NAfQ"], ["created_at", "2021-03-02 01:12:45.537588"], ["updated_at", "2021-03-02 01:12:45.537588"]]
|
38459
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38460
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38461
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38462
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38463
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38464
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.539532"], ["updated_at", "2021-03-02 01:12:45.539532"]]
|
38465
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38466
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
38467
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38468
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.541138"], ["date_accepted", "2021-03-02 01:12:45.540959"], ["claim_hash", "dyiKEqrZnlmHjwrN3NteUMyrSTLOKTK2BUSYeUFh"], ["created_at", "2021-03-02 01:12:45.541117"], ["updated_at", "2021-03-02 01:12:45.541117"]]
|
38469
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38470
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38471
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38472
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38473
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38474
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test4@d-i.co"], ["created_at", "2021-03-02 01:12:45.543239"], ["updated_at", "2021-03-02 01:12:45.543239"]]
|
38475
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38476
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38477
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test4@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.544217"], ["claim_hash", "cj1XPoOdMzyXvfpZtwd0s1FAYs5bxRc6RiCZQHnG"], ["created_at", "2021-03-02 01:12:45.544197"], ["updated_at", "2021-03-02 01:12:45.544197"]]
|
38478
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38479
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
38480
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38481
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38482
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38483
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38484
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.546792"], ["updated_at", "2021-03-02 01:12:45.546792"]]
|
38485
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38486
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38487
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.547686"], ["updated_at", "2021-03-02 01:12:45.547686"]]
|
38488
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38489
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38490
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.548661"], ["date_accepted", "2021-03-02 01:12:45.548330"], ["claim_hash", "HskEOjVvcyjyEfIzd2iko0T9fmRtO94Gi33Ai6PH"], ["created_at", "2021-03-02 01:12:45.548642"], ["updated_at", "2021-03-02 01:12:45.548642"]]
|
38491
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38492
|
+
[1m[36mEntity Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "entities" INNER JOIN "invitations" ON "entities"."id" = "invitations"."invitable_id" WHERE "invitations"."user_id" = ? AND "invitations"."invitable_type" = ? AND "entities"."id" = ? LIMIT ?[0m [["user_id", 1], ["invitable_type", "Entity"], ["id", 1], ["LIMIT", 1]]
|
38493
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "children" INNER JOIN "invitations" ON "children"."id" = "invitations"."invitable_id" WHERE "invitations"."user_id" = ? AND "invitations"."invitable_type" = ?[0m [["user_id", 1], ["invitable_type", "Child"]]
|
38494
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38495
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38496
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38497
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38498
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.553445"], ["updated_at", "2021-03-02 01:12:45.553445"]]
|
38499
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38500
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38501
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.554494"], ["claim_hash", "34qTsaXnkKtvxBpscAjrjWzP78xhTdTuxE0dKahJ"], ["created_at", "2021-03-02 01:12:45.554474"], ["updated_at", "2021-03-02 01:12:45.554474"]]
|
38502
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38503
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38504
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38505
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38506
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38507
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38508
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.556931"], ["updated_at", "2021-03-02 01:12:45.556931"]]
|
38509
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38510
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38511
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.557908"], ["updated_at", "2021-03-02 01:12:45.557908"]]
|
38512
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38513
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38514
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.558926"], ["date_accepted", "2021-03-02 01:12:45.558592"], ["claim_hash", "DbiBmFBIKj6qaFF4UxfdESyNbeb4ApDJJij7aCjp"], ["created_at", "2021-03-02 01:12:45.558905"], ["updated_at", "2021-03-02 01:12:45.558905"]]
|
38515
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38516
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38517
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38518
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38519
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38520
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38521
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.561792"], ["updated_at", "2021-03-02 01:12:45.561792"]]
|
38522
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38523
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38524
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.563218"], ["claim_hash", "pXHo9KxIir3aM4Uwlm9LtHoj5Av2PH0K8SZ08lMh"], ["created_at", "2021-03-02 01:12:45.563195"], ["updated_at", "2021-03-02 01:12:45.563195"]]
|
38525
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38526
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
38527
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38528
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38529
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38530
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38531
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.565750"], ["updated_at", "2021-03-02 01:12:45.565750"]]
|
38532
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38533
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38534
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.566661"], ["updated_at", "2021-03-02 01:12:45.566661"]]
|
38535
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38536
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38537
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.567630"], ["date_accepted", "2021-03-02 01:12:45.567301"], ["claim_hash", "6824hEk1Y0brO2f5x5SAWJVRD5qNzuTqC7PD0JqV"], ["created_at", "2021-03-02 01:12:45.567609"], ["updated_at", "2021-03-02 01:12:45.567609"]]
|
38538
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38539
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
38540
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38541
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38542
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38543
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38544
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.570086"], ["updated_at", "2021-03-02 01:12:45.570086"]]
|
38545
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38546
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38547
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.570998"], ["updated_at", "2021-03-02 01:12:45.570998"]]
|
38548
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38549
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38550
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.571955"], ["date_accepted", "2021-03-02 01:12:45.571643"], ["claim_hash", "t8gAJoGCuzcGJq2z2ByERKCxDIiZhSghIsmfv5wb"], ["created_at", "2021-03-02 01:12:45.571936"], ["updated_at", "2021-03-02 01:12:45.571936"]]
|
38551
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38552
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38553
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
38554
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38555
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
38556
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38557
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38558
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.575911"], ["updated_at", "2021-03-02 01:12:45.575911"]]
|
38559
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38560
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38561
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.577131"], ["updated_at", "2021-03-02 01:12:45.577131"]]
|
38562
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38563
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38564
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.578257"], ["date_accepted", "2021-03-02 01:12:45.577872"], ["claim_hash", "Cm1horHRqEqpl4X9m8cK91iOiapYWA4SDoNlrOje"], ["created_at", "2021-03-02 01:12:45.578235"], ["updated_at", "2021-03-02 01:12:45.578235"]]
|
38565
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38566
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38567
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.579311"], ["updated_at", "2021-03-02 01:12:45.579311"]]
|
38568
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38569
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
38570
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
38571
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38572
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38573
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38574
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38575
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.582100"], ["updated_at", "2021-03-02 01:12:45.582100"]]
|
38576
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38577
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38578
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.583094"], ["updated_at", "2021-03-02 01:12:45.583094"]]
|
38579
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38580
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38581
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.584129"], ["date_accepted", "2021-03-02 01:12:45.583773"], ["claim_hash", "6Po5bCZehrefIgBSqdYj8DFdKzfhK1vg8fUCjC6E"], ["created_at", "2021-03-02 01:12:45.584107"], ["updated_at", "2021-03-02 01:12:45.584107"]]
|
38582
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38583
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38584
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
38585
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
38586
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38587
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38588
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38589
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38590
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.587508"], ["updated_at", "2021-03-02 01:12:45.587508"]]
|
38591
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38592
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38593
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.588530"], ["updated_at", "2021-03-02 01:12:45.588530"]]
|
38594
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38595
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38596
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.589693"], ["date_accepted", "2021-03-02 01:12:45.589307"], ["claim_hash", "WXZbzn3reOp1yBaVl5w0VnmXU4IsIPLXxeGT7o2m"], ["created_at", "2021-03-02 01:12:45.589670"], ["updated_at", "2021-03-02 01:12:45.589670"]]
|
38597
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38598
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38599
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.590811"], ["updated_at", "2021-03-02 01:12:45.590811"]]
|
38600
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38601
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
38602
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 2]]
|
38603
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38604
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38605
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38606
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38607
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.594293"], ["updated_at", "2021-03-02 01:12:45.594293"]]
|
38608
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38609
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38610
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.595416"], ["updated_at", "2021-03-02 01:12:45.595416"]]
|
38611
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38612
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38613
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.596735"], ["date_accepted", "2021-03-02 01:12:45.596308"], ["claim_hash", "mmtwGNKUDUfr3um6a3jnR25UVhOOKSyR2DLh5A7U"], ["created_at", "2021-03-02 01:12:45.596711"], ["updated_at", "2021-03-02 01:12:45.596711"]]
|
38614
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38615
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38616
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
38617
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
38618
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38619
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38620
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38621
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38622
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.600393"], ["updated_at", "2021-03-02 01:12:45.600393"]]
|
38623
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38624
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38625
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.601371"], ["updated_at", "2021-03-02 01:12:45.601371"]]
|
38626
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38627
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38628
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.602388"], ["date_accepted", "2021-03-02 01:12:45.602025"], ["claim_hash", "YWhoG8G1njSfHSWApX0f0nYG2e3r87bbByCTiZ4d"], ["created_at", "2021-03-02 01:12:45.602367"], ["updated_at", "2021-03-02 01:12:45.602367"]]
|
38629
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38630
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38631
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 1]]
|
38632
|
+
[1m[36mInvitation Destroy (0.1ms)[0m [1m[31mDELETE FROM "invitations" WHERE "invitations"."id" = ?[0m [["id", 1]]
|
38633
|
+
[1m[36mUser Destroy (0.0ms)[0m [1m[31mDELETE FROM "users" WHERE "users"."id" = ?[0m [["id", 1]]
|
38634
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38635
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
38636
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38637
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38638
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38639
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38640
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.606574"], ["updated_at", "2021-03-02 01:12:45.606574"]]
|
38641
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38642
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38643
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.607827"], ["claim_hash", "NnJ8bD3EopAMkbCKJh8cUb8TTRUg0b4uUWM00AMd"], ["created_at", "2021-03-02 01:12:45.607804"], ["updated_at", "2021-03-02 01:12:45.607804"]]
|
38644
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38645
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
38646
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38647
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.610581"], ["updated_at", "2021-03-02 01:12:45.610581"]]
|
38648
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38649
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
38650
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'uberadmin')[0m
|
38651
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38652
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38653
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38654
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38655
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.613787"], ["updated_at", "2021-03-02 01:12:45.613787"]]
|
38656
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38657
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38658
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.614905"], ["claim_hash", "4qeK4gxax16Z10r0DC44cHqAHwXM0DVeeS98DDH0"], ["created_at", "2021-03-02 01:12:45.614876"], ["updated_at", "2021-03-02 01:12:45.614876"]]
|
38659
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38660
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'employer') AND "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
38661
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38662
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.616868"], ["updated_at", "2021-03-02 01:12:45.616868"]]
|
38663
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38664
|
+
[1m[36mUser Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'employer') AND "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
38665
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" INNER JOIN "invitations" ON "invitations"."user_id" = "users"."id" WHERE (invitable_id IS NULL AND role = 'employer')[0m
|
38666
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38667
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38668
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38669
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38670
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.620474"], ["updated_at", "2021-03-02 01:12:45.620474"]]
|
38671
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38672
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38673
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.621492"], ["updated_at", "2021-03-02 01:12:45.621492"]]
|
38674
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38675
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38676
|
+
[1m[36mInvitation Create (0.2ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.622644"], ["date_accepted", "2021-03-02 01:12:45.622220"], ["claim_hash", "402xnfoEPryIO495RFV6DAXFeGPzhxGGU8ZeK5Mw"], ["created_at", "2021-03-02 01:12:45.622614"], ["updated_at", "2021-03-02 01:12:45.622614"]]
|
38677
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38678
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38679
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.624245"], ["updated_at", "2021-03-02 01:12:45.624245"]]
|
38680
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38681
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38682
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.625342"], ["claim_hash", "uEgl68xdIQSyhABGZiOy54ZZQdnLMOpwECJd6a5i"], ["created_at", "2021-03-02 01:12:45.625319"], ["updated_at", "2021-03-02 01:12:45.625319"]]
|
38683
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38684
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38685
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
38686
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38687
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38688
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38689
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38690
|
+
[1m[36mUser Create (0.2ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.628408"], ["updated_at", "2021-03-02 01:12:45.628408"]]
|
38691
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38692
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38693
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.629547"], ["updated_at", "2021-03-02 01:12:45.629547"]]
|
38694
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38695
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38696
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.630728"], ["date_accepted", "2021-03-02 01:12:45.630355"], ["claim_hash", "epFAe3zTxyaHVFTZ9kS1bZ3OMOGbP8FglxmqbEWf"], ["created_at", "2021-03-02 01:12:45.630703"], ["updated_at", "2021-03-02 01:12:45.630703"]]
|
38697
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38698
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38699
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.631702"], ["updated_at", "2021-03-02 01:12:45.631702"]]
|
38700
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38701
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38702
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.632523"], ["claim_hash", "Jj2zmPdai2kBvumXHzHeDwOHa7wvYbPTB71KXQ1K"], ["created_at", "2021-03-02 01:12:45.632505"], ["updated_at", "2021-03-02 01:12:45.632505"]]
|
38703
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38704
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38705
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.633410"], ["updated_at", "2021-03-02 01:12:45.633410"]]
|
38706
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38707
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
38708
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 3]]
|
38709
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38710
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38711
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38712
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38713
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.636063"], ["updated_at", "2021-03-02 01:12:45.636063"]]
|
38714
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38715
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38716
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.636924"], ["updated_at", "2021-03-02 01:12:45.636924"]]
|
38717
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38718
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38719
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.637890"], ["date_accepted", "2021-03-02 01:12:45.637561"], ["claim_hash", "Lc6klOnx1w2ecIvtPGDX4mv6d71mJk0eFsww2W7K"], ["created_at", "2021-03-02 01:12:45.637870"], ["updated_at", "2021-03-02 01:12:45.637870"]]
|
38720
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38721
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38722
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.638830"], ["updated_at", "2021-03-02 01:12:45.638830"]]
|
38723
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38724
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38725
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.639631"], ["claim_hash", "u25XLZYQ4WJwwO6IMgeeFICXl3x6Q6LswX28q1Bk"], ["created_at", "2021-03-02 01:12:45.639613"], ["updated_at", "2021-03-02 01:12:45.639613"]]
|
38726
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38727
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
38728
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38729
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38730
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38731
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38732
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.642247"], ["updated_at", "2021-03-02 01:12:45.642247"]]
|
38733
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38734
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38735
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.643209"], ["updated_at", "2021-03-02 01:12:45.643209"]]
|
38736
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38737
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38738
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.644207"], ["date_accepted", "2021-03-02 01:12:45.643850"], ["claim_hash", "apwuJkfmLxcDqmELXWnixJZ6FVNgUiV11qw1c5Cq"], ["created_at", "2021-03-02 01:12:45.644186"], ["updated_at", "2021-03-02 01:12:45.644186"]]
|
38739
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38740
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38741
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.645143"], ["updated_at", "2021-03-02 01:12:45.645143"]]
|
38742
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38743
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38744
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.645990"], ["claim_hash", "cSDDGDXCentb6xou5AZUXrIoSXLD2vGSUB2iiMu3"], ["created_at", "2021-03-02 01:12:45.645972"], ["updated_at", "2021-03-02 01:12:45.645972"]]
|
38745
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38746
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38747
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
38748
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
38749
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38750
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38751
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38752
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38753
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.649167"], ["updated_at", "2021-03-02 01:12:45.649167"]]
|
38754
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38755
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38756
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.650055"], ["updated_at", "2021-03-02 01:12:45.650055"]]
|
38757
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38758
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38759
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.651019"], ["date_accepted", "2021-03-02 01:12:45.650693"], ["claim_hash", "E9fsGaCvEY6LKd9Vf2e01mcf8HahHFRFLkG3DakE"], ["created_at", "2021-03-02 01:12:45.650999"], ["updated_at", "2021-03-02 01:12:45.650999"]]
|
38760
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38761
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38762
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.651926"], ["updated_at", "2021-03-02 01:12:45.651926"]]
|
38763
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38764
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38765
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.652728"], ["claim_hash", "TzyKIS4lEoyYF4Pd46UvdvycaWur7Q07IlqTzLJv"], ["created_at", "2021-03-02 01:12:45.652709"], ["updated_at", "2021-03-02 01:12:45.652709"]]
|
38766
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38767
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38768
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
38769
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
38770
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38771
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[36mbegin transaction[0m
|
38772
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38773
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38774
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.656577"], ["updated_at", "2021-03-02 01:12:45.656577"]]
|
38775
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38776
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38777
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.657546"], ["updated_at", "2021-03-02 01:12:45.657546"]]
|
38778
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38779
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38780
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.658534"], ["date_accepted", "2021-03-02 01:12:45.658174"], ["claim_hash", "FrrE58NvDOVomrWJ4ywcfNu9bVFDY2d4ojYfwKcm"], ["created_at", "2021-03-02 01:12:45.658514"], ["updated_at", "2021-03-02 01:12:45.658514"]]
|
38781
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38782
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38783
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.659440"], ["updated_at", "2021-03-02 01:12:45.659440"]]
|
38784
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38785
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38786
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.660234"], ["claim_hash", "ayJ7JO4d1UjTj46dJtP2NV6yNrIrGonHlEqeoIum"], ["created_at", "2021-03-02 01:12:45.660216"], ["updated_at", "2021-03-02 01:12:45.660216"]]
|
38787
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38788
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38789
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.661057"], ["updated_at", "2021-03-02 01:12:45.661057"]]
|
38790
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38791
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
38792
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 3]]
|
38793
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38794
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38795
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38796
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38797
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.663807"], ["updated_at", "2021-03-02 01:12:45.663807"]]
|
38798
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38799
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38800
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.664697"], ["updated_at", "2021-03-02 01:12:45.664697"]]
|
38801
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38802
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38803
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.665645"], ["date_accepted", "2021-03-02 01:12:45.665319"], ["claim_hash", "9Xz62bn50ABY1BnJZkGGXF5zhL9MmtUQyFjIJJuC"], ["created_at", "2021-03-02 01:12:45.665625"], ["updated_at", "2021-03-02 01:12:45.665625"]]
|
38804
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38805
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38806
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.666562"], ["updated_at", "2021-03-02 01:12:45.666562"]]
|
38807
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38808
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38809
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.667353"], ["claim_hash", "L2j3SrrmbJ5KD9SXZq8E6G49kRJAvrBXO9naAk2t"], ["created_at", "2021-03-02 01:12:45.667335"], ["updated_at", "2021-03-02 01:12:45.667335"]]
|
38810
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38811
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
38812
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38813
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38814
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38815
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38816
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.669660"], ["updated_at", "2021-03-02 01:12:45.669660"]]
|
38817
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38818
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38819
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.670524"], ["updated_at", "2021-03-02 01:12:45.670524"]]
|
38820
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38821
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38822
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.671447"], ["date_accepted", "2021-03-02 01:12:45.671141"], ["claim_hash", "fKETjeDlXAFNfL0bMtrbXKCaFsXIqFlIlCuIFqh5"], ["created_at", "2021-03-02 01:12:45.671428"], ["updated_at", "2021-03-02 01:12:45.671428"]]
|
38823
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38824
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38825
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.672339"], ["updated_at", "2021-03-02 01:12:45.672339"]]
|
38826
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38827
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38828
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.673226"], ["claim_hash", "etyIwL3pk3lXWWJ52g69glla5IgL7yldGzDkx19K"], ["created_at", "2021-03-02 01:12:45.673207"], ["updated_at", "2021-03-02 01:12:45.673207"]]
|
38829
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38830
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38831
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
38832
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
38833
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38834
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38835
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38836
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38837
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.676551"], ["updated_at", "2021-03-02 01:12:45.676551"]]
|
38838
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38839
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38840
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.677493"], ["updated_at", "2021-03-02 01:12:45.677493"]]
|
38841
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38842
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38843
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.678475"], ["date_accepted", "2021-03-02 01:12:45.678116"], ["claim_hash", "vnDLTgrdvLd8iNx48mj5MbPnVzijPe7PPwOzCKmg"], ["created_at", "2021-03-02 01:12:45.678454"], ["updated_at", "2021-03-02 01:12:45.678454"]]
|
38844
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38845
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38846
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.679385"], ["updated_at", "2021-03-02 01:12:45.679385"]]
|
38847
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38848
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38849
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.680185"], ["claim_hash", "xTkPPc9YHOZHxovI3dxrHabYUjMh8OnAYGE2qPt5"], ["created_at", "2021-03-02 01:12:45.680168"], ["updated_at", "2021-03-02 01:12:45.680168"]]
|
38850
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38851
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
38852
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
38853
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1) ORDER BY "invitations"."id" ASC LIMIT ?[0m [["user_id", 1], ["LIMIT", 1]]
|
38854
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38855
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38856
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38857
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38858
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.683346"], ["updated_at", "2021-03-02 01:12:45.683346"]]
|
38859
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38860
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38861
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.684236"], ["updated_at", "2021-03-02 01:12:45.684236"]]
|
38862
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38863
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38864
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.685351"], ["date_accepted", "2021-03-02 01:12:45.684920"], ["claim_hash", "NoI0vL2GDu1Je0vnmxUgFXqZnotQmQykHcYVjErc"], ["created_at", "2021-03-02 01:12:45.685330"], ["updated_at", "2021-03-02 01:12:45.685330"]]
|
38865
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38866
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38867
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.686641"], ["updated_at", "2021-03-02 01:12:45.686641"]]
|
38868
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38869
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38870
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.687550"], ["claim_hash", "5CWoyOoYAaxL0azAIfmx89qKibc6Zwhr3KyQeJpc"], ["created_at", "2021-03-02 01:12:45.687531"], ["updated_at", "2021-03-02 01:12:45.687531"]]
|
38871
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38872
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38873
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.688386"], ["updated_at", "2021-03-02 01:12:45.688386"]]
|
38874
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38875
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 3]]
|
38876
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 3]]
|
38877
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38878
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38879
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38880
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38881
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test1@d-i.co"], ["created_at", "2021-03-02 01:12:45.691193"], ["updated_at", "2021-03-02 01:12:45.691193"]]
|
38882
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38883
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38884
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.692073"], ["updated_at", "2021-03-02 01:12:45.692073"]]
|
38885
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38886
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38887
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test1@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.693018"], ["date_accepted", "2021-03-02 01:12:45.692694"], ["claim_hash", "ygH6Sh0EVkOFvsKyCys9J3RTmMiS7a2hQ78GIjaL"], ["created_at", "2021-03-02 01:12:45.692998"], ["updated_at", "2021-03-02 01:12:45.692998"]]
|
38888
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38889
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38890
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test3@d-i.co"], ["created_at", "2021-03-02 01:12:45.693959"], ["updated_at", "2021-03-02 01:12:45.693959"]]
|
38891
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38892
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38893
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test3@d-i.co"], ["role", "uberadmin"], ["user_id", 2], ["date_sent", "2021-03-02 01:12:45.694790"], ["claim_hash", "0BH2S5jarwis6pZcsNZSTu3qTMhxw7vlyyFBgESO"], ["created_at", "2021-03-02 01:12:45.694771"], ["updated_at", "2021-03-02 01:12:45.694771"]]
|
38894
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38895
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 2]]
|
38896
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38897
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38898
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38899
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38900
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-03-02 01:12:45.697340"], ["updated_at", "2021-03-02 01:12:45.697340"]]
|
38901
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38902
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38903
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.698295"], ["updated_at", "2021-03-02 01:12:45.698295"]]
|
38904
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38905
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38906
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.699196"], ["claim_hash", "0z2SOr1GmrEJibXZ8J184wIy4w4X4sAPCsFpIgPU"], ["created_at", "2021-03-02 01:12:45.699176"], ["updated_at", "2021-03-02 01:12:45.699176"]]
|
38907
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38908
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38909
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 2"], ["created_at", "2021-03-02 01:12:45.700064"], ["updated_at", "2021-03-02 01:12:45.700064"]]
|
38910
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38911
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38912
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 2], ["date_sent", "2021-03-02 01:12:45.700888"], ["claim_hash", "LgF2EHhXmHzMZLShFoeLfJHMVWRzATIZvKoM8VKk"], ["created_at", "2021-03-02 01:12:45.700869"], ["updated_at", "2021-03-02 01:12:45.700869"]]
|
38913
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38914
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (email = 'test@d-i.co' AND user_id IS NULL)[0m
|
38915
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38916
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
38917
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-03-02 01:12:45.701938"], ["updated_at", "2021-03-02 01:12:45.702635"], ["id", 1]]
|
38918
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38919
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38920
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
38921
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-03-02 01:12:45.703265"], ["updated_at", "2021-03-02 01:12:45.703850"], ["id", 2]]
|
38922
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38923
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
38924
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 2], ["LIMIT", 1]]
|
38925
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38926
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38927
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38928
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38929
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity 1"], ["created_at", "2021-03-02 01:12:45.706368"], ["updated_at", "2021-03-02 01:12:45.706368"]]
|
38930
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38931
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38932
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "foo@d-i.co"], ["role", "user"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.707423"], ["claim_hash", "4sZgsYkreQmXNZlDjfwMqnPK0xEVVdH3yw5QvTze"], ["created_at", "2021-03-02 01:12:45.707402"], ["updated_at", "2021-03-02 01:12:45.707402"]]
|
38933
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38934
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38935
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-03-02 01:12:45.708337"], ["updated_at", "2021-03-02 01:12:45.708337"]]
|
38936
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38937
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (email = 'test@d-i.co' AND user_id IS NULL)[0m
|
38938
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
38939
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 1]]
|
38940
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38941
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38942
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38943
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38944
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-03-02 01:12:45.711355"], ["updated_at", "2021-03-02 01:12:45.711355"]]
|
38945
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38946
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38947
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.712279"], ["updated_at", "2021-03-02 01:12:45.712279"]]
|
38948
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38949
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38950
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.713329"], ["claim_hash", "NZrLjdlKBINwZpGZuwYJxxyTntjbowAwuEFU9JUF"], ["created_at", "2021-03-02 01:12:45.713300"], ["updated_at", "2021-03-02 01:12:45.713300"]]
|
38951
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38952
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'NZrLjdlKBINwZpGZuwYJxxyTntjbowAwuEFU9JUF') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
38953
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38954
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
38955
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-03-02 01:12:45.714803"], ["updated_at", "2021-03-02 01:12:45.715547"], ["id", 1]]
|
38956
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38957
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
38958
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38959
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38960
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38961
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38962
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.718435"], ["updated_at", "2021-03-02 01:12:45.718435"]]
|
38963
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38964
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38965
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "foo@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.719496"], ["claim_hash", "h4KNjBcd6afTvVwNkihUkBKtUc8PyDhkPj97qaXl"], ["created_at", "2021-03-02 01:12:45.719475"], ["updated_at", "2021-03-02 01:12:45.719475"]]
|
38966
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38967
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38968
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-03-02 01:12:45.720388"], ["updated_at", "2021-03-02 01:12:45.720388"]]
|
38969
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38970
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'h4KNjBcd6afTvVwNkihUkBKtUc8PyDhkPj97qaXl') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
38971
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38972
|
+
[1m[36mEntity Load (0.0ms)[0m [1m[34mSELECT "entities".* FROM "entities" WHERE "entities"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
38973
|
+
[1m[36mInvitation Update (0.1ms)[0m [1m[33mUPDATE "invitations" SET "user_id" = ?, "date_accepted" = ?, "updated_at" = ? WHERE "invitations"."id" = ?[0m [["user_id", 1], ["date_accepted", "2021-03-02 01:12:45.721435"], ["updated_at", "2021-03-02 01:12:45.722122"], ["id", 1]]
|
38974
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38975
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
38976
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38977
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38978
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38979
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38980
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "foo@bar.com"], ["created_at", "2021-03-02 01:12:45.724456"], ["updated_at", "2021-03-02 01:12:45.724456"]]
|
38981
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38982
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38983
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.725352"], ["updated_at", "2021-03-02 01:12:45.725352"]]
|
38984
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38985
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38986
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "foo@bar.com"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.726317"], ["date_accepted", "2021-03-02 01:12:45.725982"], ["claim_hash", "tpHlPpnnpo8cJ5OEpB5sNtstd6lzJHwxN8bA7wTq"], ["created_at", "2021-03-02 01:12:45.726298"], ["updated_at", "2021-03-02 01:12:45.726298"]]
|
38987
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38988
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38989
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-03-02 01:12:45.727221"], ["updated_at", "2021-03-02 01:12:45.727221"]]
|
38990
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
38991
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'tpHlPpnnpo8cJ5OEpB5sNtstd6lzJHwxN8bA7wTq') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
38992
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 2], ["id", 1], ["LIMIT", 1]]
|
38993
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 2]]
|
38994
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
38995
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
38996
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
38997
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
38998
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-03-02 01:12:45.730458"], ["updated_at", "2021-03-02 01:12:45.730458"]]
|
38999
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39000
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39001
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test entity"], ["created_at", "2021-03-02 01:12:45.731384"], ["updated_at", "2021-03-02 01:12:45.731384"]]
|
39002
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39003
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39004
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.732280"], ["claim_hash", "7DoqsHwh4dQuwlwj7SGy1aU6dSzsVyJnxC1rgYb0"], ["created_at", "2021-03-02 01:12:45.732261"], ["updated_at", "2021-03-02 01:12:45.732261"]]
|
39005
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39006
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE (claim_hash = 'THIS_IS_A_BAD_HASH') ORDER BY "invitations"."id" ASC LIMIT ?[0m [["LIMIT", 1]]
|
39007
|
+
[1m[36mInvitation Exists? (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "invitations" WHERE "invitations"."user_id" = ? AND "invitations"."id" = ? LIMIT ?[0m [["user_id", 1], ["id", 1], ["LIMIT", 1]]
|
39008
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations" WHERE "invitations"."user_id" = ?[0m [["user_id", 1]]
|
39009
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39010
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39011
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39012
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39013
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2021-03-02 01:12:45.735469"], ["updated_at", "2021-03-02 01:12:45.735469"]]
|
39014
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39015
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."invitable_id" = ? AND "invitations"."invitable_type" = ? AND (email = 'test@d-i.co')[0m [["invitable_id", 1], ["invitable_type", "Entity"]]
|
39016
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39017
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.737081"], ["claim_hash", "nvI8awLFG5ZCubxthtnWpkpnY2NglTAIUna3Yc7V"], ["created_at", "2021-03-02 01:12:45.737060"], ["updated_at", "2021-03-02 01:12:45.737060"]]
|
39018
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39019
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39020
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39021
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39022
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39023
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2021-03-02 01:12:45.739040"], ["updated_at", "2021-03-02 01:12:45.739040"]]
|
39024
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39025
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39026
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["date_sent", "2021-03-02 01:12:45.740055"], ["claim_hash", "0FtdZrFYNeYun2pvybX0VscXXzBuv5XJguIsrsZc"], ["created_at", "2021-03-02 01:12:45.740035"], ["updated_at", "2021-03-02 01:12:45.740035"]]
|
39027
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39028
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."invitable_id" = ? AND "invitations"."invitable_type" = ? AND (email = 'test@d-i.co')[0m [["invitable_id", 1], ["invitable_type", "Entity"]]
|
39029
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39030
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39031
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39032
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39033
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2021-03-02 01:12:45.742846"], ["updated_at", "2021-03-02 01:12:45.742846"]]
|
39034
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39035
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39036
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-03-02 01:12:45.743780"], ["updated_at", "2021-03-02 01:12:45.743780"]]
|
39037
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39038
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
39039
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39040
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.745277"], ["date_accepted", "2021-03-02 01:12:45.745082"], ["claim_hash", "CauHVG3wGNpliVKzpbzU4SX5kTBwrNuFnc2ZkH8u"], ["created_at", "2021-03-02 01:12:45.745257"], ["updated_at", "2021-03-02 01:12:45.745257"]]
|
39041
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39042
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39043
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39044
|
+
[1m[36mInvitation Load (0.1ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39045
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39046
|
+
[1m[36mEntity Create (0.1ms)[0m [1m[32mINSERT INTO "entities" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "Test Entity"], ["created_at", "2021-03-02 01:12:45.747538"], ["updated_at", "2021-03-02 01:12:45.747538"]]
|
39047
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39048
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39049
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test@d-i.co"], ["created_at", "2021-03-02 01:12:45.748785"], ["updated_at", "2021-03-02 01:12:45.748785"]]
|
39050
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39051
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39052
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "invitable_type", "invitable_id", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "admin"], ["invitable_type", "Entity"], ["invitable_id", 1], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.750045"], ["claim_hash", "fZVlsUEYtse6pQPIaPj7A7wC9MVMEDMPcV0b2oDC"], ["created_at", "2021-03-02 01:12:45.750021"], ["updated_at", "2021-03-02 01:12:45.750021"]]
|
39053
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39054
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_type = 'Entity' AND invitable_id = 1)[0m [["user_id", 1]]
|
39055
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39056
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39057
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39058
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'employer') AND (email = 'test@d-i.co')[0m
|
39059
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39060
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "employer"], ["date_sent", "2021-03-02 01:12:45.753165"], ["claim_hash", "ByXje6W5ZLUPTSjzrpnZUaPTKMXXxPZX5DL3ja9w"], ["created_at", "2021-03-02 01:12:45.753145"], ["updated_at", "2021-03-02 01:12:45.753145"]]
|
39061
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39062
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39063
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39064
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39065
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39066
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "employer"], ["date_sent", "2021-03-02 01:12:45.755108"], ["claim_hash", "S01HqRVAArBgMzeD1iJNSDFIFQBYKqnAUcEXjPCu"], ["created_at", "2021-03-02 01:12:45.755090"], ["updated_at", "2021-03-02 01:12:45.755090"]]
|
39067
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39068
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'employer') AND (email = 'test@d-i.co')[0m
|
39069
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39070
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39071
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39072
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39073
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.757440"], ["updated_at", "2021-03-02 01:12:45.757440"]]
|
39074
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39075
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
39076
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39077
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.759041"], ["date_accepted", "2021-03-02 01:12:45.758868"], ["claim_hash", "AcJHlmAeVBmfBQ1oXIBl0snodD0ssJYlhuQc6djd"], ["created_at", "2021-03-02 01:12:45.759019"], ["updated_at", "2021-03-02 01:12:45.759019"]]
|
39078
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39079
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39080
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39081
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39082
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39083
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.761007"], ["updated_at", "2021-03-02 01:12:45.761007"]]
|
39084
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39085
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39086
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "employer"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.761923"], ["claim_hash", "KPoYrnUOIYoPwsq8EbnhDqvR7GBPJi2IYVXzy1Ld"], ["created_at", "2021-03-02 01:12:45.761904"], ["updated_at", "2021-03-02 01:12:45.761904"]]
|
39087
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39088
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'employer')[0m [["user_id", 1]]
|
39089
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39090
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39091
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39092
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND (email = 'test@d-i.co')[0m
|
39093
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39094
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "uberadmin"], ["date_sent", "2021-03-02 01:12:45.764750"], ["claim_hash", "XFXBhZ5bp7sPplren8GRZiPq5IbetcZF6sUreD8D"], ["created_at", "2021-03-02 01:12:45.764731"], ["updated_at", "2021-03-02 01:12:45.764731"]]
|
39095
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39096
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39097
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39098
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39099
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39100
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["email", "test@d-i.co"], ["role", "uberadmin"], ["date_sent", "2021-03-02 01:12:45.766676"], ["claim_hash", "m7lYRjC0ULaMJeqmkfDEIczm2KITva629fEkxJqQ"], ["created_at", "2021-03-02 01:12:45.766658"], ["updated_at", "2021-03-02 01:12:45.766658"]]
|
39101
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39102
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE (invitable_id IS NULL AND role = 'uberadmin') AND (email = 'test@d-i.co')[0m
|
39103
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39104
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39105
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39106
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39107
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.769006"], ["updated_at", "2021-03-02 01:12:45.769006"]]
|
39108
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39109
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39110
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39111
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "date_accepted", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.770569"], ["date_accepted", "2021-03-02 01:12:45.770403"], ["claim_hash", "VrdB83u8HyjVAxkuJhheQZ8x4oBJUyIB9NiY6kTp"], ["created_at", "2021-03-02 01:12:45.770549"], ["updated_at", "2021-03-02 01:12:45.770549"]]
|
39112
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39113
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|
39114
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[36mbegin transaction[0m
|
39115
|
+
[1m[36mInvitation Load (0.0ms)[0m [1m[34mSELECT "invitations".* FROM "invitations"[0m
|
39116
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39117
|
+
[1m[36mUser Create (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["email", "test2@d-i.co"], ["created_at", "2021-03-02 01:12:45.772521"], ["updated_at", "2021-03-02 01:12:45.772521"]]
|
39118
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39119
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
39120
|
+
[1m[36mInvitation Create (0.1ms)[0m [1m[32mINSERT INTO "invitations" ("email", "role", "user_id", "date_sent", "claim_hash", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["email", "test2@d-i.co"], ["role", "uberadmin"], ["user_id", 1], ["date_sent", "2021-03-02 01:12:45.773525"], ["claim_hash", "e6nHT0ldmhjApJFqABhQ2np7lsgc2TXWVHv4MM2p"], ["created_at", "2021-03-02 01:12:45.773504"], ["updated_at", "2021-03-02 01:12:45.773504"]]
|
39121
|
+
[1m[36mTRANSACTION (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
39122
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "invitations" WHERE "invitations"."user_id" = ? AND (invitable_id IS NULL AND role = 'uberadmin')[0m [["user_id", 1]]
|
39123
|
+
[1m[36mTRANSACTION (0.1ms)[0m [1m[31mrollback transaction[0m
|