adeia 0.15.2 → 0.15.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +4 -4
  2. data/app/views/adeia/group_users/_form.html.erb +1 -1
  3. data/lib/adeia/version.rb +1 -1
  4. data/spec/test_app/log/test.log +1290 -0
  5. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/0R/0RBG8-occoQ6y6DnywYH4fgT7Q5EZKAxFXiUNrXv6Eo.cache +0 -0
  6. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/0u/0UGEGlE04Dujv6kQ6t91yNWznns77u1owsrQKjT_-Rg.cache +1 -0
  7. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/35/35esBF8qpB5us2257m2i28ciX7bH00dDypqpxYVe8p8.cache +1 -0
  8. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/3f/3f1JmnqifAAf5FlC66Q8loQ7kuV1sCK2x_sIlHY-2so.cache +1 -0
  9. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/3j/3j8ujnGJErQpa5AvRX1XcRf04lyTvgtv0KZDgvsEcuU.cache +0 -0
  10. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/4J/4Jji5hlGXuczNq27BoYQ0a3uHI8aHcbGgbLhCBVRY40.cache +1 -0
  11. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/4P/4P12XmO4G7cUGiKNQAp1WrlvQrEroB5bLVKt1wm4dHk.cache +3 -0
  12. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/4P/4PLfaUN8zJyQzYOuIu_EInW504Wt1M-e6qfec55JweM.cache +0 -0
  13. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -0
  14. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/7s/7s7Uu8jXSaQx8OWRj9D3QoujDxPH3CU500HJRTyvLo8.cache +0 -0
  15. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/8M/8Mzdw4UYIbqd5xgXSzTPAZoXbJUmqkh0t0i9B1IjKOo.cache +0 -0
  16. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/8V/8VfjDy-C_uzbSQaD1yb6hQ9fTCReTEzpgH_nS604I7s.cache +1 -0
  17. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/8a/8aSp2odHFsOC7Xbv0elG458KoKULl2nCvhnIdR4069I.cache +0 -0
  18. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/97/97Tylwd66214y2khuKhb1ieW8e92lEF-Sx35MGN5cNQ.cache +0 -0
  19. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/AP/APy621LdRJVbOiRpBM2LXLItrxHOTzklhekrO08bris.cache +1 -0
  20. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/DH/DHU1tN0DaGkn4eBNd0WYnI5s-hY4dDUXwjqKoCSETUA.cache +0 -0
  21. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/Dm/DmmfrCpXtt74Hr6NO54lxyOCDv6klnDyBqeDFR7oDU8.cache +0 -0
  22. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/FI/fI_yi88TAD2Gqez-yNdx8pLphFimE_Nmwn4wXU3wILk.cache +0 -0
  23. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/Fp/FpPEWrnlq57tfnj2RRWjvv4VHvah-OoxkepKxkKgxZY.cache +0 -0
  24. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/Hk/HkIa2l415ZwDGD_hwG3HlYAVo7erUmwZfczJtxCr6OQ.cache +0 -0
  25. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/Hp/HpM0H3SMouahNrK8SDuwDKrAMKAaapmCHDSWJ_v-pT8.cache +1 -0
  26. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/Hp/hPy2npa4yzX1ecl-45Ag7OiSvxdOOkoYWOOEEH--f_k.cache +1 -0
  27. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/Iy/IykX6ucgHtRsb58RKT3cl_B6vAjU8MuI3si_M5kpqBc.cache +0 -0
  28. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/Mz/MzlbKJwqf92grCwNM0_tjm45cfwR7inmLItXq9Y-ljQ.cache +0 -0
  29. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -0
  30. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/PI/PI8xGrd-H4kKn97f0dyScymIZNLEGhBZOAdS7Fm4b-I.cache +3 -0
  31. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/TC/TCtiImSsl2m_qwmsiI_rlARw0HHkGgTwxzkVTea7R50.cache +0 -0
  32. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/V1/V19qI91GYxyu2GLr6F9EtaMDP_fyWHqld941SZ9nkRA.cache +0 -0
  33. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/Vf/Vfjr4GLB0LDBRphraIuJCtmGcZTg8sMN3rT96udxMc4.cache +1 -0
  34. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/W5/W5ZFH8uJLnqr53PktcJ8iditWVPWNh6tpA-fUEOrkAk.cache +1 -0
  35. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/WA/wAfGuaxnasFqn8v6uiuMSnyYSKGCMhuveoha-U32ajo.cache +1 -0
  36. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/Zh/ZhTJTKKl--g3cEc7wZdxcM9AKAx8sRAqI0Zk09yXoFY.cache +0 -0
  37. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/_a/_aeE9UCfhMFMyojfFl0ITfyoHzh2B71G8WIt6eaJCuo.cache +0 -0
  38. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/cg/cgcoXf8ot54YCAe4RoCze5xBCEsZ7VEf2N7N_GtriOw.cache +0 -0
  39. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/cr/crZdDRcSA1IlGVv80BvVJQE6fmD6zimu2Kq36WVTSlg.cache +1 -0
  40. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/dV/dViPKsQvoJ-E3JN-UfmItbCjuyKLRmVfpi7CArBWGqs.cache +1 -0
  41. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/do/doyDcNyiblmYZsdzv2JB3Y-TmgPOwLMRxW9e9iqw0aI.cache +1 -0
  42. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/fW/fW922TAJkQNbgSxr7wrIvC_lMp27jxy3Sn422Skf4Dk.cache +0 -0
  43. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/fb/fbiooGYYiKvoYrAmN4aCADyJ8bpEvogspbY_Hbv7Ro0.cache +1 -0
  44. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/gT/Gt_DV9fpnfrFNBKC5NwUPhWGoZ6JtOWaf9Ex5fhgToo.cache +2 -0
  45. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/hZ/hZi1k6tpxxCGYxRe7zY74ItcOI8gZrREOpGuA8JSpGg.cache +0 -0
  46. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/kW/kWH5vxTC31-TmHLwhLGWu8pw-M4L2CCa75oFoliFVRY.cache +1 -0
  47. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/pE/pEhaat2KBd5SrT7szC_8R1_6hK17FTpvoRFkmCRSD3M.cache +0 -0
  48. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/ph/phRRssbUYpTkEzFJYBZthIcjPt7YHQuqO-SXSnQM7NU.cache +1 -0
  49. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/qC/qCscEw4-kN1TrkCCBtMxmv6T6lVVITQtiDuz5WGBKHc.cache +0 -0
  50. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/tr/trbMQP-JO_d4fchMsRX1MXI26apBGzbv7szc3cSfXAA.cache +1 -0
  51. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/u2/u247Pf6I-tvIlB340ww_Sj4shmsw6asjpAOrkmj2MtE.cache +0 -0
  52. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/vk/vkf9HnjjnUUNQuoXSjyydPOswBjj77rN2iGFutZ4DOI.cache +3 -0
  53. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/yX/yXUaSd5q4_ci3rwqfs46Wzxbi9U4VeUYwvr3BBSGyDc.cache +3 -0
  54. data/spec/test_app/tmp/cache/assets/sprockets/v3.0/yn/ynxfajkzLhHtE6KejIy2H_YYyXwLEEH6jYXNoEMMDgU.cache +1 -0
  55. metadata +80 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4b08277fdb322062a8103b23b881081812ee24c9
4
- data.tar.gz: 712d833cba713600dcc68bf2138f39f93b5c6278
3
+ metadata.gz: fa7dc1172cca9626c46f7cbf6a1b378ccecfa202
4
+ data.tar.gz: cabe61d1835c0675badf31a2edff47020364198f
5
5
  SHA512:
6
- metadata.gz: 6563fa5410b78d7fff5d42c16938f3ae4b32f74cc1a5233e1fc9f568e0f769244de88c1f0a73133d5d083a30a088415fede04c1ddb67045a467ca744a94a0f07
7
- data.tar.gz: 86a5f3306dd1eff5650f7cf4f43d932b45f0a3d4fce089b49d35ba3d421305e8a326fd44ac34c1c7d34e7dde54052ecac989e360908470b2edaf1e18dae36e72
6
+ metadata.gz: 01c1e851d39cdf4fdeaefa787c63a672590f70c93eec03b293e74a6da715ae274cb0656714822863ff38a8c628fb4ccc0d119a68700119e1b30d463236e3dbc8
7
+ data.tar.gz: e4c10ceb9c5b5e1d93185591a3273040b0b3ac820975fa0223eb075a211e50e4e9d0a23dd89a2d05eb5096d95816e62351723c3653e214445d66a273768001a6
@@ -3,7 +3,7 @@
3
3
  <%= render 'error_messages', object: f.object %>
4
4
 
5
5
  <%= f.label :user_id %>
6
- <%= f.collection_select :user_id, User.all, :id, :name %>
6
+ <%= f.collection_select :user_id, User.all, :id, :email %>
7
7
 
8
8
  <%= f.label :adeia_group_id %>
9
9
  <%= f.collection_select :adeia_group_id, Adeia::Group.all, :id, :name %>
@@ -1,3 +1,3 @@
1
1
  module Adeia
2
- VERSION = "0.15.2"
2
+ VERSION = "0.15.3"
3
3
  end
@@ -12974,3 +12974,1293 @@ Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.1ms)
12974
12974
  Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]
12975
12975
  Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."adeia_element_id" = 1 AND "adeia_permissions"."permission_type" = ? ORDER BY "adeia_permissions"."id" ASC LIMIT ? [["permission_type", 2], ["LIMIT", 1]]
12976
12976
   (1.0ms) rollback transaction
12977
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
12978
+  (0.1ms) begin transaction
12979
+ Adeia::Token Load (0.8ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
12980
+  (0.1ms) rollback transaction
12981
+  (0.1ms) begin transaction
12982
+ Adeia::Element Load (0.6ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
12983
+  (0.1ms) SAVEPOINT active_record_1
12984
+ SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
12985
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12986
+ Adeia::Group Load (0.8ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]
12987
+  (0.1ms) SAVEPOINT active_record_1
12988
+ SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
12989
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12990
+ Adeia::Action Load (0.6ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
12991
+  (0.1ms) SAVEPOINT active_record_1
12992
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
12993
+  (0.0ms) RELEASE SAVEPOINT active_record_1
12994
+  (0.1ms) SAVEPOINT active_record_1
12995
+ SQL (1.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
12996
+ SQL (1.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
12997
+ Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
12998
+  (0.1ms) RELEASE SAVEPOINT active_record_1
12999
+  (0.1ms) SAVEPOINT active_record_1
13000
+ SQL (0.7ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "juFBkh_twKKJtnYTufxldA"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Thu, 12 Apr 2018], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13002
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "juFBkh_twKKJtnYTufxldA"], ["LIMIT", 1]]
13003
+  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]
13004
+  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]
13005
+  (0.1ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]
13006
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."create_right" = ? [["id", 1], ["name", "admin/articles"], ["create_right", true]]
13007
+  (2.1ms) rollback transaction
13008
+  (0.1ms) begin transaction
13009
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13010
+ Adeia::Group Load (0.6ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1001]]
13011
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1001 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]
13012
+  (0.1ms) rollback transaction
13013
+  (0.1ms) begin transaction
13014
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13015
+  (0.0ms) SAVEPOINT active_record_1
13016
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13018
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13019
+  (0.1ms) SAVEPOINT active_record_1
13020
+ SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13021
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13022
+  (0.2ms) SAVEPOINT active_record_1
13023
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1002], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13024
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13025
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13026
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13027
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13028
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1002]]
13029
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1002 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]
13030
+  (1.1ms) rollback transaction
13031
+  (0.1ms) begin transaction
13032
+ Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13033
+  (0.1ms) SAVEPOINT active_record_1
13034
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13035
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13036
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13037
+  (0.0ms) SAVEPOINT active_record_1
13038
+ SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13039
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13040
+  (0.1ms) SAVEPOINT active_record_1
13041
+ SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1003], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13042
+ SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13043
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13044
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13045
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13046
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1003]]
13047
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]
13048
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1003 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]
13049
+  (1.2ms) rollback transaction
13050
+  (0.1ms) begin transaction
13051
+ Adeia::Element Load (0.3ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13052
+  (0.1ms) SAVEPOINT active_record_1
13053
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13054
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13055
+ Adeia::Action Load (0.4ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13056
+  (1.3ms) SAVEPOINT active_record_1
13057
+ SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13058
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13059
+  (0.1ms) SAVEPOINT active_record_1
13060
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1004], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13061
+ SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13062
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13063
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13064
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13065
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1004]]
13066
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]
13067
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1004 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]
13068
+  (1.1ms) rollback transaction
13069
+  (0.1ms) begin transaction
13070
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13071
+  (0.1ms) SAVEPOINT active_record_1
13072
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13073
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13074
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13075
+  (0.1ms) SAVEPOINT active_record_1
13076
+ SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13077
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13078
+  (0.1ms) SAVEPOINT active_record_1
13079
+ SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1005], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13080
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13081
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13082
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13083
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13084
+ Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1005]]
13085
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1005 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]
13086
+  (1.0ms) rollback transaction
13087
+  (0.1ms) begin transaction
13088
+ Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13089
+  (0.1ms) SAVEPOINT active_record_1
13090
+ SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13091
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13092
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13093
+  (0.1ms) SAVEPOINT active_record_1
13094
+ SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13095
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13096
+  (0.1ms) SAVEPOINT active_record_1
13097
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1006], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13098
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13099
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13100
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13101
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13102
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1006]]
13103
+ Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1006 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]
13104
+  (1.0ms) rollback transaction
13105
+  (0.1ms) begin transaction
13106
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13107
+  (0.1ms) SAVEPOINT active_record_1
13108
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13109
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13110
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13111
+  (0.1ms) SAVEPOINT active_record_1
13112
+ SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13113
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13114
+  (0.1ms) SAVEPOINT active_record_1
13115
+ SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1007], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13116
+ SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13117
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13118
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13119
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13120
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1007]]
13121
+  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13122
+ Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1007 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13123
+  (1.4ms) rollback transaction
13124
+  (0.1ms) begin transaction
13125
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13126
+  (0.1ms) SAVEPOINT active_record_1
13127
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13128
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13129
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13130
+  (0.1ms) SAVEPOINT active_record_1
13131
+ SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13132
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13133
+  (0.1ms) SAVEPOINT active_record_1
13134
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1008], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13135
+ SQL (0.4ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13136
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13137
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13138
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13139
+ Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1008]]
13140
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1008 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13141
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1008 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13142
+  (1.0ms) rollback transaction
13143
+  (0.1ms) begin transaction
13144
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13145
+  (0.1ms) SAVEPOINT active_record_1
13146
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13147
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13148
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13149
+  (0.0ms) SAVEPOINT active_record_1
13150
+ SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13152
+  (0.1ms) SAVEPOINT active_record_1
13153
+ SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1009], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["destroy_right", true], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13154
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13155
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13156
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13157
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13158
+ Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1009]]
13159
+  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1009 AND "adeia_permissions"."destroy_right" = ? AND "adeia_elements"."name" = ? [["destroy_right", true], ["name", "admin/articles"]]
13160
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1009 AND "adeia_permissions"."destroy_right" = ? AND "adeia_elements"."name" = ? [["destroy_right", true], ["name", "admin/articles"]]
13161
+  (1.0ms) rollback transaction
13162
+  (0.1ms) begin transaction
13163
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13164
+  (0.1ms) SAVEPOINT active_record_1
13165
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13166
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13167
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13168
+  (0.0ms) SAVEPOINT active_record_1
13169
+ SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13170
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13171
+  (0.1ms) SAVEPOINT active_record_1
13172
+ SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["owner_id", 1010], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13173
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13174
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13175
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13176
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13177
+ Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1010]]
13178
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = ? AND "adeia_actions"."name" = ? [["name", "admin/articles"], ["name", "share"]]
13179
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_action_permissions" ON "adeia_action_permissions"."adeia_permission_id" = "adeia_permissions"."id" INNER JOIN "adeia_actions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1010 AND "adeia_elements"."name" = ? AND "adeia_actions"."name" = ? [["name", "admin/articles"], ["name", "share"]]
13180
+  (0.9ms) rollback transaction
13181
+  (0.1ms) begin transaction
13182
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13183
+  (0.0ms) SAVEPOINT active_record_1
13184
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13185
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13186
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13187
+  (0.0ms) SAVEPOINT active_record_1
13188
+ SQL (0.5ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13189
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13190
+  (0.1ms) SAVEPOINT active_record_1
13191
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1011], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13192
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13193
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13194
+  (0.3ms) RELEASE SAVEPOINT active_record_1
13195
+  (0.1ms) SAVEPOINT active_record_1
13196
+ SQL (0.3ms) INSERT INTO "adeia_tokens" ("token", "is_valid", "adeia_permission_id", "exp_at", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["token", "5wnA7Qy_9RTuj2JYgMoW5w"], ["is_valid", true], ["adeia_permission_id", 1], ["exp_at", Thu, 12 Apr 2018], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13198
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" = ? LIMIT ? [["token", "5wnA7Qy_9RTuj2JYgMoW5w"], ["LIMIT", 1]]
13199
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]]
13200
+  (0.2ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]]
13201
+  (0.6ms) SELECT COUNT(*) FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]]
13202
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."id" = ? AND "adeia_elements"."name" = ? AND "adeia_permissions"."update_right" = ? [["id", 1], ["name", "admin/articles"], ["update_right", true]]
13203
+  (1.3ms) rollback transaction
13204
+  (0.1ms) begin transaction
13205
+ Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13206
+  (0.1ms) SAVEPOINT active_record_1
13207
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13208
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13209
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13210
+  (0.0ms) SAVEPOINT active_record_1
13211
+ SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13212
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13213
+  (0.1ms) SAVEPOINT active_record_1
13214
+ SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1012], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13215
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:30 UTC], ["updated_at", 2018-03-12 15:58:30 UTC]]
13216
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13217
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13218
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13219
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1012]]
13220
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1012 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13221
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1012 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13222
+  (0.9ms) rollback transaction
13223
+  (0.1ms) begin transaction
13224
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13225
+  (0.1ms) SAVEPOINT active_record_1
13226
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13228
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13229
+  (0.1ms) SAVEPOINT active_record_1
13230
+ SQL (1.0ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13231
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13232
+  (0.1ms) SAVEPOINT active_record_1
13233
+ SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1013], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13234
+ SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13235
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13236
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13237
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13238
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1013]]
13239
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13240
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1013 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13241
+  (1.0ms) rollback transaction
13242
+  (0.1ms) begin transaction
13243
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13244
+  (0.1ms) SAVEPOINT active_record_1
13245
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13246
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13247
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13248
+  (0.0ms) SAVEPOINT active_record_1
13249
+ SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13250
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13251
+  (0.1ms) SAVEPOINT active_record_1
13252
+ SQL (1.6ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1016], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["update_right", true], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13253
+ SQL (0.5ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13254
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13255
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13256
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13257
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1016]]
13258
+  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13259
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1016 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13260
+  (0.8ms) rollback transaction
13261
+  (0.4ms) begin transaction
13262
+ Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13263
+  (0.1ms) SAVEPOINT active_record_1
13264
+ SQL (0.8ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13265
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13266
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13267
+  (0.1ms) SAVEPOINT active_record_1
13268
+ SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13269
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13270
+  (0.1ms) SAVEPOINT active_record_1
13271
+ SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1018], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13272
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13273
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13274
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13275
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13276
+ Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1018]]
13277
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13278
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1018 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13279
+  (1.0ms) rollback transaction
13280
+  (0.1ms) begin transaction
13281
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13282
+  (0.1ms) SAVEPOINT active_record_1
13283
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13284
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13285
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13286
+  (0.1ms) SAVEPOINT active_record_1
13287
+ SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13288
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13289
+  (0.1ms) SAVEPOINT active_record_1
13290
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1020], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1020], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13291
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13292
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13293
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13294
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13295
+ Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1020]]
13296
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13297
+ Adeia::Permission Load (0.5ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1020 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13298
+  (1.2ms) rollback transaction
13299
+  (0.1ms) begin transaction
13300
+ Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13301
+  (0.1ms) SAVEPOINT active_record_1
13302
+ SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13303
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13304
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13305
+  (0.1ms) SAVEPOINT active_record_1
13306
+ SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13307
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13308
+  (0.1ms) SAVEPOINT active_record_1
13309
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1022], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["update_right", true], ["resource_id", 1021], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13310
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13311
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13312
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13313
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13314
+ Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1022]]
13315
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13316
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1022 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "admin/articles"]]
13317
+  (0.9ms) rollback transaction
13318
+  (0.1ms) begin transaction
13319
+ Adeia::Group Load (1.2ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]
13320
+  (0.1ms) SAVEPOINT active_record_1
13321
+ SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13322
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13323
+  (0.1ms) SAVEPOINT active_record_1
13324
+ SQL (1.3ms) INSERT INTO "adeia_group_users" ("adeia_group_id", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_group_id", 1], ["user_id", 1023], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13325
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13326
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13327
+  (0.2ms) SAVEPOINT active_record_1
13328
+ SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13329
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13330
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13331
+  (0.1ms) SAVEPOINT active_record_1
13332
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13333
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13334
+  (0.1ms) SAVEPOINT active_record_1
13335
+ SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "Adeia::Group"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13336
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13337
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13338
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13339
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13340
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1023]]
13341
+ Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE (("adeia_permissions"."owner_type" = 'Adeia::Group' AND "adeia_permissions"."owner_id" = 1) OR ("adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1023)) AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "admin/articles"]]
13342
+  (1.0ms) rollback transaction
13343
+  (0.3ms) begin transaction
13344
+ Processing by AnonymousController#index as HTML
13345
+ User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
13346
+ Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.8ms)
13347
+  (0.1ms) rollback transaction
13348
+  (0.1ms) begin transaction
13349
+  (0.2ms) SAVEPOINT active_record_1
13350
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$OuO/NPxqmJ79SL4nh3XyB.d9LDlT9kMX01MibK348m105zg/iYpNa"], ["remember_token", "xwWwhm0VwzEjBSI3N6nqBw"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13351
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13352
+ Processing by AnonymousController#index as HTML
13353
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "xwWwhm0VwzEjBSI3N6nqBw"], ["LIMIT", 1]]
13354
+ Completed 200 OK in 4ms (ActiveRecord: 0.7ms)
13355
+  (0.6ms) rollback transaction
13356
+  (0.1ms) begin transaction
13357
+ Processing by AnonymousController#index as HTML
13358
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
13359
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms)
13360
+  (0.1ms) rollback transaction
13361
+  (0.1ms) begin transaction
13362
+  (0.1ms) SAVEPOINT active_record_1
13363
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$eS0vWj5Kf1X700cmT6iB5.ZPn7qHnkDgO4HbuJsTARqzI1XjuVdwW"], ["remember_token", "qjUAgSzw1cBwkTqkA6MymA"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13364
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13365
+ Processing by AnonymousController#index as HTML
13366
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "qjUAgSzw1cBwkTqkA6MymA"], ["LIMIT", 1]]
13367
+ Completed 200 OK in 1ms (ActiveRecord: 0.1ms)
13368
+  (0.6ms) rollback transaction
13369
+  (0.1ms) begin transaction
13370
+ Processing by AnonymousController#index as HTML
13371
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
13372
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
13373
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13374
+ Completed 200 OK in 9ms (ActiveRecord: 0.2ms)
13375
+  (0.2ms) rollback transaction
13376
+  (0.1ms) begin transaction
13377
+ Processing by AnonymousController#index as HTML
13378
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
13379
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
13380
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13381
+ Completed 200 OK in 3ms (ActiveRecord: 0.2ms)
13382
+  (0.1ms) rollback transaction
13383
+  (0.1ms) begin transaction
13384
+  (0.1ms) SAVEPOINT active_record_1
13385
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$ocxfgH4VKhW8fv9BG7z7d.H66zCCEd95WLJrXbcJyBxBzsiCLQU7W"], ["remember_token", "Rlcn3jLWvdSp5oZDc13u8Q"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13386
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13387
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13388
+  (0.0ms) SAVEPOINT active_record_1
13389
+ SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13391
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13392
+  (0.1ms) SAVEPOINT active_record_1
13393
+ SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13394
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13395
+  (0.1ms) SAVEPOINT active_record_1
13396
+ SQL (0.5ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13397
+ SQL (0.4ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13398
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13399
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13400
+ Processing by AnonymousController#index as HTML
13401
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "Rlcn3jLWvdSp5oZDc13u8Q"], ["LIMIT", 1]]
13402
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13403
+  (0.3ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13404
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13405
+ Adeia::Permission Load (0.4ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13406
+ Completed 200 OK in 19ms (ActiveRecord: 1.0ms)
13407
+  (2.1ms) rollback transaction
13408
+  (0.1ms) begin transaction
13409
+  (0.1ms) SAVEPOINT active_record_1
13410
+ SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$dNaOEI06zJ8a2/RyV0Pu1uD1nbNvL7gxB0avnYUv.RbQ4.Na6BDTi"], ["remember_token", "IhC0lx7QnV_Tv8QquhZsIw"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13411
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13412
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13413
+  (0.1ms) SAVEPOINT active_record_1
13414
+ SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13415
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13416
+ Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13417
+  (0.1ms) SAVEPOINT active_record_1
13418
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13419
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13420
+  (0.1ms) SAVEPOINT active_record_1
13421
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13422
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13423
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13424
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13425
+ Processing by AnonymousController#index as HTML
13426
+  (0.1ms) SAVEPOINT active_record_1
13427
+ SQL (1.0ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13429
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "IhC0lx7QnV_Tv8QquhZsIw"], ["LIMIT", 1]]
13430
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13431
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13432
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13433
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13434
+ Completed 200 OK in 22ms (ActiveRecord: 2.5ms)
13435
+  (2.8ms) rollback transaction
13436
+  (0.1ms) begin transaction
13437
+  (0.1ms) SAVEPOINT active_record_1
13438
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$pqdUordF1nDAQdqV/tDbcueui13rn2cUH0tAEdSsz8N4JCTxLa0mi"], ["remember_token", "3h517g51KBZk1sgst4Ghqg"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13439
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13440
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "letters"], ["LIMIT", 1]]
13441
+  (0.1ms) SAVEPOINT active_record_1
13442
+ SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "letters"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13443
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13444
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13445
+  (0.1ms) SAVEPOINT active_record_1
13446
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13447
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13448
+  (0.1ms) SAVEPOINT active_record_1
13449
+ SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13450
+ SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13451
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13452
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13453
+ Processing by AnonymousController#index as HTML
13454
+  (0.1ms) SAVEPOINT active_record_1
13455
+ SQL (0.4ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13456
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13457
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "3h517g51KBZk1sgst4Ghqg"], ["LIMIT", 1]]
13458
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13459
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "letters"]]
13460
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13461
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "letters"]]
13462
+ Completed 200 OK in 14ms (ActiveRecord: 1.2ms)
13463
+  (1.4ms) rollback transaction
13464
+  (0.2ms) begin transaction
13465
+  (0.1ms) SAVEPOINT active_record_1
13466
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$4P8vYNxyaQ7xZHi/Hy4PS.NHgGk57XwtljDirAMdWSjStNzwRxlHu"], ["remember_token", "l2Sb0QRPTmB05stsMQWx-g"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13467
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13468
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13469
+  (0.1ms) SAVEPOINT active_record_1
13470
+ SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13471
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13472
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13473
+  (0.1ms) SAVEPOINT active_record_1
13474
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13475
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13476
+  (0.1ms) SAVEPOINT active_record_1
13477
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 100], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13478
+ SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13479
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13480
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13481
+ Processing by AnonymousController#index as HTML
13482
+  (0.1ms) SAVEPOINT active_record_1
13483
+ SQL (0.2ms) INSERT INTO "articles" ("id", "title", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["id", 100], ["title", "Rspec tests"], ["content", "Lorem ipsum"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13484
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13485
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "l2Sb0QRPTmB05stsMQWx-g"], ["LIMIT", 1]]
13486
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13487
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]
13488
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13489
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "admin/articles"]]
13490
+ Completed 200 OK in 12ms (ActiveRecord: 0.8ms)
13491
+  (2.2ms) rollback transaction
13492
+  (0.2ms) begin transaction
13493
+ Processing by AnonymousController#index as HTML
13494
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
13495
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
13496
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13497
+ Completed 200 OK in 7ms (ActiveRecord: 0.4ms)
13498
+  (0.1ms) rollback transaction
13499
+  (0.2ms) begin transaction
13500
+ Processing by AnonymousController#index as HTML
13501
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
13502
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
13503
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13504
+ Completed 200 OK in 5ms (ActiveRecord: 0.4ms)
13505
+  (0.1ms) rollback transaction
13506
+  (0.1ms) begin transaction
13507
+  (0.1ms) SAVEPOINT active_record_1
13508
+ SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$jGLJmPx/qktSowEcXtghFeobRgCPOYoRcBMJMfCXOBz15fSq/T1IO"], ["remember_token", "s9yUdJDBUcdNEFdV5U9WyA"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13509
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13510
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13511
+  (0.1ms) SAVEPOINT active_record_1
13512
+ SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13513
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13514
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13515
+  (0.1ms) SAVEPOINT active_record_1
13516
+ SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13517
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13518
+  (0.4ms) SAVEPOINT active_record_1
13519
+ SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13520
+ SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13521
+ Adeia::Action Load (0.3ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13522
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13523
+ Processing by AnonymousController#index as HTML
13524
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "s9yUdJDBUcdNEFdV5U9WyA"], ["LIMIT", 1]]
13525
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13526
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13527
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13528
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13529
+ Completed 200 OK in 8ms (ActiveRecord: 0.6ms)
13530
+  (2.3ms) rollback transaction
13531
+  (0.1ms) begin transaction
13532
+ Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13533
+  (0.2ms) SAVEPOINT active_record_1
13534
+ SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13535
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13536
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]
13537
+  (0.1ms) SAVEPOINT active_record_1
13538
+ SQL (0.5ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13539
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13540
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13541
+  (0.1ms) SAVEPOINT active_record_1
13542
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13543
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13544
+  (0.8ms) rollback transaction
13545
+  (0.1ms) begin transaction
13546
+ Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13547
+  (0.1ms) SAVEPOINT active_record_1
13548
+ SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13549
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13550
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13551
+  (0.2ms) SAVEPOINT active_record_1
13552
+ SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13553
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13554
+  (0.9ms) rollback transaction
13555
+  (0.1ms) begin transaction
13556
+ Adeia::Group Load (0.3ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]
13557
+  (0.1ms) SAVEPOINT active_record_1
13558
+ SQL (0.6ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13559
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13560
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13561
+  (0.1ms) SAVEPOINT active_record_1
13562
+ SQL (0.6ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13563
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13564
+  (2.3ms) rollback transaction
13565
+  (0.1ms) begin transaction
13566
+ Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13567
+  (0.1ms) SAVEPOINT active_record_1
13568
+ SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13569
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13570
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]
13571
+  (0.1ms) SAVEPOINT active_record_1
13572
+ SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13573
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13574
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13575
+  (0.0ms) SAVEPOINT active_record_1
13576
+ SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13577
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13578
+  (0.8ms) rollback transaction
13579
+  (0.1ms) begin transaction
13580
+ Adeia::Element Load (0.2ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13581
+  (0.1ms) SAVEPOINT active_record_1
13582
+ SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13583
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13584
+ Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]
13585
+  (0.0ms) SAVEPOINT active_record_1
13586
+ SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13587
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13588
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13589
+  (0.0ms) SAVEPOINT active_record_1
13590
+ SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13592
+  (0.8ms) rollback transaction
13593
+  (0.1ms) begin transaction
13594
+ Adeia::Element Load (0.7ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "admin/articles"], ["LIMIT", 1]]
13595
+  (0.2ms) SAVEPOINT active_record_1
13596
+ SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin/articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13597
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13598
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" WHERE "adeia_groups"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]
13599
+  (0.1ms) SAVEPOINT active_record_1
13600
+ SQL (0.4ms) INSERT INTO "adeia_groups" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "admin"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13601
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13602
+  (0.8ms) rollback transaction
13603
+  (0.1ms) begin transaction
13604
+  (0.1ms) SAVEPOINT active_record_1
13605
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$MkY/N6bPRiQTCLp5OlPkmeAXcuuzG.XK8fyNf6iXClr6PoumX.AX6"], ["remember_token", "IrFmmO7LbZlmikhWs6f9nQ"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13606
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13607
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13608
+  (0.1ms) SAVEPOINT active_record_1
13609
+ SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13610
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13611
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13612
+  (0.1ms) SAVEPOINT active_record_1
13613
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13614
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13615
+  (0.1ms) SAVEPOINT active_record_1
13616
+ SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13617
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13618
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13619
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13620
+ Processing by ArticlesController#index as HTML
13621
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "IrFmmO7LbZlmikhWs6f9nQ"], ["LIMIT", 1]]
13622
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13623
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13624
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13625
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13626
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13627
+ Rendering articles/index.html.erb within layouts/application
13628
+ Rendered articles/index.html.erb within layouts/application (0.8ms)
13629
+ Completed 200 OK in 36ms (Views: 25.3ms | ActiveRecord: 0.3ms)
13630
+  (1.4ms) rollback transaction
13631
+  (0.1ms) begin transaction
13632
+  (0.1ms) SAVEPOINT active_record_1
13633
+ SQL (0.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Anh6B5KLPxNVqssprIf9leGaFRor3Hu9oX6El5qdOPRqATe55AdOe"], ["remember_token", "46yQK2hb_DJ4zRtTgdXpZw"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13634
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13635
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13636
+  (0.1ms) SAVEPOINT active_record_1
13637
+ SQL (0.5ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13638
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13639
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13640
+  (0.1ms) SAVEPOINT active_record_1
13641
+ SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13642
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13643
+  (0.1ms) SAVEPOINT active_record_1
13644
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13645
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13646
+ Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13648
+ Processing by ArticlesController#index as HTML
13649
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "46yQK2hb_DJ4zRtTgdXpZw"], ["LIMIT", 1]]
13650
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13651
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13652
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13653
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13654
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13655
+ Rendering articles/index.html.erb within layouts/application
13656
+ Rendered articles/index.html.erb within layouts/application (0.1ms)
13657
+ Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 0.5ms)
13658
+  (1.1ms) rollback transaction
13659
+  (0.1ms) begin transaction
13660
+  (0.1ms) SAVEPOINT active_record_1
13661
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$kTwWDyxjF2OkMRGEnxDgmuYbVeeq4MbeMOoIwrIPUl2CjoJeyVpG."], ["remember_token", "54wkzSj_XowDqjM4HKXe9Q"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13662
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13663
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13664
+  (0.1ms) SAVEPOINT active_record_1
13665
+ SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13666
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13667
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13668
+  (0.0ms) SAVEPOINT active_record_1
13669
+ SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13670
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13671
+  (0.1ms) SAVEPOINT active_record_1
13672
+ SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13673
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13674
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13675
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13676
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13677
+  (0.1ms) SAVEPOINT active_record_1
13678
+ SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$WvWNrWR8IOFumIfHOCxdEer9tqAaL0fuyhJCkgbZLV97KmZ0lIJg."], ["remember_token", "caANqUMy9j1ORrAHg0Ai3w"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13679
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13680
+  (0.1ms) SAVEPOINT active_record_1
13681
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13682
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13683
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13684
+  (0.0ms) SAVEPOINT active_record_1
13685
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13686
+  (0.2ms) RELEASE SAVEPOINT active_record_1
13687
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13688
+  (0.0ms) SAVEPOINT active_record_1
13689
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13690
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13691
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13692
+  (0.0ms) SAVEPOINT active_record_1
13693
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13694
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13695
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13696
+  (0.1ms) SAVEPOINT active_record_1
13697
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13698
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13699
+ Processing by ArticlesController#index as HTML
13700
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "54wkzSj_XowDqjM4HKXe9Q"], ["LIMIT", 1]]
13701
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13702
+ Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13703
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13704
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13705
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13706
+ Rendering articles/index.html.erb within layouts/application
13707
+ Rendered articles/index.html.erb within layouts/application (0.1ms)
13708
+ Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.3ms)
13709
+  (1.1ms) rollback transaction
13710
+  (0.1ms) begin transaction
13711
+  (0.1ms) SAVEPOINT active_record_1
13712
+ SQL (0.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$s0Xbzg..U1pn9UYQ4ApSy..MySwBoOUs4kfSxrwctJHwB3db3/iEy"], ["remember_token", "lrGMiC0FxmETqK316auP7w"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13713
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13714
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13715
+  (0.0ms) SAVEPOINT active_record_1
13716
+ SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13717
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13718
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13719
+  (0.0ms) SAVEPOINT active_record_1
13720
+ SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13722
+  (0.1ms) SAVEPOINT active_record_1
13723
+ SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13724
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13725
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13727
+  (0.1ms) SAVEPOINT active_record_1
13728
+ SQL (0.3ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13729
+  (0.2ms) RELEASE SAVEPOINT active_record_1
13730
+  (0.1ms) SAVEPOINT active_record_1
13731
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13732
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13733
+  (0.2ms) SAVEPOINT active_record_1
13734
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13735
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13736
+  (0.1ms) SAVEPOINT active_record_1
13737
+ SQL (0.3ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13738
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13739
+  (0.1ms) SAVEPOINT active_record_1
13740
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13741
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13742
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13743
+  (0.2ms) SAVEPOINT active_record_1
13744
+ SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$3BXb3l/YpLu6mzO/JBsYkuy/DkY5BwG3BYsZMYqVEILhHLgfKJRZi"], ["remember_token", "wiCdnC4qciBbJLxVEfJFXg"], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13745
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13746
+  (0.1ms) SAVEPOINT active_record_1
13747
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13748
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13749
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13750
+  (0.1ms) SAVEPOINT active_record_1
13751
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:31 UTC], ["updated_at", 2018-03-12 15:58:31 UTC]]
13752
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13753
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13754
+  (0.2ms) SAVEPOINT active_record_1
13755
+ SQL (0.3ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13756
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13757
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13758
+  (0.1ms) SAVEPOINT active_record_1
13759
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13761
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13762
+  (0.0ms) SAVEPOINT active_record_1
13763
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13765
+ Processing by ArticlesController#index as HTML
13766
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "lrGMiC0FxmETqK316auP7w"], ["LIMIT", 1]]
13767
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13768
+ Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13769
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13770
+ Adeia::Permission Load (0.0ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13771
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13772
+ Rendering articles/index.html.erb within layouts/application
13773
+ Rendered articles/index.html.erb within layouts/application (0.1ms)
13774
+ Completed 200 OK in 6ms (Views: 0.6ms | ActiveRecord: 0.3ms)
13775
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (NULL))
13776
+  (2.6ms) rollback transaction
13777
+  (0.1ms) begin transaction
13778
+  (0.0ms) SAVEPOINT active_record_1
13779
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$GO8NYQIhNRD9esyBDNcFquZeAFCuoLDPG0jLrbncPHJYPUH4ePL/q"], ["remember_token", "0P-z1WUvUO7uLiGO8aqcsw"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13780
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13781
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13782
+  (0.0ms) SAVEPOINT active_record_1
13783
+ SQL (0.7ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13784
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13785
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13786
+  (0.0ms) SAVEPOINT active_record_1
13787
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13788
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13789
+  (0.1ms) SAVEPOINT active_record_1
13790
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 1], ["read_right", true], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13791
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13792
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13793
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13794
+  (0.0ms) SAVEPOINT active_record_1
13795
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13796
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13797
+  (0.0ms) SAVEPOINT active_record_1
13798
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13799
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13800
+  (0.0ms) SAVEPOINT active_record_1
13801
+ SQL (0.3ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13802
+  (0.2ms) RELEASE SAVEPOINT active_record_1
13803
+  (0.1ms) SAVEPOINT active_record_1
13804
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13805
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13806
+  (0.0ms) SAVEPOINT active_record_1
13807
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13808
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13809
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13810
+  (0.0ms) SAVEPOINT active_record_1
13811
+ SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$nBRPpcY9aF1ac9qXm2MJFO7cIT6VX.y1ikQAwAltBiYbVE61ka3LW"], ["remember_token", "wzVjGgE9Mkb5qcJheqZlPA"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13812
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13813
+  (0.0ms) SAVEPOINT active_record_1
13814
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13816
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13817
+  (0.0ms) SAVEPOINT active_record_1
13818
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13819
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13820
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13821
+  (0.0ms) SAVEPOINT active_record_1
13822
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13823
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13824
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13825
+  (0.0ms) SAVEPOINT active_record_1
13826
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13827
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13828
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13829
+  (0.1ms) SAVEPOINT active_record_1
13830
+ SQL (0.3ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13832
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13833
+  (0.1ms) SAVEPOINT active_record_1
13834
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13835
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13836
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13837
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13838
+  (0.1ms) SAVEPOINT active_record_1
13839
+ SQL (2.7ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 11], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13840
+ SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13841
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13842
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13843
+ Processing by ArticlesController#index as HTML
13844
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "0P-z1WUvUO7uLiGO8aqcsw"], ["LIMIT", 1]]
13845
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13846
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13847
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13848
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13849
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13850
+ Rendering articles/index.html.erb within layouts/application
13851
+ Rendered articles/index.html.erb within layouts/application (0.1ms)
13852
+ Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.3ms)
13853
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE (user_id = 1 OR id IN (11))
13854
+  (2.8ms) rollback transaction
13855
+  (0.1ms) begin transaction
13856
+  (0.0ms) SAVEPOINT active_record_1
13857
+ SQL (0.8ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$xu/wQANA2Fa4RMC/ZfjyRe55TFhsdI6GH6z96/bTQbOUhUeDRN1Pe"], ["remember_token", "cjhUtBVV7vFx8glDkE_njQ"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13858
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13859
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13860
+  (0.1ms) SAVEPOINT active_record_1
13861
+ SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$bQI174cAtjUZRlMjPsSEgeRNFVNzTQqyRqIRsZTMPAYES4gr3XpCO"], ["remember_token", "OKwkYXPCV-jDs-1l_wvnEA"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13862
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13863
+  (0.1ms) SAVEPOINT active_record_1
13864
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13865
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13866
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13867
+  (0.0ms) SAVEPOINT active_record_1
13868
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13869
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13870
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13871
+  (0.0ms) SAVEPOINT active_record_1
13872
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13873
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13874
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13875
+  (0.0ms) SAVEPOINT active_record_1
13876
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13877
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13878
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13879
+  (0.0ms) SAVEPOINT active_record_1
13880
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13881
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13882
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13883
+  (0.0ms) SAVEPOINT active_record_1
13884
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13886
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13887
+  (0.0ms) SAVEPOINT active_record_1
13888
+ SQL (0.1ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13889
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13890
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13891
+  (0.0ms) SAVEPOINT active_record_1
13892
+ SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13894
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13895
+  (0.1ms) SAVEPOINT active_record_1
13896
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13897
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13898
+  (0.1ms) SAVEPOINT active_record_1
13899
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13900
+ SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13901
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13902
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13903
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13904
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13905
+  (0.1ms) SAVEPOINT active_record_1
13906
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13907
+ SQL (0.4ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13908
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13909
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13910
+ Processing by ArticlesController#index as HTML
13911
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "cjhUtBVV7vFx8glDkE_njQ"], ["LIMIT", 1]]
13912
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13913
+ Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13914
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13915
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13916
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13917
+ Rendering articles/index.html.erb within layouts/application
13918
+ Rendered articles/index.html.erb within layouts/application (0.1ms)
13919
+ Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.3ms)
13920
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" IN (1, 2)
13921
+  (2.4ms) rollback transaction
13922
+  (0.5ms) begin transaction
13923
+  (0.1ms) SAVEPOINT active_record_1
13924
+ SQL (0.7ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$WBpJoEvs9GyflMaLHnQ/VOcOK6rkZ1V3v4NhzV03tIud4Ao2nBI9K"], ["remember_token", "2JOVWmeAwvA-3AtZpOgDWw"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13925
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13926
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13927
+  (0.1ms) SAVEPOINT active_record_1
13928
+ SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13929
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13930
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13931
+  (0.1ms) SAVEPOINT active_record_1
13932
+ SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13933
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13934
+  (0.1ms) SAVEPOINT active_record_1
13935
+ SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13936
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13937
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13938
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13939
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13940
+  (0.1ms) SAVEPOINT active_record_1
13941
+ SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$FB3CVjl03j7yje2qbuuGNOK4mN1R1jG2f/A3dbL09uoBaZfcLxzgS"], ["remember_token", "3h5CTP2oNrRiw5kB4PhFvA"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13942
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13943
+  (0.0ms) SAVEPOINT active_record_1
13944
+ SQL (0.3ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13945
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13946
+ Processing by ArticlesController#show as HTML
13947
+ Parameters: {"id"=>"1"}
13948
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "2JOVWmeAwvA-3AtZpOgDWw"], ["LIMIT", 1]]
13949
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
13950
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13951
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13952
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13953
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13954
+ Rendering articles/show.html.erb within layouts/application
13955
+ Rendered articles/show.html.erb within layouts/application (0.3ms)
13956
+ Completed 200 OK in 13ms (Views: 1.1ms | ActiveRecord: 0.5ms)
13957
+  (1.1ms) rollback transaction
13958
+  (0.2ms) begin transaction
13959
+  (0.1ms) SAVEPOINT active_record_1
13960
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$8cRom2qS08tuFpdikb3RMOkgn9bFfVvkZst5Y4vVLN.W841xIA/ce"], ["remember_token", "CfIT5kL0btX850gJtUd0bw"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13961
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13962
+ Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13963
+  (0.0ms) SAVEPOINT active_record_1
13964
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13965
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13966
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13967
+  (0.1ms) SAVEPOINT active_record_1
13968
+ SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13969
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13970
+  (0.1ms) SAVEPOINT active_record_1
13971
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13972
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13973
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
13974
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13975
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
13976
+  (0.1ms) SAVEPOINT active_record_1
13977
+ SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$cCF81avKM9dix/tEvMSbke6.2q9zjNpeu8sq79jSJTZxR3r/36Qja"], ["remember_token", "MrWD9DFZ6D6LqTLPa0yYMQ"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13979
+  (0.0ms) SAVEPOINT active_record_1
13980
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13981
+  (0.0ms) RELEASE SAVEPOINT active_record_1
13982
+ Processing by ArticlesController#show as HTML
13983
+ Parameters: {"id"=>"1"}
13984
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "CfIT5kL0btX850gJtUd0bw"], ["LIMIT", 1]]
13985
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
13986
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
13987
+ Adeia::Group Load (0.0ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
13988
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13989
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
13990
+ Rendering articles/show.html.erb within layouts/application
13991
+ Rendered articles/show.html.erb within layouts/application (0.1ms)
13992
+ Completed 200 OK in 8ms (Views: 0.7ms | ActiveRecord: 0.5ms)
13993
+  (1.1ms) rollback transaction
13994
+  (0.1ms) begin transaction
13995
+  (0.2ms) SAVEPOINT active_record_1
13996
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$EFHqzXieCCvJUMR2uFhyge0Y/ffueGTHaB6k.E1lxnpIOIcglLwnG"], ["remember_token", "vwv6zT6x4iMR_cyvotZsAg"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
13997
+  (0.1ms) RELEASE SAVEPOINT active_record_1
13998
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
13999
+  (0.3ms) SAVEPOINT active_record_1
14000
+ SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14001
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14002
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
14003
+  (0.1ms) SAVEPOINT active_record_1
14004
+ SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14005
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14006
+  (0.1ms) SAVEPOINT active_record_1
14007
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "create_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["create_right", true], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14008
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14009
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
14010
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14011
+ Processing by ArticlesController#new as HTML
14012
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "vwv6zT6x4iMR_cyvotZsAg"], ["LIMIT", 1]]
14013
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
14014
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
14015
+ Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."create_right" = ? AND "adeia_elements"."name" = ? [["create_right", true], ["name", "articles"]]
14016
+ Rendering articles/new.html.erb within layouts/application
14017
+ Rendered articles/new.html.erb within layouts/application (0.4ms)
14018
+ Completed 200 OK in 14ms (Views: 1.4ms | ActiveRecord: 0.5ms)
14019
+  (1.1ms) rollback transaction
14020
+  (0.2ms) begin transaction
14021
+  (0.1ms) SAVEPOINT active_record_1
14022
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$P6XjB/ycxNutVkWSe3IvDeVjSQBo7Uy97uJ6Lzlrauj51Cky/XGxq"], ["remember_token", "P9S_o_0VrArUZcE_rIjeQw"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14023
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14024
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
14025
+  (0.1ms) SAVEPOINT active_record_1
14026
+ SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14027
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14028
+ Adeia::Action Load (0.0ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
14029
+  (0.0ms) SAVEPOINT active_record_1
14030
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14031
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14032
+  (0.1ms) SAVEPOINT active_record_1
14033
+ SQL (0.2ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14034
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14035
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
14036
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14037
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
14038
+  (0.0ms) SAVEPOINT active_record_1
14039
+ SQL (0.2ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$wwjuVGeZJum6Fbf80ETwa.5Rq0lw2LFhg/wquRXi9BcldL4Zy2S0y"], ["remember_token", "IM-jNHYKzGFyzxfzs9WNxg"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14040
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14041
+  (0.0ms) SAVEPOINT active_record_1
14042
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14043
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14044
+ Processing by ArticlesController#edit as HTML
14045
+ Parameters: {"id"=>"1"}
14046
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "P9S_o_0VrArUZcE_rIjeQw"], ["LIMIT", 1]]
14047
+ Article Load (0.0ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
14048
+ Adeia::Token Load (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
14049
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
14050
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]]
14051
+ Adeia::Permission Load (0.3ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]]
14052
+ Rendering articles/edit.html.erb within layouts/application
14053
+ Rendered articles/edit.html.erb within layouts/application (0.3ms)
14054
+ Completed 200 OK in 13ms (Views: 1.3ms | ActiveRecord: 0.7ms)
14055
+  (1.1ms) rollback transaction
14056
+  (0.1ms) begin transaction
14057
+  (0.1ms) SAVEPOINT active_record_1
14058
+ SQL (0.6ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$UuW7DqcjEjCcmx089hLJg.JXU6kI0wACeYwtuH9tzuf24gYNIXqFO"], ["remember_token", "3cBEEkuW_8BMvPL5RNtuSg"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14060
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
14061
+  (0.1ms) SAVEPOINT active_record_1
14062
+ SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14063
+  (0.2ms) RELEASE SAVEPOINT active_record_1
14064
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
14065
+  (0.0ms) SAVEPOINT active_record_1
14066
+ SQL (0.1ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14067
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14068
+  (0.1ms) SAVEPOINT active_record_1
14069
+ SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "update_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["update_right", true], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14070
+ SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14071
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
14072
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14073
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "editor"], ["LIMIT", 1]]
14074
+  (0.1ms) SAVEPOINT active_record_1
14075
+ SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "editor"], ["password_digest", "$2a$04$6rDWuExihQrK6kf0b3s/MOezye755uembgat8/oWTHjhlctOdpg3i"], ["remember_token", "73-CKY4Gbp4Xgg9IyVbImQ"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14076
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14077
+  (0.0ms) SAVEPOINT active_record_1
14078
+ SQL (0.2ms) INSERT INTO "articles" ("title", "content", "user_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["title", "Des ours meurt chaque année"], ["content", "Chaque année, plus de 1000 ourse blancs meurt"], ["user_id", 2], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14079
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14080
+ Processing by ArticlesController#edit as HTML
14081
+ Parameters: {"id"=>"1"}
14082
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "3cBEEkuW_8BMvPL5RNtuSg"], ["LIMIT", 1]]
14083
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."id" = ? LIMIT ? [["id", 1], ["LIMIT", 1]]
14084
+ Adeia::Token Load (0.1ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
14085
+ Adeia::Group Load (0.1ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
14086
+  (0.1ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]]
14087
+ Adeia::Permission Load (0.1ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."update_right" = ? AND "adeia_elements"."name" = ? [["update_right", true], ["name", "articles"]]
14088
+ Rendering articles/edit.html.erb within layouts/application
14089
+ Rendered articles/edit.html.erb within layouts/application (0.1ms)
14090
+ Completed 200 OK in 10ms (Views: 0.7ms | ActiveRecord: 0.7ms)
14091
+  (1.3ms) rollback transaction
14092
+  (0.1ms) begin transaction
14093
+  (0.1ms) SAVEPOINT active_record_1
14094
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$Tm2ayTqdny2qWVS7aldyQOnN24GBN0o5WMDLOYyb.BQfKH.KBKb9q"], ["remember_token", "IDtW5mXpPyhP3RHIjlrIOA"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14095
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14096
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "articles"], ["LIMIT", 1]]
14097
+  (0.1ms) SAVEPOINT active_record_1
14098
+ SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "articles"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14099
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14100
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
14101
+  (0.1ms) SAVEPOINT active_record_1
14102
+ SQL (0.2ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14103
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14104
+  (0.1ms) SAVEPOINT active_record_1
14105
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14106
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:32 UTC], ["updated_at", 2018-03-12 15:58:32 UTC]]
14107
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
14108
+  (0.0ms) RELEASE SAVEPOINT active_record_1
14109
+ Started GET "/articles" for 127.0.0.1 at 2018-03-12 16:58:32 +0100
14110
+ Processing by ArticlesController#index as HTML
14111
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
14112
+ CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
14113
+ Redirected to http://www.example.com/login
14114
+ Completed 302 Found in 10ms (ActiveRecord: 0.2ms)
14115
+ Started GET "/login" for 127.0.0.1 at 2018-03-12 16:58:32 +0100
14116
+ Processing by SessionsController#new as HTML
14117
+ Rendering sessions/new.html.erb within layouts/application
14118
+ Rendered sessions/new.html.erb within layouts/application (27.7ms)
14119
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
14120
+ Completed 200 OK in 610ms (Views: 607.5ms | ActiveRecord: 0.2ms)
14121
+ Started POST "/sessions" for 127.0.0.1 at 2018-03-12 16:58:33 +0100
14122
+ Processing by SessionsController#create as HTML
14123
+ Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"}
14124
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]
14125
+ Redirected to http://www.example.com/articles
14126
+ Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
14127
+ Started GET "/articles" for 127.0.0.1 at 2018-03-12 16:58:33 +0100
14128
+ Processing by ArticlesController#index as HTML
14129
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "IDtW5mXpPyhP3RHIjlrIOA"], ["LIMIT", 1]]
14130
+ Adeia::Token Load (0.3ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
14131
+ Adeia::Group Load (0.2ms) SELECT "adeia_groups".* FROM "adeia_groups" INNER JOIN "adeia_group_users" ON "adeia_group_users"."adeia_group_id" = "adeia_groups"."id" WHERE "adeia_group_users"."user_id" = ? [["user_id", 1]]
14132
+  (0.2ms) SELECT "adeia_permissions"."resource_id" FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
14133
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" INNER JOIN "adeia_elements" ON "adeia_elements"."id" = "adeia_permissions"."adeia_element_id" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."read_right" = ? AND "adeia_elements"."name" = ? [["read_right", true], ["name", "articles"]]
14134
+ CACHE (0.0ms) SELECT "adeia_tokens".* FROM "adeia_tokens" WHERE "adeia_tokens"."token" IS NULL LIMIT ? [["LIMIT", 1]]
14135
+ Rendering articles/index.html.erb within layouts/application
14136
+ Article Load (0.2ms) SELECT "articles".* FROM "articles"
14137
+ Rendered articles/index.html.erb within layouts/application (15.3ms)
14138
+ Completed 200 OK in 40ms (Views: 27.7ms | ActiveRecord: 1.2ms)
14139
+  (1.1ms) rollback transaction
14140
+  (0.1ms) begin transaction
14141
+ Started GET "/comments" for 127.0.0.1 at 2018-03-12 16:58:33 +0100
14142
+ Processing by CommentsController#index as HTML
14143
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
14144
+ Redirected to http://www.example.com/login
14145
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
14146
+ Started GET "/login" for 127.0.0.1 at 2018-03-12 16:58:33 +0100
14147
+ Processing by SessionsController#new as HTML
14148
+ Rendering sessions/new.html.erb within layouts/application
14149
+ Rendered sessions/new.html.erb within layouts/application (2.2ms)
14150
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
14151
+ Completed 200 OK in 14ms (Views: 11.0ms | ActiveRecord: 0.1ms)
14152
+  (0.1ms) SAVEPOINT active_record_1
14153
+ SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$6/UjZDLw/hgp17XiVptIMO35zECRXYl4hCjjqSkqvnjqIJWQd0C.O"], ["remember_token", "qtM56Up_r6ywP3zgJlGCAA"], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14155
+ Started POST "/sessions" for 127.0.0.1 at 2018-03-12 16:58:33 +0100
14156
+ Processing by SessionsController#create as HTML
14157
+ Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"}
14158
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]
14159
+ Redirected to http://www.example.com/comments
14160
+ Completed 302 Found in 4ms (ActiveRecord: 0.1ms)
14161
+ Started GET "/comments" for 127.0.0.1 at 2018-03-12 16:58:33 +0100
14162
+ Processing by CommentsController#index as HTML
14163
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "qtM56Up_r6ywP3zgJlGCAA"], ["LIMIT", 1]]
14164
+ Rendering text template
14165
+ Rendered text template (0.0ms)
14166
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.1ms)
14167
+  (0.5ms) rollback transaction
14168
+  (0.1ms) begin transaction
14169
+ Started GET "/comments/new" for 127.0.0.1 at 2018-03-12 16:58:33 +0100
14170
+ Processing by CommentsController#new as HTML
14171
+ Rendering comments/new.html.erb within layouts/application
14172
+ Rendered comments/new.html.erb within layouts/application (1.1ms)
14173
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
14174
+ Completed 200 OK in 17ms (Views: 13.8ms | ActiveRecord: 0.3ms)
14175
+ Started POST "/comments" for 127.0.0.1 at 2018-03-12 16:58:33 +0100
14176
+ Processing by CommentsController#create as HTML
14177
+ Parameters: {"utf8"=>"✓", "commit"=>"Create a comment"}
14178
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
14179
+ Redirected to http://www.example.com/login
14180
+ Completed 302 Found in 2ms (ActiveRecord: 0.2ms)
14181
+ Started GET "/login" for 127.0.0.1 at 2018-03-12 16:58:33 +0100
14182
+ Processing by SessionsController#new as HTML
14183
+ Rendering sessions/new.html.erb within layouts/application
14184
+ Rendered sessions/new.html.erb within layouts/application (1.8ms)
14185
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" IS NULL LIMIT ? [["LIMIT", 1]]
14186
+ Completed 200 OK in 19ms (Views: 14.6ms | ActiveRecord: 0.2ms)
14187
+  (0.1ms) SAVEPOINT active_record_1
14188
+ SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$9WCCHD9gzr2sMeEIWSb5WO4MFYaBYvU04JmZE.ur5O0bK6hvy.aG2"], ["remember_token", "5Zx81-admNwbKZrcthyRMQ"], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14189
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14190
+ Started POST "/sessions" for 127.0.0.1 at 2018-03-12 16:58:33 +0100
14191
+ Processing by SessionsController#create as HTML
14192
+ Parameters: {"utf8"=>"✓", "session"=>{"name"=>"admin", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Login"}
14193
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."name" = ? LIMIT ? [["name", "admin"], ["LIMIT", 1]]
14194
+ Redirected to http://www.example.com/
14195
+ Completed 302 Found in 3ms (ActiveRecord: 0.1ms)
14196
+ Started GET "/" for 127.0.0.1 at 2018-03-12 16:58:33 +0100
14197
+ Processing by PagesController#dashboard as HTML
14198
+ Rendering pages/dashboard.html.erb within layouts/application
14199
+ Rendered pages/dashboard.html.erb within layouts/application (0.4ms)
14200
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."remember_token" = ? LIMIT ? [["remember_token", "5Zx81-admNwbKZrcthyRMQ"], ["LIMIT", 1]]
14201
+ Completed 200 OK in 15ms (Views: 11.3ms | ActiveRecord: 0.2ms)
14202
+  (0.7ms) rollback transaction
14203
+  (0.1ms) begin transaction
14204
+  (0.1ms) SAVEPOINT active_record_1
14205
+ SQL (0.5ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$DRxjJQiheBWMIVkfgpz4aOf7Dn95m2.07RDSIU5P48Cj0hlLOPyR."], ["remember_token", "v5oHljuCK5uonRuQ3WDmiQ"], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14206
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14207
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]
14208
+  (0.0ms) SAVEPOINT active_record_1
14209
+ SQL (0.4ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14210
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14211
+  (0.1ms) SAVEPOINT active_record_1
14212
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14213
+ Adeia::Action Load (0.2ms) SELECT "adeia_actions".* FROM "adeia_actions" INNER JOIN "adeia_action_permissions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" WHERE "adeia_action_permissions"."adeia_permission_id" = ? [["adeia_permission_id", 1]]
14214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14215
+  (0.8ms) rollback transaction
14216
+  (0.1ms) begin transaction
14217
+  (0.1ms) SAVEPOINT active_record_1
14218
+ SQL (0.3ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$YzRz.Snp6s7URlY7Be/pbO0bAjp.Wz4Sri.NKmQgxFI82Ms58mcwa"], ["remember_token", "3Vo9FT0Zqp70vKvbffnD8Q"], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14219
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14220
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
14221
+  (0.1ms) SAVEPOINT active_record_1
14222
+ SQL (0.4ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14223
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14224
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]
14225
+  (0.1ms) SAVEPOINT active_record_1
14226
+ SQL (0.2ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14227
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14228
+  (0.2ms) SAVEPOINT active_record_1
14229
+ SQL (1.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14230
+ SQL (0.2ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14231
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
14232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14233
+  (1.0ms) rollback transaction
14234
+  (0.1ms) begin transaction
14235
+  (0.1ms) SAVEPOINT active_record_1
14236
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$cFOpG0hoA6aX.bFVRMhD4.8gpG9zgN1xT9tFmw43np3.vOBxNLWl."], ["remember_token", "SDvJcMcRLdaXxk3p2GwQ-Q"], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14237
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14238
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]
14239
+  (0.1ms) SAVEPOINT active_record_1
14240
+ SQL (0.6ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14242
+  (0.0ms) SAVEPOINT active_record_1
14243
+ SQL (0.4ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "create_right", "update_right", "destroy_right", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 0], ["read_right", true], ["create_right", true], ["update_right", true], ["destroy_right", true], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14244
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" INNER JOIN "adeia_action_permissions" ON "adeia_actions"."id" = "adeia_action_permissions"."adeia_action_id" WHERE "adeia_action_permissions"."adeia_permission_id" = ? [["adeia_permission_id", 1]]
14245
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14246
+  (0.8ms) rollback transaction
14247
+  (0.1ms) begin transaction
14248
+  (0.0ms) SAVEPOINT active_record_1
14249
+ SQL (0.4ms) INSERT INTO "users" ("name", "password_digest", "remember_token", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["name", "admin"], ["password_digest", "$2a$04$tv/w0RG7Fhzd28QHwVF0Ce/uXp85ZYcnqpOjdi3Ry8eZicMlHzayW"], ["remember_token", "_b4V1h4CPmwiTBsQ_goRtQ"], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14250
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14251
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
14252
+  (0.0ms) SAVEPOINT active_record_1
14253
+ SQL (0.3ms) INSERT INTO "adeia_actions" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "share"], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14254
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14255
+ Adeia::Element Load (0.0ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]
14256
+  (0.1ms) SAVEPOINT active_record_1
14257
+ SQL (0.3ms) INSERT INTO "adeia_elements" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "adeia/permissions"], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14258
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14259
+  (0.1ms) SAVEPOINT active_record_1
14260
+ SQL (0.3ms) INSERT INTO "adeia_permissions" ("owner_id", "owner_type", "adeia_element_id", "permission_type", "read_right", "resource_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["owner_id", 1], ["owner_type", "User"], ["adeia_element_id", 1], ["permission_type", 2], ["read_right", true], ["resource_id", 1], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14261
+ SQL (0.3ms) INSERT INTO "adeia_action_permissions" ("adeia_action_id", "adeia_permission_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["adeia_action_id", 1], ["adeia_permission_id", 1], ["created_at", 2018-03-12 15:58:33 UTC], ["updated_at", 2018-03-12 15:58:33 UTC]]
14262
+ Adeia::Action Load (0.1ms) SELECT "adeia_actions".* FROM "adeia_actions" WHERE "adeia_actions"."name" = ? LIMIT ? [["name", "share"], ["LIMIT", 1]]
14263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
14264
+ Adeia::Element Load (0.1ms) SELECT "adeia_elements".* FROM "adeia_elements" WHERE "adeia_elements"."name" = ? LIMIT ? [["name", "adeia/permissions"], ["LIMIT", 1]]
14265
+ Adeia::Permission Load (0.2ms) SELECT "adeia_permissions".* FROM "adeia_permissions" WHERE "adeia_permissions"."owner_type" = 'User' AND "adeia_permissions"."owner_id" = 1 AND "adeia_permissions"."adeia_element_id" = 1 AND "adeia_permissions"."permission_type" = ? ORDER BY "adeia_permissions"."id" ASC LIMIT ? [["permission_type", 2], ["LIMIT", 1]]
14266
+  (1.0ms) rollback transaction