shareable_models 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +661 -0
- data/README.md +123 -0
- data/Rakefile +25 -0
- data/app/models/share_model.rb +18 -0
- data/lib/shareable_models/engine.rb +13 -0
- data/lib/shareable_models/models/shareable.rb +149 -0
- data/lib/shareable_models/models/sharer.rb +232 -0
- data/lib/shareable_models/share.rb +50 -0
- data/lib/shareable_models/version.rb +7 -0
- data/lib/shareable_models.rb +15 -0
- data/spec/dummy/Rakefile +3 -0
- data/spec/dummy/app/models/resource.rb +8 -0
- data/spec/dummy/app/models/user.rb +8 -0
- data/spec/dummy/config/application.rb +17 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/secrets.yml +3 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20150831110800_create_users.rb +8 -0
- data/spec/dummy/db/migrate/20150831110900_create_resources.rb +9 -0
- data/spec/dummy/db/schema.rb +41 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +750 -0
- data/spec/dummy/log/test.log +3476 -0
- data/spec/dummy/tmp/cache/assets/CC1/7E0/sprockets%2F90700621d32c3e2ae2a4f912a72253ab +0 -0
- data/spec/dummy/tmp/cache/assets/CCF/6B0/sprockets%2Fa4652cd2ae14bbb5631a5a6480584905 +0 -0
- data/spec/dummy/tmp/cache/assets/D1C/290/sprockets%2Fe7f8e6b08f4ae6b9d49245564016ad27 +0 -0
- data/spec/dummy/tmp/cache/assets/D22/3A0/sprockets%2F3810c34c6ed797768acf9533ac9f086c +0 -0
- data/spec/dummy/tmp/cache/assets/D40/C10/sprockets%2F13484019fee8aed93d4d7f0342c0fa66 +0 -0
- data/spec/dummy/tmp/cache/assets/D6C/9B0/sprockets%2F49fc1144e2a91d5a71afc8da6d16387b +0 -0
- data/spec/dummy/tmp/cache/assets/DFD/6A0/sprockets%2Fa3e950d0cbe582637af2dd8caec45ed6 +0 -0
- data/spec/dummy/tmp/cache/assets/EEE/C40/sprockets%2Fb9ca5bee4dfcaa86005ef95ffcca5edb +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/-KhweS4Wy6LONwXNAAX21MuCb6S5pmcc2At-PRZTnVQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2E0BHjS9ga5CVF8p1i0BD342dTagEy6vpdptNnz4yi0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2SiJB6jwY0ykyL_L-2XcQS_URsqxH2jewKoEcaXdRQI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/2b4LnUroZnwjtmAZ9wAlYXERumGQqZ06CtgLLqLlFZ4.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/4yzlzceZQUxV0k8KLBaMF73Bn_2-WuesKO0HeG3c7TI.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/57y6b0y31Rr9fh-AS-C-53-Pi2yM7ckkgwYIQeDIvu8.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/5BpxDBRXPSEVa8E4oyZEZUcbmyodKDh45wQLjs9j7LA.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/6ZWgaX4_0TmoMClNlDesNKcO2HO-goRDGx5iocHbsKo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7F6McBtYiHW6rgiNy0YCvNTPhfMIOUrq7tsUI5xult8.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/7w0mCgW__e7l2wA7VXo4H1RR91pDMz1nJLnqNtCqGvo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/8h7VuyG1HXfABXa1B4--Oi7NfJQvchxYp4XzbT-8aWA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/BRS6CEJIYcJNLwfTJZCdYoBa9bJKVzo4o2X9PlbCDyw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/CV97-tikdhGY51qhiE8LIBXJPysB-0urwrF9u7wOgQA.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/E3jkQYtPcnSLkXBBARnRBrW1lTIIVrHyTHO2s689urA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/EKftD-LyK0JTxeLPzIiA90IkUlw-Rfu8hf1K2kIqJpE.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/F4fl2U72q21ysGgeNZOyLkVCfw2dvQPjoEghki_D_8A.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/F6RTFgWsLUC52NYLMkg2FeNKjgEZhSQS5NV1N3T0rGw.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/IPsZefXeGnBC1-g2_BOJHuaCBLP6E60ISZQvjOn2QGc.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/J0CARfIsAx4nD1Pk3q1NhG9xCHPOwGj9PaGu8z-ah1g.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Jaayipvdnp-lwqhyJiWdoGDwz5czFOMZLwducjDmfHc.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/K5wHnruZLsDmlCHhkWMCagLWPKPM5bxwB2dv037yO5o.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/KgWn-QmwEYBvpqByQM41ifUzsmOl40LnAJrCoq_oZcQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/LAGHT0mMgGhdBGTKU8fpHrmHSQmt5fIoHTTi4kIOUJw.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/T3dERBPkMEnJr8fvShtPBsFScRkir0lzJZQkpvrrct0.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/UTAd4qlYa57uaORsIWcp6VqcAUkRzixYzIGoEFCvCrY.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/UoWufV0QdgwAuVnwDXNWOQfgjGN6U7KnO2_2nXC5gHg.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/WpToyjdG3xfOFtl4HJYTpy4_w0U40f7qQWUm7d2SDxg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/XwozjE91sFB4cQGoJUgr2jV1ZuRlvN_HTWgpclrD59A.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/YAzUmPkKnALIIJE_0Meb0N5qTlBvVE1ront_B8yecfo.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/Yuxa44Ctnn_uPp1nr47NdNwltrmTEp0PleFL3ylXbtM.cache +4 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ZEUypIim5xuBK679jyb340c39nHQ3EvcgqbmeiHlT0c.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/ZQf7Hy4n2V3c-98b9kqTrZAcw3B2TDRF3IKPm9I7VjY.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/_SIN6dUlHiJyeUSpOPWAgfLfMrtjGlZgx8ZLEbkjLuQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/_TUGtF7Vi9blFNr3awt9kgCoid35NdmY8hSHmxuaWbg.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/_eb4NkdcbQR63aZySRq7Yv5_w_JReWqG2Q5mYA5u62s.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/bPiSNDFYlW5YDua0D-fC4uPRV8hYABbCor092KHNzHM.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/d3_09TJ2Uoh7sdjvHWw4jPVF0bObKu065NmgG-EIWcA.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/dQTSoOSXec5z_sf_i4UrehHxFRAn4HbRvfh8mUEK2ME.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/fVIC-zRTWj6S5SLH_vJQJY-ny5le0IaRQda1YLQQr68.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/hpNHCD7sn3wufa6PLUdFP95AS8nwrAaL_b9K4X9_eCE.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/huDMU1soBHMNsbUDXnTPbLtqvAEYPe6E-tLL9phYOBY.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/i43TdJOVKXtyejasCbHJP4U34FcJ5siCLFWpnPWxxU4.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/i4gUJwKC59hdrcb7ZaO09fNtKexVsb67-y3MZ7twsyI.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/iynGcjYbH69ZuxdS02RrsK2y33uPjFHCrYHRxxNVn_k.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/jR1PEBCdtdy135gPG-zLQDg25XQDP9eDBew7pmhz34k.cache +0 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/jvNKAnuW3TSUu3LxRcqdtmSHgoGiukm1onfXqD6glQA.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/kOBlorvGjGDVFhapT1HrAw48XziyeSqexuiKpVhDMac.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/mS-IpVGnBSf2F0bGZ7OPpXNCcNMtHmxm7TI1hHVlvps.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/pKsozyUJjXN2tIwiCbkGt9AzwLwdpHCYC1Cib-9GBIo.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/pP2ApxUxxz-JMscfDHnlZ4Hq4DybYrG_9B4npoDMGAE.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/r9dDy892QJeXi_CLvyTWZvGA9idLCbq9X0lnwxr9RZQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/rLeviNgrP2-MqSDlwBdtz3ciY9n32a5oY9NY3iQupsg.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/rf04rP-66AEEH942fvU_IcXRtrpw1_xbvnaxHD2wZGA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/uSWRYxEuSTYl_g1MvbE90G-h747P1dyWDCSZY0z1yzA.cache +2 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/uifNaYvk6KYC76GaHQ9muL_ObOmw4C_CSl9lzOUfnDE.cache +3 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/yOVPU3Y8NJQjJYfkK-l7I_DPfd3T4mIccYc6gY6ODBQ.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/yZA3xwYBnfhABCzMVYKNfJMWpJg4HEovQnr5t48Yrf0.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/y_XqYDfeQ0fehcC3FNz-qYXXcwOxtSDfsJX1nStC1qU.cache +1 -0
- data/spec/dummy/tmp/cache/assets/test/sprockets/v3.0/z_w2fR4GzVyUeMzrOEZKQSykA7SSjpdpLtlBgXEgcUA.cache +5 -0
- data/spec/fixtures/resources.yml +14 -0
- data/spec/fixtures/share_models.yml +8 -0
- data/spec/fixtures/users.yml +11 -0
- data/spec/models/share_model_spec.rb +148 -0
- data/spec/spec_helper.rb +20 -0
- metadata +303 -0
@@ -0,0 +1,3476 @@
|
|
1
|
+
Started GET "/assets/fonts/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:29:51 +0200
|
2
|
+
Started GET "/assets/fonts/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:29:51 +0200
|
3
|
+
Started GET "/assets/fonts/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:29:51 +0200
|
4
|
+
Started GET "/assets/fonts/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:29:51 +0200
|
5
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:32:49 +0200
|
6
|
+
Started GET "/assets/font/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:32:49 +0200
|
7
|
+
Started GET "/assets/fonts/materialicons-regular.woff" for 127.0.0.1 at 2015-06-12 08:32:49 +0200
|
8
|
+
Started GET "/assets/fonts/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:32:49 +0200
|
9
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:33:23 +0200
|
10
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:33:23 +0200
|
11
|
+
Started GET "/assets/materialicons-regular.woff" for 127.0.0.1 at 2015-06-12 08:33:23 +0200
|
12
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:33:23 +0200
|
13
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:33:41 +0200
|
14
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:33:41 +0200
|
15
|
+
Started GET "/assets/MaterialIcons-regular.woff" for 127.0.0.1 at 2015-06-12 08:33:41 +0200
|
16
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:33:41 +0200
|
17
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:33:51 +0200
|
18
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:33:51 +0200
|
19
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:33:51 +0200
|
20
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:33:51 +0200
|
21
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:34:10 +0200
|
22
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:34:11 +0200
|
23
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:34:11 +0200
|
24
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:34:11 +0200
|
25
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:36:08 +0200
|
26
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:36:08 +0200
|
27
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:36:08 +0200
|
28
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:36:08 +0200
|
29
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:36:23 +0200
|
30
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:36:24 +0200
|
31
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:36:24 +0200
|
32
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:36:24 +0200
|
33
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:36:39 +0200
|
34
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:36:39 +0200
|
35
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:36:39 +0200
|
36
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:36:39 +0200
|
37
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:41:11 +0200
|
38
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:41:11 +0200
|
39
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:41:11 +0200
|
40
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:41:11 +0200
|
41
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 08:41:11 +0200
|
42
|
+
Processing by HomeController#index as HTML
|
43
|
+
Rendered home/index.html.erb within layouts/application (1.8ms)
|
44
|
+
Completed 200 OK in 49ms (Views: 48.2ms | ActiveRecord: 0.0ms)
|
45
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:42:12 +0200
|
46
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:42:12 +0200
|
47
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:42:12 +0200
|
48
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:42:12 +0200
|
49
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 08:42:12 +0200
|
50
|
+
Processing by HomeController#index as HTML
|
51
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
52
|
+
Completed 200 OK in 15ms (Views: 15.1ms | ActiveRecord: 0.0ms)
|
53
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:43:14 +0200
|
54
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:43:14 +0200
|
55
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:43:14 +0200
|
56
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:43:14 +0200
|
57
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 08:43:14 +0200
|
58
|
+
Processing by HomeController#index as HTML
|
59
|
+
Rendered home/index.html.erb within layouts/application (1.0ms)
|
60
|
+
Completed 200 OK in 14ms (Views: 13.4ms | ActiveRecord: 0.0ms)
|
61
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:44:51 +0200
|
62
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:44:51 +0200
|
63
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:44:51 +0200
|
64
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:44:51 +0200
|
65
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 08:44:51 +0200
|
66
|
+
Processing by HomeController#index as HTML
|
67
|
+
Rendered home/index.html.erb within layouts/application (1.2ms)
|
68
|
+
Completed 200 OK in 14ms (Views: 14.2ms | ActiveRecord: 0.0ms)
|
69
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:46:58 +0200
|
70
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:46:58 +0200
|
71
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:46:58 +0200
|
72
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:46:58 +0200
|
73
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 08:46:58 +0200
|
74
|
+
Processing by HomeController#index as HTML
|
75
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
76
|
+
Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.0ms)
|
77
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:48:28 +0200
|
78
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:48:28 +0200
|
79
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:48:28 +0200
|
80
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:48:29 +0200
|
81
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 08:48:29 +0200
|
82
|
+
Processing by HomeController#index as HTML
|
83
|
+
Rendered home/index.html.erb within layouts/application (1.9ms)
|
84
|
+
Completed 200 OK in 21ms (Views: 20.7ms | ActiveRecord: 0.0ms)
|
85
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:54:24 +0200
|
86
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:54:24 +0200
|
87
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:54:24 +0200
|
88
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:54:24 +0200
|
89
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 08:54:24 +0200
|
90
|
+
Processing by HomeController#index as HTML
|
91
|
+
Rendered home/index.html.erb within layouts/application (1.3ms)
|
92
|
+
Completed 200 OK in 16ms (Views: 16.1ms | ActiveRecord: 0.0ms)
|
93
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:55:42 +0200
|
94
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:55:42 +0200
|
95
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:55:42 +0200
|
96
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:55:42 +0200
|
97
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 08:55:42 +0200
|
98
|
+
Processing by HomeController#index as HTML
|
99
|
+
Rendered home/index.html.erb within layouts/application (1.7ms)
|
100
|
+
Completed 200 OK in 18ms (Views: 17.1ms | ActiveRecord: 0.0ms)
|
101
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:57:11 +0200
|
102
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:57:11 +0200
|
103
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:57:11 +0200
|
104
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:57:11 +0200
|
105
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 08:57:11 +0200
|
106
|
+
Processing by HomeController#index as HTML
|
107
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
108
|
+
Completed 200 OK in 15ms (Views: 14.6ms | ActiveRecord: 0.0ms)
|
109
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:58:41 +0200
|
110
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:58:41 +0200
|
111
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:58:41 +0200
|
112
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:58:41 +0200
|
113
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 08:58:41 +0200
|
114
|
+
Processing by HomeController#index as HTML
|
115
|
+
Rendered home/index.html.erb within layouts/application (1.2ms)
|
116
|
+
Completed 200 OK in 12ms (Views: 12.0ms | ActiveRecord: 0.0ms)
|
117
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 08:59:20 +0200
|
118
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 08:59:20 +0200
|
119
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 08:59:20 +0200
|
120
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 08:59:20 +0200
|
121
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 08:59:20 +0200
|
122
|
+
Processing by HomeController#index as HTML
|
123
|
+
Rendered home/index.html.erb within layouts/application (1.0ms)
|
124
|
+
Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.0ms)
|
125
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:00:04 +0200
|
126
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:00:04 +0200
|
127
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:00:04 +0200
|
128
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:00:04 +0200
|
129
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:00:04 +0200
|
130
|
+
Processing by HomeController#index as HTML
|
131
|
+
Rendered home/index.html.erb within layouts/application (1.2ms)
|
132
|
+
Completed 200 OK in 12ms (Views: 12.0ms | ActiveRecord: 0.0ms)
|
133
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:01:25 +0200
|
134
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:01:26 +0200
|
135
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:01:26 +0200
|
136
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:01:26 +0200
|
137
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:01:26 +0200
|
138
|
+
Processing by HomeController#index as HTML
|
139
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
140
|
+
Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms)
|
141
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:01:39 +0200
|
142
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:01:39 +0200
|
143
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:01:39 +0200
|
144
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:01:39 +0200
|
145
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:01:39 +0200
|
146
|
+
Processing by HomeController#index as HTML
|
147
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
148
|
+
Completed 200 OK in 11ms (Views: 10.7ms | ActiveRecord: 0.0ms)
|
149
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:02:26 +0200
|
150
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:02:26 +0200
|
151
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:02:26 +0200
|
152
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:02:26 +0200
|
153
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:02:26 +0200
|
154
|
+
Processing by HomeController#index as HTML
|
155
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
156
|
+
Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.0ms)
|
157
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:07:28 +0200
|
158
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:07:28 +0200
|
159
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:07:28 +0200
|
160
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:07:28 +0200
|
161
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:07:28 +0200
|
162
|
+
Processing by HomeController#index as HTML
|
163
|
+
Rendered home/index.html.erb within layouts/application (1.8ms)
|
164
|
+
Completed 200 OK in 30ms (Views: 29.4ms | ActiveRecord: 0.0ms)
|
165
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:07:42 +0200
|
166
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:07:42 +0200
|
167
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:07:42 +0200
|
168
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:07:42 +0200
|
169
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:07:42 +0200
|
170
|
+
Processing by HomeController#index as HTML
|
171
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
172
|
+
Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms)
|
173
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:07:51 +0200
|
174
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:07:51 +0200
|
175
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:07:51 +0200
|
176
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:07:51 +0200
|
177
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:07:51 +0200
|
178
|
+
Processing by HomeController#index as HTML
|
179
|
+
Rendered home/index.html.erb within layouts/application (1.2ms)
|
180
|
+
Completed 200 OK in 12ms (Views: 11.9ms | ActiveRecord: 0.0ms)
|
181
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:08:34 +0200
|
182
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:08:35 +0200
|
183
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:08:35 +0200
|
184
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:08:35 +0200
|
185
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:08:35 +0200
|
186
|
+
Processing by HomeController#index as HTML
|
187
|
+
Rendered home/index.html.erb within layouts/application (1.8ms)
|
188
|
+
Completed 200 OK in 14ms (Views: 13.9ms | ActiveRecord: 0.0ms)
|
189
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:09:31 +0200
|
190
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:09:31 +0200
|
191
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:09:31 +0200
|
192
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:09:31 +0200
|
193
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:09:31 +0200
|
194
|
+
Processing by HomeController#index as HTML
|
195
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
196
|
+
Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.0ms)
|
197
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:10:00 +0200
|
198
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:10:00 +0200
|
199
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:10:00 +0200
|
200
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:10:00 +0200
|
201
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:10:00 +0200
|
202
|
+
Processing by HomeController#index as HTML
|
203
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
204
|
+
Completed 200 OK in 11ms (Views: 10.8ms | ActiveRecord: 0.0ms)
|
205
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:10:27 +0200
|
206
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:10:27 +0200
|
207
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:10:27 +0200
|
208
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:10:27 +0200
|
209
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:10:27 +0200
|
210
|
+
Processing by HomeController#index as HTML
|
211
|
+
Rendered home/index.html.erb within layouts/application (2.6ms)
|
212
|
+
Completed 200 OK in 18ms (Views: 17.8ms | ActiveRecord: 0.0ms)
|
213
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:10:42 +0200
|
214
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:10:42 +0200
|
215
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:10:42 +0200
|
216
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:10:42 +0200
|
217
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:10:42 +0200
|
218
|
+
Processing by HomeController#index as HTML
|
219
|
+
Rendered home/index.html.erb within layouts/application (1.1ms)
|
220
|
+
Completed 200 OK in 12ms (Views: 12.0ms | ActiveRecord: 0.0ms)
|
221
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:10:52 +0200
|
222
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:10:52 +0200
|
223
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:10:52 +0200
|
224
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:10:52 +0200
|
225
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:10:52 +0200
|
226
|
+
Processing by HomeController#index as HTML
|
227
|
+
Rendered home/index.html.erb within layouts/application (1.3ms)
|
228
|
+
Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.0ms)
|
229
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:11:41 +0200
|
230
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:11:41 +0200
|
231
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:11:41 +0200
|
232
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:11:41 +0200
|
233
|
+
Started GET "/" for 127.0.0.1 at 2015-06-12 09:11:41 +0200
|
234
|
+
Processing by HomeController#index as HTML
|
235
|
+
Rendered home/index.html.erb within layouts/application (1.8ms)
|
236
|
+
Completed 200 OK in 14ms (Views: 13.8ms | ActiveRecord: 0.0ms)
|
237
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:13:52 +0200
|
238
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:13:52 +0200
|
239
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:13:52 +0200
|
240
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:13:52 +0200
|
241
|
+
Rendered home/index.html.erb (1.1ms)
|
242
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:14:28 +0200
|
243
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:14:28 +0200
|
244
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:14:28 +0200
|
245
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:14:28 +0200
|
246
|
+
Rendered home/index.html.erb (1.1ms)
|
247
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:14:55 +0200
|
248
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:14:55 +0200
|
249
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:14:55 +0200
|
250
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:14:55 +0200
|
251
|
+
Rendered home/index.html.erb (1.1ms)
|
252
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 09:16:03 +0200
|
253
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 09:16:03 +0200
|
254
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 09:16:03 +0200
|
255
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 09:16:03 +0200
|
256
|
+
Rendered home/index.html.erb (1.1ms)
|
257
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 13:43:54 +0200
|
258
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 13:43:54 +0200
|
259
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 13:43:54 +0200
|
260
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 13:43:54 +0200
|
261
|
+
Rendered home/index.html.erb (1.7ms)
|
262
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 13:50:14 +0200
|
263
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 13:50:14 +0200
|
264
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 13:50:14 +0200
|
265
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 13:50:14 +0200
|
266
|
+
Rendered home/index.html.erb (2.1ms)
|
267
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 13:50:38 +0200
|
268
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 13:50:38 +0200
|
269
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 13:50:38 +0200
|
270
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 13:50:38 +0200
|
271
|
+
Rendered home/index.html.erb (2.5ms)
|
272
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 13:51:16 +0200
|
273
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 13:51:16 +0200
|
274
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 13:51:16 +0200
|
275
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 13:51:16 +0200
|
276
|
+
Rendered home/index.html.erb (1.6ms)
|
277
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 17:33:01 +0200
|
278
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 17:33:01 +0200
|
279
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 17:33:01 +0200
|
280
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 17:33:01 +0200
|
281
|
+
Rendered home/index.html.erb (1.7ms)
|
282
|
+
Rendered home/index.html.erb (0.5ms)
|
283
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 17:50:41 +0200
|
284
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 17:50:42 +0200
|
285
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 17:50:42 +0200
|
286
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 17:50:42 +0200
|
287
|
+
Rendered home/index.html.erb (1.8ms)
|
288
|
+
Rendered home/index.html.erb (0.5ms)
|
289
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 17:52:29 +0200
|
290
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 17:52:29 +0200
|
291
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 17:52:29 +0200
|
292
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 17:52:29 +0200
|
293
|
+
Rendered home/index.html.erb (1.1ms)
|
294
|
+
Rendered home/index.html.erb (0.4ms)
|
295
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 18:06:10 +0200
|
296
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 18:06:10 +0200
|
297
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 18:06:10 +0200
|
298
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 18:06:10 +0200
|
299
|
+
Rendered home/index.html.erb (1.7ms)
|
300
|
+
Rendered home/index.html.erb (0.4ms)
|
301
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 18:25:24 +0200
|
302
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 18:25:24 +0200
|
303
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 18:25:24 +0200
|
304
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 18:25:24 +0200
|
305
|
+
Rendered home/index.html.erb (1.7ms)
|
306
|
+
Rendered home/index.html.erb (0.5ms)
|
307
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-06-12 18:52:27 +0200
|
308
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-06-12 18:52:27 +0200
|
309
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-06-12 18:52:27 +0200
|
310
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-06-12 18:52:27 +0200
|
311
|
+
Rendered home/index.html.erb (2.7ms)
|
312
|
+
Rendered home/index.html.erb (0.5ms)
|
313
|
+
Connecting to database specified by database.yml
|
314
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 22:43:03 +0200
|
315
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 22:43:03 +0200
|
316
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 22:43:03 +0200
|
317
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 22:43:03 +0200
|
318
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 22:47:15 +0200
|
319
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 22:47:15 +0200
|
320
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 22:47:15 +0200
|
321
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 22:47:15 +0200
|
322
|
+
Rendered home/index.html.erb (1.3ms)
|
323
|
+
Rendered home/index.html.erb (0.5ms)
|
324
|
+
Connecting to database specified by database.yml
|
325
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 22:48:01 +0200
|
326
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 22:48:01 +0200
|
327
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 22:48:01 +0200
|
328
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 22:48:01 +0200
|
329
|
+
Connecting to database specified by database.yml
|
330
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 22:49:01 +0200
|
331
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 22:49:01 +0200
|
332
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 22:49:02 +0200
|
333
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 22:49:02 +0200
|
334
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 22:50:48 +0200
|
335
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 22:50:48 +0200
|
336
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 22:50:48 +0200
|
337
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 22:50:48 +0200
|
338
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 22:53:12 +0200
|
339
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 22:53:12 +0200
|
340
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 22:53:12 +0200
|
341
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 22:53:12 +0200
|
342
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 22:53:57 +0200
|
343
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 22:53:58 +0200
|
344
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 22:53:58 +0200
|
345
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 22:53:58 +0200
|
346
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 22:59:48 +0200
|
347
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 22:59:49 +0200
|
348
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 22:59:49 +0200
|
349
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 22:59:49 +0200
|
350
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 23:00:17 +0200
|
351
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 23:00:17 +0200
|
352
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 23:00:17 +0200
|
353
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 23:00:17 +0200
|
354
|
+
Connecting to database specified by database.yml
|
355
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 23:00:58 +0200
|
356
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 23:00:58 +0200
|
357
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 23:00:58 +0200
|
358
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 23:00:58 +0200
|
359
|
+
Connecting to database specified by database.yml
|
360
|
+
Started GET "/assets/fonts/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 23:03:35 +0200
|
361
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 23:03:35 +0200
|
362
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 23:03:35 +0200
|
363
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 23:03:35 +0200
|
364
|
+
Connecting to database specified by database.yml
|
365
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 23:10:24 +0200
|
366
|
+
Served asset /MaterialIcons-Regular.eot - 200 OK (6ms)
|
367
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 23:10:24 +0200
|
368
|
+
Served asset /MaterialIcons-Regular.ttf - 200 OK (4ms)
|
369
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 23:10:24 +0200
|
370
|
+
Served asset /MaterialIcons-Regular.woff - 200 OK (4ms)
|
371
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 23:10:24 +0200
|
372
|
+
Served asset /MaterialIcons-Regular.woff2 - 200 OK (4ms)
|
373
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 23:29:10 +0200
|
374
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 23:29:10 +0200
|
375
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 23:29:10 +0200
|
376
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 23:29:10 +0200
|
377
|
+
Rendered home/index.html.erb (2.7ms)
|
378
|
+
Rendered home/index.html.erb (0.5ms)
|
379
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-27 23:29:41 +0200
|
380
|
+
Served asset /MaterialIcons-Regular.eot - 200 OK (3ms)
|
381
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-27 23:29:41 +0200
|
382
|
+
Served asset /MaterialIcons-Regular.ttf - 200 OK (1ms)
|
383
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-27 23:29:41 +0200
|
384
|
+
Served asset /MaterialIcons-Regular.woff - 200 OK (1ms)
|
385
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-27 23:29:41 +0200
|
386
|
+
Served asset /MaterialIcons-Regular.woff2 - 200 OK (1ms)
|
387
|
+
Started GET "/assets/MaterialIcons-Regular.eot" for 127.0.0.1 at 2015-08-28 19:35:38 +0200
|
388
|
+
Started GET "/assets/MaterialIcons-Regular.ttf" for 127.0.0.1 at 2015-08-28 19:35:38 +0200
|
389
|
+
Started GET "/assets/MaterialIcons-Regular.woff" for 127.0.0.1 at 2015-08-28 19:35:38 +0200
|
390
|
+
Started GET "/assets/MaterialIcons-Regular.woff2" for 127.0.0.1 at 2015-08-28 19:35:38 +0200
|
391
|
+
Rendered home/index.html.erb (2.0ms)
|
392
|
+
Rendered home/index.html.erb (0.5ms)
|
393
|
+
[1m[36m (1.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
394
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
395
|
+
[1m[36m (1.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
396
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
397
|
+
Migrating to CreateUsers (20150831110800)
|
398
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
399
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
|
400
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150831110800"]]
|
401
|
+
[1m[35m (0.8ms)[0m commit transaction
|
402
|
+
Migrating to CreateResources (20150831110900)
|
403
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
404
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
|
405
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")[0m
|
406
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150831110900"]]
|
407
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
408
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
409
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
410
|
+
FROM sqlite_master
|
411
|
+
WHERE name='index_resources_on_user_id' AND type='index'
|
412
|
+
UNION ALL
|
413
|
+
SELECT sql
|
414
|
+
FROM sqlite_temp_master
|
415
|
+
WHERE name='index_resources_on_user_id' AND type='index'
|
416
|
+
[0m
|
417
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
418
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
419
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
420
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
421
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
422
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
423
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
424
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
425
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
426
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
427
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
428
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
429
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
430
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
431
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
432
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
433
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
434
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
435
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
436
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
437
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
438
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
439
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
440
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "resources"
|
441
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
442
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
443
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
444
|
+
[1m[35m (8.0ms)[0m rollback transaction
|
445
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
446
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
447
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
448
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
449
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
450
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
451
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
452
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
453
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
454
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "resources"
|
455
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
456
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
457
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
458
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
459
|
+
[1m[36m (9.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar NOT NULL) [0m
|
460
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
461
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
462
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
463
|
+
Migrating to CreateShareModels (20150831102200)
|
464
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
465
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "share_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" integer, "resource_type" varchar, "shared_to_id" integer, "shared_to_type" varchar, "shared_from_id" integer, "shared_from_type" varchar, "edit" boolean)
|
466
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_share_models_on_resource_type_and_resource_id" ON "share_models" ("resource_type", "resource_id")[0m
|
467
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
468
|
+
FROM sqlite_master
|
469
|
+
WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'
|
470
|
+
UNION ALL
|
471
|
+
SELECT sql
|
472
|
+
FROM sqlite_temp_master
|
473
|
+
WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'
|
474
|
+
|
475
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_share_models_on_shared_to_type_and_shared_to_id" ON "share_models" ("shared_to_type", "shared_to_id")[0m
|
476
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
477
|
+
FROM sqlite_master
|
478
|
+
WHERE name='index_share_models_on_shared_to_type_and_shared_to_id' AND type='index'
|
479
|
+
UNION ALL
|
480
|
+
SELECT sql
|
481
|
+
FROM sqlite_temp_master
|
482
|
+
WHERE name='index_share_models_on_shared_to_type_and_shared_to_id' AND type='index'
|
483
|
+
|
484
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
485
|
+
FROM sqlite_master
|
486
|
+
WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'
|
487
|
+
UNION ALL
|
488
|
+
SELECT sql
|
489
|
+
FROM sqlite_temp_master
|
490
|
+
WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'
|
491
|
+
[0m
|
492
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_share_models_on_shared_from_type_and_shared_from_id" ON "share_models" ("shared_from_type", "shared_from_id")
|
493
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150831102200"]]
|
494
|
+
[1m[35m (0.9ms)[0m commit transaction
|
495
|
+
Migrating to CreateUsers (20150831110800)
|
496
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
497
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar)
|
498
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20150831110800"]]
|
499
|
+
[1m[35m (0.7ms)[0m commit transaction
|
500
|
+
Migrating to CreateResources (20150831110900)
|
501
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
502
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar, "user_id" integer)
|
503
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_resources_on_user_id" ON "resources" ("user_id")[0m
|
504
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150831110900"]]
|
505
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
506
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
507
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
508
|
+
FROM sqlite_master
|
509
|
+
WHERE name='index_resources_on_user_id' AND type='index'
|
510
|
+
UNION ALL
|
511
|
+
SELECT sql
|
512
|
+
FROM sqlite_temp_master
|
513
|
+
WHERE name='index_resources_on_user_id' AND type='index'
|
514
|
+
[0m
|
515
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
516
|
+
FROM sqlite_master
|
517
|
+
WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'
|
518
|
+
UNION ALL
|
519
|
+
SELECT sql
|
520
|
+
FROM sqlite_temp_master
|
521
|
+
WHERE name='index_share_models_on_shared_from_type_and_shared_from_id' AND type='index'
|
522
|
+
|
523
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
524
|
+
FROM sqlite_master
|
525
|
+
WHERE name='index_share_models_on_shared_to_type_and_shared_to_id' AND type='index'
|
526
|
+
UNION ALL
|
527
|
+
SELECT sql
|
528
|
+
FROM sqlite_temp_master
|
529
|
+
WHERE name='index_share_models_on_shared_to_type_and_shared_to_id' AND type='index'
|
530
|
+
[0m
|
531
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
532
|
+
FROM sqlite_master
|
533
|
+
WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'
|
534
|
+
UNION ALL
|
535
|
+
SELECT sql
|
536
|
+
FROM sqlite_temp_master
|
537
|
+
WHERE name='index_share_models_on_resource_type_and_resource_id' AND type='index'
|
538
|
+
|
539
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
540
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "resources"
|
541
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
542
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
543
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
544
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
545
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
546
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
547
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
548
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
549
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
550
|
+
[1m[35m (9.1ms)[0m commit transaction
|
551
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
552
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
553
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
554
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
555
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
556
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
557
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
558
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
559
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "resources"
|
560
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
561
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
562
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
563
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
564
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
565
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
566
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
567
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
568
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
569
|
+
[1m[35m (1.0ms)[0m commit transaction
|
570
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
571
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
572
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
573
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
574
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
575
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
576
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
577
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
578
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
579
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
580
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
581
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "resources"
|
582
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
583
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
584
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
585
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
586
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
587
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
588
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
589
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
590
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
591
|
+
[1m[35m (0.8ms)[0m commit transaction
|
592
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
593
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
594
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
595
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
596
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
597
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
598
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
599
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
600
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
601
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
602
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
603
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
604
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
605
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
606
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
607
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
608
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
609
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
610
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
611
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
612
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
613
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
614
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
615
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
616
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
617
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
618
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
619
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
620
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
621
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
622
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
623
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
624
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
625
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
626
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
627
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
628
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
629
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
630
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
631
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "f"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
632
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
633
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
634
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
635
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
636
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
637
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
638
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
639
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
640
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
641
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
642
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
643
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
644
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
645
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
646
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
647
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
648
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
649
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
650
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
651
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
652
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
653
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
654
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
655
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
656
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
657
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
658
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
659
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
660
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
661
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
662
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
663
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
664
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
665
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
666
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
667
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
668
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
669
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
670
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
671
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
672
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
673
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
674
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
675
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
676
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
677
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
678
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
679
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
680
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
681
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
682
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
683
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
684
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
685
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
686
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
687
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
688
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
689
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
690
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
691
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
692
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
693
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
694
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
695
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
696
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
697
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
698
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
699
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
700
|
+
[1m[36mSQL (0.2ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
701
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
702
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
703
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
704
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
705
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
706
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
707
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
708
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
709
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
710
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
711
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
712
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
713
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
714
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
715
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
716
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
717
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
718
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
719
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
720
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
721
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
722
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
723
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
724
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
725
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
726
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
727
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
728
|
+
[1m[36mSQL (0.0ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
729
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
730
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
731
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
732
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
733
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "resources"
|
734
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
735
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
736
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
737
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
738
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
739
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
740
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
741
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
742
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
743
|
+
[1m[35m (0.9ms)[0m commit transaction
|
744
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
745
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
746
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
747
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
748
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
749
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
750
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
751
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
752
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
753
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
754
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
755
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
756
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
757
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
758
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
759
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
760
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
761
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
762
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
763
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
764
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
765
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
766
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
767
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
768
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
769
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
771
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
772
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
773
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
774
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
775
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
776
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
777
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
778
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
779
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
780
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
781
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
782
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
783
|
+
[1m[35mSQL (2.1ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "f"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
784
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
785
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
786
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
787
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
788
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
789
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
790
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
791
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
792
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
793
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
794
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
795
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
796
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
797
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
798
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
799
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
800
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
801
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
802
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
803
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
804
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
805
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
806
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
807
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
808
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
809
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
810
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
811
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
812
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
813
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
814
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
815
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
816
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
817
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
818
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
819
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
820
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
821
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
822
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
823
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
824
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
825
|
+
[1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
826
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
827
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
828
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
829
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
830
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
831
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
832
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
833
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
834
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
835
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
836
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
837
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
838
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
839
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
840
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
841
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
842
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
843
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
844
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
845
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
846
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
847
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
848
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
849
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
850
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
851
|
+
[1m[35mShareModel Exists (0.3ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
852
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
853
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
854
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
855
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
856
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
857
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
858
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
859
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
860
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
861
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
862
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
863
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
864
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
865
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
866
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
867
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
868
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
869
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
870
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
871
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
872
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
873
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
874
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
875
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
876
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
877
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
878
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
879
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
880
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
881
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
882
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
883
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
884
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
885
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
886
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
887
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
888
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
889
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
890
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
891
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
892
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
893
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
894
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
895
|
+
[1m[35m (0.1ms)[0m begin transaction
|
896
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
897
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
898
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
899
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
900
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
901
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
902
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
903
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
904
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
905
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
906
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
907
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
908
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
909
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
910
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
911
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
912
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
913
|
+
[1m[35m (0.0ms)[0m begin transaction
|
914
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
915
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
916
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
917
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
918
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
919
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
920
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
921
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
922
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
923
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "resources"
|
924
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
925
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
926
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
927
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
928
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
929
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
930
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
931
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
932
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
933
|
+
[1m[35m (1.0ms)[0m commit transaction
|
934
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
935
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
936
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
937
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
938
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
939
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
940
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
941
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
942
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
943
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
944
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
945
|
+
[1m[35m (0.1ms)[0m begin transaction
|
946
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
947
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
948
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
949
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
950
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
951
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
952
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
953
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
954
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
955
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
956
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
957
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
958
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
959
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
960
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
961
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
962
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
963
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
964
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
965
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
966
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
967
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
968
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
969
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
970
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
971
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
972
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
973
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
974
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
975
|
+
[1m[35mShareModel Exists (0.3ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
976
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "f"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
977
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
978
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
979
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
980
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
981
|
+
[1m[35m (0.1ms)[0m begin transaction
|
982
|
+
[1m[36mResource Load (0.2ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
983
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
984
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
985
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
986
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
987
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
988
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
989
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
990
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
991
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
992
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
993
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
994
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
995
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
996
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
997
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
998
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
999
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1000
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1001
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1002
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1003
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1004
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1005
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1006
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1007
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1008
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1009
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1010
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1011
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1012
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1013
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1014
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1015
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1016
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1017
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1018
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1019
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1020
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1021
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1022
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1023
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1024
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1025
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1026
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1027
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1028
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1029
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1030
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
1031
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1032
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1033
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1034
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1035
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1036
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1037
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1038
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1039
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1040
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1041
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1042
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1043
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1044
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1045
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1046
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1047
|
+
[1m[35mShareModel Exists (0.4ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1048
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
1049
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1050
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1051
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1052
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1053
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1054
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1055
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1056
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1057
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1058
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1059
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1060
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1061
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1062
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1063
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1064
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1065
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1066
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1067
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1068
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1069
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1070
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1071
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1072
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1073
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1074
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1075
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1076
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1077
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ? [["edit", "f"], ["id", 270405680]]
|
1078
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1079
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1080
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
1081
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1082
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1083
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1084
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1085
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1086
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1087
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1088
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1089
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1090
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1091
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1092
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1093
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1094
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1095
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1096
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1097
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1098
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1099
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1100
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1101
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1102
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1103
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1104
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1105
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
1106
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1107
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1108
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1109
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1110
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1111
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1112
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1113
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1114
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1115
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1116
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1117
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1118
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1119
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1120
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1121
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1122
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1123
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1124
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1125
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1126
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1127
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1128
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1129
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1130
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1131
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1132
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1133
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1134
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1135
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1136
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1137
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1138
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1139
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1140
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1141
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1142
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1143
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "resources"
|
1144
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
1145
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
1146
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
1147
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
1148
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
1149
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
1150
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
1151
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
1152
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
1153
|
+
[1m[35m (8.3ms)[0m commit transaction
|
1154
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1155
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1156
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1157
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1158
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1159
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1160
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1161
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1162
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1163
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1164
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1165
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1166
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1167
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1168
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1169
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1170
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1171
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1172
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1173
|
+
[1m[35m (8.2ms)[0m SAVEPOINT active_record_1
|
1174
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1175
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1176
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1177
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1178
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1179
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1180
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1181
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1182
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1183
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1184
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1185
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1186
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1187
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1188
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1189
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1190
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1191
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1192
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1193
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1194
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1195
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1196
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "f"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1197
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1198
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1199
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1200
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1201
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1202
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1203
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1204
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1205
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1206
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1207
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1208
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
1209
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1210
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1211
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1212
|
+
[1m[36mShareModel Load (0.2ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1213
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1214
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1215
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1216
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1217
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1218
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1219
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1220
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1221
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
1222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1223
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1224
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1225
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1226
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1227
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1228
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1229
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1230
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1231
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1232
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1233
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1234
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1235
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1236
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1237
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1238
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1239
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1240
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1241
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1242
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1243
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1244
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1245
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1246
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1247
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1248
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1249
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1250
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
1251
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1252
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1253
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1254
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1255
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1256
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1257
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1258
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1259
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1260
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1261
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1262
|
+
[1m[36mShareModel Load (0.2ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1263
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1264
|
+
[1m[36mResource Load (0.2ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1265
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1266
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1267
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1268
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
1269
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1270
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1271
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1272
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1273
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1274
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1275
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1276
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1277
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1278
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1279
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1280
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1281
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1282
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1283
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1284
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1285
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1286
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1287
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1288
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1289
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1290
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1291
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1292
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1293
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1294
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1295
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1296
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1297
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ? [["edit", "f"], ["id", 270405680]]
|
1298
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1299
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1300
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1301
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1302
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1303
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1304
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1305
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1306
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1307
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1308
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1309
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1310
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1311
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1312
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1313
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1314
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1315
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1316
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1317
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1318
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1319
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1320
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1321
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1322
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1323
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1324
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
1325
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1326
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1327
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1328
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1329
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1330
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1331
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1332
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1333
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1334
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1335
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1336
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1337
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1338
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1339
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1340
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1341
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1342
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1343
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1344
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1345
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1346
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1347
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1348
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1349
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1350
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1351
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1352
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1353
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1354
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1355
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1356
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1357
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1358
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1359
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1360
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1361
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1362
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "resources"
|
1363
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
1364
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
1365
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
1366
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
1367
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
1368
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
1369
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
1370
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
1371
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
1372
|
+
[1m[35m (8.1ms)[0m commit transaction
|
1373
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1374
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1375
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1376
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1377
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1378
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1379
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1380
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1381
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1382
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1383
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1384
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1385
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1386
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1387
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1388
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1389
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1390
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1391
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1392
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1393
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1394
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1395
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1396
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1397
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1398
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1399
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1400
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1401
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1402
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1403
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1404
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1405
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1406
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1407
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1408
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1409
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1410
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1411
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1412
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1413
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1414
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1415
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "f"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1416
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1417
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1418
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1419
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1420
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1421
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1422
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1423
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1424
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1425
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1426
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1427
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
1428
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1429
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1430
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1431
|
+
[1m[36mShareModel Load (0.2ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1432
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1433
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1434
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1435
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1436
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1437
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1438
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1439
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1440
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
1441
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1442
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1443
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1444
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1445
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1446
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1447
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1448
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1449
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1450
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1451
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1452
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1453
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1454
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1455
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1456
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1457
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1458
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1459
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1460
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1461
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1462
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1463
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1464
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1465
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1466
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1467
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1468
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1469
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
1470
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1471
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1472
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1473
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1474
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1475
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1476
|
+
[1m[35mShareModel Exists (0.4ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1477
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1478
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1479
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1480
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1481
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1482
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1483
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1484
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1485
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1486
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1487
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
1488
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1489
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1490
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1491
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1492
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1493
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1494
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1495
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1496
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1497
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1498
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1499
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1500
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1501
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1502
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1503
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1504
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1505
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1506
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1507
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1508
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1509
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1510
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1511
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1512
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1513
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1514
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1515
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1516
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ? [["edit", "f"], ["id", 270405680]]
|
1517
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1518
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1519
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1520
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1521
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1522
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1523
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1524
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1525
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1526
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1527
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1528
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1529
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1530
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1531
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1532
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1533
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1534
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1535
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1536
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1537
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1538
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1539
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1540
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1541
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1542
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1543
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
1544
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1545
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1546
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1547
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1548
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1549
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1550
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1551
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1552
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1553
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1554
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1555
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1556
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1557
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1558
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1559
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1560
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1561
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1562
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1563
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1564
|
+
[1m[35mResource Load (0.3ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1565
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1566
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1567
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1568
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1569
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1570
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1571
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1572
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1573
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1574
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1575
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1576
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1577
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1578
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1579
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1580
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
1581
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "resources"
|
1582
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
1583
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
1584
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
1585
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
1586
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
1587
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
1588
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
1589
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
1590
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
1591
|
+
[1m[35m (8.8ms)[0m commit transaction
|
1592
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1593
|
+
[1m[35mResource Load (0.3ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1594
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1595
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1596
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1597
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1598
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1599
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1600
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1601
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1602
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1603
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1604
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1605
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1606
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1607
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1608
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1609
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1610
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1611
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1612
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1613
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1614
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1615
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1616
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1617
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1618
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1619
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
1620
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1621
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1622
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1623
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1624
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1625
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1626
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1627
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1628
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1629
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1630
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1631
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1632
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1633
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1634
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "f"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1635
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1636
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1637
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1638
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1639
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1640
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1641
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1642
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1643
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1644
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1645
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1646
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
1647
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1648
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1649
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1650
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1651
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1652
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1653
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1654
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1655
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1656
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1657
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1658
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1659
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1660
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1661
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1662
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1663
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1664
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1665
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1666
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1667
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1668
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1669
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1670
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1671
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1672
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1673
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1674
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1675
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1676
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1677
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1678
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1679
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1680
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
1681
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1682
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1683
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1684
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1685
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1686
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1687
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1688
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
1689
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1690
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1691
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1692
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1693
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1694
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1695
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1696
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1697
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1698
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1699
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1700
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1701
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1702
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1703
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1704
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1705
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1706
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
1707
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1708
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1709
|
+
[1m[35m (0.8ms)[0m rollback transaction
|
1710
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1711
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1712
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1713
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1714
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1715
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1716
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1717
|
+
[1m[35mSQL (0.6ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1718
|
+
[1m[36m (0.2ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1719
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1720
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1721
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1722
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1723
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1724
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1725
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1726
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1727
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1728
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1729
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1730
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1731
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1732
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1733
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1734
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1735
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ? [["edit", "f"], ["id", 270405680]]
|
1736
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1737
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1738
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1739
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1740
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1741
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1742
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1743
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1744
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1745
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1746
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1747
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1748
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1749
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1750
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1751
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1752
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1753
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1754
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
1755
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1756
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
1757
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1758
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1759
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1760
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1761
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1762
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1763
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1764
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1765
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1766
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
1767
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1768
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1769
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1770
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1771
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1772
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1773
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1774
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1775
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1776
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1777
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1778
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1779
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1780
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1781
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1782
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1783
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1784
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1785
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1786
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1787
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1788
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1789
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1790
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1791
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1792
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1793
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1794
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1795
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1796
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1797
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1798
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1799
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1800
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1801
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1802
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1803
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
1804
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "resources"
|
1805
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
1806
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
1807
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
1808
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
1809
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
1810
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
1811
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
1812
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
1813
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
1814
|
+
[1m[35m (8.2ms)[0m commit transaction
|
1815
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1816
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1817
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1818
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1819
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1820
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1821
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1822
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1823
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1824
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1825
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1826
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1827
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1828
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1829
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1830
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1831
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1832
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1833
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1834
|
+
[1m[35m (7.8ms)[0m SAVEPOINT active_record_1
|
1835
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1836
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1837
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1838
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1839
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1840
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1841
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1842
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1843
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1844
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1845
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1846
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1847
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1848
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1849
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1850
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1851
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1852
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1853
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1854
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1855
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1856
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1857
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "f"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1858
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1859
|
+
[1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1860
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1861
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
1862
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1863
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1864
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1865
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1866
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1867
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1868
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1869
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
1870
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1871
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1872
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1873
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1874
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1875
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1876
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1877
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1878
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1879
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1880
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
1881
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1882
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1883
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1884
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1885
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1886
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1887
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1888
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1889
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1890
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1891
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1892
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1893
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1894
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1895
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1896
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1897
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1898
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1899
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1900
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1901
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1902
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1903
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
1904
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1905
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1906
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1907
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1908
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1909
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1910
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1911
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
1912
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1913
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1914
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1915
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1916
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
1917
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1918
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1919
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1920
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1921
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1922
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1923
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
1924
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1925
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1926
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1927
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1928
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1929
|
+
[1m[36mSQL (0.3ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
1930
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1931
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1932
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
1933
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1934
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1935
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1936
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1937
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1938
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1939
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1940
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
1941
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1942
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1943
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1944
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1945
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1946
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1947
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1948
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
1949
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
1950
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1951
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1952
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1953
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1954
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1955
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1956
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1957
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
1958
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ? [["edit", "f"], ["id", 270405680]]
|
1959
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1960
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1961
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
1962
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1963
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1964
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1965
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1966
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1967
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1968
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1969
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1970
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1971
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1972
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1973
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1974
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1975
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1976
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1977
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
1978
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1979
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1980
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
1981
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1982
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
1983
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1984
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
1985
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
1986
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1987
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1988
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
1989
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
1990
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
1991
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1992
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1993
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
1994
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
1995
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
1996
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
1997
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
1998
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
1999
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2000
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2001
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
2002
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2003
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2004
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2005
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2006
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2007
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2008
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2009
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2010
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2011
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2012
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2013
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2014
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2015
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2016
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2017
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2018
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2019
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2020
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2021
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2022
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2023
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2024
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2025
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2026
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2027
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2028
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "resources"
|
2029
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
2030
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
2031
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
2032
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
2033
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
2034
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
2035
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
2036
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
2037
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
2038
|
+
[1m[35m (8.1ms)[0m commit transaction
|
2039
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2040
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2041
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2042
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2043
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2044
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2045
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2046
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2047
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2048
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2049
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2050
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2051
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2052
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2053
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2054
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2055
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2056
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2057
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2058
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2059
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2060
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2061
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2062
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2063
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2064
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2065
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2066
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2067
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2068
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2069
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2070
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2071
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2072
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2073
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2074
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
2075
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2076
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2077
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2078
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2079
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2080
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2081
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "f"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
2082
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2083
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2084
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2085
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
2086
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2087
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2088
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2089
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2090
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2091
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2092
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2093
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2094
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2095
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2096
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2097
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2098
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2099
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2100
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2101
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2102
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2103
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2104
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2105
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2106
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2107
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2108
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2109
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2110
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2111
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2112
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2113
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2114
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
2115
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2116
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2117
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2118
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2119
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2120
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2121
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2122
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2123
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
2124
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2125
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2126
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2127
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2128
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2129
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2130
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2131
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2132
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2133
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2134
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2135
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2136
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2137
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2138
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2139
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2140
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2141
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2142
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2143
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2144
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
2145
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2146
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2147
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2148
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2149
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2150
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2151
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2152
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2153
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
2154
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2155
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2156
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2157
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2158
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2159
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2160
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2161
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2162
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2163
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2164
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
2165
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2166
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2167
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2168
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2169
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2170
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2171
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2172
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2173
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
2174
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2175
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2176
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2177
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2178
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2179
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2180
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2181
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2182
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ? [["edit", "f"], ["id", 270405680]]
|
2183
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2184
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2185
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2186
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2187
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2188
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2189
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2190
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2191
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2192
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2193
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2194
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2195
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2196
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2197
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2198
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2199
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2200
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2201
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2203
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2204
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2205
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2206
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2207
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2208
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2209
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2210
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2211
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2212
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2213
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2214
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
2215
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2216
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2217
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2218
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2219
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2220
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2221
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2222
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2223
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2224
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2225
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2226
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2227
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2228
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2229
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2230
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2231
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2232
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2233
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2234
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2235
|
+
[1m[36mResource Load (0.2ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2236
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2237
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2238
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2239
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2240
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2241
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2242
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2243
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2244
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2245
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2246
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2247
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2248
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2249
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2250
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2251
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2252
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2253
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2254
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2255
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2256
|
+
[1m[35mFixture Delete (0.4ms)[0m DELETE FROM "resources"
|
2257
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
2258
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
2259
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
2260
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "share_models"
|
2261
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
2262
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
2263
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
2264
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
2265
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
2266
|
+
[1m[35m (9.1ms)[0m commit transaction
|
2267
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2268
|
+
[1m[35mResource Load (0.4ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2269
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2270
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2271
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2272
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2273
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2274
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2275
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2276
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2277
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2278
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2279
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2280
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2281
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2282
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2283
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2284
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2285
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2286
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2287
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2288
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2289
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2290
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2291
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2292
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2293
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2294
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2295
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2296
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2297
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2298
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2299
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2300
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2301
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2302
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
2303
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2304
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2305
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2306
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2307
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2308
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2309
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "f"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
2310
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2311
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2312
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2313
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2314
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2315
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2316
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2317
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2318
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2319
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2320
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2321
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2322
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2323
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2324
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2325
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2326
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2327
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2328
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2329
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2330
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2331
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2332
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2333
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2334
|
+
[1m[35m (1.1ms)[0m rollback transaction
|
2335
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2336
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2337
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2338
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2339
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2340
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2341
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2342
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
2343
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2344
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2345
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2346
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2347
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2348
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2349
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2350
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2351
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
2352
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2353
|
+
[1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2354
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2355
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2356
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2357
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2358
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2359
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2360
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2361
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2362
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2363
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2364
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2365
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2366
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2367
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2368
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2369
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2370
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2371
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2372
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
2373
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2374
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2375
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2376
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2377
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2378
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2379
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2380
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2381
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
2382
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2383
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2384
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2385
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2386
|
+
[1m[35mResource Load (0.6ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2387
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2388
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2389
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2390
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2391
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2392
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
2393
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2394
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2395
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2396
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2397
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2398
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2399
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2400
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2401
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
2402
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2403
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2404
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2405
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2406
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2407
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2408
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2409
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2410
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ? [["edit", "f"], ["id", 270405680]]
|
2411
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2412
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2413
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2414
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2415
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2416
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2417
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2418
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2419
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2420
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2421
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2422
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2423
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2424
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2425
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2426
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2427
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2428
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2429
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2430
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2431
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2432
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2433
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2434
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2435
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2436
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2437
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2438
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2439
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2440
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2441
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2442
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
2443
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2444
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2445
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2446
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2447
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2448
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2449
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2450
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2451
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2452
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2453
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2454
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2455
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2456
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2457
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2458
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2459
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2460
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2461
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
2462
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2463
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2464
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2465
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2466
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2467
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2468
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."edit" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"]]
|
2469
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2470
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2471
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2472
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2473
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2474
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2475
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2476
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2477
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2478
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2479
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2480
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2481
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2482
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2483
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2484
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2485
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2486
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2487
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2488
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2489
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2490
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "resources"
|
2491
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
2492
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
2493
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
2494
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
2495
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
2496
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
2497
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
2498
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
2499
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
2500
|
+
[1m[35m (8.1ms)[0m commit transaction
|
2501
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2502
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2503
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2504
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2505
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2506
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2507
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2508
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2509
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2510
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2511
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2512
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2513
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2514
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2515
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2516
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2517
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2518
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2519
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2520
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2521
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2522
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2523
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2524
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2525
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2526
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2527
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2528
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2529
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2530
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2531
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2532
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2533
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2534
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2535
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2536
|
+
[1m[35mSQL (0.3ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
2537
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2538
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2539
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2540
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2541
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2542
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2543
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "f"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
2544
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2545
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2546
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2547
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2548
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2549
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2550
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2551
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2552
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2553
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2554
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2555
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2556
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2557
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2558
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2559
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2560
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2561
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2562
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2563
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2564
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2565
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2566
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2567
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2568
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2569
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2570
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2571
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2572
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2573
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2574
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2575
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2576
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
2577
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2578
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2579
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2580
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2581
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2582
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2583
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2584
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2585
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
2586
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2587
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2588
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2589
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2590
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2591
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2592
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2593
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2594
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2595
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2596
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2597
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2598
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2599
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2600
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2601
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2602
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2603
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2604
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2605
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2606
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
2607
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2608
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2609
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2610
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2611
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2612
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2613
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2614
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2615
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
2616
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2617
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2618
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2619
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2620
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2621
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2622
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2623
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2624
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2625
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2626
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
2627
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2628
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2629
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2630
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2631
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2632
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2633
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2634
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2635
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "share_models" ("shared_from_id", "shared_from_type", "shared_to_id", "shared_to_type", "edit", "resource_id", "resource_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_from_id", 681527014], ["shared_from_type", "User"], ["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["resource_id", 917913520], ["resource_type", "Resource"]]
|
2636
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2637
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2638
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1 [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2639
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
2640
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2641
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2642
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2643
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2644
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ? [["edit", "f"], ["id", 270405680]]
|
2645
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2646
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2647
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2648
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2649
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2650
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2651
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2652
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2653
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2654
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2655
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2656
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2657
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2658
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2659
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2660
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2661
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2662
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2663
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2664
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2665
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2666
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
2667
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2668
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2669
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2670
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2671
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2672
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2673
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2674
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
2675
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2676
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
2677
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2678
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2679
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2680
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2681
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2682
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2683
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2684
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2685
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2686
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2687
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2688
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2689
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2690
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2691
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2692
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2693
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2694
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2695
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2696
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2697
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2698
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2699
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2700
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2701
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2702
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2703
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2704
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2705
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2706
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2707
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2708
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2709
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2710
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2711
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2712
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2713
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2714
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2715
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2716
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2717
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2718
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2719
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2720
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2721
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2722
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2723
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
2724
|
+
[1m[35mFixture Delete (0.5ms)[0m DELETE FROM "resources"
|
2725
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
2726
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
2727
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
2728
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
2729
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
2730
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
2731
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
2732
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
2733
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
2734
|
+
[1m[35m (8.4ms)[0m commit transaction
|
2735
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2736
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2737
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2738
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2739
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2740
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2741
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2742
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2743
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2744
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2745
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2746
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2747
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2748
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2749
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2750
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2751
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2752
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2753
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2754
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2755
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2756
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2757
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2758
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2759
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2760
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2761
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2762
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
2763
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2764
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2765
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2766
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2767
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2768
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2769
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2770
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
2771
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2772
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2773
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2774
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2775
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2776
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2777
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2778
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2779
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2780
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2781
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
2782
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2783
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2784
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2785
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2786
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2787
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2788
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2789
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2790
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2791
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2792
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2793
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2794
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2795
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2796
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2797
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2798
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2799
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2800
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2801
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2802
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2803
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2804
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2805
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2806
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2807
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2808
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2809
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2810
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
2811
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2812
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2813
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2814
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2815
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2816
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2817
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2818
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2819
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2820
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2821
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2822
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2823
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
2824
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2825
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2826
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2827
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2828
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2829
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2830
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2831
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2832
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2833
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2834
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2835
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2836
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2837
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2838
|
+
[1m[35mShareModel Exists (0.3ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2839
|
+
[1m[36mShareModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2840
|
+
[1m[35mSQL (0.8ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2841
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2842
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2843
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2844
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2845
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2846
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2847
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2848
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2849
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
2850
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2851
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2852
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
2853
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2854
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2855
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2856
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2857
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2858
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2859
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2860
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
2861
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2862
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2863
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2864
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2865
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2866
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2867
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2868
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2869
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2870
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2871
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2872
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2873
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
2874
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2875
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2876
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2877
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2878
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ? [["edit", "f"], ["id", 270405680]]
|
2879
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2880
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2881
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
2882
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2883
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2884
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2885
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2886
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2887
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2888
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
2889
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2890
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2891
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2892
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2893
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2894
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2895
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2896
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
2897
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2898
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
2899
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2900
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2901
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2902
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2903
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2904
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2905
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2906
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2907
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2908
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
2909
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2910
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
2911
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2912
|
+
[1m[35m (0.0ms)[0m begin transaction
|
2913
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2914
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2915
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2916
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2917
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2918
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2919
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2920
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
2921
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2922
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2923
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2924
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2925
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2926
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2927
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2928
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2929
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2930
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2931
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2932
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2933
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2934
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2935
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2936
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2937
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2938
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2939
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
2940
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2941
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2942
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2943
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2944
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2945
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2946
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2947
|
+
[1m[36mSQL (0.3ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
2948
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
2949
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2950
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2951
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2952
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2953
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2954
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2955
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
2956
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
2957
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
2958
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "resources"
|
2959
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
2960
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
2961
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
2962
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
2963
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
2964
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
2965
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
2966
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
2967
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
2968
|
+
[1m[35m (8.3ms)[0m commit transaction
|
2969
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2970
|
+
[1m[35mResource Load (0.3ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2971
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2972
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
2973
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
2974
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2975
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2976
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2977
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2978
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2979
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
2980
|
+
[1m[35m (0.1ms)[0m begin transaction
|
2981
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
2982
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
2983
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
2984
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
2985
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2986
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2987
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2988
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
2989
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
2990
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
2991
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
2992
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
2993
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
2994
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
2995
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
2996
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
2997
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
2998
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
2999
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3000
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3001
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3002
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3003
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3004
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
3005
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3006
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3007
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3008
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3009
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3010
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3011
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3012
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3013
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
3014
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3015
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
3016
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3017
|
+
[1m[36mResource Load (0.2ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3018
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3019
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3020
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3021
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3022
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3023
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
3024
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3025
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3026
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3027
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3028
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3029
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3030
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3031
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3032
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3033
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3034
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
3035
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3036
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3037
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3038
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3039
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3040
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3041
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3042
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3043
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3044
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
3045
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3046
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3047
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3048
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3049
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3050
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3051
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3052
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3053
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3054
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3055
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
3056
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3057
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3058
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3059
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3060
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3061
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3062
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3063
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3064
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3065
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
3066
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3067
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3068
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3069
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3070
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3071
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3072
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3073
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3074
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3075
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3076
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3077
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3078
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3079
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3080
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3081
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3082
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3083
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
3084
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3085
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3086
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
3087
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3088
|
+
[1m[35mResource Load (0.3ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3089
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3090
|
+
[1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3091
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3092
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3093
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3094
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
3095
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3096
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3097
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3098
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3099
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3100
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3101
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3102
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3103
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3104
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3105
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3106
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3107
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3108
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3109
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3110
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3111
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3112
|
+
[1m[35mSQL (0.0ms)[0m UPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ? [["edit", "f"], ["id", 270405680]]
|
3113
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3114
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3115
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
3116
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3117
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3118
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3119
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3120
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3121
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3122
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3123
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3124
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3125
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3126
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3127
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3128
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3129
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3130
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3131
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
3132
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3133
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3134
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3135
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3136
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3137
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3138
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3139
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3140
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3141
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3142
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3143
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
3144
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3145
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3146
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3147
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3148
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3149
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3150
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3151
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3152
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3153
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3154
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
3155
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3156
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
3157
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3158
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3159
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3160
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3161
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3162
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3163
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3164
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3165
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3166
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
3167
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3168
|
+
[1m[35mResource Load (0.3ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3169
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3170
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3171
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3172
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3173
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3174
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3175
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
3176
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3177
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3178
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3179
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3180
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3181
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3182
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3183
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3184
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3185
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3186
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3187
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3188
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3189
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3190
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3191
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3192
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3193
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
3194
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3195
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3196
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3197
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3198
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3199
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3200
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3201
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3202
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3203
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3204
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3205
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3206
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3207
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3208
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3209
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3210
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3211
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3212
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
3213
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
3214
|
+
[1m[35mFixture Delete (0.3ms)[0m DELETE FROM "resources"
|
3215
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Angel''s resource', 917913520, 681527014)[0m
|
3216
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "resources" ("name", "id", "user_id") VALUES ('Jose''s resource', 88627102, 262077316)
|
3217
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "resources" ("name", "id", "user_id") VALUES ('Clara''s resource', 713732438, 132733334)[0m
|
3218
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "share_models"
|
3219
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "share_models" ("edit", "id", "resource_type", "resource_id", "shared_to_type", "shared_to_id", "shared_from_type", "shared_from_id") VALUES ('f', 270405679, 'Resource', 917913520, 'User', 262077316, 'User', 681527014)[0m
|
3220
|
+
[1m[35mFixture Delete (0.1ms)[0m DELETE FROM "users"
|
3221
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Angel', 681527014)[0m
|
3222
|
+
[1m[35mFixture Insert (0.0ms)[0m INSERT INTO "users" ("name", "id") VALUES ('Jose', 262077316)
|
3223
|
+
[1m[36mFixture Insert (0.0ms)[0m [1mINSERT INTO "users" ("name", "id") VALUES ('Clara', 132733334)[0m
|
3224
|
+
[1m[35m (8.8ms)[0m commit transaction
|
3225
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3226
|
+
[1m[35mResource Load (0.2ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3227
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3228
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3229
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3230
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3231
|
+
[1m[36mShareModel Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3232
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
3233
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3234
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
3235
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3236
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3237
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3238
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3239
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3240
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3241
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3242
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
3243
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3244
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3245
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3246
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3247
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3248
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3249
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3250
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
3251
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3252
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
3253
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3254
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3255
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3256
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3257
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3258
|
+
[1m[35mShareModel Load (0.1ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3259
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3260
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
3261
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3262
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3263
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3264
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3265
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3266
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3267
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "f"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3268
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3269
|
+
[1m[36mShareModel Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
3270
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3271
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
3272
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3273
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3274
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3275
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3276
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3277
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3278
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3279
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
3280
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3281
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3282
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3283
|
+
[1m[36mShareModel Load (0.2ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3284
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3285
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3286
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3287
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3288
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3289
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3290
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
3291
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3292
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
3293
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3294
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3295
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3296
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3297
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3298
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3299
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3300
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
3301
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3302
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3303
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3304
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3305
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3306
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3307
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3308
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3309
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3310
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3311
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"]]
|
3312
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3313
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3314
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3315
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3316
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3317
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3318
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3319
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3320
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3321
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
3322
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3323
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3324
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3325
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3326
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3327
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3328
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3329
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3330
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?) [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3331
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3332
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3333
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3334
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3335
|
+
[1m[36mResource Load (0.0ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3336
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3337
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3338
|
+
[1m[35mShareModel Exists (0.3ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3339
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ?[0m [["edit", "f"], ["id", 270405680]]
|
3340
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
3341
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3342
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
3343
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3344
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3345
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3346
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3347
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3348
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3349
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
3350
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "share_models" WHERE "share_models"."id" = ? [["id", 270405679]]
|
3351
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3352
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3353
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3354
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3355
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3356
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3357
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3358
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1
|
3359
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "share_models" ("shared_to_id", "shared_to_type", "resource_id", "resource_type", "edit", "shared_from_id", "shared_from_type") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["resource_id", 917913520], ["resource_type", "Resource"], ["edit", "t"], ["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3360
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3361
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3362
|
+
[1m[35mShareModel Load (0.0ms)[0m SELECT "share_models".* FROM "share_models" WHERE "share_models"."shared_from_id" = ? AND "share_models"."shared_from_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_from_id", 681527014], ["shared_from_type", "User"]]
|
3363
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
3364
|
+
[1m[35mResource Load (0.0ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3365
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3366
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3367
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE ("share_models"."resource_id" = 917913520 AND "share_models"."id" != 270405680 AND "share_models"."resource_type" = 'Resource' AND "share_models"."shared_to_id" = 132733334 AND "share_models"."shared_to_type" = 'User') LIMIT 1[0m
|
3368
|
+
[1m[35mSQL (0.1ms)[0m UPDATE "share_models" SET "edit" = ? WHERE "share_models"."id" = ? [["edit", "f"], ["id", 270405680]]
|
3369
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
3370
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 132733334], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3371
|
+
[1m[36m (0.7ms)[0m [1mrollback transaction[0m
|
3372
|
+
[1m[35m (0.1ms)[0m begin transaction
|
3373
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3374
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3375
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3376
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3377
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3378
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
3379
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3380
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3381
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3382
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3383
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3384
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3385
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3386
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3387
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
3388
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3389
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3390
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
3391
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3392
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3393
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3394
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3395
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3396
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3397
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3398
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
3399
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
3400
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3401
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3402
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3403
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3404
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3405
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3406
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3407
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3408
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3409
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3410
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
3411
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3412
|
+
[1m[35mShareModel Exists (0.1ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"]]
|
3413
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3414
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3415
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3416
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3417
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3418
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3419
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3420
|
+
[1m[35mShareModel Exists (0.2ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3421
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3422
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3423
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3424
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3425
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3426
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3427
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3428
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3429
|
+
[1m[36mShareModel Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3430
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3431
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
3432
|
+
[1m[35m (0.0ms)[0m begin transaction
|
3433
|
+
[1m[36mResource Load (0.1ms)[0m [1mSELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1[0m [["id", 917913520]]
|
3434
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3435
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 262077316]]
|
3436
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 132733334]]
|
3437
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3438
|
+
[1m[35mShareModel Exists (0.0ms)[0m SELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1 [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3439
|
+
[1m[36mShareModel Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "share_models" WHERE "share_models"."shared_to_id" = ? AND "share_models"."shared_to_type" = ? AND "share_models"."edit" = ? AND "share_models"."edit" = ? AND "share_models"."resource_type" = 'Resource' AND "share_models"."resource_id" = 917913520 LIMIT 1[0m [["shared_to_id", 262077316], ["shared_to_type", "User"], ["edit", "t"], ["edit", "t"]]
|
3440
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3441
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
3442
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3443
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3444
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3445
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3446
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3447
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3448
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3449
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
3450
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3451
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3452
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3453
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3454
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3455
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 681527014]]
|
3456
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 262077316]]
|
3457
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3458
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3459
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 262077316 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3460
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
3461
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "share_models" WHERE "share_models"."id" = ?[0m [["id", 270405679]]
|
3462
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
3463
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ?[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3464
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
3465
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3466
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3467
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3468
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3469
|
+
[1m[36mShareModel Load (0.1ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3470
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
3471
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
3472
|
+
[1m[35mResource Load (0.1ms)[0m SELECT "resources".* FROM "resources" WHERE "resources"."id" = ? LIMIT 1 [["id", 917913520]]
|
3473
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 132733334]]
|
3474
|
+
[1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 681527014]]
|
3475
|
+
[1m[36mShareModel Load (0.0ms)[0m [1mSELECT "share_models".* FROM "share_models" WHERE "share_models"."resource_id" = ? AND "share_models"."resource_type" = ? AND "share_models"."shared_to_type" = 'User' AND "share_models"."shared_to_id" = 132733334 LIMIT 1[0m [["resource_id", 917913520], ["resource_type", "Resource"]]
|
3476
|
+
[1m[35m (0.1ms)[0m rollback transaction
|