refinerycms-menus 2.0.6 → 2.0.7

This diff has not been reviewed by any users.
Sign up to get free protection for your applications and to get access to all the features.
Files changed (287) hide show
  1. data/app/controllers/refinery/menus/admin/menu_links_controller.rb +3 -3
  2. data/app/models/refinery/menus/menu_link.rb +6 -6
  3. data/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb +4 -4
  4. data/db/migrate/10_rename_refinery_resource_to_resource_for_refinery_menus_menu_links.rb +6 -0
  5. data/lib/generators/refinery/menus/templates/config/initializers/refinery/menus.rb.erb +3 -3
  6. data/lib/refinery/menus/version.rb +1 -1
  7. data/readme.md +13 -13
  8. data/spec/dummy/README.rdoc +8 -8
  9. data/spec/dummy/config/initializers/refinery/core.rb +1 -1
  10. data/spec/dummy/config/initializers/refinery/images.rb +1 -1
  11. data/spec/dummy/config/initializers/refinery/resources.rb +1 -1
  12. data/spec/dummy/config/initializers/secret_token.rb +1 -1
  13. data/spec/dummy/db/migrate/{20130204144343_create_page_menus.refinery_menus.rb → 20130326231729_create_page_menus.refinery_menus.rb} +0 -0
  14. data/spec/dummy/db/migrate/{20130204144344_add_permatitle_to_page_menus.refinery_menus.rb → 20130326231730_add_permatitle_to_page_menus.refinery_menus.rb} +0 -0
  15. data/spec/dummy/db/migrate/{20130204144345_add_menu_match_to_page_positions.refinery_menus.rb → 20130326231731_add_menu_match_to_page_positions.refinery_menus.rb} +0 -0
  16. data/spec/dummy/db/migrate/{20130204144346_add_flex_fields_to_page_positions.refinery_menus.rb → 20130326231732_add_flex_fields_to_page_positions.refinery_menus.rb} +0 -0
  17. data/spec/dummy/db/migrate/{20130204144347_remove_refinery_page_id_from_refinery_page_positions.refinery_menus.rb → 20130326231733_remove_refinery_page_id_from_refinery_page_positions.refinery_menus.rb} +0 -0
  18. data/spec/dummy/db/migrate/{20130204144348_rename_page_positions_to_menu_links.refinery_menus.rb → 20130326231734_rename_page_positions_to_menu_links.refinery_menus.rb} +0 -0
  19. data/spec/dummy/db/migrate/{20130204144349_add_class_and_id_attribute_to_menu_links.refinery_menus.rb → 20130326231735_add_class_and_id_attribute_to_menu_links.refinery_menus.rb} +0 -0
  20. data/spec/dummy/db/migrate/{20130204144350_rename_page_menus_to_menus.refinery_menus.rb → 20130326231736_rename_page_menus_to_menus.refinery_menus.rb} +0 -0
  21. data/spec/dummy/db/migrate/{20130204144351_add_namespace_to_tables.refinery_menus.rb → 20130326231737_add_namespace_to_tables.refinery_menus.rb} +0 -0
  22. data/spec/dummy/db/migrate/20130326231738_rename_refinery_resource_to_resource_for_refinery_menus_menu_links.refinery_menus.rb +7 -0
  23. data/spec/dummy/db/migrate/{20130204144352_create_refinerycms_authentication_schema.refinery_authentication.rb → 20130326231739_create_refinerycms_authentication_schema.refinery_authentication.rb} +0 -0
  24. data/spec/dummy/db/migrate/{20130204144353_create_refinerycms_images_schema.refinery_images.rb → 20130326231740_create_refinerycms_images_schema.refinery_images.rb} +0 -0
  25. data/spec/dummy/db/migrate/{20130204144354_create_refinerycms_resources_schema.refinery_resources.rb → 20130326231741_create_refinerycms_resources_schema.refinery_resources.rb} +0 -0
  26. data/spec/dummy/db/migrate/{20130204144355_create_refinerycms_pages_schema.refinery_pages.rb → 20130326231742_create_refinerycms_pages_schema.refinery_pages.rb} +0 -0
  27. data/spec/dummy/db/migrate/{20130204144356_create_seo_meta.seo_meta_engine.rb → 20130326231743_create_seo_meta.seo_meta_engine.rb} +0 -0
  28. data/spec/dummy/db/schema.rb +3 -3
  29. data/spec/dummy/dummy_dev +0 -0
  30. data/spec/dummy/dummy_test +0 -0
  31. data/spec/dummy/log/development.log +294 -1323
  32. data/spec/dummy/log/test.log +1240 -7253
  33. data/spec/dummy/tmp/cache/assets/BD4/2D0/sprockets%2F92d6b860252436c37505675357e29939 +0 -0
  34. data/spec/dummy/tmp/cache/assets/C15/9A0/sprockets%2Fa6284e072e57a0350213560e83342a89 +0 -0
  35. data/spec/dummy/tmp/cache/assets/C18/B70/sprockets%2F2036d35792672f0289a32d16a148c180 +0 -0
  36. data/spec/dummy/tmp/cache/assets/C2F/7A0/sprockets%2F7860517869b482070dc05f5679b5072f +0 -0
  37. data/spec/dummy/tmp/cache/assets/C44/370/sprockets%2Fef5e4507470b3431ba0240585922c682 +0 -0
  38. data/spec/dummy/tmp/cache/assets/C45/B30/sprockets%2F500931587f30bed692a334173807bb41 +0 -0
  39. data/spec/dummy/tmp/cache/assets/C4A/520/sprockets%2F77b0b75b0f4434222d0638616a3e8619 +0 -0
  40. data/spec/dummy/tmp/cache/assets/C4C/680/sprockets%2F466134e5101f41ee447499d060f8302e +0 -0
  41. data/spec/dummy/tmp/cache/assets/C57/F00/sprockets%2F3068533042be2b1991ce169738f983f0 +0 -0
  42. data/spec/dummy/tmp/cache/assets/C64/030/sprockets%2F577683d34df277fc25e18725958603d0 +0 -0
  43. data/spec/dummy/tmp/cache/assets/C65/490/sprockets%2F2d580e07834f7d8e68708270c71a6768 +0 -0
  44. data/spec/dummy/tmp/cache/assets/C77/170/sprockets%2F58624646998b6497b934a99fb38e1d19 +0 -0
  45. data/spec/dummy/tmp/cache/assets/C85/F90/sprockets%2Fd4586b524947ee00f423218c4b7b4883 +0 -0
  46. data/spec/dummy/tmp/cache/assets/C87/250/sprockets%2F1350b4c897c5946f7613b3674bf060d7 +0 -0
  47. data/spec/dummy/tmp/cache/assets/C9D/520/sprockets%2F6ff38c7729ec1ec56425477e61878327 +0 -0
  48. data/spec/dummy/tmp/cache/assets/C9F/E60/sprockets%2F28a16332aa1e60404b66e255a56938ac +0 -0
  49. data/spec/dummy/tmp/cache/assets/CA1/880/sprockets%2Fe2704733c55ee1b4ca652aa038063719 +0 -0
  50. data/spec/dummy/tmp/cache/assets/CA5/DC0/sprockets%2Fc09b2c4a92184d81241227cd18f8501f +0 -0
  51. data/spec/dummy/tmp/cache/assets/CA7/400/sprockets%2Fc5813f86b45b618740b0181b524bcf62 +0 -0
  52. data/spec/dummy/tmp/cache/assets/CAB/F00/sprockets%2F872459663ad68a00f13b36144e2c75cb +0 -0
  53. data/spec/dummy/tmp/cache/assets/CAF/8D0/sprockets%2F7c3a860485a6acb1e70f7372693a6163 +0 -0
  54. data/spec/dummy/tmp/cache/assets/CB0/5C0/sprockets%2F4d69819407d2c01f0868e5a74c4b314c +0 -0
  55. data/spec/dummy/tmp/cache/assets/CBE/A60/sprockets%2Ff3009f076c6522642f68f447dd938c4c +0 -0
  56. data/spec/dummy/tmp/cache/assets/CC2/7C0/sprockets%2F76701bcf06983f998b8734f624bac750 +0 -0
  57. data/spec/dummy/tmp/cache/assets/CC7/DA0/sprockets%2F817c99f99316484061f5636d8d3ac1ef +0 -0
  58. data/spec/dummy/tmp/cache/assets/CD4/E10/sprockets%2F4234271cfcde930620aa2703db368e68 +0 -0
  59. data/spec/dummy/tmp/cache/assets/CD5/DF0/sprockets%2Feeb3f1b44cb602e1824851e6427452f1 +0 -0
  60. data/spec/dummy/tmp/cache/assets/CD8/9A0/sprockets%2Fb7e711ea1482aed36c56b06964a24373 +0 -0
  61. data/spec/dummy/tmp/cache/assets/CDE/440/sprockets%2F652595237e875bfc201ed73c1c85a1e1 +0 -0
  62. data/spec/dummy/tmp/cache/assets/CE0/3F0/sprockets%2F21a81c805309e62e8c96ffff404b7213 +0 -0
  63. data/spec/dummy/tmp/cache/assets/CE3/9E0/sprockets%2F8b75a95c1b6f651000e2967884ebac53 +0 -0
  64. data/spec/dummy/tmp/cache/assets/CEB/120/sprockets%2Fca83656d959612d1b48f5b403fe6565c +0 -0
  65. data/spec/dummy/tmp/cache/assets/CF4/AE0/sprockets%2F78a6d639dfc60f3057ce49b5513a4899 +0 -0
  66. data/spec/dummy/tmp/cache/assets/CF8/990/sprockets%2Fcfe84c01ac0040722f475b9b213a365c +0 -0
  67. data/spec/dummy/tmp/cache/assets/CFF/850/sprockets%2F9ed0ca8b9b75cc08e0131027b731560c +0 -0
  68. data/spec/dummy/tmp/cache/assets/D00/DA0/sprockets%2F537f8494ee496907637abaf63469b8de +0 -0
  69. data/spec/dummy/tmp/cache/assets/D06/310/sprockets%2F4c45c12788e4f002674c21b31f17cfdd +0 -0
  70. data/spec/dummy/tmp/cache/assets/D0B/250/sprockets%2F34137e2028650c51d75ceafd4f8c1e37 +0 -0
  71. data/spec/dummy/tmp/cache/assets/D0C/2B0/sprockets%2F26ca2c4f35358e731816e4222c9cfd1e +0 -0
  72. data/spec/dummy/tmp/cache/assets/D0F/1D0/sprockets%2Fb9525add67a2442dd1578d2a380c4c79 +0 -0
  73. data/spec/dummy/tmp/cache/assets/D0F/C50/sprockets%2F7d6c03215849b0d6955060f9ec1dda6c +0 -0
  74. data/spec/dummy/tmp/cache/assets/D10/8A0/sprockets%2Fe787060f2fa7b376e6929bab8003c60c +0 -0
  75. data/spec/dummy/tmp/cache/assets/D10/E00/sprockets%2F74ca5021a890c529eb29592acee877a1 +0 -0
  76. data/spec/dummy/tmp/cache/assets/D11/F70/sprockets%2Ffb6c5626914c0e7e53a78e38ce18b004 +0 -0
  77. data/spec/dummy/tmp/cache/assets/D12/9E0/sprockets%2F3b39857cfaf550138a6e5d1083c9b2d6 +0 -0
  78. data/spec/dummy/tmp/cache/assets/D13/5B0/sprockets%2F2eb332653560c168d9c15d98ae5ca29f +0 -0
  79. data/spec/dummy/tmp/cache/assets/D17/490/sprockets%2F6d3a0b7b473aa78c662f5c869c568b32 +0 -0
  80. data/spec/dummy/tmp/cache/assets/D1B/150/sprockets%2Ff7750b570e3e0738983b65b5c641fdcf +0 -0
  81. data/spec/dummy/tmp/cache/assets/D1F/050/sprockets%2Fbc58457521b9bbf18b15487e86d6e0e9 +0 -0
  82. data/spec/dummy/tmp/cache/assets/D1F/4E0/sprockets%2Fc6e35f7bb7db6b15a78e8506a9856084 +0 -0
  83. data/spec/dummy/tmp/cache/assets/D1F/510/sprockets%2F4719bebff1466e438868162e1fa8c35e +0 -0
  84. data/spec/dummy/tmp/cache/assets/D24/9A0/sprockets%2F5b38a78468f75a479cf1fb2590dd458b +0 -0
  85. data/spec/dummy/tmp/cache/assets/D26/890/sprockets%2Ff1f0b9c8a4d61a4e49b08d143000bf02 +0 -0
  86. data/spec/dummy/tmp/cache/assets/D26/930/sprockets%2F3e7779994bf22ddf12ca64f739df3517 +0 -0
  87. data/spec/dummy/tmp/cache/assets/D27/560/sprockets%2F96abfee457f1b942981d56ea61839d65 +0 -0
  88. data/spec/dummy/tmp/cache/assets/D2B/8E0/sprockets%2F2c5f01453202b6e4c9ebc3ca935eb323 +0 -0
  89. data/spec/dummy/tmp/cache/assets/D2B/BA0/sprockets%2F17e31999d96178ba11e9872a6f6cdd8f +0 -0
  90. data/spec/dummy/tmp/cache/assets/D30/4F0/sprockets%2F8ef75d43c78e6c6001cc3c4ac201d602 +0 -0
  91. data/spec/dummy/tmp/cache/assets/D33/430/sprockets%2F3bf55b9e13def8d1131b0e504f1951a6 +0 -0
  92. data/spec/dummy/tmp/cache/assets/D3A/090/sprockets%2F5ad8a097a12bf36ec3328e5ab6e95044 +0 -0
  93. data/spec/dummy/tmp/cache/assets/D42/430/sprockets%2Fd36340d75c1fbba53f10f92763b89f9a +0 -0
  94. data/spec/dummy/tmp/cache/assets/D42/660/sprockets%2F4bc29a4494ccedc764001569e599ab0e +0 -0
  95. data/spec/dummy/tmp/cache/assets/D48/D50/sprockets%2F53b9b1a2f1bfd3b4d6776895cf05b289 +0 -0
  96. data/spec/dummy/tmp/cache/assets/D4A/940/sprockets%2Fcbb593a12a764a8d98359c05f8fd39d1 +0 -0
  97. data/spec/dummy/tmp/cache/assets/D4A/D50/sprockets%2Fca7d84ec820d53873f4e91a9d03cd594 +0 -0
  98. data/spec/dummy/tmp/cache/assets/D4C/F10/sprockets%2Fae96a38212cf9a569b2be23bc9f88645 +0 -0
  99. data/spec/dummy/tmp/cache/assets/D53/2A0/sprockets%2Ff809f29a38ba868af096a5e57d647a2e +0 -0
  100. data/spec/dummy/tmp/cache/assets/D53/480/sprockets%2F5d58d5812633dbbc96df3d27994ae8d5 +0 -0
  101. data/spec/dummy/tmp/cache/assets/D53/A80/sprockets%2Fd33eb75db5980ac3c9dd481ff3844878 +0 -0
  102. data/spec/dummy/tmp/cache/assets/D55/150/sprockets%2Fd7623ea8e84793eca6821816ce85cdf6 +0 -0
  103. data/spec/dummy/tmp/cache/assets/D59/DC0/sprockets%2Ffb2997b21dee8767fc8b0408d39f79d2 +0 -0
  104. data/spec/dummy/tmp/cache/assets/D5E/C90/sprockets%2Fc7c80bcd4798e3272b89b88387bed7d8 +0 -0
  105. data/spec/dummy/tmp/cache/assets/D61/430/sprockets%2Fe1230e60c2d9e665124cde1ec3d48c4a +0 -0
  106. data/spec/dummy/tmp/cache/assets/D63/020/sprockets%2F5dcdad4f60236c88eb049e9131cca060 +0 -0
  107. data/spec/dummy/tmp/cache/assets/D63/D20/sprockets%2Fcc9f83c87eff73ca7548e59f1a845288 +0 -0
  108. data/spec/dummy/tmp/cache/assets/D65/820/sprockets%2F2e8b0981910d00ddd5cdd7ccf192f313 +0 -0
  109. data/spec/dummy/tmp/cache/assets/D67/1F0/sprockets%2Fe309e279a7111fb1e6e5c2dc06f8b51b +0 -0
  110. data/spec/dummy/tmp/cache/assets/D68/800/sprockets%2Ffe4f5faa0dce2936f7d9f260114a5600 +0 -0
  111. data/spec/dummy/tmp/cache/assets/D6C/2B0/sprockets%2F57294aae845659df4e22207acf7daba0 +0 -0
  112. data/spec/dummy/tmp/cache/assets/D6C/A30/sprockets%2F81a9caee4e07b1de2367762c247a9ca4 +0 -0
  113. data/spec/dummy/tmp/cache/assets/D6D/570/sprockets%2F1d3b463ec0b3d7c2f39878d1fda350c9 +0 -0
  114. data/spec/dummy/tmp/cache/assets/D6F/620/sprockets%2F8b7bd54ff34551fbe044ee15a98fc302 +0 -0
  115. data/spec/dummy/tmp/cache/assets/D78/0C0/sprockets%2F18b24524d5d2c8029bfe09df41e9fed9 +0 -0
  116. data/spec/dummy/tmp/cache/assets/D79/E70/sprockets%2F83880198f8c830a0b5f3f7c55bacd6cf +0 -0
  117. data/spec/dummy/tmp/cache/assets/D7C/610/sprockets%2F8e6df6a269df75eb0c8f72613c0b468c +0 -0
  118. data/spec/dummy/tmp/cache/assets/D7D/F20/sprockets%2Fb3b2dd248bb9689ee88905a97fc1e0e1 +0 -0
  119. data/spec/dummy/tmp/cache/assets/D8F/BB0/sprockets%2Fcb0296ec2aa3d7f34b2f8e0e60e73b03 +0 -0
  120. data/spec/dummy/tmp/cache/assets/D90/A30/sprockets%2F429edb8ee870df0ca4a3ea323f06a341 +0 -0
  121. data/spec/dummy/tmp/cache/assets/D93/BE0/sprockets%2F06fa87ccb9cecb705b81c1e14d11475b +0 -0
  122. data/spec/dummy/tmp/cache/assets/D94/C50/sprockets%2Fec833021b3ac954bd1f7dab93fcb2718 +0 -0
  123. data/spec/dummy/tmp/cache/assets/D98/8C0/sprockets%2F9d032a33cadc1d6dded822596f9d008a +0 -0
  124. data/spec/dummy/tmp/cache/assets/D98/A10/sprockets%2Fb6e1d5bae4af0877da064a58e1808d3b +0 -0
  125. data/spec/dummy/tmp/cache/assets/D9B/FE0/sprockets%2F351e441b3be4f9cf0be43c95b4d529dc +0 -0
  126. data/spec/dummy/tmp/cache/assets/D9D/960/sprockets%2F580fa81a5f9ac2f1add383b9a8755da1 +0 -0
  127. data/spec/dummy/tmp/cache/assets/DA0/4A0/sprockets%2F2f07bc53e7a9e43fd0c62fd84bc62e18 +0 -0
  128. data/spec/dummy/tmp/cache/assets/DA2/0F0/sprockets%2F1a818ea53d77a3a957127e9aaad49dcf +0 -0
  129. data/spec/dummy/tmp/cache/assets/DA2/B80/sprockets%2F1f029886c259cbd4b9dacf0aa5f07d67 +0 -0
  130. data/spec/dummy/tmp/cache/assets/DA2/C20/sprockets%2F2e7b093ddc552791fa865f2c3f2ecfa3 +0 -0
  131. data/spec/dummy/tmp/cache/assets/DA7/4C0/sprockets%2Fbc0caa78e891ffd54e735ac39b65762b +0 -0
  132. data/spec/dummy/tmp/cache/assets/DA7/E40/sprockets%2F1748cb6eed62765c7b76e0368ceab6ac +0 -0
  133. data/spec/dummy/tmp/cache/assets/DAD/270/sprockets%2F4b71e8a8debe653dd913ff638d4581af +0 -0
  134. data/spec/dummy/tmp/cache/assets/DB0/E10/sprockets%2F45ef8a66b9ba662b7af67e86ba72ff16 +0 -0
  135. data/spec/dummy/tmp/cache/assets/DB1/100/sprockets%2Ff4d0d6f994a7df2f6fce618c9c31353f +0 -0
  136. data/spec/dummy/tmp/cache/assets/DB3/530/sprockets%2F42a9c9f65511df0eacf6f5b3c9f7993f +0 -0
  137. data/spec/dummy/tmp/cache/assets/DC3/000/sprockets%2F34c7b5be062c228fbd8122748bdaecae +0 -0
  138. data/spec/dummy/tmp/cache/assets/DC4/8E0/sprockets%2F128aaae87a03a5a69d3edf512e5a1f7e +0 -0
  139. data/spec/dummy/tmp/cache/assets/DC5/640/sprockets%2F6936df1b7a138be323a10fcd37e3cfcd +0 -0
  140. data/spec/dummy/tmp/cache/assets/DCB/9E0/sprockets%2Fc2bda1b7e2fec27b27e0f3c7d258d818 +0 -0
  141. data/spec/dummy/tmp/cache/assets/DD2/8E0/sprockets%2F371036eedde0e38ee67d7bb0667bbfb6 +0 -0
  142. data/spec/dummy/tmp/cache/assets/DD4/CE0/sprockets%2F9385a694dc7d2dbc68705bbe9ac70cbb +0 -0
  143. data/spec/dummy/tmp/cache/assets/DD7/DC0/sprockets%2F60bf1bfbe4b9f145b9f0a8763bf974ec +0 -0
  144. data/spec/dummy/tmp/cache/assets/DD8/670/sprockets%2Fdf5cb3fa8682dc6868a64b721fcda71f +0 -0
  145. data/spec/dummy/tmp/cache/assets/DDA/B70/sprockets%2F6f72db00d6cdd6d235db22000adabdb2 +0 -0
  146. data/spec/dummy/tmp/cache/assets/DE0/4D0/sprockets%2F4d52cffb98c59fecb059a57c46b8e53c +0 -0
  147. data/spec/dummy/tmp/cache/assets/DE0/EB0/sprockets%2Ff4e5fcc952ef18f7f5b8bdf854651cb0 +0 -0
  148. data/spec/dummy/tmp/cache/assets/DE2/260/sprockets%2Fe00cd72d106602f30dcabe4b1feedb18 +0 -0
  149. data/spec/dummy/tmp/cache/assets/DE2/E30/sprockets%2F382fdd5b14cc3bbd16e99e3f4ff9868c +0 -0
  150. data/spec/dummy/tmp/cache/assets/DEC/820/sprockets%2F0a6b744660b704abcdaef44adb8fac17 +0 -0
  151. data/spec/dummy/tmp/cache/assets/DF8/A10/sprockets%2F1d901ea9cdb0eae6f18aa90f6bf7273c +0 -0
  152. data/spec/dummy/tmp/cache/assets/DFC/8E0/sprockets%2Fc08af26ddea6be41516dbe9c5c5936ac +0 -0
  153. data/spec/dummy/tmp/cache/assets/E00/EC0/sprockets%2F7b155319ca7d4fb9fb3fdd507be82abf +0 -0
  154. data/spec/dummy/tmp/cache/assets/E05/0C0/sprockets%2F4fdc2c7e858945af1bef617a22ed5afc +0 -0
  155. data/spec/dummy/tmp/cache/assets/E24/490/sprockets%2F593f3bef8bded42eb7cce2a2b60ec015 +0 -0
  156. data/spec/dummy/tmp/cache/assets/E40/B70/sprockets%2F250ba5b0ea49da430ddaca7eaeda5b54 +0 -0
  157. data/spec/dummy/tmp/cache/assets/E42/680/sprockets%2F7ab48cdf50b10c5c20fd3ec0dbcdc35a +0 -0
  158. data/spec/dummy/tmp/cache/assets/E56/2D0/sprockets%2Ffdcdb5a6a41e55b25db5b3c5f19b4fcf +0 -0
  159. data/spec/dummy/tmp/cache/assets/E5B/7F0/sprockets%2Ffeae26122b9dfee5a17f6aac7feb28e0 +0 -0
  160. data/spec/dummy/tmp/cache/assets/E66/920/sprockets%2Ffa8bf3adfdf9ce8fda315022b8668efa +0 -0
  161. data/spec/dummy/tmp/cache/assets/E83/D30/sprockets%2Fbaad95b59000ff3b6bfb1fefc9b0f2ce +0 -0
  162. data/spec/dummy/tmp/dragonfly/cache/meta/{63/cbe524f36165978e1fb04ca4057bc8947b4fc5 → 1b/6f186e899280035bb46871b94f2cd86d306d6e} +0 -0
  163. data/spec/dummy/tmp/dragonfly/cache/meta/{1b/ba29a4971bf08ec035fcbeb6bf790c03e427aa → 47/cf624355ec7f45e3c1e40d6a92d760219b6cdd} +0 -0
  164. data/spec/dummy/tmp/dragonfly/cache/meta/{d8/b42059897a076ebe3ecd9f2ac804e00731eb21 → 51/6cdee3d3da96605f29dd4dbb8a67aa342fea5e} +0 -0
  165. data/spec/dummy/tmp/dragonfly/cache/meta/{be/3496757ca2979b580f5f0191ba640a5f5683c5 → 55/b2bed41551fa1830f87a4e6148b1868f8e9dff} +0 -0
  166. data/spec/dummy/tmp/dragonfly/cache/meta/{39/080cb93776b8088800a97f04645dc20c0d61e3 → 61/16474b537416f2e353af9b996856d753b0352a} +0 -0
  167. data/spec/dummy/tmp/dragonfly/cache/meta/{5e/ed91855a3f24c0f00262ded4df514dc8dcbc08 → 65/901adde03c2e65579940cdfc7c31b1d18aab23} +0 -0
  168. data/spec/dummy/tmp/dragonfly/cache/meta/{3e/562652bd53e85d0bc7d64687757e303ea48222 → 6f/e233218efb309193e6dc15951726ca74e3cc55} +0 -0
  169. data/spec/dummy/tmp/dragonfly/cache/meta/{71/05e840d712109887350f57a04e51c4dc7a26e5 → 77/b0373e056c6e9e8f5dc0c2b75a57c9397a3074} +0 -0
  170. data/spec/dummy/tmp/dragonfly/cache/meta/{02/9c5533435d284516c79a7a47bcc28158bd0efe → 7b/ad7d92bf3e09c013f40401c5e839de7e558cb7} +0 -0
  171. data/spec/dummy/tmp/dragonfly/cache/meta/{d5/1f6e6f6c1662bba33ccf23600aa5fd8f5a4198 → 90/c9dcf6f894eb3497ef8e6577b5eafe279424c0} +0 -0
  172. data/spec/dummy/tmp/dragonfly/cache/meta/{0a/586695a7c486bf4de273d5b70bc9c357ab0bbc → 95/48e0809c84a13151d71c4d8a84b75b911fb65e} +0 -0
  173. data/spec/dummy/tmp/dragonfly/cache/meta/{6d/8b818c9e4f6b2881f1bc3c550f58617d42bdb9 → 97/a92a5e23351b3673020f2ba9300604f33f1062} +0 -0
  174. data/spec/dummy/tmp/dragonfly/cache/meta/{21/ea463922bcf9aa68f6c19f144c1de4843c4ecc → af/3cef2754406e3a5c06d8c0f762634525c1e91f} +0 -0
  175. data/spec/dummy/tmp/dragonfly/cache/meta/{f5/f5d3057bde5861abe914e9b67b2e355a784578 → b2/aff3c5d820b352cd97af410904f4078628eb5e} +0 -0
  176. data/spec/dummy/tmp/dragonfly/cache/meta/{2c/338f8d34a0df9c016156ee3ed004932d7f39b0 → b5/bbbeade4db83163365b06a979079aa140c48c7} +0 -0
  177. data/spec/dummy/tmp/dragonfly/cache/meta/{5d/49b63b9a30126b92cc9da36b66cfa9fd98fcc7 → bf/2fda304e5c05c391ef2546764f6eb3e50657f6} +0 -0
  178. data/spec/dummy/tmp/dragonfly/cache/meta/{de/7a810d16f1beefaf7ac39de3cc007ee79c0110 → c1/8479872b7bf95ddd39ca83768ddf99c09abe40} +0 -0
  179. data/spec/dummy/tmp/dragonfly/cache/meta/{27/a875bc522b4a1072502d742acacf112108f9f3 → c6/05154d0a8756427a996ba62b8d1f37530a5868} +0 -0
  180. data/spec/dummy/tmp/dragonfly/cache/meta/{bc/d42573597c3a8138d72932efe0bcca04cfc114 → c8/88fb836fb2b18c88d02504e55aa208fb6564c0} +0 -0
  181. data/spec/dummy/tmp/dragonfly/cache/meta/{ed/2e3f54eca83173c463e0e53850ed982bb869db → ec/83a797668e342e24cb184c34fb71d6b160ec70} +0 -0
  182. data/spec/dummy/tmp/dragonfly/cache/meta/{9d/6427cbe1ad41f13a645f3a04fab8cf2d02b25c → ed/cc65dd1a24c63a4547c01af16e8245ebd42b53} +0 -0
  183. data/spec/dummy/tmp/dragonfly/cache/meta/{da/847e0b976733e541ad07068b99f17e9a433cd0 → f2/63f2049b60e71e801f6a77896f7ddda8744f19} +0 -0
  184. data/spec/dummy/tmp/dragonfly/cache/meta/{e2/68afb905a52cd6d6ec835dc78a9c9fd6fbe301 → f6/3b244e269936af84c85b694665910f9f9b8842} +0 -0
  185. data/spec/dummy/tmp/dragonfly/cache/meta/{1f/50ab28dbecc4a28c2a7b9d72b12b08507757d7 → f7/1aaa49831aff381ea7585c39de4141879cf912} +0 -0
  186. data/spec/dummy/tmp/dragonfly/cache/meta/{59/b107c2482241bb885a455a7494baa91fb2e9ac → fb/1c97a358a30a7f84ae306c2344664445727605} +0 -0
  187. data/spec/dummy/tmp/dragonfly/cache/meta/{a7/0e4deb8655f5bc0a438d5296e3233a61781c9a → fd/2fa11303fcf49f65ac23063b49f2f2d9711cba} +0 -0
  188. data/spec/factories/factory.rb +2 -2
  189. data/spec/models/refinery/menus/menu_link_spec.rb +17 -17
  190. metadata +89 -280
  191. data/spec/dummy/app/views/refinery/pages/show.html.erb +0 -5
  192. data/spec/dummy/tmp/data/meta_request/03dce8b1a5732e271aa5d23d9d1eafbe.json +0 -1
  193. data/spec/dummy/tmp/data/meta_request/06ba0fb7da0db7042fdffa88c4a8d650.json +0 -1
  194. data/spec/dummy/tmp/data/meta_request/1bf22b78ad2ff4901d5aa932c1730386.json +0 -1
  195. data/spec/dummy/tmp/data/meta_request/38807466b8a482c2da72362f0073bd6e.json +0 -1
  196. data/spec/dummy/tmp/data/meta_request/5f19481d5901efefbc63aef0effc2e49.json +0 -1
  197. data/spec/dummy/tmp/data/meta_request/a20e2a9aaff427eee4f1e1ed7b13af14.json +0 -1
  198. data/spec/dummy/tmp/data/meta_request/a4b516894e0e275bbb3b28603326eeae.json +0 -1
  199. data/spec/dummy/tmp/data/meta_request/ba0fc11d54e6f107c6b617c17bf3d555.json +0 -1
  200. data/spec/dummy/tmp/data/meta_request/e3c96b5f5033ec9b5e0482d616f34556.json +0 -1
  201. data/spec/dummy/tmp/data/meta_request/ee49070e51f359d852f99ac8f415312e.json +0 -1
  202. data/spec/dummy/tmp/dragonfly/cache/body/8a/13507b51d53cb9d99ca97a1d86d139949a2937 +0 -119
  203. data/spec/dummy/tmp/dragonfly/cache/body/8e/207f3243726851a629bc188282e0b4a0c9683c +0 -66
  204. data/spec/dummy/tmp/dragonfly/cache/body/c2/87fb3a839a1d021a733a9b0aee24155e421893 +0 -51
  205. data/spec/dummy/tmp/dragonfly/cache/meta/01/cee619015a8dc799e619916210fa074dc34fd2 +0 -0
  206. data/spec/dummy/tmp/dragonfly/cache/meta/02/39de8979b9dbbca145f2ebce70e7cbf6e67540 +0 -0
  207. data/spec/dummy/tmp/dragonfly/cache/meta/05/d0aff59ae453526e999ca28cf7205e53abdee8 +0 -0
  208. data/spec/dummy/tmp/dragonfly/cache/meta/0b/80ad94fa546c65ea21f8f9b7e65d8de9dfc131 +0 -0
  209. data/spec/dummy/tmp/dragonfly/cache/meta/0f/dbf2c5de9643c7478aa4f4ea55198bef84df70 +0 -0
  210. data/spec/dummy/tmp/dragonfly/cache/meta/16/8e7dabcdea60a32952bc231d279b18f066b7b1 +0 -0
  211. data/spec/dummy/tmp/dragonfly/cache/meta/16/b6a78c0f40e143c2fa72064ec8f0fbf7c903a3 +0 -0
  212. data/spec/dummy/tmp/dragonfly/cache/meta/1e/bf72c7ff814020aecf4f3d3f1f9d896d9b3ce4 +0 -0
  213. data/spec/dummy/tmp/dragonfly/cache/meta/20/a817d5117d75b9ab23c950e3720fca9c809487 +0 -0
  214. data/spec/dummy/tmp/dragonfly/cache/meta/27/01d79ed6351249d122862c74f6a1e6bb64a746 +0 -0
  215. data/spec/dummy/tmp/dragonfly/cache/meta/2c/789ea8794160b03aa433be305fd3fc2e3a9504 +0 -0
  216. data/spec/dummy/tmp/dragonfly/cache/meta/2e/7cba5ed8ee30337ee29fce0ac2c9c04c47e165 +0 -0
  217. data/spec/dummy/tmp/dragonfly/cache/meta/2f/5fcdd09e0f0053e46e516063fe9fc350ba3597 +0 -0
  218. data/spec/dummy/tmp/dragonfly/cache/meta/43/702b0bbf40751e03a371beae7ea632759c5ea6 +0 -0
  219. data/spec/dummy/tmp/dragonfly/cache/meta/45/020eb4a6714d210708295c8ee035a4f3b7de83 +0 -0
  220. data/spec/dummy/tmp/dragonfly/cache/meta/48/7c10db8b3443e652bb29571e0d89047910a445 +0 -0
  221. data/spec/dummy/tmp/dragonfly/cache/meta/4a/3fe383956f715c58307fabf5bfb570c8a67e11 +0 -0
  222. data/spec/dummy/tmp/dragonfly/cache/meta/50/4770d4cf47ce6afb7c72a1567e905bf675c839 +0 -0
  223. data/spec/dummy/tmp/dragonfly/cache/meta/50/943f7d303380468ae97ead7a5bf0e1c1f8086d +0 -0
  224. data/spec/dummy/tmp/dragonfly/cache/meta/52/a583ca59703de87825993806932eb7d96caf2d +0 -0
  225. data/spec/dummy/tmp/dragonfly/cache/meta/54/0548820189fdaa43dbfb96b14b68f21c6bcb77 +0 -0
  226. data/spec/dummy/tmp/dragonfly/cache/meta/54/27caab4a86e3c5083f6518f7535237a1afacfe +0 -0
  227. data/spec/dummy/tmp/dragonfly/cache/meta/55/5287ec64800a3fcc45b8f1bb72783a587f985d +0 -0
  228. data/spec/dummy/tmp/dragonfly/cache/meta/55/d75e83a1828c54c29d77ba3e37d8acf60eca48 +0 -0
  229. data/spec/dummy/tmp/dragonfly/cache/meta/56/bd3c3414d3e5b00ce6f8ffd95e3e941023bc27 +0 -0
  230. data/spec/dummy/tmp/dragonfly/cache/meta/58/77f8c256d79478ae60b730ee8e5614054e8acc +0 -0
  231. data/spec/dummy/tmp/dragonfly/cache/meta/5b/6af4cec711a1bcd6162bb57ab1a29a65682911 +0 -0
  232. data/spec/dummy/tmp/dragonfly/cache/meta/5d/f66c848a944876e92afa404de35542dc4a32ae +0 -0
  233. data/spec/dummy/tmp/dragonfly/cache/meta/5e/dc50712811d3e015564504fc9d403fe394de03 +0 -0
  234. data/spec/dummy/tmp/dragonfly/cache/meta/60/704074fdaa94c38f14c546ae8fee8f620e267a +0 -0
  235. data/spec/dummy/tmp/dragonfly/cache/meta/61/8f6794a8901c3a2ab4f1589f7df81900b572dc +0 -0
  236. data/spec/dummy/tmp/dragonfly/cache/meta/62/c2ca4a7f20556ff30cca9b790cca084d7a390d +0 -0
  237. data/spec/dummy/tmp/dragonfly/cache/meta/63/518bddc965fc8487603b0c3bf092a80c38477e +0 -0
  238. data/spec/dummy/tmp/dragonfly/cache/meta/63/bf4d2c9bc392450f2ac6d1f7496b839ee454b9 +0 -0
  239. data/spec/dummy/tmp/dragonfly/cache/meta/6e/b5cce94866bc035e3f429e2842c0cb69d63da4 +0 -0
  240. data/spec/dummy/tmp/dragonfly/cache/meta/6f/076ed360b15b231a40805f61b2da5772bfb221 +0 -0
  241. data/spec/dummy/tmp/dragonfly/cache/meta/70/dce1910c6984688621073f713d7169c35feb54 +0 -0
  242. data/spec/dummy/tmp/dragonfly/cache/meta/71/eb1ef012700276c3cf36167daa10b9e8643ae8 +0 -0
  243. data/spec/dummy/tmp/dragonfly/cache/meta/77/68198b3edcbc98e4d60d311541c463350e3728 +0 -0
  244. data/spec/dummy/tmp/dragonfly/cache/meta/78/83c78396c867870da0cd76ea909443e5d44099 +0 -0
  245. data/spec/dummy/tmp/dragonfly/cache/meta/7b/6a84124a16fe524603c9cf185bf3fccd1a82db +0 -0
  246. data/spec/dummy/tmp/dragonfly/cache/meta/7c/c593a941b74058d9dd6f8de6dadd0ca3f01ce2 +0 -0
  247. data/spec/dummy/tmp/dragonfly/cache/meta/7e/3cba0fb1a67914183d1456d8961aa7238b3c53 +0 -0
  248. data/spec/dummy/tmp/dragonfly/cache/meta/82/1f3cf478625e91439be0080afa45c73a36560c +0 -0
  249. data/spec/dummy/tmp/dragonfly/cache/meta/82/6c888ad86553d814ace418e3abd4deaf5cdfad +0 -0
  250. data/spec/dummy/tmp/dragonfly/cache/meta/87/ade90ce9b9e5b48628429230ae1f7a16a59d5b +0 -0
  251. data/spec/dummy/tmp/dragonfly/cache/meta/89/87a8ec1db508b9d1cc8d216da2e68ef8e449d1 +0 -0
  252. data/spec/dummy/tmp/dragonfly/cache/meta/8b/5c8d086629bb5279538e65a9d078070aa31d09 +0 -0
  253. data/spec/dummy/tmp/dragonfly/cache/meta/95/6748212bc6bc99f4c2af0d0f062f4b51089bca +0 -0
  254. data/spec/dummy/tmp/dragonfly/cache/meta/98/593cefcf95462a07ac8790602b4f6b9874a503 +0 -0
  255. data/spec/dummy/tmp/dragonfly/cache/meta/99/1dc71739fe7f6b4a360c6dcbb7c10a803cc88d +0 -0
  256. data/spec/dummy/tmp/dragonfly/cache/meta/99/dfd655a2d6dedb542e8911103673df6813e09b +0 -0
  257. data/spec/dummy/tmp/dragonfly/cache/meta/a2/e5f3cfb21435bfa5d43f89e59c7c42f866a5ab +0 -0
  258. data/spec/dummy/tmp/dragonfly/cache/meta/a3/f5401f93017771fc2fd2a576687fc94c901efe +0 -0
  259. data/spec/dummy/tmp/dragonfly/cache/meta/a5/c076b9c9e2bbe381d9da35b6a4be3482f9b467 +0 -0
  260. data/spec/dummy/tmp/dragonfly/cache/meta/ad/468b3257b9f15364e3c14521c7156817a4da21 +0 -0
  261. data/spec/dummy/tmp/dragonfly/cache/meta/b2/000054cf2e7e1f58bf3c08fa39d62be4305ba5 +0 -0
  262. data/spec/dummy/tmp/dragonfly/cache/meta/b3/ade3801bca831d77311b8775f58409618d4397 +0 -0
  263. data/spec/dummy/tmp/dragonfly/cache/meta/b6/69bdb7bd4cce8b36db24a70d943a9e6eda28b5 +0 -0
  264. data/spec/dummy/tmp/dragonfly/cache/meta/bb/0d5212f03591c7e2b70970d2fdc92f9dfbf5a9 +0 -0
  265. data/spec/dummy/tmp/dragonfly/cache/meta/c2/6ba0779ad6a0654d859078199b31018e726ce5 +0 -0
  266. data/spec/dummy/tmp/dragonfly/cache/meta/c4/48ce336ecd015fad01c9efacc946d94b026679 +0 -0
  267. data/spec/dummy/tmp/dragonfly/cache/meta/c4/da04322cf51782fe995b358c03f1868caf1eb0 +0 -0
  268. data/spec/dummy/tmp/dragonfly/cache/meta/c4/e7e0e31075042edd76c18f51a80aa314af4e2e +0 -0
  269. data/spec/dummy/tmp/dragonfly/cache/meta/ca/bc9d54040906d1ad8f5ddbcf196b45fcb27baf +0 -0
  270. data/spec/dummy/tmp/dragonfly/cache/meta/dc/2213ae0195942ae47f4cad0a12f29b3d52211b +0 -0
  271. data/spec/dummy/tmp/dragonfly/cache/meta/e0/37fa0e09d8a706b5ab6f40f3e6c2fa936970a6 +0 -0
  272. data/spec/dummy/tmp/dragonfly/cache/meta/e0/d7e7753b7f1fac358d68af693c1c8442d78671 +0 -0
  273. data/spec/dummy/tmp/dragonfly/cache/meta/e3/69c2a7f86f7b9aad9e5f756b5e2e426a3606e4 +0 -0
  274. data/spec/dummy/tmp/dragonfly/cache/meta/e6/48405be188e838668f52a3778bd73290978408 +0 -0
  275. data/spec/dummy/tmp/dragonfly/cache/meta/e8/bb3505e4186320f36c88c2e70e454d927d950c +0 -0
  276. data/spec/dummy/tmp/dragonfly/cache/meta/ed/c2fcf0d93ab7d359eb8bc0163eedb4738097b4 +0 -0
  277. data/spec/dummy/tmp/dragonfly/cache/meta/f0/50dae94cad6ed3e5a1ea4e83a01bc4dcec5a82 +0 -0
  278. data/spec/dummy/tmp/dragonfly/cache/meta/f4/7577e404263c5777cb88db1cae95c1349af5f6 +0 -0
  279. data/spec/dummy/tmp/dragonfly/cache/meta/f4/b36659a3489697301cb5bbfea8dbac5dde016b +0 -0
  280. data/spec/dummy/tmp/dragonfly/cache/meta/f4/e8244ce90982cc01cc38af192b5d3fa6682a23 +0 -0
  281. data/spec/dummy/tmp/dragonfly/cache/meta/f7/29c855fa25d057110a2b80da3a168b7e56f44e +0 -0
  282. data/spec/dummy/tmp/dragonfly/cache/meta/f7/850587a39dff30c3761e6854478a8849ccc73a +0 -0
  283. data/spec/dummy/tmp/dragonfly/cache/meta/f9/73c328a353105d46408715e9de0742a0430b6a +0 -0
  284. data/spec/dummy/tmp/dragonfly/cache/meta/fb/3540163ca67855d921a195375dfdc10ebd46f3 +0 -0
  285. data/spec/dummy/tmp/dragonfly/cache/meta/fb/4ce7caeb7ba3e324503aee732cdc35dca56fd4 +0 -0
  286. data/spec/dummy/tmp/dragonfly/cache/meta/fb/c5bc26c7cb370fff36e4490d21834618f9c306 +0 -0
  287. data/spec/dummy/tmp/dragonfly/cache/meta/fd/68557882a85d20ecc2e380d45041d44a5d0412 +0 -0
@@ -7,9 +7,9 @@ module Refinery
7
7
  respond_to do |format|
8
8
  format.js do
9
9
  @menu_links = []
10
- if params[:refinery_resource_ids]
11
- params[:refinery_resource_ids].each do |id|
12
- @menu_links << MenuLink.create({refinery_resource_id: id}.merge(params[:menu_link]))
10
+ if params[:resource_ids]
11
+ params[:resource_ids].each do |id|
12
+ @menu_links << MenuLink.create({resource_id: id}.merge(params[:menu_link]))
13
13
  end
14
14
  else
15
15
  @menu_links << MenuLink.create(params[:menu_link])
@@ -3,11 +3,11 @@ module Refinery
3
3
  class MenuLink < Refinery::Core::BaseModel
4
4
  self.table_name = "refinery_menus_links"
5
5
 
6
- attr_accessible :parent_id, :refinery_page_id, :refinery_menu_id, :refinery_resource_id, :refinery_resource_type,
6
+ attr_accessible :parent_id, :refinery_page_id, :refinery_menu_id, :resource, :resource_id, :resource_type,
7
7
  :title_attribute, :custom_url, :label, :menu, :id_attribute, :class_attribute
8
8
 
9
9
  belongs_to :menu, :class_name => '::Refinery::Menus::Menu', :foreign_key => :refinery_menu_id
10
- belongs_to :resource, :foreign_key => :refinery_resource_id, :polymorphic => true
10
+ belongs_to :resource, :polymorphic => true
11
11
 
12
12
  # Docs for acts_as_nested_set https://github.com/collectiveidea/awesome_nested_set
13
13
  # rather than :delete_all we want :destroy
@@ -59,7 +59,7 @@ module Refinery
59
59
  end
60
60
 
61
61
  def resource_type
62
- refinery_resource_type || "Custom link"
62
+ super || "Custom link"
63
63
  end
64
64
 
65
65
  def type_name
@@ -67,16 +67,16 @@ module Refinery
67
67
  end
68
68
 
69
69
  def custom_link?
70
- refinery_resource_id.nil? || refinery_resource_type.nil?
70
+ resource_id.nil? || resource_type.nil?
71
71
  end
72
72
 
73
73
  def resource_link?
74
- refinery_resource_id.present? && refinery_resource_type.present?
74
+ resource_id.present? && resource_type.present?
75
75
  end
76
76
 
77
77
  def resource
78
78
  return nil if custom_link?
79
- resource_klass.find(refinery_resource_id)
79
+ resource_klass.find(resource_id)
80
80
  end
81
81
 
82
82
  def resource_title
@@ -1,16 +1,16 @@
1
1
  <%= content_tag :div, class: "pp-add-box resource-pp-add-box" do %>
2
- <%= form_for [refinery, :menus, :admin, @menu.links.build(refinery_resource_type: resource_type)], remote: true do |f| %>
2
+ <%= form_for [refinery, :menus, :admin, @menu.links.build(resource_type: resource_type)], remote: true do |f| %>
3
3
  <h3><%= resource_type.to_s.titleize %></h3>
4
4
  <div class='pp-selection-box'>
5
5
  <ul class='checkboxes'>
6
6
  <%= f.hidden_field :refinery_menu_id %>
7
- <%= f.hidden_field :refinery_resource_type %>
7
+ <%= f.hidden_field :resource_type %>
8
8
 
9
9
  <% resources = Refinery::Menus::MenuLink.find_all_of_type(resource_type) %>
10
10
  <% resources.each_with_index do |object, index| %>
11
11
  <li>
12
- <%= check_box_tag "refinery_resource_ids[]", object.id %>
13
- <%= label_tag "refinery_resource_ids[]", object.send(Refinery::Menus::MenuLink.resource_config(resource_type)[:title_attr]) %>
12
+ <%= check_box_tag "resource_ids[]", object.id %>
13
+ <%= label_tag "resource_ids[]", object.send(Refinery::Menus::MenuLink.resource_config(resource_type)[:title_attr]) %>
14
14
  </li>
15
15
  <% end %>
16
16
  </ul>
@@ -0,0 +1,6 @@
1
+ class RenameRefineryResourceToResourceForRefineryMenusMenuLinks < ActiveRecord::Migration
2
+ def change
3
+ rename_column :refinery_menus_links, :refinery_resource_id, :resource_id
4
+ rename_column :refinery_menus_links, :refinery_resource_type, :resource_type
5
+ end
6
+ end
@@ -1,9 +1,9 @@
1
1
  Refinery::Menus.configure do |config|
2
2
  # Configure which menus that will be created when seeding. You can then call them by refinery_menu('<MENU NAME>')
3
- # config.default_menus = <% Refinery::Menus.default_menus.inspect %>
3
+ # config.default_menus = <%= Refinery::Menus.default_menus.inspect %>
4
4
 
5
5
  # Configure whether to enable html attributes for menu items
6
- # config.html_attributes = <% Refinery::Menus.html_attributes.inspect %>
6
+ # config.html_attributes = <%= Refinery::Menus.html_attributes.inspect %>
7
7
 
8
8
 
9
9
  # Configure which resources that can be linked to in the menu. Default is pages, and resources (files).
@@ -14,5 +14,5 @@ Refinery::Menus.configure do |config|
14
14
  # title_attr: attribute name (or method name) on resource to be shown as its title
15
15
  # admin_page_filter: hash of conditions to be used for filtering objects shown to be add-able via menu edit page
16
16
 
17
- # config.default_menus = <% Refinery::Menus.menu_resources.inspect %>
17
+ # config.default_menus = <%= Refinery::Menus.menu_resources.inspect %>
18
18
  end
@@ -3,7 +3,7 @@ module Refinery
3
3
  class Version
4
4
  @major = 2
5
5
  @minor = 0
6
- @tiny = 6
6
+ @tiny = 7
7
7
  @build = nil
8
8
 
9
9
  class << self
data/readme.md CHANGED
@@ -1,4 +1,4 @@
1
- # Page Menus Extension for Refinery CMS
1
+ # Menus extension for Refinery CMS
2
2
 
3
3
  [![Build Status](https://travis-ci.org/pylonweb/refinerycms-menus.png?branch=master)](https://travis-ci.org/pylonweb/refinerycms-menus)
4
4
  [![Dependency Status](https://gemnasium.com/pylonweb/refinerycms-menus.png)](https://gemnasium.com/pylonweb/refinerycms-menus)
@@ -6,7 +6,7 @@
6
6
  <!--[![Gem Version](https://badge.fury.io/rb/refinerycms-menus.png)](http://badge.fury.io/rb/refinerycms-menus)-->
7
7
  ## About
8
8
 
9
- Page menus allows you to create and edit several custom menus for your Refinery CMS app. It gives you the ability to add links to any kind of model you want. As default are custom links (fx http://google.com, http://github.com etc.) Refinery Pages and Refinery Resources (files). See the screenshot below for an example.
9
+ Refinery Menus allows you to create and edit several custom menus for your Refinery CMS app. It gives you the ability to add links to any kind of model you want. As default are custom links (fx http://google.com, http://github.com etc.) Refinery Pages and Refinery Resources (files). See the screenshot below for an example.
10
10
 
11
11
  ## Requirements
12
12
 
@@ -24,13 +24,13 @@ Page menus allows you to create and edit several custom menus for your Refinery
24
24
  Add this line to your applications `Gemfile`
25
25
 
26
26
  ```ruby
27
- gem 'refinerycms-page-menus', '2.0.5'
27
+ gem 'refinerycms-menus', '2.0.6'
28
28
  ```
29
29
 
30
30
  or for edge version
31
31
 
32
32
  ```ruby
33
- gem 'refinerycms-page-menus', git: 'git://github.com/pylonweb/refinerycms-menus.git'
33
+ gem 'refinerycms-menus', git: 'git://github.com/pylonweb/refinerycms-menus.git'
34
34
  ```
35
35
 
36
36
  Next run
@@ -56,8 +56,8 @@ rake refinery:override view=refinery/_header
56
56
  Then add this code to the header, to generate the custom menu:
57
57
  ```erb
58
58
  <%= render :partial => "/refinery/menu", :locals => {
59
- :roots => refinery_menu("custom_menu")
60
- } %>
59
+ :roots => refinery_menu("custom_menu")
60
+ } %>
61
61
  ```
62
62
  "custom_menu" must be replaced by the permatitle of your menu.
63
63
  ### Rake commands
@@ -71,7 +71,7 @@ You can create a new menu in the rails console, or you can use the following com
71
71
  rake refinery:menus:create_menu title=some_title
72
72
  ```
73
73
  ### Configuration
74
- Refinerycms Page Menus is very flexible and is very easy to setup your own models, so you can link to them in your menus. To add a new model to Refinerycms Page Menus, just go to the config file (`config/initializers/refinery/menus.rb`) and follow the instructions on how to add your model to the `menu_resources` configuration option.
74
+ Refinerycms Menus is very flexible and is very easy to setup your own models, so you can link to them in your menus. To add a new model to Refinerycms Menus, just go to the config file (`config/initializers/refinery/menus.rb`) and follow the instructions on how to add your model to the `menu_resources` configuration option.
75
75
 
76
76
  Your model only have to respond to two methods:
77
77
 
@@ -82,20 +82,20 @@ Here is a example of how Refinery Pages are added as a custom resource model:
82
82
 
83
83
  ```ruby
84
84
  config.menu_resources = refinery_page: {
85
- klass: 'Refinery::Page',
86
- title_attr: 'title',
87
- scope: Proc.new { live.order('lft ASC') }
88
- }
85
+ klass: 'Refinery::Page',
86
+ title_attr: 'title',
87
+ scope: Proc.new { live.order('lft ASC') }
88
+ }
89
89
  ```
90
90
 
91
91
  ## Questions, problems and contributions
92
92
 
93
93
  We will very much appreciate all kinds of contributions to refinerycms-menus! Just fork this project, create a new feature branch and open up a pull request. If you don't know how to do this, try to check out [RailsCasts episode 300](http://railscasts.com/episodes/300-contributing-to-open-source). If you are able, please add tests to your pull requests.
94
94
 
95
- If you have any issues or questions, that you cannot find the answer to here, then please feel free to add an [issue on GitHub](https://github.com/pylonweb/refinerycms-page-menus/issues/new).
95
+ If you have any issues or questions, that you cannot find the answer to here, then please feel free to add an [issue on GitHub](https://github.com/pylonweb/refinerycms-menus/issues/new).
96
96
 
97
97
  ### Running tests
98
- Refinery Page Menus uses RSpec to test. See the documentation on [RSpec GitHub page](https://github.com/rspec/rspec).
98
+ Refinery Menus uses RSpec to test. See the documentation on [RSpec GitHub page](https://github.com/rspec/rspec).
99
99
 
100
100
  1. To run the test suite, you must first install a dummy refinery app to test against: `bundle exec refinery:testing:dummy_app`. See the [Refinery Testing Guide](http://refinerycms.com/guides/testing) for more info.
101
101
  2. You can run all specs by running the command `bundle exec rake`.
@@ -157,9 +157,9 @@ The default directory structure of a generated Ruby on Rails application:
157
157
 
158
158
  |-- app
159
159
  | |-- assets
160
- | |-- images
161
- | |-- javascripts
162
- | `-- stylesheets
160
+ | | |-- images
161
+ | | |-- javascripts
162
+ | | `-- stylesheets
163
163
  | |-- controllers
164
164
  | |-- helpers
165
165
  | |-- mailers
@@ -173,6 +173,7 @@ The default directory structure of a generated Ruby on Rails application:
173
173
  |-- db
174
174
  |-- doc
175
175
  |-- lib
176
+ | |-- assets
176
177
  | `-- tasks
177
178
  |-- log
178
179
  |-- public
@@ -184,13 +185,12 @@ The default directory structure of a generated Ruby on Rails application:
184
185
  | |-- performance
185
186
  | `-- unit
186
187
  |-- tmp
187
- | |-- cache
188
- | |-- pids
189
- | |-- sessions
190
- | `-- sockets
188
+ | `-- cache
189
+ | `-- assets
191
190
  `-- vendor
192
191
  |-- assets
193
- `-- stylesheets
192
+ | |-- javascripts
193
+ | `-- stylesheets
194
194
  `-- plugins
195
195
 
196
196
  app
@@ -33,7 +33,7 @@ Refinery::Core.configure do |config|
33
33
 
34
34
  # Should set this if concerned about DOS attacks. See
35
35
  # http://markevans.github.com/dragonfly/file.Configuration.html#Configuration
36
- # config.dragonfly_secret = "c740855c814db04a30a842b3916e75f52b945b571fafc34b"
36
+ # config.dragonfly_secret = "8e91d444176fd812c8107382b4f59aeb01f5613f5294be7d"
37
37
 
38
38
  # Show/hide IE6 upgrade message in the backend
39
39
  # config.ie6_upgrade_message_enabled = true
@@ -36,7 +36,7 @@ Refinery::Images.configure do |config|
36
36
  # Configure Dragonfly
37
37
  # This is where in the middleware stack to insert the Dragonfly middleware
38
38
  # config.dragonfly_insert_before = "ActionDispatch::Callbacks"
39
- # config.dragonfly_secret = "c740855c814db04a30a842b3916e75f52b945b571fafc34b"
39
+ # config.dragonfly_secret = "8e91d444176fd812c8107382b4f59aeb01f5613f5294be7d"
40
40
  # If you decide to trust file extensions replace :ext below with :format
41
41
  # config.dragonfly_url_format = "/system/images/:job/:basename.:ext"
42
42
  # config.datastore_root_path = "/Users/johanfrolich/Rails/refinerycms-menus/spec/dummy/public/system/refinery/images"
@@ -20,7 +20,7 @@ Refinery::Resources.configure do |config|
20
20
  # Configure Dragonfly
21
21
  # This is where in the middleware stack to insert the Dragonfly middleware
22
22
  # config.dragonfly_insert_before = "ActionDispatch::Callbacks"
23
- # config.dragonfly_secret = "c740855c814db04a30a842b3916e75f52b945b571fafc34b"
23
+ # config.dragonfly_secret = "8e91d444176fd812c8107382b4f59aeb01f5613f5294be7d"
24
24
  # config.dragonfly_url_format = "/system/resources/:job/:basename.:format"
25
25
  # config.datastore_root_path = "/Users/johanfrolich/Rails/refinerycms-menus/spec/dummy/public/system/refinery/resources"
26
26
 
@@ -4,4 +4,4 @@
4
4
  # If you change this key, all old signed cookies will become invalid!
5
5
  # Make sure the secret is at least 30 characters and all random,
6
6
  # no regular words or you'll be exposed to dictionary attacks.
7
- Dummy::Application.config.secret_token = '7fafc6ad305bdc4f5fad808f8ce40c966560e7a0dba15b1b5a8202f07302c67b4c3600a13d89ca64a046dfa16d586761bbf5122c50e13343f7d94fa6cee8f1c8'
7
+ Dummy::Application.config.secret_token = '2bb142a1fd8408aeb6660cd6519c5b205eb1e74a0ca0189e3f9c575f46c59576a3e64e9ba9793dd86a34f88b8b7be6d381ce226596cbf6e47ecb4908dfb8631f'
@@ -0,0 +1,7 @@
1
+ # This migration comes from refinery_menus (originally 10)
2
+ class RenameRefineryResourceToResourceForRefineryMenusMenuLinks < ActiveRecord::Migration
3
+ def change
4
+ rename_column :refinery_menus_links, :refinery_resource_id, :resource_id
5
+ rename_column :refinery_menus_links, :refinery_resource_type, :resource_type
6
+ end
7
+ end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20130204144356) do
14
+ ActiveRecord::Schema.define(:version => 20130326231743) do
15
15
 
16
16
  create_table "refinery_images", :force => true do |t|
17
17
  t.string "image_mime_type"
@@ -41,8 +41,8 @@ ActiveRecord::Schema.define(:version => 20130204144356) do
41
41
  t.integer "depth"
42
42
  t.integer "refinery_menu_id"
43
43
  t.string "menu_match"
44
- t.integer "refinery_resource_id"
45
- t.string "refinery_resource_type"
44
+ t.integer "resource_id"
45
+ t.string "resource_type"
46
46
  t.string "title_attribute"
47
47
  t.string "custom_url"
48
48
  t.string "label"
Binary file
Binary file
@@ -1,189 +1,225 @@
1
1
  Connecting to database specified by database.yml
2
-  (0.1ms) select sqlite_version(*)
3
-  (2.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
-  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (3.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
- Migrating to CreatePageMenus (20130204144343)
2
+  (0.2ms) select sqlite_version(*)
3
+  (3.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
+  (1.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
+  (48.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
+ Migrating to CreatePageMenus (20130326231729)
7
7
   (0.0ms) begin transaction
8
-  (0.4ms) CREATE TABLE "refinery_page_positions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "refinery_page_id" integer, "refinery_menu_id" integer)
9
-  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_depth" ON "refinery_page_positions" ("depth")
10
-  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_id" ON "refinery_page_positions" ("id")
11
-  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_lft" ON "refinery_page_positions" ("lft")
12
-  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_parent_id" ON "refinery_page_positions" ("parent_id")
8
+  (0.7ms) CREATE TABLE "refinery_page_positions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "refinery_page_id" integer, "refinery_menu_id" integer)
9
+  (0.2ms) CREATE INDEX "index_refinery_page_positions_on_depth" ON "refinery_page_positions" ("depth")
10
+  (0.2ms) CREATE INDEX "index_refinery_page_positions_on_id" ON "refinery_page_positions" ("id")
11
+  (0.2ms) CREATE INDEX "index_refinery_page_positions_on_lft" ON "refinery_page_positions" ("lft")
12
+  (0.2ms) CREATE INDEX "index_refinery_page_positions_on_parent_id" ON "refinery_page_positions" ("parent_id")
13
13
   (0.1ms) CREATE INDEX "index_refinery_page_positions_on_rgt" ON "refinery_page_positions" ("rgt")
14
-  (0.1ms) CREATE TABLE "refinery_page_menus" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
15
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144343')
16
-  (2.2ms) commit transaction
17
- Migrating to AddPermatitleToPageMenus (20130204144344)
14
+  (0.2ms) CREATE TABLE "refinery_page_menus" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
15
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231729')
16
+  (2.5ms) commit transaction
17
+ Migrating to AddPermatitleToPageMenus (20130326231730)
18
18
   (0.1ms) begin transaction
19
-  (0.3ms) ALTER TABLE "refinery_page_menus" ADD "permatitle" varchar(255)
20
-  (0.2ms) CREATE UNIQUE INDEX "index_refinery_page_menus_on_permatitle" ON "refinery_page_menus" ("permatitle")
21
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144344')
22
-  (1.5ms) commit transaction
23
- Migrating to AddMenuMatchToPagePositions (20130204144345)
19
+  (0.4ms) ALTER TABLE "refinery_page_menus" ADD "permatitle" varchar(255)
20
+  (0.3ms) CREATE UNIQUE INDEX "index_refinery_page_menus_on_permatitle" ON "refinery_page_menus" ("permatitle")
21
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231730')
22
+  (2.2ms) commit transaction
23
+ Migrating to AddMenuMatchToPagePositions (20130326231731)
24
24
   (0.0ms) begin transaction
25
25
   (0.3ms) ALTER TABLE "refinery_page_positions" ADD "menu_match" varchar(255)
26
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144345')
26
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231731')
27
27
   (1.7ms) commit transaction
28
- Migrating to AddFlexFieldsToPagePositions (20130204144346)
29
-  (0.1ms) begin transaction
30
-  (0.4ms) ALTER TABLE "refinery_page_positions" ADD "refinery_resource_id" integer
31
-  (0.1ms) ALTER TABLE "refinery_page_positions" ADD "refinery_resource_type" varchar(255)
28
+ Migrating to AddFlexFieldsToPagePositions (20130326231732)
29
+  (0.0ms) begin transaction
30
+  (0.3ms) ALTER TABLE "refinery_page_positions" ADD "refinery_resource_id" integer
31
+  (0.2ms) ALTER TABLE "refinery_page_positions" ADD "refinery_resource_type" varchar(255)
32
32
   (0.1ms) ALTER TABLE "refinery_page_positions" ADD "title_attribute" varchar(255)
33
33
   (0.1ms) ALTER TABLE "refinery_page_positions" ADD "custom_url" varchar(255)
34
34
   (0.1ms) ALTER TABLE "refinery_page_positions" ADD "label" varchar(255)
35
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144346')
36
-  (1.5ms) commit transaction
37
- Migrating to RemoveRefineryPageIdFromRefineryPagePositions (20130204144347)
35
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231732')
36
+  (1.9ms) commit transaction
37
+ Migrating to RemoveRefineryPageIdFromRefineryPagePositions (20130326231733)
38
38
   (0.0ms) begin transaction
39
-  (0.4ms) CREATE TEMPORARY TABLE "altered_refinery_page_positions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "refinery_page_id" integer, "refinery_menu_id" integer, "menu_match" varchar(255), "refinery_resource_id" integer, "refinery_resource_type" varchar(255), "title_attribute" varchar(255), "custom_url" varchar(255), "label" varchar(255)) 
39
+  (0.3ms) CREATE TEMPORARY TABLE "altered_refinery_page_positions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "refinery_page_id" integer, "refinery_menu_id" integer, "menu_match" varchar(255), "refinery_resource_id" integer, "refinery_resource_type" varchar(255), "title_attribute" varchar(255), "custom_url" varchar(255), "label" varchar(255)) 
40
40
   (0.1ms) CREATE INDEX "temp_index_altered_refinery_page_positions_on_rgt" ON "altered_refinery_page_positions" ("rgt")
41
41
   (0.1ms) CREATE INDEX "temp_index_altered_refinery_page_positions_on_parent_id" ON "altered_refinery_page_positions" ("parent_id")
42
42
   (0.1ms) CREATE INDEX "temp_index_altered_refinery_page_positions_on_lft" ON "altered_refinery_page_positions" ("lft")
43
43
   (0.1ms) CREATE INDEX "temp_index_altered_refinery_page_positions_on_id" ON "altered_refinery_page_positions" ("id")
44
44
   (0.1ms) CREATE INDEX "temp_index_altered_refinery_page_positions_on_depth" ON "altered_refinery_page_positions" ("depth")
45
45
   (0.1ms) SELECT * FROM "refinery_page_positions"
46
-  (0.4ms) DROP TABLE "refinery_page_positions"
46
+  (0.3ms) DROP TABLE "refinery_page_positions"
47
47
   (0.1ms) CREATE TABLE "refinery_page_positions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "refinery_menu_id" integer, "menu_match" varchar(255), "refinery_resource_id" integer, "refinery_resource_type" varchar(255), "title_attribute" varchar(255), "custom_url" varchar(255), "label" varchar(255)) 
48
48
   (0.1ms) CREATE INDEX "index_refinery_page_positions_on_depth" ON "refinery_page_positions" ("depth")
49
49
   (0.1ms) CREATE INDEX "index_refinery_page_positions_on_id" ON "refinery_page_positions" ("id")
50
50
   (0.1ms) CREATE INDEX "index_refinery_page_positions_on_lft" ON "refinery_page_positions" ("lft")
51
51
   (0.1ms) CREATE INDEX "index_refinery_page_positions_on_parent_id" ON "refinery_page_positions" ("parent_id")
52
52
   (0.1ms) CREATE INDEX "index_refinery_page_positions_on_rgt" ON "refinery_page_positions" ("rgt")
53
-  (0.1ms) SELECT * FROM "altered_refinery_page_positions"
54
-  (0.5ms) DROP TABLE "altered_refinery_page_positions"
55
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144347')
56
-  (1.7ms) commit transaction
57
- Migrating to RenamePagePositionsToMenuLinks (20130204144348)
53
+  (0.0ms) SELECT * FROM "altered_refinery_page_positions"
54
+  (0.4ms) DROP TABLE "altered_refinery_page_positions"
55
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231733')
56
+  (2.1ms) commit transaction
57
+ Migrating to RenamePagePositionsToMenuLinks (20130326231734)
58
58
   (0.0ms) begin transaction
59
59
   (0.4ms) ALTER TABLE "refinery_page_positions" RENAME TO "refinery_menu_links"
60
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144348')
61
-  (1.0ms) commit transaction
62
- Migrating to AddClassAndIdAttributeToMenuLinks (20130204144349)
60
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231734')
61
+  (1.7ms) commit transaction
62
+ Migrating to AddClassAndIdAttributeToMenuLinks (20130326231735)
63
63
   (0.0ms) begin transaction
64
-  (0.4ms) ALTER TABLE "refinery_menu_links" ADD "id_attribute" varchar(255)
65
-  (0.2ms) ALTER TABLE "refinery_menu_links" ADD "class_attribute" varchar(255)
66
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144349')
67
-  (1.1ms) commit transaction
68
- Migrating to RenamePageMenusToMenus (20130204144350)
69
-  (0.0ms) begin transaction
70
-  (0.3ms) ALTER TABLE "refinery_page_menus" RENAME TO "refinery_menus"
71
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144350')
72
-  (1.0ms) commit transaction
73
- Migrating to AddNamespaceToTables (20130204144351)
74
-  (0.0ms) begin transaction
75
-  (0.4ms) ALTER TABLE "refinery_menu_links" RENAME TO "refinery_menus_links"
76
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144351')
77
-  (1.0ms) commit transaction
78
- Migrating to CreateRefinerycmsAuthenticationSchema (20130204144352)
79
-  (0.0ms) begin transaction
80
-  (0.3ms) CREATE TABLE "refinery_roles_users" ("user_id" integer, "role_id" integer) 
81
-  (0.1ms) CREATE INDEX "index_refinery_roles_users_on_role_id_and_user_id" ON "refinery_roles_users" ("role_id", "user_id")
82
-  (0.1ms) CREATE INDEX "index_refinery_roles_users_on_user_id_and_role_id" ON "refinery_roles_users" ("user_id", "role_id")
83
-  (0.1ms) CREATE TABLE "refinery_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
84
-  (0.1ms) CREATE TABLE "refinery_user_plugins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "name" varchar(255), "position" integer) 
85
-  (0.1ms) CREATE INDEX "index_refinery_user_plugins_on_name" ON "refinery_user_plugins" ("name")
86
-  (0.3ms) CREATE UNIQUE INDEX "index_refinery_user_plugins_on_user_id_and_name" ON "refinery_user_plugins" ("user_id", "name")
87
-  (0.2ms) CREATE TABLE "refinery_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "encrypted_password" varchar(255) NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "sign_in_count" integer, "remember_created_at" datetime, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
88
-  (0.1ms) CREATE INDEX "index_refinery_users_on_id" ON "refinery_users" ("id")
89
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144352')
90
-  (1.4ms) commit transaction
91
- Migrating to CreateRefinerycmsImagesSchema (20130204144353)
92
-  (0.0ms) begin transaction
93
-  (0.4ms) CREATE TABLE "refinery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image_mime_type" varchar(255), "image_name" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer, "image_uid" varchar(255), "image_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
94
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144353')
95
-  (1.4ms) commit transaction
96
- Migrating to CreateRefinerycmsResourcesSchema (20130204144354)
64
+  (0.3ms) ALTER TABLE "refinery_menu_links" ADD "id_attribute" varchar(255)
65
+  (0.1ms) ALTER TABLE "refinery_menu_links" ADD "class_attribute" varchar(255)
66
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231735')
67
+  (2.2ms) commit transaction
68
+ Migrating to RenamePageMenusToMenus (20130326231736)
97
69
   (0.1ms) begin transaction
98
-  (0.3ms) CREATE TABLE "refinery_resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_mime_type" varchar(255), "file_name" varchar(255), "file_size" integer, "file_uid" varchar(255), "file_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
99
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144354')
70
+  (0.4ms) ALTER TABLE "refinery_page_menus" RENAME TO "refinery_menus"
71
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231736')
100
72
   (1.5ms) commit transaction
101
- Migrating to CreateRefinerycmsPagesSchema (20130204144355)
102
-  (0.1ms) begin transaction
103
-  (0.5ms) CREATE TABLE "refinery_page_parts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "title" varchar(255), "body" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
104
-  (0.3ms) CREATE INDEX "index_refinery_page_parts_on_id" ON "refinery_page_parts" ("id")
105
-  (0.1ms) CREATE INDEX "index_refinery_page_parts_on_refinery_page_id" ON "refinery_page_parts" ("refinery_page_id")
106
-  (0.2ms) CREATE TABLE "refinery_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "path" varchar(255), "slug" varchar(255), "show_in_menu" boolean DEFAULT 't', "link_url" varchar(255), "menu_match" varchar(255), "deletable" boolean DEFAULT 't', "draft" boolean DEFAULT 'f', "skip_to_first_child" boolean DEFAULT 'f', "lft" integer, "rgt" integer, "depth" integer, "view_template" varchar(255), "layout_template" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
107
-  (0.1ms) CREATE INDEX "index_refinery_pages_on_depth" ON "refinery_pages" ("depth")
108
-  (0.1ms) CREATE INDEX "index_refinery_pages_on_id" ON "refinery_pages" ("id")
109
-  (0.1ms) CREATE INDEX "index_refinery_pages_on_lft" ON "refinery_pages" ("lft")
110
-  (0.2ms) CREATE INDEX "index_refinery_pages_on_parent_id" ON "refinery_pages" ("parent_id")
111
-  (0.1ms) CREATE INDEX "index_refinery_pages_on_rgt" ON "refinery_pages" ("rgt")
112
-  (0.1ms) CREATE TABLE "refinery_page_part_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_part_id" integer, "locale" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
113
-  (0.1ms) CREATE INDEX "index_f9716c4215584edbca2557e32706a5ae084a15ef" ON "refinery_page_part_translations" ("refinery_page_part_id")
114
-  (0.1ms) CREATE INDEX "index_refinery_page_part_translations_on_locale" ON "refinery_page_part_translations" ("locale")
115
-  (0.1ms) CREATE TABLE "refinery_page_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "locale" varchar(255), "title" varchar(255), "custom_slug" varchar(255), "menu_title" varchar(255), "slug" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
116
-  (0.1ms) CREATE INDEX "index_d079468f88bff1c6ea81573a0d019ba8bf5c2902" ON "refinery_page_translations" ("refinery_page_id")
117
-  (0.1ms) CREATE INDEX "index_refinery_page_translations_on_locale" ON "refinery_page_translations" ("locale")
118
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144355')
119
-  (2.3ms) commit transaction
120
- Migrating to CreateSeoMeta (20130204144356)
73
+ Migrating to AddNamespaceToTables (20130326231737)
121
74
   (0.0ms) begin transaction
122
-  (0.4ms) CREATE TABLE "seo_meta" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "seo_meta_id" integer, "seo_meta_type" varchar(255), "browser_title" varchar(255), "meta_keywords" varchar(255), "meta_description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
123
-  (0.1ms) CREATE INDEX "index_seo_meta_on_id" ON "seo_meta" ("id")
124
-  (0.1ms) CREATE INDEX "index_seo_meta_on_seo_meta_id_and_seo_meta_type" ON "seo_meta" ("seo_meta_id", "seo_meta_type")
125
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130204144356')
126
-  (1.9ms) commit transaction
127
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
75
+  (0.3ms) ALTER TABLE "refinery_menu_links" RENAME TO "refinery_menus_links"
76
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231737')
77
+  (1.6ms) commit transaction
78
+ Migrating to RenameRefineryResourceToResourceForRefineryMenusMenuLinks (20130326231738)
79
+  (0.0ms) begin transaction
80
+  (0.2ms) CREATE TEMPORARY TABLE "altered_refinery_menus_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "refinery_menu_id" integer, "menu_match" varchar(255), "resource_id" integer, "refinery_resource_type" varchar(255), "title_attribute" varchar(255), "custom_url" varchar(255), "label" varchar(255), "id_attribute" varchar(255), "class_attribute" varchar(255)) 
81
+  (0.1ms) CREATE INDEX "temp_index_refinery_page_positions_on_rgt" ON "altered_refinery_menus_links" ("rgt")
82
+  (0.1ms) CREATE INDEX "temp_index_refinery_page_positions_on_parent_id" ON "altered_refinery_menus_links" ("parent_id")
83
+  (0.1ms) CREATE INDEX "temp_index_refinery_page_positions_on_lft" ON "altered_refinery_menus_links" ("lft")
84
+  (0.1ms) CREATE INDEX "temp_index_refinery_page_positions_on_id" ON "altered_refinery_menus_links" ("id")
85
+  (0.1ms) CREATE INDEX "temp_index_refinery_page_positions_on_depth" ON "altered_refinery_menus_links" ("depth")
86
+  (0.1ms) SELECT * FROM "refinery_menus_links"
87
+  (0.3ms) DROP TABLE "refinery_menus_links"
88
+  (0.1ms) CREATE TABLE "refinery_menus_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "refinery_menu_id" integer, "menu_match" varchar(255), "resource_id" integer, "refinery_resource_type" varchar(255), "title_attribute" varchar(255), "custom_url" varchar(255), "label" varchar(255), "id_attribute" varchar(255), "class_attribute" varchar(255)) 
89
+  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_depth" ON "refinery_menus_links" ("depth")
90
+  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_id" ON "refinery_menus_links" ("id")
91
+  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_lft" ON "refinery_menus_links" ("lft")
92
+  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_parent_id" ON "refinery_menus_links" ("parent_id")
93
+  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_rgt" ON "refinery_menus_links" ("rgt")
94
+  (0.0ms) SELECT * FROM "altered_refinery_menus_links"
95
+  (0.1ms) DROP TABLE "altered_refinery_menus_links"
96
+  (0.1ms) CREATE TEMPORARY TABLE "altered_refinery_menus_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "refinery_menu_id" integer, "menu_match" varchar(255), "resource_id" integer, "resource_type" varchar(255), "title_attribute" varchar(255), "custom_url" varchar(255), "label" varchar(255), "id_attribute" varchar(255), "class_attribute" varchar(255)) 
97
+  (0.1ms) CREATE INDEX "temp_index_refinery_page_positions_on_rgt" ON "altered_refinery_menus_links" ("rgt")
98
+  (0.1ms) CREATE INDEX "temp_index_refinery_page_positions_on_parent_id" ON "altered_refinery_menus_links" ("parent_id")
99
+  (0.1ms) CREATE INDEX "temp_index_refinery_page_positions_on_lft" ON "altered_refinery_menus_links" ("lft")
100
+  (0.1ms) CREATE INDEX "temp_index_refinery_page_positions_on_id" ON "altered_refinery_menus_links" ("id")
101
+  (0.1ms) CREATE INDEX "temp_index_refinery_page_positions_on_depth" ON "altered_refinery_menus_links" ("depth")
102
+  (0.0ms) SELECT * FROM "refinery_menus_links"
103
+  (0.4ms) DROP TABLE "refinery_menus_links"
104
+  (0.1ms) CREATE TABLE "refinery_menus_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "refinery_menu_id" integer, "menu_match" varchar(255), "resource_id" integer, "resource_type" varchar(255), "title_attribute" varchar(255), "custom_url" varchar(255), "label" varchar(255), "id_attribute" varchar(255), "class_attribute" varchar(255)) 
105
+  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_depth" ON "refinery_menus_links" ("depth")
106
+  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_id" ON "refinery_menus_links" ("id")
107
+  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_lft" ON "refinery_menus_links" ("lft")
108
+  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_parent_id" ON "refinery_menus_links" ("parent_id")
109
+  (0.1ms) CREATE INDEX "index_refinery_page_positions_on_rgt" ON "refinery_menus_links" ("rgt")
110
+  (0.0ms) SELECT * FROM "altered_refinery_menus_links"
111
+  (0.1ms) DROP TABLE "altered_refinery_menus_links"
112
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231738')
113
+  (2.7ms) commit transaction
114
+ Migrating to CreateRefinerycmsAuthenticationSchema (20130326231739)
115
+  (0.0ms) begin transaction
116
+  (0.3ms) CREATE TABLE "refinery_roles_users" ("user_id" integer, "role_id" integer)
117
+  (0.1ms) CREATE INDEX "index_refinery_roles_users_on_role_id_and_user_id" ON "refinery_roles_users" ("role_id", "user_id")
118
+  (0.1ms) CREATE INDEX "index_refinery_roles_users_on_user_id_and_role_id" ON "refinery_roles_users" ("user_id", "role_id")
119
+  (0.1ms) CREATE TABLE "refinery_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255)) 
120
+  (0.1ms) CREATE TABLE "refinery_user_plugins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "name" varchar(255), "position" integer)
121
+  (0.1ms) CREATE INDEX "index_refinery_user_plugins_on_name" ON "refinery_user_plugins" ("name")
122
+  (0.2ms) CREATE UNIQUE INDEX "index_refinery_user_plugins_on_user_id_and_name" ON "refinery_user_plugins" ("user_id", "name")
123
+  (0.1ms) CREATE TABLE "refinery_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "encrypted_password" varchar(255) NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "sign_in_count" integer, "remember_created_at" datetime, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
124
+  (0.1ms) CREATE INDEX "index_refinery_users_on_id" ON "refinery_users" ("id")
125
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231739')
126
+  (1.9ms) commit transaction
127
+ Migrating to CreateRefinerycmsImagesSchema (20130326231740)
128
+  (0.0ms) begin transaction
129
+  (0.3ms) CREATE TABLE "refinery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image_mime_type" varchar(255), "image_name" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer, "image_uid" varchar(255), "image_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
130
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231740')
131
+  (1.5ms) commit transaction
132
+ Migrating to CreateRefinerycmsResourcesSchema (20130326231741)
133
+  (0.0ms) begin transaction
134
+  (0.3ms) CREATE TABLE "refinery_resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_mime_type" varchar(255), "file_name" varchar(255), "file_size" integer, "file_uid" varchar(255), "file_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
135
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231741')
136
+  (1.8ms) commit transaction
137
+ Migrating to CreateRefinerycmsPagesSchema (20130326231742)
138
+  (0.0ms) begin transaction
139
+  (0.3ms) CREATE TABLE "refinery_page_parts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "title" varchar(255), "body" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
140
+  (0.1ms) CREATE INDEX "index_refinery_page_parts_on_id" ON "refinery_page_parts" ("id")
141
+  (0.1ms) CREATE INDEX "index_refinery_page_parts_on_refinery_page_id" ON "refinery_page_parts" ("refinery_page_id")
142
+  (0.3ms) CREATE TABLE "refinery_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "path" varchar(255), "slug" varchar(255), "show_in_menu" boolean DEFAULT 't', "link_url" varchar(255), "menu_match" varchar(255), "deletable" boolean DEFAULT 't', "draft" boolean DEFAULT 'f', "skip_to_first_child" boolean DEFAULT 'f', "lft" integer, "rgt" integer, "depth" integer, "view_template" varchar(255), "layout_template" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
143
+  (0.1ms) CREATE INDEX "index_refinery_pages_on_depth" ON "refinery_pages" ("depth")
144
+  (0.1ms) CREATE INDEX "index_refinery_pages_on_id" ON "refinery_pages" ("id")
145
+  (0.1ms) CREATE INDEX "index_refinery_pages_on_lft" ON "refinery_pages" ("lft")
146
+  (0.1ms) CREATE INDEX "index_refinery_pages_on_parent_id" ON "refinery_pages" ("parent_id")
147
+  (0.2ms) CREATE INDEX "index_refinery_pages_on_rgt" ON "refinery_pages" ("rgt")
148
+  (0.1ms) CREATE TABLE "refinery_page_part_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_part_id" integer, "locale" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
149
+  (0.1ms) CREATE INDEX "index_f9716c4215584edbca2557e32706a5ae084a15ef" ON "refinery_page_part_translations" ("refinery_page_part_id")
150
+  (0.1ms) CREATE INDEX "index_refinery_page_part_translations_on_locale" ON "refinery_page_part_translations" ("locale")
151
+  (0.1ms) CREATE TABLE "refinery_page_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "locale" varchar(255), "title" varchar(255), "custom_slug" varchar(255), "menu_title" varchar(255), "slug" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
152
+  (0.1ms) CREATE INDEX "index_d079468f88bff1c6ea81573a0d019ba8bf5c2902" ON "refinery_page_translations" ("refinery_page_id")
153
+  (0.1ms) CREATE INDEX "index_refinery_page_translations_on_locale" ON "refinery_page_translations" ("locale")
154
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231742')
155
+  (2.1ms) commit transaction
156
+ Migrating to CreateSeoMeta (20130326231743)
157
+  (0.0ms) begin transaction
158
+  (0.4ms) CREATE TABLE "seo_meta" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "seo_meta_id" integer, "seo_meta_type" varchar(255), "browser_title" varchar(255), "meta_keywords" varchar(255), "meta_description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
159
+  (0.1ms) CREATE INDEX "index_seo_meta_on_id" ON "seo_meta" ("id")
160
+  (0.1ms) CREATE INDEX "index_seo_meta_on_seo_meta_id_and_seo_meta_type" ON "seo_meta" ("seo_meta_id", "seo_meta_type")
161
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130326231743')
162
+  (1.7ms) commit transaction
163
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
128
164
  Connecting to database specified by database.yml
129
-  (3.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
130
-  (0.1ms) SELECT COUNT(*) FROM "refinery_pages" WHERE "refinery_pages"."menu_match" = '^/$'
131
- Refinery::Page::Translation Load (0.2ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" IS NULL AND "refinery_page_translations"."locale" = 'en' LIMIT 1
165
+  (15.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
166
+  (0.5ms) SELECT COUNT(*) FROM "refinery_pages" WHERE "refinery_pages"."menu_match" = '^/$'
167
+ Refinery::Page::Translation Load (24.8ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" IS NULL AND "refinery_page_translations"."locale" = 'en' LIMIT 1
132
168
   (0.1ms) begin transaction
133
- Refinery::Page Load (0.3ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" IS NULL AND ("slug" = 'home' OR "slug" LIKE 'home--%'ESCAPE '\') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1
134
- SQL (3.2ms) INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:44:00 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Mon, 04 Feb 2013 14:44:00 UTC +00:00]]
135
- SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
136
- SQL (0.5ms) INSERT INTO "seo_meta" ("browser_title", "created_at", "meta_description", "meta_keywords", "seo_meta_id", "seo_meta_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["browser_title", nil], ["created_at", Mon, 04 Feb 2013 14:44:00 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 1], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Mon, 04 Feb 2013 14:44:00 UTC +00:00]]
137
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "refinery_pages"."rgt" desc LIMIT 1
138
- SQL (0.5ms) INSERT INTO "refinery_pages" ("created_at", "deletable", "depth", "draft", "layout_template", "lft", "link_url", "menu_match", "parent_id", "path", "rgt", "show_in_menu", "skip_to_first_child", "slug", "updated_at", "view_template") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:44:00 UTC +00:00], ["deletable", false], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 1], ["link_url", "/"], ["menu_match", "^/$"], ["parent_id", nil], ["path", nil], ["rgt", 2], ["show_in_menu", true], ["skip_to_first_child", false], ["slug", "home"], ["updated_at", Mon, 04 Feb 2013 14:44:00 UTC +00:00], ["view_template", nil]]
139
-  (0.4ms) UPDATE "refinery_page_translations" SET "refinery_page_id" = 1, "updated_at" = '2013-02-04 14:44:00.955204' WHERE "refinery_page_translations"."id" = 1
169
+ Refinery::Page Load (24.9ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" IS NULL AND ("slug" = 'home' OR "slug" LIKE 'home--%'ESCAPE '\') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1
170
+ SQL (131.5ms) INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 23:17:49 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Tue, 26 Mar 2013 23:17:49 UTC +00:00]]
171
+ SeoMetum Load (14.7ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
172
+ SQL (11.2ms) INSERT INTO "seo_meta" ("browser_title", "created_at", "meta_description", "meta_keywords", "seo_meta_id", "seo_meta_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["browser_title", nil], ["created_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 1], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00]]
173
+ Refinery::Page Load (10.9ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "refinery_pages"."rgt" desc LIMIT 1
174
+ SQL (18.9ms) INSERT INTO "refinery_pages" ("created_at", "deletable", "depth", "draft", "layout_template", "lft", "link_url", "menu_match", "parent_id", "path", "rgt", "show_in_menu", "skip_to_first_child", "slug", "updated_at", "view_template") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["deletable", false], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 1], ["link_url", "/"], ["menu_match", "^/$"], ["parent_id", nil], ["path", nil], ["rgt", 2], ["show_in_menu", true], ["skip_to_first_child", false], ["slug", "home"], ["updated_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["view_template", nil]]
175
+  (0.3ms) UPDATE "refinery_page_translations" SET "refinery_page_id" = 1, "updated_at" = '2013-03-26 23:17:50.184679' WHERE "refinery_page_translations"."id" = 1
140
176
  Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
141
177
  SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
142
-  (0.1ms) UPDATE "refinery_page_translations" SET "title" = 'Home', "slug" = 'home', "updated_at" = '2013-02-04 14:44:00.960202' WHERE "refinery_page_translations"."id" = 1
178
+  (0.1ms) UPDATE "refinery_page_translations" SET "title" = 'Home', "slug" = 'home', "updated_at" = '2013-03-26 23:17:50.188403' WHERE "refinery_page_translations"."id" = 1
143
179
  Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 1]]
144
- Refinery::Page Load (0.3ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE ("refinery_pages"."id" >= 0) ORDER BY "refinery_pages"."id" ASC LIMIT 500
180
+ Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "refinery_pages"."id" ASC LIMIT 500
145
181
  Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1
146
182
  SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
147
- Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
148
- Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
183
+ Refinery::PagePart Load (24.0ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
184
+ Refinery::PagePart Load (0.2ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
149
185
  Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
150
186
  SQL (0.2ms) UPDATE "refinery_pages" SET "depth" = 0 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 1 ORDER BY "refinery_pages"."lft")
151
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
187
+ Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
152
188
  Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
153
-  (2.2ms) commit transaction
189
+  (106.0ms) commit transaction
154
190
   (0.1ms) begin transaction
155
- Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
156
- SQL (0.6ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<p>Welcome to our site. This is just a place holder page while we gather our content.</p>"], ["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["position", 0], ["refinery_page_id", 1], ["title", "Body"], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
157
- SQL (0.4ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 1], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
191
+ Refinery::PagePart::Translation Load (61.0ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
192
+ SQL (70.7ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<p>Welcome to our site. This is just a place holder page while we gather our content.</p>"], ["created_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["position", 0], ["refinery_page_id", 1], ["title", "Body"], ["updated_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00]]
193
+ SQL (36.0ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 1], ["updated_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00]]
158
194
  Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 1 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
159
-  (0.3ms) UPDATE "refinery_page_part_translations" SET "body" = '<p>Welcome to our site. This is just a place holder page while we gather our content.</p>', "updated_at" = '2013-02-04 14:44:01.028291' WHERE "refinery_page_part_translations"."id" = 1
195
+  (0.2ms) UPDATE "refinery_page_part_translations" SET "body" = '<p>Welcome to our site. This is just a place holder page while we gather our content.</p>', "updated_at" = '2013-03-26 23:17:50.593971' WHERE "refinery_page_part_translations"."id" = 1
160
196
  Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 1]]
161
-  (2.2ms) commit transaction
197
+  (139.1ms) commit transaction
162
198
   (0.1ms) begin transaction
163
- Refinery::PagePart::Translation Load (0.2ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
164
- SQL (0.4ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<p>This is another block of content over here.</p>"], ["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["position", 1], ["refinery_page_id", 1], ["title", "Side Body"], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
165
- SQL (0.3ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 2], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
199
+ Refinery::PagePart::Translation Load (0.3ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
200
+ SQL (0.6ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<p>This is another block of content over here.</p>"], ["created_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["position", 1], ["refinery_page_id", 1], ["title", "Side Body"], ["updated_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00]]
201
+ SQL (0.3ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 2], ["updated_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00]]
166
202
  Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 2 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
167
-  (0.4ms) UPDATE "refinery_page_part_translations" SET "body" = '<p>This is another block of content over here.</p>', "updated_at" = '2013-02-04 14:44:01.050653' WHERE "refinery_page_part_translations"."id" = 2
168
- Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 2]]
169
-  (2.3ms) commit transaction
170
-  (0.1ms) begin transaction
171
- Refinery::Page::Translation Load (0.2ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" IS NULL AND "refinery_page_translations"."locale" = 'en' LIMIT 1
203
+  (0.2ms) UPDATE "refinery_page_part_translations" SET "body" = '<p>This is another block of content over here.</p>', "updated_at" = '2013-03-26 23:17:50.818582' WHERE "refinery_page_part_translations"."id" = 2
204
+ Refinery::PagePart::Translation Load (0.0ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 2]]
205
+  (37.8ms) commit transaction
206
+  (0.0ms) begin transaction
207
+ Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" IS NULL AND "refinery_page_translations"."locale" = 'en' LIMIT 1
172
208
  Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" = 1 AND ("slug" = 'page-not-found' OR "slug" LIKE 'page-not-found--%'ESCAPE '\') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1
173
- SQL (0.5ms) INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
174
- SeoMetum Load (48.2ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 2 LIMIT 1
175
- SQL (0.3ms) INSERT INTO "seo_meta" ("browser_title", "created_at", "meta_description", "meta_keywords", "seo_meta_id", "seo_meta_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["browser_title", nil], ["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 2], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
176
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "refinery_pages"."rgt" desc LIMIT 1
177
- SQL (0.4ms) INSERT INTO "refinery_pages" ("created_at", "deletable", "depth", "draft", "layout_template", "lft", "link_url", "menu_match", "parent_id", "path", "rgt", "show_in_menu", "skip_to_first_child", "slug", "updated_at", "view_template") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["deletable", false], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 3], ["link_url", nil], ["menu_match", "^/404$"], ["parent_id", 1], ["path", nil], ["rgt", 4], ["show_in_menu", false], ["skip_to_first_child", false], ["slug", "page-not-found"], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["view_template", nil]]
178
-  (0.3ms) UPDATE "refinery_page_translations" SET "refinery_page_id" = 2, "updated_at" = '2013-02-04 14:44:01.123050' WHERE "refinery_page_translations"."id" = 2
179
- Refinery::Page::Translation Load (0.2ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 2 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
209
+ SQL (0.3ms) INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00]]
180
210
  SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 2 LIMIT 1
181
-  (0.1ms) UPDATE "refinery_page_translations" SET "title" = 'Page not found', "slug" = 'page-not-found', "updated_at" = '2013-02-04 14:44:01.126886' WHERE "refinery_page_translations"."id" = 2
182
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 2]]
211
+ SQL (0.2ms) INSERT INTO "seo_meta" ("browser_title", "created_at", "meta_description", "meta_keywords", "seo_meta_id", "seo_meta_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["browser_title", nil], ["created_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 2], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00]]
212
+ Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "refinery_pages"."rgt" desc LIMIT 1
213
+ SQL (0.2ms) INSERT INTO "refinery_pages" ("created_at", "deletable", "depth", "draft", "layout_template", "lft", "link_url", "menu_match", "parent_id", "path", "rgt", "show_in_menu", "skip_to_first_child", "slug", "updated_at", "view_template") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["deletable", false], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 3], ["link_url", nil], ["menu_match", "^/404$"], ["parent_id", 1], ["path", nil], ["rgt", 4], ["show_in_menu", false], ["skip_to_first_child", false], ["slug", "page-not-found"], ["updated_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["view_template", nil]]
214
+  (0.2ms) UPDATE "refinery_page_translations" SET "refinery_page_id" = 2, "updated_at" = '2013-03-26 23:17:50.868690' WHERE "refinery_page_translations"."id" = 2
215
+ Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 2 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
216
+ SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 2 LIMIT 1
217
+  (0.1ms) UPDATE "refinery_page_translations" SET "title" = 'Page not found', "slug" = 'page-not-found', "updated_at" = '2013-03-26 23:17:50.870666' WHERE "refinery_page_translations"."id" = 2
218
+ Refinery::Page::Translation Load (0.0ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 2]]
183
219
  Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 2 ORDER BY position ASC
184
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? ORDER BY "refinery_pages"."lft" LIMIT 1 [["id", 1]]
220
+ Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? ORDER BY "refinery_pages"."lft" LIMIT 1 [["id", 1]]
185
221
  Refinery::Page Load (0.1ms) SELECT "refinery_pages"."lft", "refinery_pages"."rgt", "refinery_pages"."parent_id" FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
186
- SQL (0.2ms) UPDATE "refinery_pages" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" ORDER BY "refinery_pages"."lft")
222
+ SQL (0.1ms) UPDATE "refinery_pages" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 2 THEN 1 ELSE "parent_id" END WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" ORDER BY "refinery_pages"."lft")
187
223
  Refinery::Page Load (0.0ms) SELECT "refinery_pages"."lft", "refinery_pages"."rgt", "refinery_pages"."parent_id" FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
188
224
  Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
189
225
   (0.1ms) SELECT COUNT(*) FROM "refinery_pages" WHERE ("refinery_pages"."lft" <= 2 AND "refinery_pages"."rgt" >= 3) AND ("refinery_pages".id != 2)
@@ -196,104 +232,104 @@ Connecting to database specified by database.yml
196
232
  SQL (0.1ms) UPDATE "refinery_pages" SET "depth" = 1 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 2 ORDER BY "refinery_pages"."lft")
197
233
   (0.1ms) SELECT COUNT(*) FROM "refinery_pages" WHERE ("refinery_pages"."lft" <= 2 AND "refinery_pages"."rgt" >= 3) AND ("refinery_pages".id != 2)
198
234
  Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
199
- Refinery::PagePart Load (0.2ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 2 ORDER BY position ASC
200
-  (2.6ms) commit transaction
201
-  (0.1ms) begin transaction
202
- Refinery::PagePart::Translation Load (0.4ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
203
- SQL (0.5ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<h2>Sorry, there was a problem...</h2><p>The page you requested was not found.</p><p><a href='/'>Return to the home page</a></p>"], ["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["position", 0], ["refinery_page_id", 2], ["title", "Body"], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
204
- SQL (0.2ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 3], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
205
- Refinery::PagePart::Translation Load (0.2ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 3 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
206
-  (0.3ms) UPDATE "refinery_page_part_translations" SET "body" = '<h2>Sorry, there was a problem...</h2><p>The page you requested was not found.</p><p><a href=''/''>Return to the home page</a></p>', "updated_at" = '2013-02-04 14:44:01.168034' WHERE "refinery_page_part_translations"."id" = 3
207
- Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 3]]
208
-  (2.4ms) commit transaction
209
-  (0.3ms) SELECT COUNT(*) FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page_id" = "refinery_pages"."id" WHERE "refinery_page_translations"."locale" = 'en' AND "refinery_page_translations"."title" = 'About'
235
+ Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 2 ORDER BY position ASC
236
+  (66.2ms) commit transaction
237
+  (0.0ms) begin transaction
238
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
239
+ SQL (0.3ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<h2>Sorry, there was a problem...</h2><p>The page you requested was not found.</p><p><a href='/'>Return to the home page</a></p>"], ["created_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["position", 0], ["refinery_page_id", 2], ["title", "Body"], ["updated_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00]]
240
+ SQL (0.1ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 3], ["updated_at", Tue, 26 Mar 2013 23:17:50 UTC +00:00]]
241
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 3 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
242
+  (0.2ms) UPDATE "refinery_page_part_translations" SET "body" = '<h2>Sorry, there was a problem...</h2><p>The page you requested was not found.</p><p><a href=''/''>Return to the home page</a></p>', "updated_at" = '2013-03-26 23:17:50.959104' WHERE "refinery_page_part_translations"."id" = 3
243
+ Refinery::PagePart::Translation Load (0.0ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 3]]
244
+  (114.3ms) commit transaction
245
+  (0.2ms) SELECT COUNT(*) FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page_id" = "refinery_pages"."id" WHERE "refinery_page_translations"."locale" = 'en' AND "refinery_page_translations"."title" = 'About'
210
246
  Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" IS NULL AND "refinery_page_translations"."locale" = 'en' LIMIT 1
211
-  (0.1ms) begin transaction
247
+  (0.0ms) begin transaction
212
248
  Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."parent_id" IS NULL AND ("slug" = 'about' OR "slug" LIKE 'about--%'ESCAPE '\') ORDER BY LENGTH("slug") DESC, "slug" DESC LIMIT 1
213
- SQL (0.5ms) INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
249
+ SQL (0.3ms) INSERT INTO "refinery_page_translations" ("created_at", "custom_slug", "locale", "menu_title", "refinery_page_id", "slug", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00], ["custom_slug", nil], ["locale", "en"], ["menu_title", nil], ["refinery_page_id", nil], ["slug", nil], ["title", nil], ["updated_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00]]
214
250
  SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 3 LIMIT 1
215
- SQL (0.3ms) INSERT INTO "seo_meta" ("browser_title", "created_at", "meta_description", "meta_keywords", "seo_meta_id", "seo_meta_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["browser_title", nil], ["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 3], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
251
+ SQL (0.2ms) INSERT INTO "seo_meta" ("browser_title", "created_at", "meta_description", "meta_keywords", "seo_meta_id", "seo_meta_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["browser_title", nil], ["created_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00], ["meta_description", nil], ["meta_keywords", nil], ["seo_meta_id", 3], ["seo_meta_type", "Refinery::Page::Translation"], ["updated_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00]]
216
252
  Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY "refinery_pages"."rgt" desc LIMIT 1
217
- SQL (0.5ms) INSERT INTO "refinery_pages" ("created_at", "deletable", "depth", "draft", "layout_template", "lft", "link_url", "menu_match", "parent_id", "path", "rgt", "show_in_menu", "skip_to_first_child", "slug", "updated_at", "view_template") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["deletable", true], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 5], ["link_url", nil], ["menu_match", nil], ["parent_id", nil], ["path", nil], ["rgt", 6], ["show_in_menu", true], ["skip_to_first_child", false], ["slug", "about"], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["view_template", nil]]
218
-  (0.4ms) UPDATE "refinery_page_translations" SET "refinery_page_id" = 3, "updated_at" = '2013-02-04 14:44:01.209812' WHERE "refinery_page_translations"."id" = 3
253
+ SQL (0.2ms) INSERT INTO "refinery_pages" ("created_at", "deletable", "depth", "draft", "layout_template", "lft", "link_url", "menu_match", "parent_id", "path", "rgt", "show_in_menu", "skip_to_first_child", "slug", "updated_at", "view_template") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00], ["deletable", true], ["depth", nil], ["draft", false], ["layout_template", nil], ["lft", 5], ["link_url", nil], ["menu_match", nil], ["parent_id", nil], ["path", nil], ["rgt", 6], ["show_in_menu", true], ["skip_to_first_child", false], ["slug", "about"], ["updated_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00], ["view_template", nil]]
254
+  (0.2ms) UPDATE "refinery_page_translations" SET "refinery_page_id" = 3, "updated_at" = '2013-03-26 23:17:51.208688' WHERE "refinery_page_translations"."id" = 3
219
255
  Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 3 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
220
256
  SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 3 LIMIT 1
221
-  (0.1ms) UPDATE "refinery_page_translations" SET "title" = 'About', "slug" = 'about', "updated_at" = '2013-02-04 14:44:01.213439' WHERE "refinery_page_translations"."id" = 3
222
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 3]]
257
+  (0.1ms) UPDATE "refinery_page_translations" SET "title" = 'About', "slug" = 'about', "updated_at" = '2013-03-26 23:17:51.210536' WHERE "refinery_page_translations"."id" = 3
258
+ Refinery::Page::Translation Load (0.0ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 3]]
223
259
  Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 3 ORDER BY position ASC
224
260
  Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 3]]
225
261
  SQL (0.2ms) UPDATE "refinery_pages" SET "depth" = 0 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 3 ORDER BY "refinery_pages"."lft")
226
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 3]]
262
+ Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 3]]
227
263
  Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 3 ORDER BY position ASC
228
-  (2.4ms) commit transaction
264
+  (41.9ms) commit transaction
229
265
   (0.1ms) begin transaction
230
266
  Refinery::PagePart::Translation Load (0.3ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
231
- SQL (0.5ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<p>This is just a standard text page example. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin metus dolor, hendrerit sit amet, aliquet nec, posuere sed, purus. Nullam et velit iaculis odio sagittis placerat. Duis metus tellus, pellentesque ut, luctus id, egestas a, lorem. Praesent vitae mauris. Aliquam sed nulla. Sed id nunc vitae leo suscipit viverra. Proin at leo ut lacus consequat rhoncus. In hac habitasse platea dictumst. Nunc quis tortor sed libero hendrerit dapibus.\n\nInteger interdum purus id erat. Duis nec velit vitae dolor mattis euismod. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse pellentesque dignissim lacus. Nulla semper euismod arcu. Suspendisse egestas, erat a consectetur dapibus, felis orci cursus eros, et sollicitudin purus urna et metus. Integer eget est sed nunc euismod vestibulum. Integer nulla dui, tristique in, euismod et, interdum imperdiet, enim. Mauris at lectus. Sed egestas tortor nec mi.</p>"], ["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["position", 0], ["refinery_page_id", 3], ["title", "Body"], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
232
- SQL (0.2ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 4], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
267
+ SQL (0.5ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<p>This is just a standard text page example. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin metus dolor, hendrerit sit amet, aliquet nec, posuere sed, purus. Nullam et velit iaculis odio sagittis placerat. Duis metus tellus, pellentesque ut, luctus id, egestas a, lorem. Praesent vitae mauris. Aliquam sed nulla. Sed id nunc vitae leo suscipit viverra. Proin at leo ut lacus consequat rhoncus. In hac habitasse platea dictumst. Nunc quis tortor sed libero hendrerit dapibus.\n\nInteger interdum purus id erat. Duis nec velit vitae dolor mattis euismod. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse pellentesque dignissim lacus. Nulla semper euismod arcu. Suspendisse egestas, erat a consectetur dapibus, felis orci cursus eros, et sollicitudin purus urna et metus. Integer eget est sed nunc euismod vestibulum. Integer nulla dui, tristique in, euismod et, interdum imperdiet, enim. Mauris at lectus. Sed egestas tortor nec mi.</p>"], ["created_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00], ["position", 0], ["refinery_page_id", 3], ["title", "Body"], ["updated_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00]]
268
+ SQL (0.2ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 4], ["updated_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00]]
233
269
  Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 4 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
234
-  (0.4ms) UPDATE "refinery_page_part_translations" SET "body" = '<p>This is just a standard text page example. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin metus dolor, hendrerit sit amet, aliquet nec, posuere sed, purus. Nullam et velit iaculis odio sagittis placerat. Duis metus tellus, pellentesque ut, luctus id, egestas a, lorem. Praesent vitae mauris. Aliquam sed nulla. Sed id nunc vitae leo suscipit viverra. Proin at leo ut lacus consequat rhoncus. In hac habitasse platea dictumst. Nunc quis tortor sed libero hendrerit dapibus.
270
+  (0.3ms) UPDATE "refinery_page_part_translations" SET "body" = '<p>This is just a standard text page example. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Proin metus dolor, hendrerit sit amet, aliquet nec, posuere sed, purus. Nullam et velit iaculis odio sagittis placerat. Duis metus tellus, pellentesque ut, luctus id, egestas a, lorem. Praesent vitae mauris. Aliquam sed nulla. Sed id nunc vitae leo suscipit viverra. Proin at leo ut lacus consequat rhoncus. In hac habitasse platea dictumst. Nunc quis tortor sed libero hendrerit dapibus.
235
271
 
236
- Integer interdum purus id erat. Duis nec velit vitae dolor mattis euismod. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse pellentesque dignissim lacus. Nulla semper euismod arcu. Suspendisse egestas, erat a consectetur dapibus, felis orci cursus eros, et sollicitudin purus urna et metus. Integer eget est sed nunc euismod vestibulum. Integer nulla dui, tristique in, euismod et, interdum imperdiet, enim. Mauris at lectus. Sed egestas tortor nec mi.</p>', "updated_at" = '2013-02-04 14:44:01.235237' WHERE "refinery_page_part_translations"."id" = 4
237
- Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 4]]
238
-  (2.2ms) commit transaction
272
+ Integer interdum purus id erat. Duis nec velit vitae dolor mattis euismod. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Suspendisse pellentesque dignissim lacus. Nulla semper euismod arcu. Suspendisse egestas, erat a consectetur dapibus, felis orci cursus eros, et sollicitudin purus urna et metus. Integer eget est sed nunc euismod vestibulum. Integer nulla dui, tristique in, euismod et, interdum imperdiet, enim. Mauris at lectus. Sed egestas tortor nec mi.</p>', "updated_at" = '2013-03-26 23:17:51.268940' WHERE "refinery_page_part_translations"."id" = 4
273
+ Refinery::PagePart::Translation Load (0.0ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 4]]
274
+  (68.3ms) commit transaction
239
275
   (0.1ms) begin transaction
240
276
  Refinery::PagePart::Translation Load (0.2ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IS NULL AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
241
- SQL (0.4ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus fringilla nisi a elit. Duis ultricies orci ut arcu. Ut ac nibh. Duis blandit rhoncus magna. Pellentesque semper risus ut magna. Etiam pulvinar tellus eget diam. Morbi blandit. Donec pulvinar mauris at ligula. Sed pellentesque, ipsum id congue molestie, lectus risus egestas pede, ac viverra diam lacus ac urna. Aenean elit.</p>"], ["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["position", 1], ["refinery_page_id", 3], ["title", "Side Body"], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
242
- SQL (0.2ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 5], ["updated_at", Mon, 04 Feb 2013 14:44:01 UTC +00:00]]
277
+ SQL (0.5ms) INSERT INTO "refinery_page_parts" ("body", "created_at", "position", "refinery_page_id", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus fringilla nisi a elit. Duis ultricies orci ut arcu. Ut ac nibh. Duis blandit rhoncus magna. Pellentesque semper risus ut magna. Etiam pulvinar tellus eget diam. Morbi blandit. Donec pulvinar mauris at ligula. Sed pellentesque, ipsum id congue molestie, lectus risus egestas pede, ac viverra diam lacus ac urna. Aenean elit.</p>"], ["created_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00], ["position", 1], ["refinery_page_id", 3], ["title", "Side Body"], ["updated_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00]]
278
+ SQL (0.2ms) INSERT INTO "refinery_page_part_translations" ("body", "created_at", "locale", "refinery_page_part_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["body", nil], ["created_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00], ["locale", "en"], ["refinery_page_part_id", 5], ["updated_at", Tue, 26 Mar 2013 23:17:51 UTC +00:00]]
243
279
  Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" = 5 AND "refinery_page_part_translations"."locale" = 'en' LIMIT 1
244
-  (0.3ms) UPDATE "refinery_page_part_translations" SET "body" = '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus fringilla nisi a elit. Duis ultricies orci ut arcu. Ut ac nibh. Duis blandit rhoncus magna. Pellentesque semper risus ut magna. Etiam pulvinar tellus eget diam. Morbi blandit. Donec pulvinar mauris at ligula. Sed pellentesque, ipsum id congue molestie, lectus risus egestas pede, ac viverra diam lacus ac urna. Aenean elit.</p>', "updated_at" = '2013-02-04 14:44:01.248192' WHERE "refinery_page_part_translations"."id" = 5
245
- Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 5]]
246
-  (2.3ms) commit transaction
247
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page_id" = "refinery_pages"."id" WHERE "refinery_page_translations"."locale" = 'en' AND "refinery_page_translations"."title" = 'Home'
280
+  (0.3ms) UPDATE "refinery_page_part_translations" SET "body" = '<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus fringilla nisi a elit. Duis ultricies orci ut arcu. Ut ac nibh. Duis blandit rhoncus magna. Pellentesque semper risus ut magna. Etiam pulvinar tellus eget diam. Morbi blandit. Donec pulvinar mauris at ligula. Sed pellentesque, ipsum id congue molestie, lectus risus egestas pede, ac viverra diam lacus ac urna. Aenean elit.</p>', "updated_at" = '2013-03-26 23:17:51.348158' WHERE "refinery_page_part_translations"."id" = 5
281
+ Refinery::PagePart::Translation Load (0.0ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 5]]
282
+  (79.7ms) commit transaction
283
+ Refinery::Page Load (0.3ms) SELECT "refinery_pages".* FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page_id" = "refinery_pages"."id" WHERE "refinery_page_translations"."locale" = 'en' AND "refinery_page_translations"."title" = 'Home'
248
284
   (0.0ms) begin transaction
249
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1
285
+ Refinery::Page::Translation Load (0.2ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1
250
286
  SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
251
287
  Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
252
288
  Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1
253
289
  SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
254
290
  Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
255
- Refinery::PagePart::Translation Load (0.2ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (1, 2)
256
- Refinery::PagePart Load (0.2ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
257
- Refinery::PagePart::Translation Load (0.2ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (1, 2)
258
-  (0.3ms) UPDATE "refinery_pages" SET "slug" = 'home', "updated_at" = '2013-02-04 14:44:01.354880' WHERE "refinery_pages"."id" = 1
291
+ Refinery::PagePart::Translation Load (0.3ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (1, 2)
292
+ Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
293
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (1, 2)
294
+  (0.2ms) UPDATE "refinery_pages" SET "slug" = 'home', "updated_at" = '2013-03-26 23:17:51.533805' WHERE "refinery_pages"."id" = 1
259
295
  Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
260
- SeoMetum Load (0.2ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
261
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 1]]
262
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
263
- SQL (0.4ms) UPDATE "refinery_pages" SET "depth" = 0 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 1 ORDER BY "refinery_pages"."lft")
264
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
265
- Refinery::PagePart Load (0.2ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
266
- Refinery::PagePart::Translation Load (0.2ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (1, 2)
267
- Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 1]]
268
- Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 2]]
269
-  (2.2ms) commit transaction
270
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page_id" = "refinery_pages"."id" WHERE "refinery_page_translations"."locale" = 'en' AND "refinery_page_translations"."title" = 'Page not found'
271
-  (0.0ms) begin transaction
272
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 2
296
+ SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 1 LIMIT 1
297
+ Refinery::Page::Translation Load (0.0ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 1]]
298
+ Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
299
+ SQL (0.3ms) UPDATE "refinery_pages" SET "depth" = 0 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 1 ORDER BY "refinery_pages"."lft")
300
+ Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
301
+ Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 1 ORDER BY position ASC
302
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (1, 2)
303
+ Refinery::PagePart::Translation Load (0.0ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 1]]
304
+ Refinery::PagePart::Translation Load (0.0ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 2]]
305
+  (52.7ms) commit transaction
306
+ Refinery::Page Load (0.3ms) SELECT "refinery_pages".* FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page_id" = "refinery_pages"."id" WHERE "refinery_page_translations"."locale" = 'en' AND "refinery_page_translations"."title" = 'Page not found'
307
+  (0.1ms) begin transaction
308
+ Refinery::Page::Translation Load (0.2ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 2
273
309
  SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 2 LIMIT 1
274
310
  Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
275
311
  Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 2
276
312
  SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 2 LIMIT 1
277
313
  Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 2 ORDER BY position ASC
278
314
  Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (3)
279
- Refinery::PagePart Load (0.2ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 2 ORDER BY position ASC
280
- Refinery::PagePart::Translation Load (0.2ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (3)
281
-  (0.2ms) UPDATE "refinery_pages" SET "slug" = 'page-not-found', "updated_at" = '2013-02-04 14:44:01.419292' WHERE "refinery_pages"."id" = 2
315
+ Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 2 ORDER BY position ASC
316
+ Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (3)
317
+  (0.3ms) UPDATE "refinery_pages" SET "slug" = 'page-not-found', "updated_at" = '2013-03-26 23:17:51.709677' WHERE "refinery_pages"."id" = 2
282
318
  Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 2 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
283
319
  SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 2 LIMIT 1
284
320
  Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 2]]
285
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
321
+ Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
286
322
   (0.1ms) SELECT COUNT(*) FROM "refinery_pages" WHERE ("refinery_pages"."lft" <= 2 AND "refinery_pages"."rgt" >= 3) AND ("refinery_pages".id != 2)
287
323
  SQL (0.3ms) UPDATE "refinery_pages" SET "depth" = 1 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 2 ORDER BY "refinery_pages"."lft")
288
324
   (0.1ms) SELECT COUNT(*) FROM "refinery_pages" WHERE ("refinery_pages"."lft" <= 2 AND "refinery_pages"."rgt" >= 3) AND ("refinery_pages".id != 2)
289
325
  Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
290
326
  Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 2 ORDER BY position ASC
291
327
  Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (3)
292
- Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 3]]
293
-  (2.3ms) commit transaction
294
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page_id" = "refinery_pages"."id" WHERE "refinery_page_translations"."locale" = 'en' AND "refinery_page_translations"."title" = 'About'
295
-  (0.0ms) begin transaction
296
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 3
328
+ Refinery::PagePart::Translation Load (0.0ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 3]]
329
+  (333.6ms) commit transaction
330
+ Refinery::Page Load (0.3ms) SELECT "refinery_pages".* FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page_id" = "refinery_pages"."id" WHERE "refinery_page_translations"."locale" = 'en' AND "refinery_page_translations"."title" = 'About'
331
+  (0.1ms) begin transaction
332
+ Refinery::Page::Translation Load (0.2ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 3
297
333
  SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 3 LIMIT 1
298
334
  Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 3]]
299
335
  Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 3
@@ -302,1138 +338,73 @@ Integer interdum purus id erat. Duis nec velit vitae dolor mattis euismod. Class
302
338
  Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (4, 5)
303
339
  Refinery::PagePart Load (0.2ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 3 ORDER BY position ASC
304
340
  Refinery::PagePart::Translation Load (0.2ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (4, 5)
305
-  (0.2ms) UPDATE "refinery_pages" SET "slug" = 'about', "updated_at" = '2013-02-04 14:44:01.610937' WHERE "refinery_pages"."id" = 3
341
+  (0.2ms) UPDATE "refinery_pages" SET "slug" = 'about', "updated_at" = '2013-03-26 23:17:52.323296' WHERE "refinery_pages"."id" = 3
306
342
  Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 3 AND "refinery_page_translations"."locale" = 'en' LIMIT 1
307
343
  SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 3 LIMIT 1
308
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 3]]
309
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 3]]
310
- SQL (0.4ms) UPDATE "refinery_pages" SET "depth" = 0 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 3 ORDER BY "refinery_pages"."lft")
344
+ Refinery::Page::Translation Load (0.0ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."id" = ? LIMIT 1 [["id", 3]]
345
+ Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 3]]
346
+ SQL (0.3ms) UPDATE "refinery_pages" SET "depth" = 0 WHERE "refinery_pages"."id" IN (SELECT "refinery_pages"."id" FROM "refinery_pages" WHERE "refinery_pages"."id" = 3 ORDER BY "refinery_pages"."lft")
311
347
  Refinery::Page Load (0.0ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 3]]
312
348
  Refinery::PagePart Load (0.1ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 3 ORDER BY position ASC
313
349
  Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (4, 5)
314
350
  Refinery::PagePart::Translation Load (0.1ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 4]]
315
351
  Refinery::PagePart::Translation Load (0.0ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."id" = ? LIMIT 1 [["id", 5]]
316
-  (2.0ms) commit transaction
352
+  (124.5ms) commit transaction
317
353
  Connecting to database specified by database.yml
318
-  (3.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
319
-  (0.2ms) select sqlite_version(*)
320
-  (1.3ms) CREATE TABLE "refinery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image_mime_type" varchar(255), "image_name" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer, "image_uid" varchar(255), "image_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
321
-  (1.2ms) CREATE TABLE "refinery_menus" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "permatitle" varchar(255))
322
-  (1.3ms) CREATE UNIQUE INDEX "index_refinery_page_menus_on_permatitle" ON "refinery_menus" ("permatitle")
323
-  (1.4ms) CREATE TABLE "refinery_menus_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "refinery_menu_id" integer, "menu_match" varchar(255), "refinery_resource_id" integer, "refinery_resource_type" varchar(255), "title_attribute" varchar(255), "custom_url" varchar(255), "label" varchar(255), "id_attribute" varchar(255), "class_attribute" varchar(255))
324
-  (1.2ms) CREATE INDEX "index_refinery_page_positions_on_depth" ON "refinery_menus_links" ("depth")
325
-  (1.4ms) CREATE INDEX "index_refinery_page_positions_on_id" ON "refinery_menus_links" ("id")
326
-  (1.4ms) CREATE INDEX "index_refinery_page_positions_on_lft" ON "refinery_menus_links" ("lft")
327
-  (1.8ms) CREATE INDEX "index_refinery_page_positions_on_parent_id" ON "refinery_menus_links" ("parent_id")
328
-  (1.3ms) CREATE INDEX "index_refinery_page_positions_on_rgt" ON "refinery_menus_links" ("rgt")
329
-  (1.4ms) CREATE TABLE "refinery_page_part_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_part_id" integer, "locale" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
330
-  (1.3ms) CREATE INDEX "index_refinery_page_part_translations_on_locale" ON "refinery_page_part_translations" ("locale")
331
-  (1.5ms) CREATE INDEX "index_f9716c4215584edbca2557e32706a5ae084a15ef" ON "refinery_page_part_translations" ("refinery_page_part_id")
332
-  (1.4ms) CREATE TABLE "refinery_page_parts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "title" varchar(255), "body" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
333
-  (1.5ms) CREATE INDEX "index_refinery_page_parts_on_id" ON "refinery_page_parts" ("id")
334
-  (2.0ms) CREATE INDEX "index_refinery_page_parts_on_refinery_page_id" ON "refinery_page_parts" ("refinery_page_id")
335
-  (1.5ms) CREATE TABLE "refinery_page_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "locale" varchar(255), "title" varchar(255), "custom_slug" varchar(255), "menu_title" varchar(255), "slug" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
336
-  (1.9ms) CREATE INDEX "index_refinery_page_translations_on_locale" ON "refinery_page_translations" ("locale")
337
-  (1.5ms) CREATE INDEX "index_d079468f88bff1c6ea81573a0d019ba8bf5c2902" ON "refinery_page_translations" ("refinery_page_id")
338
-  (1.6ms) CREATE TABLE "refinery_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "path" varchar(255), "slug" varchar(255), "show_in_menu" boolean DEFAULT 't', "link_url" varchar(255), "menu_match" varchar(255), "deletable" boolean DEFAULT 't', "draft" boolean DEFAULT 'f', "skip_to_first_child" boolean DEFAULT 'f', "lft" integer, "rgt" integer, "depth" integer, "view_template" varchar(255), "layout_template" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
339
-  (1.7ms) CREATE INDEX "index_refinery_pages_on_depth" ON "refinery_pages" ("depth")
340
-  (1.5ms) CREATE INDEX "index_refinery_pages_on_id" ON "refinery_pages" ("id")
341
-  (1.6ms) CREATE INDEX "index_refinery_pages_on_lft" ON "refinery_pages" ("lft")
342
-  (1.7ms) CREATE INDEX "index_refinery_pages_on_parent_id" ON "refinery_pages" ("parent_id")
343
-  (1.7ms) CREATE INDEX "index_refinery_pages_on_rgt" ON "refinery_pages" ("rgt")
344
-  (1.5ms) CREATE TABLE "refinery_resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_mime_type" varchar(255), "file_name" varchar(255), "file_size" integer, "file_uid" varchar(255), "file_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
345
-  (1.6ms) CREATE TABLE "refinery_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
346
-  (2.3ms) CREATE TABLE "refinery_roles_users" ("user_id" integer, "role_id" integer) 
347
-  (1.7ms) CREATE INDEX "index_refinery_roles_users_on_role_id_and_user_id" ON "refinery_roles_users" ("role_id", "user_id")
348
-  (6.6ms) CREATE INDEX "index_refinery_roles_users_on_user_id_and_role_id" ON "refinery_roles_users" ("user_id", "role_id")
349
-  (9.8ms) CREATE TABLE "refinery_user_plugins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "name" varchar(255), "position" integer)
350
-  (10.5ms) CREATE INDEX "index_refinery_user_plugins_on_name" ON "refinery_user_plugins" ("name")
351
-  (9.8ms) CREATE UNIQUE INDEX "index_refinery_user_plugins_on_user_id_and_name" ON "refinery_user_plugins" ("user_id", "name")
352
-  (2.0ms) CREATE TABLE "refinery_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "encrypted_password" varchar(255) NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "sign_in_count" integer, "remember_created_at" datetime, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
353
-  (7.6ms) CREATE INDEX "index_refinery_users_on_id" ON "refinery_users" ("id")
354
+  (25.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
355
+  (0.3ms) select sqlite_version(*)
356
+  (3.7ms) CREATE TABLE "refinery_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "image_mime_type" varchar(255), "image_name" varchar(255), "image_size" integer, "image_width" integer, "image_height" integer, "image_uid" varchar(255), "image_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
357
+  (2.9ms) CREATE TABLE "refinery_menus" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "permatitle" varchar(255))
358
+  (2.6ms) CREATE UNIQUE INDEX "index_refinery_page_menus_on_permatitle" ON "refinery_menus" ("permatitle")
359
+  (2.7ms) CREATE TABLE "refinery_menus_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "refinery_menu_id" integer, "menu_match" varchar(255), "resource_id" integer, "resource_type" varchar(255), "title_attribute" varchar(255), "custom_url" varchar(255), "label" varchar(255), "id_attribute" varchar(255), "class_attribute" varchar(255))
360
+  (2.1ms) CREATE INDEX "index_refinery_page_positions_on_depth" ON "refinery_menus_links" ("depth")
361
+  (2.4ms) CREATE INDEX "index_refinery_page_positions_on_id" ON "refinery_menus_links" ("id")
362
+  (2.5ms) CREATE INDEX "index_refinery_page_positions_on_lft" ON "refinery_menus_links" ("lft")
363
+  (2.5ms) CREATE INDEX "index_refinery_page_positions_on_parent_id" ON "refinery_menus_links" ("parent_id")
364
+  (14.5ms) CREATE INDEX "index_refinery_page_positions_on_rgt" ON "refinery_menus_links" ("rgt")
365
+  (2.2ms) CREATE TABLE "refinery_page_part_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_part_id" integer, "locale" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
366
+  (2.0ms) CREATE INDEX "index_refinery_page_part_translations_on_locale" ON "refinery_page_part_translations" ("locale")
367
+  (1.7ms) CREATE INDEX "index_f9716c4215584edbca2557e32706a5ae084a15ef" ON "refinery_page_part_translations" ("refinery_page_part_id")
368
+  (2.1ms) CREATE TABLE "refinery_page_parts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "title" varchar(255), "body" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
369
+  (1.8ms) CREATE INDEX "index_refinery_page_parts_on_id" ON "refinery_page_parts" ("id")
370
+  (1.6ms) CREATE INDEX "index_refinery_page_parts_on_refinery_page_id" ON "refinery_page_parts" ("refinery_page_id")
371
+  (1.7ms) CREATE TABLE "refinery_page_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "refinery_page_id" integer, "locale" varchar(255), "title" varchar(255), "custom_slug" varchar(255), "menu_title" varchar(255), "slug" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
372
+  (1.8ms) CREATE INDEX "index_refinery_page_translations_on_locale" ON "refinery_page_translations" ("locale")
373
+  (1.7ms) CREATE INDEX "index_d079468f88bff1c6ea81573a0d019ba8bf5c2902" ON "refinery_page_translations" ("refinery_page_id")
374
+  (2.0ms) CREATE TABLE "refinery_pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "path" varchar(255), "slug" varchar(255), "show_in_menu" boolean DEFAULT 't', "link_url" varchar(255), "menu_match" varchar(255), "deletable" boolean DEFAULT 't', "draft" boolean DEFAULT 'f', "skip_to_first_child" boolean DEFAULT 'f', "lft" integer, "rgt" integer, "depth" integer, "view_template" varchar(255), "layout_template" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
375
+  (2.1ms) CREATE INDEX "index_refinery_pages_on_depth" ON "refinery_pages" ("depth")
376
+  (2.0ms) CREATE INDEX "index_refinery_pages_on_id" ON "refinery_pages" ("id")
377
+  (1.8ms) CREATE INDEX "index_refinery_pages_on_lft" ON "refinery_pages" ("lft")
378
+  (1.5ms) CREATE INDEX "index_refinery_pages_on_parent_id" ON "refinery_pages" ("parent_id")
379
+  (1.8ms) CREATE INDEX "index_refinery_pages_on_rgt" ON "refinery_pages" ("rgt")
380
+  (2.2ms) CREATE TABLE "refinery_resources" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "file_mime_type" varchar(255), "file_name" varchar(255), "file_size" integer, "file_uid" varchar(255), "file_ext" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
381
+  (2.1ms) CREATE TABLE "refinery_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255))
382
+  (2.1ms) CREATE TABLE "refinery_roles_users" ("user_id" integer, "role_id" integer) 
383
+  (2.0ms) CREATE INDEX "index_refinery_roles_users_on_role_id_and_user_id" ON "refinery_roles_users" ("role_id", "user_id")
384
+  (4.1ms) CREATE INDEX "index_refinery_roles_users_on_user_id_and_role_id" ON "refinery_roles_users" ("user_id", "role_id")
385
+  (2.2ms) CREATE TABLE "refinery_user_plugins" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "name" varchar(255), "position" integer)
386
+  (29.6ms) CREATE INDEX "index_refinery_user_plugins_on_name" ON "refinery_user_plugins" ("name")
387
+  (23.1ms) CREATE UNIQUE INDEX "index_refinery_user_plugins_on_user_id_and_name" ON "refinery_user_plugins" ("user_id", "name")
388
+  (57.9ms) CREATE TABLE "refinery_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255) NOT NULL, "email" varchar(255) NOT NULL, "encrypted_password" varchar(255) NOT NULL, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "sign_in_count" integer, "remember_created_at" datetime, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
389
+  (2.5ms) CREATE INDEX "index_refinery_users_on_id" ON "refinery_users" ("id")
354
390
   (2.3ms) CREATE TABLE "seo_meta" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "seo_meta_id" integer, "seo_meta_type" varchar(255), "browser_title" varchar(255), "meta_keywords" varchar(255), "meta_description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
355
-  (6.9ms) CREATE INDEX "index_seo_meta_on_id" ON "seo_meta" ("id")
356
-  (9.0ms) CREATE INDEX "index_seo_meta_on_seo_meta_id_and_seo_meta_type" ON "seo_meta" ("seo_meta_id", "seo_meta_type")
357
-  (2.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
358
-  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
359
-  (0.1ms) SELECT version FROM "schema_migrations"
360
-  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144356')
361
-  (3.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144343')
362
-  (1.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144344')
363
-  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144345')
364
-  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144346')
365
-  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144347')
366
-  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144348')
367
-  (1.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144349')
368
-  (1.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144350')
369
-  (7.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144351')
370
-  (2.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144352')
371
-  (8.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144353')
372
-  (2.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144354')
373
-  (69.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130204144355')
374
- Connecting to database specified by database.yml
375
- Connecting to database specified by database.yml
376
- Connecting to database specified by database.yml
377
-
378
-
379
- Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-02-04 15:45:41 +0100
380
- Processing by Refinery::Menus::Admin::MenusController#index as HTML
381
- Parameters: {"locale"=>:en}
382
- Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
383
-  (0.1ms) begin transaction
384
- Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
385
- SQL (4.3ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Refinery"]]
386
-  (2.0ms) commit transaction
387
- Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
388
- Redirected to http://localhost:3000/refinery/users/register
389
- Filter chain halted as :refinery_user_required? rendered or redirected
390
- Completed 302 Found in 163ms (ActiveRecord: 7.5ms)
391
-
392
-
393
- Started GET "/refinery/users/register" for 127.0.0.1 at 2013-02-04 15:45:41 +0100
394
- Processing by Refinery::UsersController#new as HTML
395
- Parameters: {"locale"=>:en}
396
- Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
397
- Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
398
- CACHE (0.0ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
399
- CACHE (0.0ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
400
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.9ms)
401
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (2.0ms)
402
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-authentication-2.0.9/app/views/refinery/users/new.html.erb within refinery/layouts/login (82.6ms)
403
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.7ms)
404
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (2.8ms)
405
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (8.4ms)
406
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.7ms)
407
- Completed 200 OK in 153ms (Views: 127.2ms | ActiveRecord: 0.3ms)
408
-
409
-
410
- Started GET "/assets/admin.js" for 127.0.0.1 at 2013-02-04 15:45:42 +0100
411
- Compiled admin.js (0ms) (pid 21342)
412
- Served asset /admin.js - 304 Not Modified (14ms)
413
-
414
-
415
- Started GET "/assets/refinery/refinery.css" for 127.0.0.1 at 2013-02-04 15:45:42 +0100
416
- Compiled refinery/layout.css (717ms) (pid 21342)
417
- Compiled refinery/site_bar.css (30ms) (pid 21342)
418
- Compiled refinery/ui.css (34ms) (pid 21342)
419
- Compiled refinery/submenu.css (12ms) (pid 21342)
420
- Compiled refinery/tooltips.css (23ms) (pid 21342)
421
- Compiled wymeditor/skins/refinery/skin.css (171ms) (pid 21342)
422
- Compiled refinery/refinery.css (1103ms) (pid 21342)
423
- Served asset /refinery/refinery.css - 200 OK (1164ms)
424
-
425
-
426
- Started GET "/assets/refinery/page_bg.png" for 127.0.0.1 at 2013-02-04 15:45:44 +0100
427
- Served asset /refinery/page_bg.png - 304 Not Modified (9ms)
428
-
429
-
430
- Started GET "/assets/refinery/text_field_background.png" for 127.0.0.1 at 2013-02-04 15:45:44 +0100
431
- Served asset /refinery/text_field_background.png - 304 Not Modified (8ms)
432
-
433
-
434
- Started GET "/assets/refinery/ajax-loader.gif" for 127.0.0.1 at 2013-02-04 15:45:48 +0100
435
- Served asset /refinery/ajax-loader.gif - 200 OK (10ms)
436
-
437
-
438
- Started POST "/refinery/users/register" for 127.0.0.1 at 2013-02-04 15:45:48 +0100
439
- Processing by Refinery::UsersController#create as HTML
440
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"ihxHCHWM5sv6XycM3Y+7pAdH0yCfYPjrr7WS03giNBk=", "user"=>{"username"=>"support", "email"=>"pylon@pylonweb.dk", "password"=>"[FILTERED]", "password_confirmation"=>"[FILTERED]"}, "locale"=>:en}
441
- Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
442
- Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
443
- CACHE (0.0ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
444
- CACHE (0.0ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
445
- Refinery::User Exists (0.2ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'pylon@pylonweb.dk' LIMIT 1
446
- Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'support' LIMIT 1
447
-  (0.0ms) begin transaction
448
- CACHE (0.0ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."email" = 'pylon@pylonweb.dk' LIMIT 1
449
- CACHE (0.0ms) SELECT 1 AS one FROM "refinery_users" WHERE "refinery_users"."username" = 'support' LIMIT 1
450
- Binary data inserted for `string` type on column `encrypted_password`
451
- SQL (2.7ms) INSERT INTO "refinery_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at", "username") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Mon, 04 Feb 2013 14:45:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "pylon@pylonweb.dk"], ["encrypted_password", "$2a$10$7OJsF75opvnS9eCPb4DyiORjzMEUfJ9A5jaVQkJ8taVPZGyRWcNDO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", nil], ["updated_at", Mon, 04 Feb 2013 14:45:49 UTC +00:00], ["username", "support"]]
452
-  (22.8ms) commit transaction
453
- Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1
454
- Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
455
-  (0.0ms) begin transaction
456
-  (0.2ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 1)
457
-  (1.8ms) commit transaction
458
- Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
459
-  (0.1ms) SELECT COUNT(*) FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
460
- Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Superuser' LIMIT 1
461
-  (0.0ms) begin transaction
462
- Refinery::Role Exists (0.1ms) SELECT 1 AS one FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Superuser' LIMIT 1
463
- SQL (0.2ms) INSERT INTO "refinery_roles" ("title") VALUES (?) [["title", "Superuser"]]
464
-  (1.5ms) commit transaction
465
-  (0.0ms) begin transaction
466
-  (0.2ms) INSERT INTO "refinery_roles_users" ("user_id", "role_id") VALUES (1, 2)
467
-  (1.3ms) commit transaction
468
- SQL (0.1ms) DELETE FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1
469
-  (0.0ms) begin transaction
470
- SQL (0.5ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_menus"], ["position", 0], ["user_id", 1]]
471
-  (1.7ms) commit transaction
472
-  (0.0ms) begin transaction
473
- SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_users"], ["position", 1], ["user_id", 1]]
474
-  (1.5ms) commit transaction
475
-  (0.0ms) begin transaction
476
- SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_dashboard"], ["position", 2], ["user_id", 1]]
477
-  (1.5ms) commit transaction
478
-  (0.0ms) begin transaction
479
- SQL (0.3ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_images"], ["position", 3], ["user_id", 1]]
480
-  (1.8ms) commit transaction
481
-  (0.0ms) begin transaction
482
- SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_files"], ["position", 4], ["user_id", 1]]
483
-  (1.8ms) commit transaction
484
-  (0.0ms) begin transaction
485
- SQL (0.2ms) INSERT INTO "refinery_user_plugins" ("name", "position", "user_id") VALUES (?, ?, ?) [["name", "refinery_pages"], ["position", 5], ["user_id", 1]]
486
-  (2.5ms) commit transaction
487
- Refinery::User Exists (0.1ms) SELECT 1 AS one FROM "refinery_users" WHERE ("refinery_users"."username" = 'support' AND "refinery_users"."id" != 1) LIMIT 1
488
-  (0.0ms) begin transaction
489
-  (0.3ms) UPDATE "refinery_users" SET "last_sign_in_at" = '2013-02-04 14:45:49.204055', "current_sign_in_at" = '2013-02-04 14:45:49.204055', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-02-04 14:45:49.205090' WHERE "refinery_users"."id" = 1
490
-  (1.8ms) commit transaction
491
- Redirected to http://localhost:3000/refinery
492
- Completed 302 Found in 379ms (ActiveRecord: 47.4ms)
493
-
494
-
495
- Started GET "/refinery" for 127.0.0.1 at 2013-02-04 15:45:49 +0100
496
- Processing by Refinery::Admin::DashboardController#index as HTML
497
- Parameters: {"locale"=>:en}
498
- Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
499
- Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
500
- Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1
501
- Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC
502
- Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1
503
- Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" ORDER BY updated_at DESC LIMIT 7
504
- Refinery::Image Load (0.1ms) SELECT "refinery_images".* FROM "refinery_images" ORDER BY updated_at DESC LIMIT 7
505
- Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" ORDER BY updated_at DESC LIMIT 7
506
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" ORDER BY updated_at DESC LIMIT 7
507
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 3
508
- Refinery::Page::Translation Load (0.2ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 2
509
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = 1 LIMIT 1
510
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1
511
- CACHE (0.0ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1
512
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_recent_activity.html.erb (181.2ms)
513
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_records.html.erb (184.0ms)
514
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_additional_dashboard_menu_items.html.erb (0.4ms)
515
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/_actions.html.erb (16.9ms)
516
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-dashboard-2.0.9/app/views/refinery/admin/dashboard/index.html.erb within layouts/refinery/admin (206.4ms)
517
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms)
518
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.9ms)
519
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (6.7ms)
520
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (2.7ms)
521
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (3.8ms)
522
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (1.0ms)
523
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.2ms)
524
- Completed 200 OK in 330ms (Views: 248.8ms | ActiveRecord: 2.8ms)
525
-
526
-
527
- Started GET "/assets/admin.js" for 127.0.0.1 at 2013-02-04 15:45:49 +0100
528
- Served asset /admin.js - 304 Not Modified (0ms)
529
-
530
-
531
- Started GET "/assets/refinery/orange_button.png" for 127.0.0.1 at 2013-02-04 15:45:51 +0100
532
- Served asset /refinery/orange_button.png - 304 Not Modified (77ms)
533
-
534
-
535
- Started GET "/assets/refinery/logo-site-bar.png" for 127.0.0.1 at 2013-02-04 15:45:51 +0100
536
- Served asset /refinery/logo-site-bar.png - 304 Not Modified (71ms)
537
-
538
-
539
- Started GET "/assets/refinery/icons/arrow_switch.png" for 127.0.0.1 at 2013-02-04 15:45:51 +0100
540
- Served asset /refinery/icons/arrow_switch.png - 304 Not Modified (12ms)
541
-
542
-
543
- Started GET "/assets/refinery/nav_inactive_background.png" for 127.0.0.1 at 2013-02-04 15:45:52 +0100
544
- Served asset /refinery/nav_inactive_background.png - 304 Not Modified (8ms)
545
-
546
-
547
- Started GET "/assets/refinery/icons/add.png" for 127.0.0.1 at 2013-02-04 15:45:52 +0100
548
- Served asset /refinery/icons/add.png - 304 Not Modified (8ms)
549
-
550
-
551
- Started GET "/assets/refinery/icons/tick.png" for 127.0.0.1 at 2013-02-04 15:45:52 +0100
552
- Served asset /refinery/icons/tick.png - 304 Not Modified (14ms)
553
-
554
-
555
- Started GET "/assets/refinery/icons/application_edit.png" for 127.0.0.1 at 2013-02-04 15:45:52 +0100
556
- Served asset /refinery/icons/application_edit.png - 304 Not Modified (56ms)
557
-
558
-
559
- Started GET "/assets/refinery/icons/flags/en.png" for 127.0.0.1 at 2013-02-04 15:45:52 +0100
560
- Served asset /refinery/icons/flags/en.png - 304 Not Modified (9ms)
561
-
562
-
563
- Started GET "/assets/refinery/carousel-right.png" for 127.0.0.1 at 2013-02-04 15:45:52 +0100
564
- Served asset /refinery/carousel-right.png - 304 Not Modified (7ms)
565
-
566
-
567
- Started GET "/assets/refinery/carousel-left.png" for 127.0.0.1 at 2013-02-04 15:45:52 +0100
568
- Served asset /refinery/carousel-left.png - 304 Not Modified (7ms)
569
-
570
-
571
- Started GET "/menus/refinery/menus" for 127.0.0.1 at 2013-02-04 15:45:52 +0100
572
- Processing by Refinery::Menus::Admin::MenusController#index as HTML
573
- Parameters: {"locale"=>:en}
574
- Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
575
- Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
576
- Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1
577
- Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC
578
- Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1
579
-  (0.1ms) SELECT COUNT(*) FROM "refinery_menus" 
580
- Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" LIMIT 20 OFFSET 0
581
- Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC
582
- Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menu.html.erb (3.2ms)
583
- Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_menus.html.erb (80.5ms)
584
- Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_records.html.erb (86.0ms)
585
- Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/index.html.erb within layouts/refinery/admin (89.6ms)
586
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms)
587
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.9ms)
588
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (6.2ms)
589
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.4ms)
590
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.8ms)
591
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.4ms)
592
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms)
593
- Completed 200 OK in 136ms (Views: 128.5ms | ActiveRecord: 1.4ms)
594
-
595
-
596
- Started GET "/assets/admin.js" for 127.0.0.1 at 2013-02-04 15:45:52 +0100
597
- Served asset /admin.js - 304 Not Modified (0ms)
598
-
599
-
600
- Started GET "/assets/refinery/logo-site-bar.png" for 127.0.0.1 at 2013-02-04 15:45:53 +0100
601
- Served asset /refinery/logo-site-bar.png - 304 Not Modified (0ms)
602
-
603
-
604
- Started GET "/assets/refinery/icons/application_edit.png" for 127.0.0.1 at 2013-02-04 15:45:53 +0100
605
- Served asset /refinery/icons/application_edit.png - 304 Not Modified (0ms)
606
-
607
-
608
- Started GET "/assets/refinery/icons/arrow_switch.png" for 127.0.0.1 at 2013-02-04 15:45:53 +0100
609
- Served asset /refinery/icons/arrow_switch.png - 304 Not Modified (0ms)
610
-
611
-
612
- Started GET "/assets/refinery/icons/delete.png" for 127.0.0.1 at 2013-02-04 15:45:53 +0100
613
- Served asset /refinery/icons/delete.png - 304 Not Modified (5ms)
614
-
615
-
616
- Started GET "/assets/refinery/icons/tick.png" for 127.0.0.1 at 2013-02-04 15:45:53 +0100
617
- Served asset /refinery/icons/tick.png - 304 Not Modified (0ms)
618
-
619
-
620
- Started GET "/assets/refinery/carousel-right.png" for 127.0.0.1 at 2013-02-04 15:45:53 +0100
621
- Served asset /refinery/carousel-right.png - 304 Not Modified (0ms)
622
-
623
-
624
- Started GET "/assets/refinery/carousel-left.png" for 127.0.0.1 at 2013-02-04 15:45:53 +0100
625
- Served asset /refinery/carousel-left.png - 304 Not Modified (0ms)
626
-
627
-
628
- Started GET "/about" for 127.0.0.1 at 2013-02-04 15:46:00 +0100
629
- Processing by Refinery::PagesController#show as HTML
630
- Parameters: {"path"=>"about", "locale"=>:en}
631
- Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
632
- Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
633
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page_id" = "refinery_pages"."id" WHERE "refinery_page_translations"."locale" IN ('en') AND "refinery_page_translations"."slug" = 'about' AND "refinery_pages"."parent_id" IS NULL LIMIT 1
634
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 3
635
- Refinery::Menus::Menu Load (0.2ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."permatitle" = 'sidebar_menu' LIMIT 1
636
- Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" = 1 ORDER BY lft ASC
637
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_menu.html.erb (0.8ms)
638
- Refinery::PagePart Load (0.2ms) SELECT "refinery_page_parts".* FROM "refinery_page_parts" WHERE "refinery_page_parts"."refinery_page_id" = 3 ORDER BY position ASC
639
- Refinery::PagePart::Translation Load (0.2ms) SELECT "refinery_page_part_translations".* FROM "refinery_page_part_translations" WHERE "refinery_page_part_translations"."refinery_page_part_id" IN (4, 5)
640
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_content_page.html.erb (44.3ms)
641
- Rendered refinery/pages/show.html.erb within layouts/application (69.2ms)
642
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms)
643
- Refinery::User Load (0.2ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1
644
- Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1
645
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (5.8ms)
646
- SeoMetum Load (0.1ms) SELECT "seo_meta".* FROM "seo_meta" WHERE "seo_meta"."seo_meta_type" = 'Refinery::Page::Translation' AND "seo_meta"."seo_meta_id" = 3 LIMIT 1
647
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_google_analytics.html.erb (0.6ms)
648
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_head.html.erb (18.9ms)
649
- SQL (0.3ms) SELECT "refinery_pages"."id" AS t0_r0, "refinery_pages"."parent_id" AS t0_r1, "refinery_pages"."path" AS t0_r2, "refinery_pages"."slug" AS t0_r3, "refinery_pages"."show_in_menu" AS t0_r4, "refinery_pages"."link_url" AS t0_r5, "refinery_pages"."menu_match" AS t0_r6, "refinery_pages"."deletable" AS t0_r7, "refinery_pages"."draft" AS t0_r8, "refinery_pages"."skip_to_first_child" AS t0_r9, "refinery_pages"."lft" AS t0_r10, "refinery_pages"."rgt" AS t0_r11, "refinery_pages"."depth" AS t0_r12, "refinery_pages"."view_template" AS t0_r13, "refinery_pages"."layout_template" AS t0_r14, "refinery_pages"."created_at" AS t0_r15, "refinery_pages"."updated_at" AS t0_r16, "refinery_page_translations"."id" AS t1_r0, "refinery_page_translations"."refinery_page_id" AS t1_r1, "refinery_page_translations"."locale" AS t1_r2, "refinery_page_translations"."title" AS t1_r3, "refinery_page_translations"."custom_slug" AS t1_r4, "refinery_page_translations"."menu_title" AS t1_r5, "refinery_page_translations"."slug" AS t1_r6, "refinery_page_translations"."created_at" AS t1_r7, "refinery_page_translations"."updated_at" AS t1_r8 FROM "refinery_pages" INNER JOIN "refinery_page_translations" ON "refinery_page_translations"."refinery_page_id" = "refinery_pages"."id" WHERE "refinery_pages"."draft" = 'f' AND "refinery_pages"."show_in_menu" = 't' AND "refinery_page_translations"."locale" = 'en' ORDER BY lft ASC
650
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_menu_branch.html.erb (2.2ms)
651
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_menu.html.erb (11.6ms)
652
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_header.html.erb (15.9ms)
653
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_footer.html.erb (0.9ms)
654
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_javascripts.html.erb (1.2ms)
655
- Completed 200 OK in 207ms (Views: 190.5ms | ActiveRecord: 2.7ms)
656
-
657
-
658
- Started GET "/assets/application.css" for 127.0.0.1 at 2013-02-04 15:46:00 +0100
659
- Compiled application.css (6ms) (pid 21342)
660
- Served asset /application.css - 304 Not Modified (26ms)
661
-
662
-
663
- Started GET "/assets/theme.css" for 127.0.0.1 at 2013-02-04 15:46:00 +0100
664
- Compiled theme.css (9ms) (pid 21342)
665
- Served asset /theme.css - 200 OK (23ms)
666
-
667
-
668
- Started GET "/assets/formatting.css" for 127.0.0.1 at 2013-02-04 15:46:00 +0100
669
- Compiled formatting.css (17ms) (pid 21342)
670
- Served asset /formatting.css - 200 OK (27ms)
671
-
672
-
673
- Started GET "/assets/refinery/site_bar.css" for 127.0.0.1 at 2013-02-04 15:46:00 +0100
674
- Served asset /refinery/site_bar.css - 200 OK (8ms)
675
-
676
-
677
- Started GET "/assets/application.js" for 127.0.0.1 at 2013-02-04 15:46:00 +0100
678
- Compiled jquery.js (56ms) (pid 21342)
679
- Compiled jquery_ujs.js (0ms) (pid 21342)
680
- Compiled application.js (76ms) (pid 21342)
681
- Served asset /application.js - 304 Not Modified (143ms)
682
-
683
-
684
- Started GET "/assets/modernizr-min.js" for 127.0.0.1 at 2013-02-04 15:46:01 +0100
685
- Compiled modernizr-min.js (0ms) (pid 21342)
686
- Served asset /modernizr-min.js - 304 Not Modified (13ms)
687
-
688
-
689
- Started GET "/assets/refinery/orange_button.png" for 127.0.0.1 at 2013-02-04 15:46:01 +0100
690
- Served asset /refinery/orange_button.png - 304 Not Modified (0ms)
691
-
692
-
693
- Started GET "/assets/refinery/logo-site-bar.png" for 127.0.0.1 at 2013-02-04 15:46:01 +0100
694
- Served asset /refinery/logo-site-bar.png - 304 Not Modified (0ms)
695
-
696
-
697
- Started GET "/menus/refinery/menus/1/edit" for 127.0.0.1 at 2013-02-04 15:46:03 +0100
698
- Processing by Refinery::Menus::Admin::MenusController#edit as HTML
699
- Parameters: {"id"=>"1", "locale"=>:en}
700
- Refinery::Menus::Menu Load (0.2ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = ? LIMIT 1 [["id", "1"]]
701
- Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."refinery_menu_id" IN (1) ORDER BY lft ASC
702
- Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
703
- Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
704
- Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1
705
- Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC
706
- Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1
707
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."draft" = 'f' ORDER BY lft ASC
708
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1
709
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 2
710
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 3
711
- Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (9.5ms)
712
- Refinery::Resource Load (0.1ms) SELECT "refinery_resources".* FROM "refinery_resources" 
713
- Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link_editor_box.html.erb (3.0ms)
714
- Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form_actions.html.erb (39.4ms)
715
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_error_messages.html.erb (0.1ms)
716
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_form_actions.html.erb (4.1ms)
717
- Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/_form.html.erb (14.0ms)
718
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_make_sortable.html.erb (2.7ms)
719
- Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menus/edit.html.erb within layouts/refinery/admin (66.8ms)
720
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_html_tag.html.erb (0.1ms)
721
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_javascripts.html.erb (1.8ms)
722
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_head.html.erb (5.4ms)
723
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_site_bar.html.erb (1.2ms)
724
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/admin/_menu.html.erb (2.6ms)
725
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_no_script.html.erb (0.3ms)
726
- Rendered /Users/johanfrolich/.rvm/gems/ruby-1.9.3-p327@refinerycms-menus/gems/refinerycms-core-2.0.9/app/views/refinery/_message.html.erb (0.1ms)
727
- Completed 200 OK in 112ms (Views: 102.7ms | ActiveRecord: 1.5ms)
728
-
729
-
730
- Started GET "/assets/refinery/select_form.css" for 127.0.0.1 at 2013-02-04 15:46:03 +0100
731
- Compiled refinery/select_form.css (46ms) (pid 21342)
732
- Served asset /refinery/select_form.css - 304 Not Modified (114ms)
733
-
734
-
735
- Started GET "/assets/refinery/serializelist.js" for 127.0.0.1 at 2013-02-04 15:46:03 +0100
736
- Compiled refinery/serializelist.js (0ms) (pid 21342)
737
- Served asset /refinery/serializelist.js - 304 Not Modified (11ms)
738
-
739
-
740
- Started GET "/assets/admin.js" for 127.0.0.1 at 2013-02-04 15:46:03 +0100
741
- Served asset /admin.js - 304 Not Modified (0ms)
742
-
743
-
744
- Started GET "/assets/refinery/backend.js" for 127.0.0.1 at 2013-02-04 15:46:03 +0100
745
- Compiled refinery/backend.js (88ms) (pid 21342)
746
- Served asset /refinery/backend.js - 304 Not Modified (175ms)
747
-
748
-
749
- Started GET "/assets/refinery/nestedsortables.js" for 127.0.0.1 at 2013-02-04 15:46:03 +0100
750
- Compiled refinery/nestedsortables.js (0ms) (pid 21342)
751
- Served asset /refinery/nestedsortables.js - 304 Not Modified (11ms)
752
-
753
-
754
- Started GET "/assets/refinery/tree.js" for 127.0.0.1 at 2013-02-04 15:46:04 +0100
755
- Compiled refinery/tree.js (0ms) (pid 21342)
756
- Served asset /refinery/tree.js - 304 Not Modified (13ms)
757
-
758
-
759
- Started GET "/assets/refinery/icons/tick.png" for 127.0.0.1 at 2013-02-04 15:46:04 +0100
760
- Served asset /refinery/icons/tick.png - 304 Not Modified (0ms)
761
-
762
-
763
- Started GET "/assets/refinery/logo-site-bar.png" for 127.0.0.1 at 2013-02-04 15:46:04 +0100
764
- Served asset /refinery/logo-site-bar.png - 304 Not Modified (0ms)
765
-
766
-
767
- Started GET "/assets/refinery/icons/arrow_switch.png" for 127.0.0.1 at 2013-02-04 15:46:04 +0100
768
- Served asset /refinery/icons/arrow_switch.png - 304 Not Modified (0ms)
769
-
770
-
771
- Started GET "/assets/refinery/carousel-right.png" for 127.0.0.1 at 2013-02-04 15:46:04 +0100
772
- Served asset /refinery/carousel-right.png - 304 Not Modified (0ms)
773
-
774
-
775
- Started GET "/assets/refinery/carousel-left.png" for 127.0.0.1 at 2013-02-04 15:46:04 +0100
776
- Served asset /refinery/carousel-left.png - 304 Not Modified (0ms)
777
-
778
-
779
- Started POST "/menus/refinery/menu_links" for 127.0.0.1 at 2013-02-04 15:46:08 +0100
780
- Processing by Refinery::Menus::Admin::MenuLinksController#create as JS
781
- Parameters: {"utf8"=>"✓", "authenticity_token"=>"ihxHCHWM5sv6XycM3Y+7pAdH0yCfYPjrr7WS03giNBk=", "menu_link"=>{"refinery_menu_id"=>"1", "refinery_resource_type"=>"refinery_page"}, "refinery_resource_ids"=>["1", "2", "3"], "commit"=>"Add Refinery Page", "locale"=>:en}
782
- Refinery::Role Load (0.2ms) SELECT "refinery_roles".* FROM "refinery_roles" WHERE "refinery_roles"."title" = 'Refinery' LIMIT 1
783
- Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" INNER JOIN "refinery_roles_users" ON "refinery_users"."id" = "refinery_roles_users"."user_id" WHERE "refinery_roles_users"."role_id" = 1
784
- Refinery::User Load (0.1ms) SELECT "refinery_users".* FROM "refinery_users" WHERE "refinery_users"."id" = 1 LIMIT 1
785
- Refinery::UserPlugin Load (0.1ms) SELECT "refinery_user_plugins".* FROM "refinery_user_plugins" WHERE "refinery_user_plugins"."user_id" = 1 ORDER BY position ASC
786
- Refinery::Role Load (0.1ms) SELECT "refinery_roles".* FROM "refinery_roles" INNER JOIN "refinery_roles_users" ON "refinery_roles"."id" = "refinery_roles_users"."role_id" WHERE "refinery_roles_users"."user_id" = 1
787
-  (0.0ms) begin transaction
788
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
789
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1
790
- Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1
791
- Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1
792
- SQL (0.4ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Home"], ["lft", 1], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", 1], ["refinery_resource_type", "refinery_page"], ["rgt", 2], ["title_attribute", nil]]
793
- Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 1]]
794
- SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 1 ORDER BY "refinery_menus_links"."lft")
795
-  (2.4ms) commit transaction
796
-  (0.1ms) begin transaction
797
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 2]]
798
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 2
799
- Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1
800
- Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1
801
- SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "Page not found"], ["lft", 3], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", 2], ["refinery_resource_type", "refinery_page"], ["rgt", 4], ["title_attribute", nil]]
802
- Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 2]]
803
- SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 2 ORDER BY "refinery_menus_links"."lft")
804
-  (1.9ms) commit transaction
805
-  (0.1ms) begin transaction
806
- Refinery::Page Load (0.1ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 3]]
807
- Refinery::Page::Translation Load (0.1ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 3
808
- Refinery::Menus::Menu Load (0.1ms) SELECT "refinery_menus".* FROM "refinery_menus" WHERE "refinery_menus"."id" = 1 LIMIT 1
809
- Refinery::Menus::MenuLink Load (0.1ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" ORDER BY "refinery_menus_links"."rgt" desc LIMIT 1
810
- SQL (0.3ms) INSERT INTO "refinery_menus_links" ("class_attribute", "custom_url", "depth", "id_attribute", "label", "lft", "menu_match", "parent_id", "refinery_menu_id", "refinery_resource_id", "refinery_resource_type", "rgt", "title_attribute") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["class_attribute", nil], ["custom_url", nil], ["depth", nil], ["id_attribute", nil], ["label", "About"], ["lft", 5], ["menu_match", nil], ["parent_id", nil], ["refinery_menu_id", 1], ["refinery_resource_id", 3], ["refinery_resource_type", "refinery_page"], ["rgt", 6], ["title_attribute", nil]]
811
- Refinery::Menus::MenuLink Load (0.0ms) SELECT "refinery_menus_links".* FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = ? LIMIT 1 [["id", 3]]
812
- SQL (0.1ms) UPDATE "refinery_menus_links" SET "depth" = 0 WHERE "refinery_menus_links"."id" IN (SELECT "refinery_menus_links"."id" FROM "refinery_menus_links" WHERE "refinery_menus_links"."id" = 3 ORDER BY "refinery_menus_links"."lft")
813
-  (2.1ms) commit transaction
814
- Refinery::Page Load (0.2ms) SELECT "refinery_pages".* FROM "refinery_pages" WHERE "refinery_pages"."id" = ? LIMIT 1 [["id", 1]]
815
- Refinery::Page::Translation Load (0.2ms) SELECT "refinery_page_translations".* FROM "refinery_page_translations" WHERE "refinery_page_translations"."refinery_page_id" = 1
816
- Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_resource_link.html.erb (5.3ms)
817
- Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb (48.8ms)
818
- Rendered /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/create.js.erb (53.9ms)
819
- Completed 500 Internal Server Error in 192ms
820
-
821
- ActionView::Template::Error (undefined method `menus_admin_menu_link_path' for #<#<Class:0x007ffd058c57f8>:0x007ffd0582d958>):
822
- 13: <%= render partial: "refinery/menus/admin/menu_links/resource_link", object: menu_link, locals: {f: f} %>
823
- 14: <% end %>
824
- 15:
825
- 16: <%= link_to t('remove', :scope => 'refinery.menus.admin.menu_links'), menus_admin_menu_link_path(menu_link),
826
- 17: method: :delete,
827
- 18: remote: true,
828
- 19: class: 'remove' %>
829
- /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb:16:in `block in ___sers_johanfrolich__ails_refinerycms_menus_app_views_refinery_menus_admin_menu_links__menu_link_html_erb___3065049461527326993_70362272491420'
830
- actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
831
- actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
832
- actionpack (3.2.11) lib/action_view/helpers/capture_helper.rb:40:in `capture'
833
- actionpack (3.2.11) lib/action_view/helpers/form_helper.rb:607:in `fields_for'
834
- /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/_menu_link.html.erb:1:in `___sers_johanfrolich__ails_refinerycms_menus_app_views_refinery_menus_admin_menu_links__menu_link_html_erb___3065049461527326993_70362272491420'
835
- actionpack (3.2.11) lib/action_view/template.rb:145:in `block in render'
836
- activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
837
- activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
838
- activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
839
- actionpack (3.2.11) lib/action_view/template.rb:143:in `render'
840
- actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
841
- actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
842
- actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
843
- activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
844
- activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
845
- activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
846
- actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
847
- actionpack (3.2.11) lib/action_view/renderer/partial_renderer.rb:237:in `render'
848
- actionpack (3.2.11) lib/action_view/renderer/renderer.rb:41:in `render_partial'
849
- actionpack (3.2.11) lib/action_view/renderer/renderer.rb:15:in `render'
850
- actionpack (3.2.11) lib/action_view/helpers/rendering_helper.rb:24:in `render'
851
- /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/create.js.erb:4:in `block in ___sers_johanfrolich__ails_refinerycms_menus_app_views_refinery_menus_admin_menu_links_create_js_erb___2904344486748774495_70362290783060'
852
- /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/create.js.erb:3:in `each'
853
- /Users/johanfrolich/Rails/refinerycms-menus/app/views/refinery/menus/admin/menu_links/create.js.erb:3:in `___sers_johanfrolich__ails_refinerycms_menus_app_views_refinery_menus_admin_menu_links_create_js_erb___2904344486748774495_70362290783060'
854
- actionpack (3.2.11) lib/action_view/template.rb:145:in `block in render'
855
- activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
856
- activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
857
- activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
858
- actionpack (3.2.11) lib/action_view/template.rb:143:in `render'
859
- actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
860
- actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
861
- activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
862
- activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
863
- activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
864
- actionpack (3.2.11) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
865
- actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
866
- actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
867
- actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
868
- actionpack (3.2.11) lib/action_view/renderer/template_renderer.rb:18:in `render'
869
- actionpack (3.2.11) lib/action_view/renderer/renderer.rb:36:in `render_template'
870
- actionpack (3.2.11) lib/action_view/renderer/renderer.rb:17:in `render'
871
- actionpack (3.2.11) lib/abstract_controller/rendering.rb:110:in `_render_template'
872
- actionpack (3.2.11) lib/action_controller/metal/streaming.rb:225:in `_render_template'
873
- actionpack (3.2.11) lib/abstract_controller/rendering.rb:103:in `render_to_body'
874
- actionpack (3.2.11) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
875
- actionpack (3.2.11) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
876
- actionpack (3.2.11) lib/abstract_controller/rendering.rb:88:in `render'
877
- actionpack (3.2.11) lib/action_controller/metal/rendering.rb:16:in `render'
878
- actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
879
- activesupport (3.2.11) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
880
- /Users/johanfrolich/.rvm/rubies/ruby-1.9.3-p327/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
881
- activesupport (3.2.11) lib/active_support/core_ext/benchmark.rb:5:in `ms'
882
- actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
883
- actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
884
- activerecord (3.2.11) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
885
- actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:39:in `render'
886
- actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
887
- actionpack (3.2.11) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
888
- actionpack (3.2.11) lib/abstract_controller/base.rb:167:in `process_action'
889
- actionpack (3.2.11) lib/action_controller/metal/rendering.rb:10:in `process_action'
890
- actionpack (3.2.11) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
891
- activesupport (3.2.11) lib/active_support/callbacks.rb:491:in `_run__2189183261198825773__process_action__1856637526189967613__callbacks'
892
- activesupport (3.2.11) lib/active_support/callbacks.rb:405:in `__run_callback'
893
- activesupport (3.2.11) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
894
- activesupport (3.2.11) lib/active_support/callbacks.rb:81:in `run_callbacks'
895
- actionpack (3.2.11) lib/abstract_controller/callbacks.rb:17:in `process_action'
896
- actionpack (3.2.11) lib/action_controller/metal/rescue.rb:29:in `process_action'
897
- actionpack (3.2.11) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
898
- activesupport (3.2.11) lib/active_support/notifications.rb:123:in `block in instrument'
899
- activesupport (3.2.11) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
900
- activesupport (3.2.11) lib/active_support/notifications.rb:123:in `instrument'
901
- actionpack (3.2.11) lib/action_co