bcms_bitly 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (372) hide show
  1. data/LICENSE.txt +7 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +42 -0
  4. data/app/assets/javascripts/bcms_bitly/application.js +15 -0
  5. data/app/assets/javascripts/bcms_bitly/short_links.js +2 -0
  6. data/app/assets/stylesheets/bcms_bitly/application.css +13 -0
  7. data/app/assets/stylesheets/bcms_bitly/short_links.css +4 -0
  8. data/app/controllers/bcms_bitly/application_controller.rb +4 -0
  9. data/app/controllers/bcms_bitly/short_links_controller.rb +4 -0
  10. data/app/helpers/bcms_bitly/application_helper.rb +4 -0
  11. data/app/helpers/bcms_bitly/short_links_helper.rb +4 -0
  12. data/app/models/bcms_bitly/short_link.rb +24 -0
  13. data/app/views/bcms_bitly/short_links/_form.html.erb +2 -0
  14. data/app/views/bcms_bitly/short_links/render.html.erb +3 -0
  15. data/app/views/layouts/bcms_bitly/application.html.erb +14 -0
  16. data/config/routes.rb +4 -0
  17. data/db/migrate/20120516162513_create_bcms_bitly_short_links.rb +11 -0
  18. data/lib/bcms_bitly.rb +5 -0
  19. data/lib/bcms_bitly/engine.rb +11 -0
  20. data/lib/bcms_bitly/page_extender.rb +16 -0
  21. data/lib/bcms_bitly/version.rb +3 -0
  22. data/lib/generators/bcms_bitly/install/USAGE +3 -0
  23. data/lib/generators/bcms_bitly/install/install_generator.rb +21 -0
  24. data/lib/tasks/bcms_bitly_tasks.rake +4 -0
  25. data/test/bcms_bitly_test.rb +7 -0
  26. data/test/dummy/README.rdoc +261 -0
  27. data/test/dummy/Rakefile +7 -0
  28. data/test/dummy/app/assets/javascripts/application.js +15 -0
  29. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  30. data/test/dummy/app/controllers/application_controller.rb +3 -0
  31. data/test/dummy/app/helpers/application_helper.rb +2 -0
  32. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  33. data/test/dummy/app/views/layouts/templates/default.html.erb +17 -0
  34. data/test/dummy/config.ru +4 -0
  35. data/test/dummy/config/application.rb +56 -0
  36. data/test/dummy/config/boot.rb +10 -0
  37. data/test/dummy/config/database.yml +25 -0
  38. data/test/dummy/config/environment.rb +5 -0
  39. data/test/dummy/config/environments/development.rb +39 -0
  40. data/test/dummy/config/environments/production.rb +72 -0
  41. data/test/dummy/config/environments/test.rb +39 -0
  42. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  43. data/test/dummy/config/initializers/browsercms.rb +1 -0
  44. data/test/dummy/config/initializers/inflections.rb +15 -0
  45. data/test/dummy/config/initializers/mime_types.rb +5 -0
  46. data/test/dummy/config/initializers/secret_token.rb +7 -0
  47. data/test/dummy/config/initializers/session_store.rb +8 -0
  48. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  49. data/test/dummy/config/locales/en.yml +5 -0
  50. data/test/dummy/config/routes.rb +6 -0
  51. data/test/dummy/db/browsercms.seeds.rb +65 -0
  52. data/test/dummy/db/development.sqlite3 +0 -0
  53. data/test/dummy/db/migrate/20120515202553_browsercms300.cms.rb +267 -0
  54. data/test/dummy/db/migrate/20120515202554_browsercms305.cms.rb +10 -0
  55. data/test/dummy/db/migrate/20120515202555_browsercms315.cms.rb +96 -0
  56. data/test/dummy/db/migrate/20120515202556_browsercms330.cms.rb +57 -0
  57. data/test/dummy/db/migrate/20120515202557_browsercms340.cms.rb +63 -0
  58. data/test/dummy/db/migrate/20120515202558_browsercms350.cms.rb +33 -0
  59. data/test/dummy/db/schema.rb +534 -0
  60. data/test/dummy/db/seeds.rb +3 -0
  61. data/test/dummy/db/test.sqlite3 +0 -0
  62. data/test/dummy/log/development.log +16470 -0
  63. data/test/dummy/log/test.log +3322 -0
  64. data/test/dummy/public/404.html +26 -0
  65. data/test/dummy/public/422.html +26 -0
  66. data/test/dummy/public/500.html +25 -0
  67. data/test/dummy/public/favicon.ico +0 -0
  68. data/test/dummy/script/rails +6 -0
  69. data/test/dummy/tmp/cache/assets/BF8/DB0/sprockets%2F555809aa6831686680a236901d3644b9 +0 -0
  70. data/test/dummy/tmp/cache/assets/BF9/6E0/sprockets%2Fc2d326a063a778612257a67075586884 +0 -0
  71. data/test/dummy/tmp/cache/assets/C02/3E0/sprockets%2F367274f822575c9877740730d7a3541f +0 -0
  72. data/test/dummy/tmp/cache/assets/C08/410/sprockets%2F4f9f81106759542399d6cc1639569610 +0 -0
  73. data/test/dummy/tmp/cache/assets/C21/440/sprockets%2Ff525001ee5687c724e93843200142d89 +0 -0
  74. data/test/dummy/tmp/cache/assets/C26/560/sprockets%2F858536b99e507211b26014c2658e075f +0 -0
  75. data/test/dummy/tmp/cache/assets/C35/6C0/sprockets%2F4f41b428c96889a08b5664817654246d +0 -0
  76. data/test/dummy/tmp/cache/assets/C37/1D0/sprockets%2F84651d39588822468a43456f4f2f394a +0 -0
  77. data/test/dummy/tmp/cache/assets/C4C/A10/sprockets%2F01018c54501428ec7c8319e064f576e3 +0 -0
  78. data/test/dummy/tmp/cache/assets/C4F/780/sprockets%2Fcca1d2133429934528504d05d767568c +0 -0
  79. data/test/dummy/tmp/cache/assets/C56/A00/sprockets%2F45612d51c755d2345977163dad197b74 +0 -0
  80. data/test/dummy/tmp/cache/assets/C58/7C0/sprockets%2F67448d3dc38f58e18e680602b2109822 +0 -0
  81. data/test/dummy/tmp/cache/assets/C72/E10/sprockets%2F61073cec213d359540e34d4d9212f910 +0 -0
  82. data/test/dummy/tmp/cache/assets/C74/2F0/sprockets%2F8999f51f3813379a295b575962dc45d8 +0 -0
  83. data/test/dummy/tmp/cache/assets/C75/1B0/sprockets%2Fe65a33e9a30868448198c069897a9f77 +0 -0
  84. data/test/dummy/tmp/cache/assets/C76/5A0/sprockets%2F7cb9fc6650a20204716de282446d6430 +0 -0
  85. data/test/dummy/tmp/cache/assets/C7C/B30/sprockets%2F12a0d805a12f0522968b985c484647ad +0 -0
  86. data/test/dummy/tmp/cache/assets/C7C/FA0/sprockets%2Fe8073a53998cbf120832114b818a8f30 +0 -0
  87. data/test/dummy/tmp/cache/assets/C84/BF0/sprockets%2Fa673394da2ee3434a6401309d9f26984 +0 -0
  88. data/test/dummy/tmp/cache/assets/C85/290/sprockets%2F335b6af3732779866d102e370277e0df +0 -0
  89. data/test/dummy/tmp/cache/assets/C8B/2D0/sprockets%2Fbba692b011e45243a83a50b2a8133071 +0 -0
  90. data/test/dummy/tmp/cache/assets/C8C/EE0/sprockets%2F0036868f101d78ac18e803738f9765ea +0 -0
  91. data/test/dummy/tmp/cache/assets/C8D/F10/sprockets%2F785f154a8788f0c698d21336027da1e6 +0 -0
  92. data/test/dummy/tmp/cache/assets/C8F/7F0/sprockets%2Fd73e15f4a6617e8b683f2931729516e3 +0 -0
  93. data/test/dummy/tmp/cache/assets/C8F/E10/sprockets%2F70a33baa686f180b6928df8889727215 +0 -0
  94. data/test/dummy/tmp/cache/assets/C93/830/sprockets%2F186874efb137ec6ab78377559952003f +0 -0
  95. data/test/dummy/tmp/cache/assets/C94/650/sprockets%2F4800a774f210de1b31e31270523ef3a5 +0 -0
  96. data/test/dummy/tmp/cache/assets/C99/420/sprockets%2F3bc616d504551ae4a2b87325e1b50128 +0 -0
  97. data/test/dummy/tmp/cache/assets/C9D/010/sprockets%2F4bc36101390bd1435f9aa25f5c164049 +0 -0
  98. data/test/dummy/tmp/cache/assets/C9D/4F0/sprockets%2F0371a2304d0b8a551b9f45a91a51e665 +0 -0
  99. data/test/dummy/tmp/cache/assets/C9F/890/sprockets%2F5079031c03d676a0110e33e7dea449e3 +0 -0
  100. data/test/dummy/tmp/cache/assets/CA0/BC0/sprockets%2Fb7f4c8032ea70137c347623b540d21f5 +0 -0
  101. data/test/dummy/tmp/cache/assets/CA1/590/sprockets%2F4002736a1b0d99c943865ee0bda13181 +0 -0
  102. data/test/dummy/tmp/cache/assets/CA2/590/sprockets%2F247fb1764936a3760c430221ace1ce38 +0 -0
  103. data/test/dummy/tmp/cache/assets/CA2/720/sprockets%2F691ad22d125059b4fa5b2b424d980129 +0 -0
  104. data/test/dummy/tmp/cache/assets/CA4/F70/sprockets%2F5fb041301dfc96912c266da57c005475 +0 -0
  105. data/test/dummy/tmp/cache/assets/CA7/510/sprockets%2F6dc2103923f48b4c5d3c811d4221e695 +0 -0
  106. data/test/dummy/tmp/cache/assets/CA7/A00/sprockets%2F0cf6247b1e32f101dac6553864b58293 +0 -0
  107. data/test/dummy/tmp/cache/assets/CA9/010/sprockets%2F3151808a17f6c05c748136d2f6d3b6c2 +0 -0
  108. data/test/dummy/tmp/cache/assets/CA9/040/sprockets%2F5630b326057f5f2910880ecfccb11755 +0 -0
  109. data/test/dummy/tmp/cache/assets/CA9/180/sprockets%2F18c485be6420b34e155663e1a48ee026 +0 -0
  110. data/test/dummy/tmp/cache/assets/CAA/170/sprockets%2Fb5b015d3e14f8cba3024f46847439473 +0 -0
  111. data/test/dummy/tmp/cache/assets/CAB/510/sprockets%2F285808312b3009e385f2ec46cc604dd5 +0 -0
  112. data/test/dummy/tmp/cache/assets/CAE/C60/sprockets%2F458a77893c71217d6292ab18bca428b0 +0 -0
  113. data/test/dummy/tmp/cache/assets/CAF/E80/sprockets%2F906074a212cb2b60583d447e880ff7e4 +0 -0
  114. data/test/dummy/tmp/cache/assets/CB1/FB0/sprockets%2F18bd5b60928ecb903554a7184519f2b4 +0 -0
  115. data/test/dummy/tmp/cache/assets/CB3/310/sprockets%2F77c271b2f6c2cc090e486858f0a41907 +0 -0
  116. data/test/dummy/tmp/cache/assets/CB4/350/sprockets%2F5cf8e20396272187e5065b6bbd31683d +0 -0
  117. data/test/dummy/tmp/cache/assets/CB7/040/sprockets%2F3ec05b77661978e631ba7257bf8515d0 +0 -0
  118. data/test/dummy/tmp/cache/assets/CBA/990/sprockets%2Fe47624530e18dd978526d0a43d5ec927 +0 -0
  119. data/test/dummy/tmp/cache/assets/CBA/A70/sprockets%2F715e7c14b488475204feab95b3a67585 +0 -0
  120. data/test/dummy/tmp/cache/assets/CBB/F90/sprockets%2F1a2748d6583c6ed412d0e27a57788e82 +0 -0
  121. data/test/dummy/tmp/cache/assets/CBF/050/sprockets%2F15c5626bf5467f4ff535e7244388c4f0 +0 -0
  122. data/test/dummy/tmp/cache/assets/CC0/E50/sprockets%2F69c6c47767250c08a5b4468f18dc7d90 +0 -0
  123. data/test/dummy/tmp/cache/assets/CC3/E80/sprockets%2Fd93a6ed81b86f449b801c427566c8556 +0 -0
  124. data/test/dummy/tmp/cache/assets/CC6/930/sprockets%2F6869b0e9709074a3f3e9eea92687370b +0 -0
  125. data/test/dummy/tmp/cache/assets/CC8/F10/sprockets%2Fc8b490c0c719a293505bd26045c04aa2 +0 -0
  126. data/test/dummy/tmp/cache/assets/CCA/900/sprockets%2F0e06155176deb4a73b32ed82302415eb +0 -0
  127. data/test/dummy/tmp/cache/assets/CCA/910/sprockets%2F33d92fc6597f94778f6e1020ed19f744 +0 -0
  128. data/test/dummy/tmp/cache/assets/CCB/D00/sprockets%2Ff13471092603f21f9fee9678eb876b98 +0 -0
  129. data/test/dummy/tmp/cache/assets/CCC/010/sprockets%2Ff66c3b8ea248e97366c1c776953e5574 +0 -0
  130. data/test/dummy/tmp/cache/assets/CCF/E50/sprockets%2Fe654bba5be819a20511098a26e72d411 +0 -0
  131. data/test/dummy/tmp/cache/assets/CD1/780/sprockets%2F83bb46e56a54002b0d3093b284cd638c +0 -0
  132. data/test/dummy/tmp/cache/assets/CD1/950/sprockets%2F6d1cc89fbc03a563f20201cb75103949 +0 -0
  133. data/test/dummy/tmp/cache/assets/CD1/CA0/sprockets%2F6b44bcbf220e0b8b761182a68503c637 +0 -0
  134. data/test/dummy/tmp/cache/assets/CD2/310/sprockets%2F8853e2ee44128ac6750e05fb3b731b00 +0 -0
  135. data/test/dummy/tmp/cache/assets/CD3/600/sprockets%2F08bc331a7610f6b2d5c3e0837e417c55 +0 -0
  136. data/test/dummy/tmp/cache/assets/CD5/900/sprockets%2F793111716ceb9bab56c2c6276aa61174 +0 -0
  137. data/test/dummy/tmp/cache/assets/CD5/A50/sprockets%2F1fdd33056809f0ccb106e054a6266d66 +0 -0
  138. data/test/dummy/tmp/cache/assets/CD6/8F0/sprockets%2Fda7ab5ce9e466843610af12431351f54 +0 -0
  139. data/test/dummy/tmp/cache/assets/CD7/D10/sprockets%2F63c93d58500e553424db26c2750f7bab +0 -0
  140. data/test/dummy/tmp/cache/assets/CD8/530/sprockets%2F20a59122cbb580e5ef59b88064ff2311 +0 -0
  141. data/test/dummy/tmp/cache/assets/CD9/BF0/sprockets%2F797f8ed60210a2b5a33c02c5fc380848 +0 -0
  142. data/test/dummy/tmp/cache/assets/CDB/A50/sprockets%2F75c4d517c537c39580c07303c1ae5ef3 +0 -0
  143. data/test/dummy/tmp/cache/assets/CDC/A50/sprockets%2F53082ffc222130389f5341a0f84fdf9b +0 -0
  144. data/test/dummy/tmp/cache/assets/CDD/CB0/sprockets%2Fba4be816ce04f53d00e8372f32819088 +0 -0
  145. data/test/dummy/tmp/cache/assets/CDF/350/sprockets%2F1d01b5676b38de29dc8d606a8327f224 +0 -0
  146. data/test/dummy/tmp/cache/assets/CDF/860/sprockets%2F2e66c5ac723130e069d6f3d51437c4f8 +0 -0
  147. data/test/dummy/tmp/cache/assets/CE1/970/sprockets%2F6e9884fb5a92e6e121114527154cbc5e +0 -0
  148. data/test/dummy/tmp/cache/assets/CE1/CA0/sprockets%2F4d87bc0d85b978f1215295b2b11a59b6 +0 -0
  149. data/test/dummy/tmp/cache/assets/CE2/100/sprockets%2Ff841ae11a1a7349b661404498bd9e2f9 +0 -0
  150. data/test/dummy/tmp/cache/assets/CE2/CB0/sprockets%2F97a2f4ce2304f310820b77c99534b9ec +0 -0
  151. data/test/dummy/tmp/cache/assets/CE2/DD0/sprockets%2F8a7745ba498823123307cd1e7df0fe53 +0 -0
  152. data/test/dummy/tmp/cache/assets/CE5/F20/sprockets%2Fc914a5e9b184a422e1b7de5483684c47 +0 -0
  153. data/test/dummy/tmp/cache/assets/CE6/6E0/sprockets%2Fa6b8199c4d108c960b8c409c61e73c28 +0 -0
  154. data/test/dummy/tmp/cache/assets/CE6/ED0/sprockets%2F105c0f7ed573b4f83fe675306c69524b +0 -0
  155. data/test/dummy/tmp/cache/assets/CE8/4C0/sprockets%2Fb87e618e802924d762890e8da5c07a2a +0 -0
  156. data/test/dummy/tmp/cache/assets/CEA/B00/sprockets%2Fe543e5dc3d014989a303e0544fd7d987 +0 -0
  157. data/test/dummy/tmp/cache/assets/CEB/3E0/sprockets%2Ff9776cc7407daca8b078351f36432e84 +0 -0
  158. data/test/dummy/tmp/cache/assets/CEC/830/sprockets%2F60ecd86065ead2a687a2397553908ce7 +0 -0
  159. data/test/dummy/tmp/cache/assets/CEC/E60/sprockets%2Fa7354cb27ad299a51743c4529de596e7 +0 -0
  160. data/test/dummy/tmp/cache/assets/CF0/630/sprockets%2Ff6d17d7e8ba8e51a233282554d8886d5 +0 -0
  161. data/test/dummy/tmp/cache/assets/CF2/C50/sprockets%2F551e7999fe2e6045e1645ef1e22f771d +0 -0
  162. data/test/dummy/tmp/cache/assets/CF6/720/sprockets%2F8d487de667d4dd94630e419e93e51b35 +0 -0
  163. data/test/dummy/tmp/cache/assets/CF9/E30/sprockets%2F608f197b7b8c395a8ff046f70695e4e3 +0 -0
  164. data/test/dummy/tmp/cache/assets/CFA/920/sprockets%2Fa2af13464890bb12551d0b8bf4c8e113 +0 -0
  165. data/test/dummy/tmp/cache/assets/CFA/F20/sprockets%2Fd7137fcaa8b32f03d3f228a66a324140 +0 -0
  166. data/test/dummy/tmp/cache/assets/CFC/880/sprockets%2F0baa9a5363f47eb27e209206a651ba08 +0 -0
  167. data/test/dummy/tmp/cache/assets/CFD/EE0/sprockets%2F14b0b57d17a2a56d21bb61467d4eb177 +0 -0
  168. data/test/dummy/tmp/cache/assets/CFE/F60/sprockets%2F6513aab4b196ec0c1ab38f278200e368 +0 -0
  169. data/test/dummy/tmp/cache/assets/D04/A60/sprockets%2F2abf640bbccc455350826dc476174c27 +0 -0
  170. data/test/dummy/tmp/cache/assets/D04/BD0/sprockets%2F8bb1eb2b80e2ea9049937c00f63b4226 +0 -0
  171. data/test/dummy/tmp/cache/assets/D06/000/sprockets%2Fc9f0d545dd98f9f5f7908956b55a4295 +0 -0
  172. data/test/dummy/tmp/cache/assets/D06/6F0/sprockets%2F2ab66a27370c570932dc8f07c2f0e08d +0 -0
  173. data/test/dummy/tmp/cache/assets/D08/9A0/sprockets%2F552eb0d388112be7d3f187373b3c34af +0 -0
  174. data/test/dummy/tmp/cache/assets/D09/090/sprockets%2Fb2afa0f8a74c36836550614e4c00f5e9 +0 -0
  175. data/test/dummy/tmp/cache/assets/D0A/3F0/sprockets%2Fdf4132d4e68b452da7c5017a0e08e496 +0 -0
  176. data/test/dummy/tmp/cache/assets/D0B/260/sprockets%2Fb65fc52c4c718105214ef1b76f282cd7 +0 -0
  177. data/test/dummy/tmp/cache/assets/D0C/E70/sprockets%2F72127e03087cdc90e9b20e4bf7844de0 +0 -0
  178. data/test/dummy/tmp/cache/assets/D0C/E70/sprockets%2F9af0c8ff1a3c2928190173ee20148d9a +0 -0
  179. data/test/dummy/tmp/cache/assets/D0D/2F0/sprockets%2F444698f1df492ab1d12f9f0d840a3c70 +0 -0
  180. data/test/dummy/tmp/cache/assets/D0D/DA0/sprockets%2F45d0ba7088952336730d9d0f03fabfb9 +0 -0
  181. data/test/dummy/tmp/cache/assets/D0E/4D0/sprockets%2Fe28a5b098d0b59d203212fe8f1925ae8 +0 -0
  182. data/test/dummy/tmp/cache/assets/D0E/E90/sprockets%2Ff430c4cf68148c8ea6106700c6fae538 +0 -0
  183. data/test/dummy/tmp/cache/assets/D10/170/sprockets%2F29824c5639933d2a4a0df2a276aafa89 +0 -0
  184. data/test/dummy/tmp/cache/assets/D11/8B0/sprockets%2Fd6488a015aa3abd5f276845cc59172b9 +0 -0
  185. data/test/dummy/tmp/cache/assets/D11/9C0/sprockets%2F051e7cf42b73011a59e8ad8d799029da +0 -0
  186. data/test/dummy/tmp/cache/assets/D11/BC0/sprockets%2F6d4782efe8095a161fa27338cc540bc5 +0 -0
  187. data/test/dummy/tmp/cache/assets/D12/820/sprockets%2Fcc337c6c440bbba2a04d10b34e305123 +0 -0
  188. data/test/dummy/tmp/cache/assets/D12/CF0/sprockets%2F938e4c4032bb8a5a4ca75d692f514e57 +0 -0
  189. data/test/dummy/tmp/cache/assets/D12/D70/sprockets%2F2872b07c9d1a834d5565df45d2f1e0c8 +0 -0
  190. data/test/dummy/tmp/cache/assets/D15/A90/sprockets%2F42e77cf56e35e4de8268c0165b115c5e +0 -0
  191. data/test/dummy/tmp/cache/assets/D16/FE0/sprockets%2Faa618b5b39fbb493839cc34f23d72827 +0 -0
  192. data/test/dummy/tmp/cache/assets/D17/DB0/sprockets%2F0755972b2a88dd29a13de816be84ea55 +0 -0
  193. data/test/dummy/tmp/cache/assets/D18/7B0/sprockets%2F6ca6a2803e372fc0194763f943e3fed9 +0 -0
  194. data/test/dummy/tmp/cache/assets/D19/210/sprockets%2F3b367e87916eed9b031eb52d19a8744c +0 -0
  195. data/test/dummy/tmp/cache/assets/D1C/090/sprockets%2F3ff627bcb9eaa5448763b57d734a2649 +0 -0
  196. data/test/dummy/tmp/cache/assets/D1E/190/sprockets%2F16da922b713409bfb547e6579a8bfe69 +0 -0
  197. data/test/dummy/tmp/cache/assets/D1E/260/sprockets%2F98b522bce2795b644391c8cd4c6ed637 +0 -0
  198. data/test/dummy/tmp/cache/assets/D1F/9D0/sprockets%2F96879de7a2d6d30c08c4349fe0e3940f +0 -0
  199. data/test/dummy/tmp/cache/assets/D21/040/sprockets%2F018ea1aeda03884f3a0b12291261cf1e +0 -0
  200. data/test/dummy/tmp/cache/assets/D21/7B0/sprockets%2F8802694e750f5705df474ddb5cfc77b4 +0 -0
  201. data/test/dummy/tmp/cache/assets/D22/8D0/sprockets%2F260aa304b4a4c3cbc177a05d727348ca +0 -0
  202. data/test/dummy/tmp/cache/assets/D27/950/sprockets%2Fc8c2523a9d3e0889ebebf8c609987750 +0 -0
  203. data/test/dummy/tmp/cache/assets/D28/B90/sprockets%2Fdd53a332effd56494c65c978d40699c6 +0 -0
  204. data/test/dummy/tmp/cache/assets/D2C/C20/sprockets%2F7ed14b4bbe5a5ee0f8050611b632329a +0 -0
  205. data/test/dummy/tmp/cache/assets/D30/530/sprockets%2F1b43383e4baed30351c07680f8a5dee1 +0 -0
  206. data/test/dummy/tmp/cache/assets/D34/480/sprockets%2F982a8d710f78b1609abd65ab2036aec0 +0 -0
  207. data/test/dummy/tmp/cache/assets/D35/830/sprockets%2F80c592ebd20bd9430ee0c4d752ce1825 +0 -0
  208. data/test/dummy/tmp/cache/assets/D36/190/sprockets%2Fa3794206a5e854cb1ed51711f5cbb8e1 +0 -0
  209. data/test/dummy/tmp/cache/assets/D37/D00/sprockets%2Fa625bef42c14529b731a1fc208fe2e77 +0 -0
  210. data/test/dummy/tmp/cache/assets/D37/EB0/sprockets%2Fbd7ee6f33f145f31063fd004a9a742c6 +0 -0
  211. data/test/dummy/tmp/cache/assets/D38/990/sprockets%2F3346f9dbf6c3ab0fac5103664e19c463 +0 -0
  212. data/test/dummy/tmp/cache/assets/D38/AD0/sprockets%2Fd9faf6f380bc906b00438c1a0719aa59 +0 -0
  213. data/test/dummy/tmp/cache/assets/D39/110/sprockets%2F73b84184a25e19e01bf653d6d0bd4c7c +0 -0
  214. data/test/dummy/tmp/cache/assets/D39/4A0/sprockets%2Fa61b73e60182d36aeeaf3a4e4489117e +0 -0
  215. data/test/dummy/tmp/cache/assets/D39/A30/sprockets%2Fbde1846440bee1598ddc211e9323b57a +0 -0
  216. data/test/dummy/tmp/cache/assets/D3A/550/sprockets%2Fdd4085a23a2b150cefd6b4f48677d066 +0 -0
  217. data/test/dummy/tmp/cache/assets/D3E/1E0/sprockets%2F572e507bd1c3d5f5b9346cdb472f3f05 +0 -0
  218. data/test/dummy/tmp/cache/assets/D3E/370/sprockets%2F633ca1e2deb734ff091a5098fc4690e3 +0 -0
  219. data/test/dummy/tmp/cache/assets/D3E/420/sprockets%2F6d7d46048e228cdcac7837b2e3c36e20 +0 -0
  220. data/test/dummy/tmp/cache/assets/D3E/920/sprockets%2Fd14bdf8482d239b11e479fbb998b0b00 +0 -0
  221. data/test/dummy/tmp/cache/assets/D3F/8F0/sprockets%2F2ec4ee6e97991dae36ae0f760221b091 +0 -0
  222. data/test/dummy/tmp/cache/assets/D3F/B40/sprockets%2F9cb9317b4071a99fccfb6de718a22116 +0 -0
  223. data/test/dummy/tmp/cache/assets/D3F/E80/sprockets%2Fb665670f58a22a20cc87e83ca5c91da8 +0 -0
  224. data/test/dummy/tmp/cache/assets/D40/5A0/sprockets%2F40291c706f80e9eaaf941bb1d8b467c6 +0 -0
  225. data/test/dummy/tmp/cache/assets/D40/BE0/sprockets%2F55fce25f929b0b648149aa68a57a50ca +0 -0
  226. data/test/dummy/tmp/cache/assets/D42/340/sprockets%2Fb9f70fb8a496920d01e94d49d2b822ba +0 -0
  227. data/test/dummy/tmp/cache/assets/D44/E40/sprockets%2F9cad7d47b0e96777319b02e63e8c10bd +0 -0
  228. data/test/dummy/tmp/cache/assets/D46/B10/sprockets%2F45c1a89f0121cf825ef67ce522bc78c9 +0 -0
  229. data/test/dummy/tmp/cache/assets/D46/C50/sprockets%2Fda56f47f8055ac21c50ff177ed0c7398 +0 -0
  230. data/test/dummy/tmp/cache/assets/D46/D90/sprockets%2F2fce05d355a580f406986cb71f7acd85 +0 -0
  231. data/test/dummy/tmp/cache/assets/D47/B80/sprockets%2Fe290f668b401f04c25f0a7c4d8b997fd +0 -0
  232. data/test/dummy/tmp/cache/assets/D49/760/sprockets%2Fab5cf6ee0e502e72157689bd8136e74f +0 -0
  233. data/test/dummy/tmp/cache/assets/D4A/0F0/sprockets%2Fc5df7598e772151c07e2764ce570bcfb +0 -0
  234. data/test/dummy/tmp/cache/assets/D4A/640/sprockets%2F6e73a7eaa982c7f42eca289147a4905f +0 -0
  235. data/test/dummy/tmp/cache/assets/D4A/8F0/sprockets%2F95ee494c9e12b29965daafc250666b1e +0 -0
  236. data/test/dummy/tmp/cache/assets/D4B/980/sprockets%2F5a915d48b38e175ebf6be13516a79e7d +0 -0
  237. data/test/dummy/tmp/cache/assets/D4D/740/sprockets%2F2e3d978596ce8fcd023fbf940da54570 +0 -0
  238. data/test/dummy/tmp/cache/assets/D51/790/sprockets%2Ff319d16128d7e93727f091eeff2eac69 +0 -0
  239. data/test/dummy/tmp/cache/assets/D51/CF0/sprockets%2Feefc8e2fe8944d182147bd46f2916e70 +0 -0
  240. data/test/dummy/tmp/cache/assets/D55/190/sprockets%2F44fd35c969b88c1dbd736bf34378d75c +0 -0
  241. data/test/dummy/tmp/cache/assets/D56/A10/sprockets%2Ff85939b2376c384692cfbb80cd1f95df +0 -0
  242. data/test/dummy/tmp/cache/assets/D58/880/sprockets%2Fd70b2145c1062a14be5a5bacc0729ef9 +0 -0
  243. data/test/dummy/tmp/cache/assets/D59/170/sprockets%2Ffba8305ae205457d3c44cc4c00cf6c60 +0 -0
  244. data/test/dummy/tmp/cache/assets/D5E/4F0/sprockets%2Fea721d0ff1743f0122defef66722aa14 +0 -0
  245. data/test/dummy/tmp/cache/assets/D5F/7F0/sprockets%2Fd2aa650e278dc2428c470ff8c3dc02a1 +0 -0
  246. data/test/dummy/tmp/cache/assets/D61/550/sprockets%2F4afcf108b011df0e436ac9b92579b21d +0 -0
  247. data/test/dummy/tmp/cache/assets/D62/830/sprockets%2Feabee6bed853d4059441d0d5051dd009 +0 -0
  248. data/test/dummy/tmp/cache/assets/D64/050/sprockets%2F5e9c85fc36fcf497f8b73257e91d4e93 +0 -0
  249. data/test/dummy/tmp/cache/assets/D64/FB0/sprockets%2F0a6d8ac60569c5af36ef31ceb222b860 +0 -0
  250. data/test/dummy/tmp/cache/assets/D65/600/sprockets%2F1989df85fa098dd749e9dae91fe15079 +0 -0
  251. data/test/dummy/tmp/cache/assets/D65/9D0/sprockets%2Fc4e6bf64a3c640c5d800af41e3f8605c +0 -0
  252. data/test/dummy/tmp/cache/assets/D66/4B0/sprockets%2F4d73c0edc4afe2ef87c060165b40364e +0 -0
  253. data/test/dummy/tmp/cache/assets/D66/4C0/sprockets%2Fca53b5f5bcb5548ba24d82a8830519bc +0 -0
  254. data/test/dummy/tmp/cache/assets/D66/620/sprockets%2F56e7d46f9f09c943f66f6b9912fded39 +0 -0
  255. data/test/dummy/tmp/cache/assets/D67/230/sprockets%2F2a62c6e4c847a0eb7ccda01936f8a255 +0 -0
  256. data/test/dummy/tmp/cache/assets/D67/9B0/sprockets%2Fa64031d26db19f02ffe6a263d42b6d9f +0 -0
  257. data/test/dummy/tmp/cache/assets/D6A/500/sprockets%2F4009c41ca43ef8ce8f07f950da71e0b6 +0 -0
  258. data/test/dummy/tmp/cache/assets/D6C/690/sprockets%2F0cb1662da1e679e1aac76589d2a62ff2 +0 -0
  259. data/test/dummy/tmp/cache/assets/D6C/8B0/sprockets%2Fe4b17317fb45a26697c9c1b14ef22edc +0 -0
  260. data/test/dummy/tmp/cache/assets/D6F/2F0/sprockets%2Fcc1d430cbfe7d718e9b393017348f0ee +0 -0
  261. data/test/dummy/tmp/cache/assets/D71/260/sprockets%2Faa8f857b8aa744fb3fd08a28053d943b +0 -0
  262. data/test/dummy/tmp/cache/assets/D71/4E0/sprockets%2F334e0d237d55d8c2ccc29cbdd654665f +0 -0
  263. data/test/dummy/tmp/cache/assets/D71/A00/sprockets%2F7229efcb3c0e61fbb86c61f0274e8c73 +0 -0
  264. data/test/dummy/tmp/cache/assets/D73/790/sprockets%2F8044184a84ea77aecf88e8b52e5af0c0 +0 -0
  265. data/test/dummy/tmp/cache/assets/D73/7B0/sprockets%2Fc119ea7a8c8fee1ad576e3b06f525923 +0 -0
  266. data/test/dummy/tmp/cache/assets/D75/9F0/sprockets%2Fe54c7d26e2e4705feb8f4e51f3132d9c +0 -0
  267. data/test/dummy/tmp/cache/assets/D75/BD0/sprockets%2F64ee6c680744dab885ceaba996e030e2 +0 -0
  268. data/test/dummy/tmp/cache/assets/D76/0F0/sprockets%2Fac20bf393ff4ae8066c8cc358b62785d +0 -0
  269. data/test/dummy/tmp/cache/assets/D76/E80/sprockets%2F9daf60853c9fa00b736eb0588d3ffa83 +0 -0
  270. data/test/dummy/tmp/cache/assets/D79/320/sprockets%2Fb99690a9a5dbe299fd14c1a6f24c618c +0 -0
  271. data/test/dummy/tmp/cache/assets/D79/390/sprockets%2F22e8fa5c7c3af4863d318cd6df826f25 +0 -0
  272. data/test/dummy/tmp/cache/assets/D7A/370/sprockets%2Fe13ba592464fec12b6e309eef6557f9d +0 -0
  273. data/test/dummy/tmp/cache/assets/D7B/740/sprockets%2F927d6e9c50e2efb91885d7b35fb0d1e3 +0 -0
  274. data/test/dummy/tmp/cache/assets/D7F/700/sprockets%2F999246c6f55e7fda0fe63c5e5ded0117 +0 -0
  275. data/test/dummy/tmp/cache/assets/D82/330/sprockets%2F95ac8fe6d31f31e03e8e9849791fdae0 +0 -0
  276. data/test/dummy/tmp/cache/assets/D82/810/sprockets%2Fda981c88ebb4a828a94b67fbab438858 +0 -0
  277. data/test/dummy/tmp/cache/assets/D89/8D0/sprockets%2Fafe60cd102cb5231c331c493933caeff +0 -0
  278. data/test/dummy/tmp/cache/assets/D8A/FF0/sprockets%2Ffe3047c6f5a24da9222b21af5dd1b63a +0 -0
  279. data/test/dummy/tmp/cache/assets/D8B/DB0/sprockets%2Fda23bbc14441a03a9e4f215e6c8ba66f +0 -0
  280. data/test/dummy/tmp/cache/assets/D8C/650/sprockets%2Fb704dac81ffc5f48120a2266ccbae631 +0 -0
  281. data/test/dummy/tmp/cache/assets/D8F/CD0/sprockets%2F34995694aa746ce8c46fed885d8ced5a +0 -0
  282. data/test/dummy/tmp/cache/assets/D90/B50/sprockets%2Fba1dbd9c36747fc314a3812d1b52eeb5 +0 -0
  283. data/test/dummy/tmp/cache/assets/D90/E70/sprockets%2Fa93d6ee5bc35d76f85f03f79a9fb8587 +0 -0
  284. data/test/dummy/tmp/cache/assets/D91/3D0/sprockets%2F5c8b7a1f0eda3cd35e28832c9c4a4a21 +0 -0
  285. data/test/dummy/tmp/cache/assets/D92/7C0/sprockets%2F0ceb17f12ba461e09c46d2436ecdb56f +0 -0
  286. data/test/dummy/tmp/cache/assets/D92/8E0/sprockets%2Fbe3d2d9a6251be6a1e45957a0bb42c4f +0 -0
  287. data/test/dummy/tmp/cache/assets/D94/9A0/sprockets%2Ff2bf890b3aea7141a518da8f09e25d1b +0 -0
  288. data/test/dummy/tmp/cache/assets/D95/120/sprockets%2F9cef27c3f7c9e6e078f0b68f4f9729a9 +0 -0
  289. data/test/dummy/tmp/cache/assets/D95/3E0/sprockets%2F376db6beea26c2bb2e77c2a1565b53f3 +0 -0
  290. data/test/dummy/tmp/cache/assets/D97/5E0/sprockets%2F9d13b9aff439da36306ba518abf1e8a2 +0 -0
  291. data/test/dummy/tmp/cache/assets/D98/7F0/sprockets%2F051922faceedf26d25bc273da43cc669 +0 -0
  292. data/test/dummy/tmp/cache/assets/D98/CF0/sprockets%2Fd0f192ce5df59223a50f3fad95ca715a +0 -0
  293. data/test/dummy/tmp/cache/assets/D99/100/sprockets%2Fd0cd7c3ca7459bb006944feee452b2f3 +0 -0
  294. data/test/dummy/tmp/cache/assets/D99/4F0/sprockets%2F46cd26f7baebe260936fd053d32b65cc +0 -0
  295. data/test/dummy/tmp/cache/assets/D99/BE0/sprockets%2Fb3399e1f6ecee3b1c5a2716f522ad74a +0 -0
  296. data/test/dummy/tmp/cache/assets/D9A/130/sprockets%2F36cf3b242e58cfee56ddc854b01cb830 +0 -0
  297. data/test/dummy/tmp/cache/assets/D9A/6E0/sprockets%2F2e53881eafb9e711f0cd6ed4800af34c +0 -0
  298. data/test/dummy/tmp/cache/assets/D9B/620/sprockets%2F33c83d32dcc3c6b9a46b8ce47ca0649b +0 -0
  299. data/test/dummy/tmp/cache/assets/D9C/4F0/sprockets%2F95ba46b3e129bf58b2f1e601fd87bea2 +0 -0
  300. data/test/dummy/tmp/cache/assets/D9F/5E0/sprockets%2F31b149b23daff92fd69baddb4582a279 +0 -0
  301. data/test/dummy/tmp/cache/assets/D9F/C30/sprockets%2F6d53fe1a31f75cdb4adbb778b272890d +0 -0
  302. data/test/dummy/tmp/cache/assets/DA0/380/sprockets%2Fe9cce115be75b480882d3da66d931faa +0 -0
  303. data/test/dummy/tmp/cache/assets/DA1/7C0/sprockets%2Fff4edd41c5e6f019a24b481d49069dcc +0 -0
  304. data/test/dummy/tmp/cache/assets/DA2/DE0/sprockets%2F74a94f4b8c706c5217d11ffb4b8dda6f +0 -0
  305. data/test/dummy/tmp/cache/assets/DA3/020/sprockets%2F9da0e71c20fda6d2fe8943cf447f416d +0 -0
  306. data/test/dummy/tmp/cache/assets/DA3/5E0/sprockets%2F49c6e02212eceeb6868dfb76a9c44ea1 +0 -0
  307. data/test/dummy/tmp/cache/assets/DA4/320/sprockets%2F673f5e37cf7e6a2b5b73e23bb4c48c8a +0 -0
  308. data/test/dummy/tmp/cache/assets/DA5/CC0/sprockets%2Fa17d1842c38d569acc8d6eccf43d278a +0 -0
  309. data/test/dummy/tmp/cache/assets/DA7/6A0/sprockets%2F9aa5a194f3ef98a3b367734dc5dc9b1d +0 -0
  310. data/test/dummy/tmp/cache/assets/DA7/7E0/sprockets%2F5341f9264622bdd0f7e6b8dcd18fe6bf +0 -0
  311. data/test/dummy/tmp/cache/assets/DAA/510/sprockets%2F3f66c8668f3418dc1bcc6b8c9a9ce04b +0 -0
  312. data/test/dummy/tmp/cache/assets/DAB/470/sprockets%2Fd56f6f37c4faf6bff444982b3bb6731c +0 -0
  313. data/test/dummy/tmp/cache/assets/DAB/8E0/sprockets%2Ff579b7c6de0fced71d59143923e2ec2f +0 -0
  314. data/test/dummy/tmp/cache/assets/DAC/DB0/sprockets%2Fe429e668bc3aaabd56ffc8598d5166c1 +0 -0
  315. data/test/dummy/tmp/cache/assets/DAD/3B0/sprockets%2Fcae53b6fb06a1abc3ba394300f046a2f +0 -0
  316. data/test/dummy/tmp/cache/assets/DAF/330/sprockets%2Fecd0ea8db3955938ef8804ee107ff19b +0 -0
  317. data/test/dummy/tmp/cache/assets/DB0/B30/sprockets%2F3efc45df34cf52e88bd75d3d6e94617a +0 -0
  318. data/test/dummy/tmp/cache/assets/DB3/C70/sprockets%2Fce7b67b1f672ddee0026d8f9e4c7d588 +0 -0
  319. data/test/dummy/tmp/cache/assets/DB3/F00/sprockets%2Ffaad00e46351db1760c9bfca22c47ca1 +0 -0
  320. data/test/dummy/tmp/cache/assets/DB5/170/sprockets%2F85eb8a95ed1dbdd846ea79ff4750447c +0 -0
  321. data/test/dummy/tmp/cache/assets/DB5/FE0/sprockets%2Fbfe08eb1a8d087a88d7ffe7b864776c1 +0 -0
  322. data/test/dummy/tmp/cache/assets/DB8/120/sprockets%2F43b52f3550c4e8dcdbfacf44a010b1c8 +0 -0
  323. data/test/dummy/tmp/cache/assets/DB8/A50/sprockets%2F6963df4a3bd1b0f2a56a04e16face22a +0 -0
  324. data/test/dummy/tmp/cache/assets/DBD/FC0/sprockets%2Fa152ccdde3ab1b497cc0566ac591a45d +0 -0
  325. data/test/dummy/tmp/cache/assets/DBE/D20/sprockets%2Fc1e2d9610cb77c68e0cfa2b630ccae16 +0 -0
  326. data/test/dummy/tmp/cache/assets/DBF/530/sprockets%2F14190a72af6a3e7bd7f90efe3ba60b0c +0 -0
  327. data/test/dummy/tmp/cache/assets/DC1/CA0/sprockets%2Facefece1a2172d32318f1c2acec18669 +0 -0
  328. data/test/dummy/tmp/cache/assets/DC2/F40/sprockets%2Fa4f275ca413e8d0ef1d5aecb15e8515b +0 -0
  329. data/test/dummy/tmp/cache/assets/DC6/0C0/sprockets%2Fc8beb3caec9220f856cc60b54a8a614e +0 -0
  330. data/test/dummy/tmp/cache/assets/DC7/4F0/sprockets%2F42d265f86341a4abdb422ee25dd1ffff +0 -0
  331. data/test/dummy/tmp/cache/assets/DC9/5E0/sprockets%2F52d7b422ce5fe47514bfb09cf3d4dc0f +0 -0
  332. data/test/dummy/tmp/cache/assets/DCA/460/sprockets%2Fdabcfc78be141005e56bd0a67e3f84e7 +0 -0
  333. data/test/dummy/tmp/cache/assets/DCB/C30/sprockets%2Ffb343eff3c23c347d58bda54ee165a4d +0 -0
  334. data/test/dummy/tmp/cache/assets/DCC/890/sprockets%2Fa52e1ae9af4fdb742505be753e9e1db5 +0 -0
  335. data/test/dummy/tmp/cache/assets/DCF/600/sprockets%2F2c5a49c3c678012df5db82fb2ce1eee9 +0 -0
  336. data/test/dummy/tmp/cache/assets/DD3/450/sprockets%2F7971daca4b3e26ffcd9d398ee4e1510b +0 -0
  337. data/test/dummy/tmp/cache/assets/DD3/6F0/sprockets%2F21c34ff0b252189efe68bfac7d3e96bc +0 -0
  338. data/test/dummy/tmp/cache/assets/DE6/F40/sprockets%2Fc9c7acc6c4fcb579c8b9854f7e028c6d +0 -0
  339. data/test/dummy/tmp/cache/assets/DEC/040/sprockets%2F43cd071aa594cd2a5895bdae3acc5ba3 +0 -0
  340. data/test/dummy/tmp/cache/assets/DEF/720/sprockets%2F51de6cc0a44646a3aacdb4bf58d53be4 +0 -0
  341. data/test/dummy/tmp/cache/assets/DF4/010/sprockets%2F20ec31b5433cd7c8d7afc53dc1d7ed2e +0 -0
  342. data/test/dummy/tmp/cache/assets/DF9/270/sprockets%2Fee13c5f41bc49c0c4f45a82adbe5c67e +0 -0
  343. data/test/dummy/tmp/cache/assets/DFA/720/sprockets%2Fcc1b3ae4df3a7aa962bd9e9f171638ba +0 -0
  344. data/test/dummy/tmp/cache/assets/DFC/5D0/sprockets%2F6aea732fbfd4d5ce1a2c3129e1d9bc99 +0 -0
  345. data/test/dummy/tmp/cache/assets/DFC/9C0/sprockets%2F8ac2f9bdc83695e7abc4c1aa4236dab9 +0 -0
  346. data/test/dummy/tmp/cache/assets/E01/7F0/sprockets%2F4c5b496d27e9af5d6af05c8aa8bdbd60 +0 -0
  347. data/test/dummy/tmp/cache/assets/E06/D90/sprockets%2Fc51c976cf65fe1b7ea3a8d3437c3fbee +0 -0
  348. data/test/dummy/tmp/cache/assets/E09/490/sprockets%2F31b57dfcfc38ebd8be07c780eac9546f +0 -0
  349. data/test/dummy/tmp/cache/assets/E0C/550/sprockets%2Fde1de47f7bec676ef3f0b6171bd8fc66 +0 -0
  350. data/test/dummy/tmp/cache/assets/E27/4C0/sprockets%2F4ddd84d4d59afdb10abd50ef28a2e82d +0 -0
  351. data/test/dummy/tmp/cache/assets/E27/8C0/sprockets%2Fce4323f03e42ffb790bc195ccd5ccecd +0 -0
  352. data/test/dummy/tmp/cache/assets/E2C/C50/sprockets%2F9f6dc81c9d17c3efeb2af14b8ca3db06 +0 -0
  353. data/test/dummy/tmp/cache/assets/E2D/500/sprockets%2F4d0b1f5f70e3bdbffc345df73d0cd86f +0 -0
  354. data/test/dummy/tmp/cache/assets/E39/010/sprockets%2Fc7daa00fdeb8fe26eed26383996ccb9d +0 -0
  355. data/test/dummy/tmp/cache/assets/E39/7E0/sprockets%2Faabe9e16d7c0f744e92ace69ac89c8ca +0 -0
  356. data/test/dummy/tmp/cache/assets/E4D/EB0/sprockets%2F67e22a393ec4b1befa7e4acb5ab0abf7 +0 -0
  357. data/test/dummy/tmp/cache/assets/E4F/550/sprockets%2F0a1ce684bac9ccc239abba9cbc9703af +0 -0
  358. data/test/dummy/tmp/cache/assets/E50/BD0/sprockets%2Ff4da2cabe2bd8781cd00a07cbeca588f +0 -0
  359. data/test/dummy/tmp/cache/assets/E51/DE0/sprockets%2Fd492caa8f9ac6b0ff7db4a6c0b13b1fd +0 -0
  360. data/test/dummy/tmp/cache/assets/E64/6C0/sprockets%2Fd3bf894202dbd3bbcfa789b7aff5fca8 +0 -0
  361. data/test/dummy/tmp/cache/assets/E76/0B0/sprockets%2Ffc7c2ffd75cee85883ef7de0ac98fa3b +0 -0
  362. data/test/dummy/tmp/cache/assets/E7E/4E0/sprockets%2Ff2c4fd0d6cdc2bdfb7fe6ee3110a1f2d +0 -0
  363. data/test/dummy/tmp/cache/assets/E8F/D80/sprockets%2Fcad4fd8f7c0b718bacb051c6f9cfb9fc +0 -0
  364. data/test/dummy/tmp/cache/assets/F10/A10/sprockets%2F4df9fbcb5ab3cd7abea6da4ecc70ba4f +0 -0
  365. data/test/dummy/tmp/restart.txt +0 -0
  366. data/test/fixtures/bcms_bitly/short_links.yml +9 -0
  367. data/test/functional/bcms_bitly/short_links_controller_test.rb +9 -0
  368. data/test/integration/navigation_test.rb +10 -0
  369. data/test/test_helper.rb +15 -0
  370. data/test/unit/bcms_bitly/short_link_test.rb +18 -0
  371. data/test/unit/helpers/bcms_bitly/short_links_helper_test.rb +6 -0
  372. metadata +802 -0
@@ -0,0 +1,3322 @@
1
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'file_blocks'>
2
+ Creating scope :public. Overwriting existing method Cms::Group.public.
3
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
4
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'file_blocks'>
5
+ Creating scope :system. Overwriting existing method Cms::Section.system.
6
+ Setting path /members
7
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'dynamic_views'>
8
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'dynamic_views'>
9
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
10
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
11
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
12
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
13
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
14
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
15
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
16
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
17
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
18
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
19
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
20
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
21
+  (0.1ms) begin transaction
22
+  (0.0ms) rollback transaction
23
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'file_blocks'>
24
+ Creating scope :public. Overwriting existing method Cms::Group.public.
25
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
26
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'file_blocks'>
27
+ Creating scope :system. Overwriting existing method Cms::Section.system.
28
+ Setting path /members
29
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'dynamic_views'>
30
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'dynamic_views'>
31
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
32
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
33
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
34
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
35
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
36
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
37
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
38
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
39
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
40
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
41
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
42
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
43
+  (0.1ms) begin transaction
44
+  (0.0ms) rollback transaction
45
+  (0.0ms) begin transaction
46
+  (0.0ms) rollback transaction
47
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'file_blocks'>
48
+ Creating scope :public. Overwriting existing method Cms::Group.public.
49
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
50
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'file_blocks'>
51
+ Creating scope :system. Overwriting existing method Cms::Section.system.
52
+ Setting path /members
53
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'dynamic_views'>
54
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'dynamic_views'>
55
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
56
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
57
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
58
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
59
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
60
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
61
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
62
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
63
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
64
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
65
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
66
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'portlets'>
67
+  (0.1ms) begin transaction
68
+  (0.0ms) rollback transaction
69
+  (0.1ms) begin transaction
70
+  (0.0ms) rollback transaction
71
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
72
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'file_blocks'>
73
+ Can't set a default_scope for soft_deleting: #<ActiveRecord::StatementInvalid: Could not find table 'file_blocks'>
74
+  (0.2ms) select sqlite_version(*)
75
+  (10.3ms) CREATE TABLE "bcms_bitly_short_link_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_record_id" integer, "version" integer, "url" varchar(255), "page_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar(255), "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "version_comment" varchar(255), "created_by_id" integer, "updated_by_id" integer)
76
+  (3.1ms) CREATE TABLE "bcms_bitly_short_links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" integer, "lock_version" integer DEFAULT 0, "url" varchar(255), "page_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "name" varchar(255), "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "created_by_id" integer, "updated_by_id" integer) 
77
+  (2.4ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "category_type_id" integer, "parent_id" integer, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
78
+  (1.4ms) CREATE TABLE "category_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
79
+  (1.0ms) CREATE TABLE "cms_attachment_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_record_id" integer, "version" integer, "data_file_path" varchar(255), "file_location" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "data_file_name" varchar(255), "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "version_comment" varchar(255), "created_by_id" integer, "updated_by_id" integer, "data_fingerprint" varchar(255), "attachable_type" varchar(255), "attachment_name" varchar(255), "attachable_id" integer, "attachable_version" integer, "cardinality" varchar(255))
80
+  (0.0ms) PRAGMA index_list("cms_attachment_versions")
81
+  (0.7ms) CREATE INDEX "index_attachment_versions_on_original_record_id" ON "cms_attachment_versions" ("original_record_id")
82
+  (0.9ms) CREATE TABLE "cms_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" integer, "lock_version" integer DEFAULT 0, "data_file_path" varchar(255), "file_location" varchar(255), "data_content_type" varchar(255), "data_file_size" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "data_file_name" varchar(255), "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "created_by_id" integer, "updated_by_id" integer, "data_fingerprint" varchar(255), "attachable_type" varchar(255), "attachment_name" varchar(255), "attachable_id" integer, "attachable_version" integer, "cardinality" varchar(255)) 
83
+  (0.8ms) CREATE TABLE "connectors" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "page_id" integer, "page_version" integer, "connectable_id" integer, "connectable_type" varchar(255), "connectable_version" integer, "container" varchar(255), "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
84
+  (0.0ms) PRAGMA index_list("connectors")
85
+  (0.7ms) CREATE INDEX "index_connectors_on_connectable_type" ON "connectors" ("connectable_type")
86
+  (0.1ms) PRAGMA index_list("connectors")
87
+  (0.0ms) PRAGMA index_info('index_connectors_on_connectable_type')
88
+  (0.7ms) CREATE INDEX "index_connectors_on_connectable_version" ON "connectors" ("connectable_version")
89
+  (0.1ms) PRAGMA index_list("connectors")
90
+  (0.0ms) PRAGMA index_info('index_connectors_on_connectable_version')
91
+  (0.0ms) PRAGMA index_info('index_connectors_on_connectable_type')
92
+  (0.9ms) CREATE INDEX "index_connectors_on_page_id" ON "connectors" ("page_id")
93
+  (0.0ms) PRAGMA index_list("connectors")
94
+  (0.0ms) PRAGMA index_info('index_connectors_on_page_id')
95
+  (0.0ms) PRAGMA index_info('index_connectors_on_connectable_version')
96
+  (0.0ms) PRAGMA index_info('index_connectors_on_connectable_type')
97
+  (1.0ms) CREATE INDEX "index_connectors_on_page_version" ON "connectors" ("page_version")
98
+  (1.5ms) CREATE TABLE "content_type_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
99
+  (0.9ms) CREATE TABLE "content_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "content_type_group_id" integer, "priority" integer DEFAULT 2, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
100
+  (0.0ms) PRAGMA index_list("content_types")
101
+  (0.7ms) CREATE INDEX "index_content_types_on_content_type_group_id" ON "content_types" ("content_type_group_id")
102
+  (0.1ms) PRAGMA index_list("content_types")
103
+  (0.0ms) PRAGMA index_info('index_content_types_on_content_type_group_id')
104
+  (0.9ms) CREATE INDEX "index_content_types_on_name" ON "content_types" ("name")
105
+  (0.9ms) CREATE TABLE "dynamic_view_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_record_id" integer, "version" integer, "type" varchar(255), "name" varchar(255), "format" varchar(255), "handler" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "version_comment" varchar(255), "created_by_id" integer, "updated_by_id" integer)
106
+  (1.5ms) CREATE TABLE "dynamic_views" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" integer, "lock_version" integer DEFAULT 0, "type" varchar(255), "name" varchar(255), "format" varchar(255), "handler" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "created_by_id" integer, "updated_by_id" integer) 
107
+  (1.1ms) CREATE TABLE "email_messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sender" varchar(255), "recipients" text, "subject" text, "cc" text, "bcc" text, "body" text, "content_type" varchar(255), "delivered_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
108
+  (1.4ms) CREATE TABLE "file_block_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_record_id" integer, "version" integer, "type" varchar(255), "name" varchar(255), "attachment_id" integer, "attachment_version" integer, "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "version_comment" varchar(255), "created_by_id" integer, "updated_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
109
+  (0.0ms) PRAGMA index_list("file_block_versions")
110
+  (0.8ms) CREATE INDEX "index_file_block_versions_on_original_record_id" ON "file_block_versions" ("original_record_id")
111
+  (0.0ms) PRAGMA index_list("file_block_versions")
112
+  (0.0ms) PRAGMA index_info('index_file_block_versions_on_original_record_id')
113
+  (0.7ms) CREATE INDEX "index_file_block_versions_on_version" ON "file_block_versions" ("version")
114
+  (1.1ms) CREATE TABLE "file_blocks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" integer, "lock_version" integer DEFAULT 0, "type" varchar(255), "name" varchar(255), "attachment_id" integer, "attachment_version" integer, "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "created_by_id" integer, "updated_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
115
+  (0.0ms) PRAGMA index_list("file_blocks")
116
+  (0.9ms) CREATE INDEX "index_file_blocks_on_deleted" ON "file_blocks" ("deleted")
117
+  (0.0ms) PRAGMA index_list("file_blocks")
118
+  (0.1ms) PRAGMA index_info('index_file_blocks_on_deleted')
119
+  (1.0ms) CREATE INDEX "index_file_blocks_on_type" ON "file_blocks" ("type")
120
+  (1.3ms) CREATE TABLE "group_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "permission_id" integer) 
121
+  (0.0ms) PRAGMA index_list("group_permissions")
122
+  (0.8ms) CREATE INDEX "index_group_permissions_on_group_id_and_permission_id" ON "group_permissions" ("group_id", "permission_id")
123
+  (0.0ms) PRAGMA index_list("group_permissions")
124
+  (0.0ms) PRAGMA index_info('index_group_permissions_on_group_id_and_permission_id')
125
+  (0.8ms) CREATE INDEX "index_group_permissions_on_group_id" ON "group_permissions" ("group_id")
126
+  (0.0ms) PRAGMA index_list("group_permissions")
127
+  (0.0ms) PRAGMA index_info('index_group_permissions_on_group_id')
128
+  (0.0ms) PRAGMA index_info('index_group_permissions_on_group_id_and_permission_id')
129
+  (1.5ms) CREATE INDEX "index_group_permissions_on_permission_id" ON "group_permissions" ("permission_id")
130
+  (0.8ms) CREATE TABLE "group_sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_id" integer, "section_id" integer) 
131
+  (0.0ms) PRAGMA index_list("group_sections")
132
+  (0.7ms) CREATE INDEX "index_group_sections_on_group_id" ON "group_sections" ("group_id")
133
+  (0.0ms) PRAGMA index_list("group_sections")
134
+  (0.0ms) PRAGMA index_info('index_group_sections_on_group_id')
135
+  (0.8ms) CREATE INDEX "index_group_sections_on_section_id" ON "group_sections" ("section_id")
136
+  (1.0ms) CREATE TABLE "group_type_permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "group_type_id" integer, "permission_id" integer) 
137
+  (1.0ms) CREATE TABLE "group_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "guest" boolean DEFAULT 'f', "cms_access" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
138
+  (0.0ms) PRAGMA index_list("group_types")
139
+  (1.0ms) CREATE INDEX "index_group_types_on_cms_access" ON "group_types" ("cms_access")
140
+  (1.4ms) CREATE TABLE "groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "group_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
141
+  (0.0ms) PRAGMA index_list("groups")
142
+  (0.8ms) CREATE INDEX "index_groups_on_code" ON "groups" ("code")
143
+  (0.0ms) PRAGMA index_list("groups")
144
+  (0.0ms) PRAGMA index_info('index_groups_on_code')
145
+  (0.8ms) CREATE INDEX "index_groups_on_group_type_id" ON "groups" ("group_type_id")
146
+  (1.4ms) CREATE TABLE "html_block_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_record_id" integer, "version" integer, "name" varchar(255), "content" varchar(65537), "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "version_comment" varchar(255), "created_by_id" integer, "updated_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
147
+  (0.0ms) PRAGMA index_list("html_block_versions")
148
+  (0.8ms) CREATE INDEX "index_html_block_versions_on_original_record_id" ON "html_block_versions" ("original_record_id")
149
+  (0.0ms) PRAGMA index_list("html_block_versions")
150
+  (0.0ms) PRAGMA index_info('index_html_block_versions_on_original_record_id')
151
+  (0.7ms) CREATE INDEX "index_html_block_versions_on_version" ON "html_block_versions" ("version")
152
+  (1.1ms) CREATE TABLE "html_blocks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" integer, "lock_version" integer DEFAULT 0, "name" varchar(255), "content" varchar(65537), "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "created_by_id" integer, "updated_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
153
+  (0.0ms) PRAGMA index_list("html_blocks")
154
+  (0.8ms) CREATE INDEX "index_html_blocks_on_deleted" ON "html_blocks" ("deleted")
155
+  (1.2ms) CREATE TABLE "link_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_record_id" integer, "version" integer, "name" varchar(255), "url" varchar(255), "new_window" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "version_comment" varchar(255), "created_by_id" integer, "updated_by_id" integer)
156
+  (1.1ms) CREATE TABLE "links" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" integer, "lock_version" integer DEFAULT 0, "name" varchar(255), "url" varchar(255), "new_window" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "created_by_id" integer, "updated_by_id" integer, "latest_version" integer) 
157
+  (1.5ms) CREATE TABLE "page_route_options" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "page_route_id" integer, "type" varchar(255), "name" varchar(255), "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
158
+  (1.4ms) CREATE TABLE "page_routes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "pattern" varchar(255), "page_id" integer, "code" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
159
+  (1.0ms) CREATE TABLE "page_versions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_record_id" integer, "version" integer, "name" varchar(255), "title" varchar(255), "path" varchar(255), "template_file_name" varchar(255), "description" text, "keywords" text, "language" varchar(255), "cacheable" boolean DEFAULT 'f', "hidden" boolean DEFAULT 'f', "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "version_comment" varchar(255), "created_by_id" integer, "updated_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
160
+  (0.0ms) PRAGMA index_list("page_versions")
161
+  (0.9ms) CREATE INDEX "index_page_versions_on_original_record_id" ON "page_versions" ("original_record_id")
162
+  (1.1ms) CREATE TABLE "pages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "version" integer, "lock_version" integer DEFAULT 0, "name" varchar(255), "title" varchar(255), "path" varchar(255), "template_file_name" varchar(255), "description" text, "keywords" text, "language" varchar(255), "cacheable" boolean DEFAULT 'f', "hidden" boolean DEFAULT 'f', "published" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "archived" boolean DEFAULT 'f', "created_by_id" integer, "updated_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "latest_version" integer) 
163
+  (0.0ms) PRAGMA index_list("pages")
164
+  (1.0ms) CREATE INDEX "index_pages_on_deleted" ON "pages" ("deleted")
165
+  (0.0ms) PRAGMA index_list("pages")
166
+  (0.0ms) PRAGMA index_info('index_pages_on_deleted')
167
+  (0.9ms) CREATE INDEX "index_pages_on_path" ON "pages" ("path")
168
+  (0.0ms) PRAGMA index_list("pages")
169
+  (0.0ms) PRAGMA index_info('index_pages_on_path')
170
+  (0.0ms) PRAGMA index_info('index_pages_on_deleted')
171
+  (0.9ms) CREATE INDEX "index_pages_on_version" ON "pages" ("version")
172
+  (1.2ms) CREATE TABLE "permissions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "full_name" varchar(255), "description" varchar(255), "for_module" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
173
+  (1.5ms) CREATE TABLE "portlet_attributes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "portlet_id" integer, "name" varchar(255), "value" text)
174
+  (0.0ms) PRAGMA index_list("portlet_attributes")
175
+  (0.8ms) CREATE INDEX "index_portlet_attributes_on_portlet_id" ON "portlet_attributes" ("portlet_id")
176
+  (0.9ms) CREATE TABLE "portlets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "type" varchar(255), "name" varchar(255), "archived" boolean DEFAULT 'f', "deleted" boolean DEFAULT 'f', "created_by_id" integer, "updated_by_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
177
+  (0.0ms) PRAGMA index_list("portlets")
178
+  (0.8ms) CREATE INDEX "index_portlets_on_name" ON "portlets" ("name")
179
+  (1.0ms) CREATE TABLE "redirects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "from_path" varchar(255), "to_path" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
180
+  (0.0ms) PRAGMA index_list("redirects")
181
+  (0.8ms) CREATE INDEX "index_redirects_on_from_path" ON "redirects" ("from_path")
182
+  (1.0ms) CREATE TABLE "section_nodes" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "node_type" varchar(255), "node_id" integer, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "ancestry" varchar(255)) 
183
+  (0.0ms) PRAGMA index_list("section_nodes")
184
+  (0.8ms) CREATE INDEX "index_section_nodes_on_ancestry" ON "section_nodes" ("ancestry")
185
+  (0.0ms) PRAGMA index_list("section_nodes")
186
+  (0.0ms) PRAGMA index_info('index_section_nodes_on_ancestry')
187
+  (0.9ms) CREATE INDEX "index_section_nodes_on_node_type" ON "section_nodes" ("node_type")
188
+  (1.5ms) CREATE TABLE "sections" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "path" varchar(255), "root" boolean DEFAULT 'f', "hidden" boolean DEFAULT 'f', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
189
+  (0.0ms) PRAGMA index_list("sections")
190
+  (0.8ms) CREATE INDEX "index_sections_on_path" ON "sections" ("path")
191
+  (0.9ms) CREATE TABLE "sites" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "domain" varchar(255), "the_default" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
192
+  (1.0ms) CREATE TABLE "taggings" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "tag_id" integer, "taggable_id" integer, "taggable_type" varchar(255), "taggable_version" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
193
+  (0.9ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
194
+  (0.9ms) CREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "assigned_by_id" integer, "assigned_to_id" integer, "page_id" integer, "comment" text, "due_date" date, "completed_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
195
+  (0.1ms) PRAGMA index_list("tasks")
196
+  (1.0ms) CREATE INDEX "index_tasks_on_assigned_to_id" ON "tasks" ("assigned_to_id")
197
+  (0.1ms) PRAGMA index_list("tasks")
198
+  (0.0ms) PRAGMA index_info('index_tasks_on_assigned_to_id')
199
+  (1.5ms) CREATE INDEX "index_tasks_on_completed_at" ON "tasks" ("completed_at")
200
+  (0.0ms) PRAGMA index_list("tasks")
201
+  (0.0ms) PRAGMA index_info('index_tasks_on_completed_at')
202
+  (0.0ms) PRAGMA index_info('index_tasks_on_assigned_to_id')
203
+  (1.5ms) CREATE INDEX "index_tasks_on_page_id" ON "tasks" ("page_id")
204
+  (1.0ms) CREATE TABLE "user_group_memberships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "group_id" integer) 
205
+  (0.0ms) PRAGMA index_list("user_group_memberships")
206
+  (1.0ms) CREATE INDEX "index_user_group_memberships_on_group_id" ON "user_group_memberships" ("group_id")
207
+  (0.1ms) PRAGMA index_list("user_group_memberships")
208
+  (0.1ms) PRAGMA index_info('index_user_group_memberships_on_group_id')
209
+  (1.0ms) CREATE INDEX "index_user_group_memberships_on_user_id" ON "user_group_memberships" ("user_id")
210
+  (1.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "login" varchar(40), "first_name" varchar(40), "last_name" varchar(40), "email" varchar(40), "crypted_password" varchar(40), "salt" varchar(40), "created_at" datetime, "updated_at" datetime, "expires_at" datetime, "remember_token" varchar(40), "remember_token_expires_at" datetime, "reset_token" varchar(255)) 
211
+  (0.1ms) PRAGMA index_list("users")
212
+  (1.1ms) CREATE INDEX "index_users_on_expires_at" ON "users" ("expires_at")
213
+  (0.1ms) PRAGMA index_list("users")
214
+  (0.0ms) PRAGMA index_info('index_users_on_expires_at')
215
+  (0.8ms) CREATE UNIQUE INDEX "index_users_on_login" ON "users" ("login")
216
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
217
+  (0.0ms) PRAGMA index_list("schema_migrations")
218
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
219
+  (0.1ms) SELECT version FROM "schema_migrations"
220
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20120516162513')
221
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120515202553')
222
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120515202554')
223
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120515202555')
224
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120515202556')
225
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20120515202557')
226
+  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20120515202558')
227
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
228
+  (0.1ms) begin transaction
229
+ Cms::User Exists (0.2ms) SELECT 1 FROM "users" WHERE LOWER("users"."login") = LOWER('cmsadmin') LIMIT 1
230
+ Binary data inserted for `string` type on column `crypted_password`
231
+ Binary data inserted for `string` type on column `salt`
232
+ SQL (2.1ms) INSERT INTO "users" ("created_at", "crypted_password", "email", "expires_at", "first_name", "last_name", "login", "remember_token", "remember_token_expires_at", "reset_token", "salt", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["crypted_password", "79f4e4d5799eec282f5e8e644e0a7f92c769f52b"], ["email", "cmsadmin@example.com"], ["expires_at", nil], ["first_name", "CMS"], ["last_name", "Administrator"], ["login", "cmsadmin"], ["remember_token", nil], ["remember_token_expires_at", nil], ["reset_token", nil], ["salt", "19e29ae697eb2ba85cbf492dc85c8860d7b421c9"], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
233
+  (0.8ms) commit transaction
234
+  (0.1ms) begin transaction
235
+ Cms::ContentTypeGroup Load (0.1ms) SELECT "content_type_groups".* FROM "content_type_groups" WHERE "content_type_groups"."name" = 'Categorization' LIMIT 1
236
+ SQL (0.6ms) INSERT INTO "content_type_groups" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["name", "Categorization"], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
237
+ SQL (0.3ms) INSERT INTO "content_types" ("content_type_group_id", "created_at", "name", "priority", "updated_at") VALUES (?, ?, ?, ?, ?) [["content_type_group_id", 1], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["name", "Cms::CategoryType"], ["priority", 2], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
238
+  (1.0ms) commit transaction
239
+  (0.1ms) begin transaction
240
+ Cms::ContentTypeGroup Load (0.2ms) SELECT "content_type_groups".* FROM "content_type_groups" WHERE "content_type_groups"."name" = 'Categorization' LIMIT 1
241
+ SQL (0.4ms) INSERT INTO "content_types" ("content_type_group_id", "created_at", "name", "priority", "updated_at") VALUES (?, ?, ?, ?, ?) [["content_type_group_id", 1], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["name", "Cms::Category"], ["priority", 2], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
242
+  (1.3ms) commit transaction
243
+  (0.0ms) begin transaction
244
+ Cms::ContentTypeGroup Load (0.2ms) SELECT "content_type_groups".* FROM "content_type_groups" WHERE "content_type_groups"."name" = 'Categorization' LIMIT 1
245
+ SQL (0.3ms) INSERT INTO "content_types" ("content_type_group_id", "created_at", "name", "priority", "updated_at") VALUES (?, ?, ?, ?, ?) [["content_type_group_id", 1], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["name", "Cms::Tag"], ["priority", 2], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
246
+  (1.2ms) commit transaction
247
+  (0.0ms) begin transaction
248
+ Cms::ContentTypeGroup Load (0.1ms) SELECT "content_type_groups".* FROM "content_type_groups" WHERE "content_type_groups"."name" = 'Core' LIMIT 1
249
+ SQL (0.3ms) INSERT INTO "content_type_groups" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["name", "Core"], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
250
+ SQL (0.2ms) INSERT INTO "content_types" ("content_type_group_id", "created_at", "name", "priority", "updated_at") VALUES (?, ?, ?, ?, ?) [["content_type_group_id", 2], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["name", "Cms::HtmlBlock"], ["priority", 2], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
251
+  (0.9ms) commit transaction
252
+  (0.0ms) begin transaction
253
+ Cms::ContentTypeGroup Load (0.1ms) SELECT "content_type_groups".* FROM "content_type_groups" WHERE "content_type_groups"."name" = 'Core' LIMIT 1
254
+ SQL (0.3ms) INSERT INTO "content_types" ("content_type_group_id", "created_at", "name", "priority", "updated_at") VALUES (?, ?, ?, ?, ?) [["content_type_group_id", 2], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["name", "Cms::Portlet"], ["priority", 2], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
255
+  (0.7ms) commit transaction
256
+  (0.1ms) begin transaction
257
+ Cms::ContentTypeGroup Load (0.2ms) SELECT "content_type_groups".* FROM "content_type_groups" WHERE "content_type_groups"."name" = 'Core' LIMIT 1
258
+ SQL (0.4ms) INSERT INTO "content_types" ("content_type_group_id", "created_at", "name", "priority", "updated_at") VALUES (?, ?, ?, ?, ?) [["content_type_group_id", 2], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["name", "Cms::FileBlock"], ["priority", 2], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
259
+  (1.2ms) commit transaction
260
+  (0.0ms) begin transaction
261
+ Cms::ContentTypeGroup Load (0.1ms) SELECT "content_type_groups".* FROM "content_type_groups" WHERE "content_type_groups"."name" = 'Core' LIMIT 1
262
+ SQL (0.3ms) INSERT INTO "content_types" ("content_type_group_id", "created_at", "name", "priority", "updated_at") VALUES (?, ?, ?, ?, ?) [["content_type_group_id", 2], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["name", "Cms::ImageBlock"], ["priority", 2], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
263
+  (1.2ms) commit transaction
264
+  (0.1ms) begin transaction
265
+ Cms::Permission Exists (0.2ms) SELECT 1 FROM "permissions" WHERE "permissions"."name" = 'administrate' LIMIT 1
266
+ SQL (0.7ms) INSERT INTO "permissions" ("created_at", "description", "for_module", "full_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["description", "Allows users to administer the CMS, including adding users and groups."], ["for_module", nil], ["full_name", "Administer CMS"], ["name", "administrate"], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
267
+  (1.0ms) commit transaction
268
+  (0.0ms) begin transaction
269
+ Cms::Permission Exists (0.2ms) SELECT 1 FROM "permissions" WHERE "permissions"."name" = 'edit_content' LIMIT 1
270
+ SQL (0.4ms) INSERT INTO "permissions" ("created_at", "description", "for_module", "full_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["description", "Allows users to Add, Edit and Delete both Pages and Blocks. Can Save (but not Publish) and Assign them as well."], ["for_module", nil], ["full_name", "Edit Content"], ["name", "edit_content"], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
271
+  (1.0ms) commit transaction
272
+  (0.1ms) begin transaction
273
+ Cms::Permission Exists (0.2ms) SELECT 1 FROM "permissions" WHERE "permissions"."name" = 'publish_content' LIMIT 1
274
+ SQL (0.6ms) INSERT INTO "permissions" ("created_at", "description", "for_module", "full_name", "name", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["description", "Allows users to Save and Publish, Hide and Archive both Pages and Blocks."], ["for_module", nil], ["full_name", "Publish Content"], ["name", "publish_content"], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
275
+  (0.9ms) commit transaction
276
+  (0.1ms) begin transaction
277
+ SQL (0.5ms) INSERT INTO "group_types" ("cms_access", "created_at", "guest", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["cms_access", false], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["guest", true], ["name", "Guest"], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
278
+  (1.0ms) commit transaction
279
+  (0.0ms) begin transaction
280
+ SQL (0.4ms) INSERT INTO "group_types" ("cms_access", "created_at", "guest", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["cms_access", false], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["guest", false], ["name", "Registered Public User"], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
281
+  (0.7ms) commit transaction
282
+  (0.1ms) begin transaction
283
+ SQL (0.6ms) INSERT INTO "group_types" ("cms_access", "created_at", "guest", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["cms_access", true], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["guest", false], ["name", "CMS User"], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
284
+  (0.8ms) commit transaction
285
+ Cms::GroupType Load (0.3ms) SELECT "group_types".* FROM "group_types" WHERE "group_types"."id" = ? LIMIT 1 [["id", 3]]
286
+ Cms::Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."id" = ? LIMIT 1 [["id", 2]]
287
+  (0.0ms) begin transaction
288
+ SQL (0.4ms) INSERT INTO "group_type_permissions" ("group_type_id", "permission_id") VALUES (?, ?) [["group_type_id", 3], ["permission_id", 2]]
289
+  (1.1ms) commit transaction
290
+ Cms::GroupType Load (0.1ms) SELECT "group_types".* FROM "group_types" WHERE "group_types"."id" = ? LIMIT 1 [["id", 3]]
291
+ Cms::Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."id" = ? LIMIT 1 [["id", 3]]
292
+  (0.0ms) begin transaction
293
+ SQL (0.2ms) INSERT INTO "group_type_permissions" ("group_type_id", "permission_id") VALUES (?, ?) [["group_type_id", 3], ["permission_id", 3]]
294
+  (0.8ms) commit transaction
295
+ Cms::GroupType Load (0.1ms) SELECT "group_types".* FROM "group_types" WHERE "group_types"."id" = ? LIMIT 1 [["id", 1]]
296
+ Creating scope :public. Overwriting existing method Cms::Group.public.
297
+  (0.1ms) begin transaction
298
+ SQL (0.7ms) INSERT INTO "groups" ("code", "created_at", "group_type_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "guest"], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["group_type_id", 1], ["name", "Guest"], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
299
+  (0.7ms) commit transaction
300
+ Cms::GroupType Load (0.1ms) SELECT "group_types".* FROM "group_types" WHERE "group_types"."id" = ? LIMIT 1 [["id", 3]]
301
+  (0.0ms) begin transaction
302
+ SQL (0.4ms) INSERT INTO "groups" ("code", "created_at", "group_type_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "cms-admin"], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["group_type_id", 3], ["name", "Cms Administrators"], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
303
+  (1.2ms) commit transaction
304
+ Cms::GroupType Load (0.1ms) SELECT "group_types".* FROM "group_types" WHERE "group_types"."id" = ? LIMIT 1 [["id", 3]]
305
+  (0.0ms) begin transaction
306
+ SQL (0.3ms) INSERT INTO "groups" ("code", "created_at", "group_type_id", "name", "updated_at") VALUES (?, ?, ?, ?, ?) [["code", "content-editor"], ["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["group_type_id", 3], ["name", "Content Editors"], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
307
+  (1.2ms) commit transaction
308
+ Cms::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
309
+ Cms::Group Load (0.2ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 2]]
310
+  (0.0ms) begin transaction
311
+ SQL (0.6ms) INSERT INTO "user_group_memberships" ("group_id", "user_id") VALUES (?, ?) [["group_id", 2], ["user_id", 1]]
312
+  (0.8ms) commit transaction
313
+ Cms::User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
314
+ Cms::Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 3]]
315
+  (0.1ms) begin transaction
316
+ SQL (0.3ms) INSERT INTO "user_group_memberships" ("group_id", "user_id") VALUES (?, ?) [["group_id", 3], ["user_id", 1]]
317
+  (0.8ms) commit transaction
318
+ Cms::Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 2]]
319
+ Cms::Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."id" = ? LIMIT 1 [["id", 1]]
320
+  (0.1ms) begin transaction
321
+ Cms::GroupPermission Exists (0.2ms) SELECT 1 FROM "group_permissions" WHERE ("group_permissions"."permission_id" = 1 AND "group_permissions"."group_id" = 2) LIMIT 1
322
+ SQL (0.4ms) INSERT INTO "group_permissions" ("group_id", "permission_id") VALUES (?, ?) [["group_id", 2], ["permission_id", 1]]
323
+  (1.1ms) commit transaction
324
+ Cms::Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 3]]
325
+ Cms::Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."id" = ? LIMIT 1 [["id", 2]]
326
+  (0.0ms) begin transaction
327
+ Cms::GroupPermission Exists (0.1ms) SELECT 1 FROM "group_permissions" WHERE ("group_permissions"."permission_id" = 2 AND "group_permissions"."group_id" = 3) LIMIT 1
328
+ SQL (0.2ms) INSERT INTO "group_permissions" ("group_id", "permission_id") VALUES (?, ?) [["group_id", 3], ["permission_id", 2]]
329
+  (1.2ms) commit transaction
330
+ Cms::Group Load (0.1ms) SELECT "groups".* FROM "groups" WHERE "groups"."id" = ? LIMIT 1 [["id", 3]]
331
+ Cms::Permission Load (0.1ms) SELECT "permissions".* FROM "permissions" WHERE "permissions"."id" = ? LIMIT 1 [["id", 3]]
332
+  (0.0ms) begin transaction
333
+ Cms::GroupPermission Exists (0.1ms) SELECT 1 FROM "group_permissions" WHERE ("group_permissions"."permission_id" = 3 AND "group_permissions"."group_id" = 3) LIMIT 1
334
+ SQL (0.2ms) INSERT INTO "group_permissions" ("group_id", "permission_id") VALUES (?, ?) [["group_id", 3], ["permission_id", 3]]
335
+  (1.0ms) commit transaction
336
+  (0.1ms) begin transaction
337
+ Cms::Site Exists (0.2ms) SELECT 1 FROM "sites" WHERE "sites"."domain" = 'example.com' LIMIT 1
338
+ SQL (0.5ms) INSERT INTO "sites" ("created_at", "domain", "name", "the_default", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Wed, 16 May 2012 19:50:12 UTC +00:00], ["domain", "example.com"], ["name", "Default"], ["the_default", nil], ["updated_at", Wed, 16 May 2012 19:50:12 UTC +00:00]]
339
+  (0.1ms) SELECT COUNT(*) FROM "sites" WHERE "sites"."the_default" = 't'
340
+ SQL (0.2ms) UPDATE "sites" SET the_default = 'f'
341
+  (0.1ms) UPDATE "sites" SET "name" = 'Default', "domain" = 'example.com', "created_at" = '2012-05-16 19:50:12.971119', "updated_at" = '2012-05-16 19:50:12.971119', "the_default" = 't' WHERE "sites"."id" = 1
342
+  (0.1ms) SELECT COUNT(*) FROM "sites" WHERE "sites"."the_default" = 't'
343
+  (1.1ms) commit transaction
344
+ Creating scope :system. Overwriting existing method Cms::Section.system.
345
+  (0.1ms) begin transaction
346
+ SQL (0.6ms) INSERT INTO "sections" ("created_at", "hidden", "name", "path", "root", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["hidden", false], ["name", "My Site"], ["path", "/"], ["root", true], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00]]
347
+ Cms::SectionNode Load (0.2ms) SELECT "section_nodes".* FROM "section_nodes" WHERE (ancestry IS NULL) ORDER BY position DESC LIMIT 1
348
+ SQL (0.4ms) INSERT INTO "section_nodes" ("ancestry", "created_at", "node_id", "node_type", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["ancestry", nil], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["node_id", 1], ["node_type", "Cms::Section"], ["position", 1], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00]]
349
+  (0.9ms) commit transaction
350
+ Cms::Section Load (0.3ms) SELECT "sections".* FROM "sections" WHERE "sections"."id" = ? LIMIT 1 [["id", 1]]
351
+ Cms::SectionNode Load (0.2ms) SELECT "section_nodes".* FROM "section_nodes" WHERE "section_nodes"."node_id" = 1 AND "section_nodes"."node_type" = 'Cms::Section' LIMIT 1
352
+  (0.0ms) begin transaction
353
+  (0.0ms) commit transaction
354
+  (0.0ms) begin transaction
355
+ SQL (0.5ms) INSERT INTO "sections" ("created_at", "hidden", "name", "path", "root", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["hidden", true], ["name", "system"], ["path", "/system"], ["root", false], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00]]
356
+ Cms::SectionNode Load (0.2ms) SELECT "section_nodes".* FROM "section_nodes" WHERE (ancestry = '1') ORDER BY position DESC LIMIT 1
357
+ SQL (0.2ms) INSERT INTO "section_nodes" ("ancestry", "created_at", "node_id", "node_type", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["ancestry", "1"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["node_id", 2], ["node_type", "Cms::Section"], ["position", 1], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00]]
358
+  (1.2ms) commit transaction
359
+ Cms::Group Load (0.2ms) SELECT "groups".* FROM "groups"
360
+ Cms::Section Load (0.1ms) SELECT "sections".* FROM "sections" 
361
+ Cms::Section Load (0.2ms) SELECT "sections".* FROM "sections" INNER JOIN "group_sections" ON "sections"."id" = "group_sections"."section_id" WHERE "group_sections"."group_id" = 1
362
+  (0.0ms) begin transaction
363
+ SQL (0.4ms) INSERT INTO "group_sections" ("group_id", "section_id") VALUES (?, ?) [["group_id", 1], ["section_id", 1]]
364
+ SQL (0.0ms) INSERT INTO "group_sections" ("group_id", "section_id") VALUES (?, ?) [["group_id", 1], ["section_id", 2]]
365
+  (0.7ms) commit transaction
366
+ Cms::Section Load (0.3ms) SELECT "sections".* FROM "sections" 
367
+ Cms::Section Load (0.1ms) SELECT "sections".* FROM "sections" INNER JOIN "group_sections" ON "sections"."id" = "group_sections"."section_id" WHERE "group_sections"."group_id" = 2
368
+  (0.0ms) begin transaction
369
+ SQL (0.3ms) INSERT INTO "group_sections" ("group_id", "section_id") VALUES (?, ?) [["group_id", 2], ["section_id", 1]]
370
+ SQL (0.0ms) INSERT INTO "group_sections" ("group_id", "section_id") VALUES (?, ?) [["group_id", 2], ["section_id", 2]]
371
+  (1.0ms) commit transaction
372
+ Cms::Section Load (0.1ms) SELECT "sections".* FROM "sections" 
373
+ Cms::Section Load (0.1ms) SELECT "sections".* FROM "sections" INNER JOIN "group_sections" ON "sections"."id" = "group_sections"."section_id" WHERE "group_sections"."group_id" = 3
374
+  (0.0ms) begin transaction
375
+ SQL (0.2ms) INSERT INTO "group_sections" ("group_id", "section_id") VALUES (?, ?) [["group_id", 3], ["section_id", 1]]
376
+ SQL (0.0ms) INSERT INTO "group_sections" ("group_id", "section_id") VALUES (?, ?) [["group_id", 3], ["section_id", 2]]
377
+  (1.2ms) commit transaction
378
+ Cms::Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE "sections"."id" = ? LIMIT 1 [["id", 1]]
379
+ Cms::SectionNode Load (0.2ms) SELECT "section_nodes".* FROM "section_nodes" WHERE "section_nodes"."node_id" = 1 AND "section_nodes"."node_type" = 'Cms::Section' LIMIT 1
380
+  (0.0ms) begin transaction
381
+  (0.0ms) commit transaction
382
+  (0.0ms) begin transaction
383
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/' AND "pages"."deleted" = 'f') LIMIT 1
384
+ Cms::Page#create_or_update called. Published = false
385
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Home", "title"=>nil, "path"=>"/", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
386
+ Copying connectors from Page v0 to v1.
387
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
388
+ Found connectors []
389
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Home", "title"=>nil, "path"=>"/", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
390
+ SQL (0.6ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", true], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Home"], ["path", "/"], ["published", false], ["template_file_name", "default.html.erb"], ["title", nil], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1]]
391
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", true], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Home"], ["original_record_id", 1], ["path", "/"], ["published", false], ["template_file_name", "default.html.erb"], ["title", nil], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1], ["version_comment", "Created"]]
392
+ Cms::SectionNode Load (0.2ms) SELECT "section_nodes".* FROM "section_nodes" WHERE (ancestry = '1') ORDER BY position DESC LIMIT 1
393
+ SQL (0.2ms) INSERT INTO "section_nodes" ("ancestry", "created_at", "node_id", "node_type", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["ancestry", "1"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["node_id", 1], ["node_type", "Cms::Page"], ["position", 2], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00]]
394
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
395
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 1
396
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
397
+ Cms::Page#publish_if_needed. publish? = 'false'
398
+  (1.3ms) commit transaction
399
+ Cms::Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE "sections"."id" = ? LIMIT 1 [["id", 2]]
400
+ Cms::SectionNode Load (0.3ms) SELECT "section_nodes".* FROM "section_nodes" WHERE "section_nodes"."node_id" = 2 AND "section_nodes"."node_type" = 'Cms::Section' LIMIT 1
401
+  (0.0ms) begin transaction
402
+  (0.0ms) commit transaction
403
+  (0.0ms) begin transaction
404
+ Cms::Page Exists (0.1ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/system/not_found' AND "pages"."deleted" = 'f') LIMIT 1
405
+ Cms::Page#create_or_update called. Published = true
406
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Page Not Found", "title"=>nil, "path"=>"/system/not_found", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>true, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
407
+ Copying connectors from Page v0 to v1.
408
+ Cms::Connector Load (0.2ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
409
+ Found connectors []
410
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Page Not Found", "title"=>nil, "path"=>"/system/not_found", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>true, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
411
+ SQL (0.5ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", true], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["description", nil], ["hidden", true], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Page Not Found"], ["path", "/system/not_found"], ["published", false], ["template_file_name", "default.html.erb"], ["title", nil], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1]]
412
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", true], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["description", nil], ["hidden", true], ["keywords", nil], ["language", nil], ["name", "Page Not Found"], ["original_record_id", 2], ["path", "/system/not_found"], ["published", false], ["template_file_name", "default.html.erb"], ["title", nil], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1], ["version_comment", "Created"]]
413
+ Cms::SectionNode Load (0.1ms) SELECT "section_nodes".* FROM "section_nodes" WHERE (ancestry = '1/2') ORDER BY position DESC LIMIT 1
414
+ SQL (0.2ms) INSERT INTO "section_nodes" ("ancestry", "created_at", "node_id", "node_type", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["ancestry", "1/2"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["node_id", 2], ["node_type", "Cms::Page"], ["position", 1], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00]]
415
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 2 ORDER BY version desc LIMIT 1
416
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 2
417
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 2 ORDER BY version desc LIMIT 1
418
+ Cms::Page#publish_if_needed. publish? = 'true'
419
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 2 ORDER BY version desc LIMIT 1
420
+  (0.1ms) UPDATE "page_versions" SET "published" = 't', "updated_at" = '2012-05-16 19:50:13.284286' WHERE "page_versions"."id" = 2
421
+ AREL (0.1ms) UPDATE "pages" SET "version" = 1, "name" = 'Page Not Found', "title" = NULL, "path" = '/system/not_found', "template_file_name" = 'default.html.erb', "description" = NULL, "keywords" = NULL, "language" = NULL, "cacheable" = 't', "hidden" = 't', "published" = 't', "deleted" = 'f', "archived" = 'f' WHERE "pages"."id" = 2
422
+ Cms::Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = ? LIMIT 1 [["id", 2]]
423
+ Cms::Connector Load (0.2ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" = 2 AND "connectors"."page_version" = 1 ORDER BY connectors.container, connectors.position, position
424
+  (1.1ms) commit transaction
425
+ Cms::Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE "sections"."id" = ? LIMIT 1 [["id", 2]]
426
+ Cms::SectionNode Load (0.2ms) SELECT "section_nodes".* FROM "section_nodes" WHERE "section_nodes"."node_id" = 2 AND "section_nodes"."node_type" = 'Cms::Section' LIMIT 1
427
+  (0.0ms) begin transaction
428
+  (0.0ms) commit transaction
429
+  (0.0ms) begin transaction
430
+ Cms::Page Exists (0.1ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/system/access_denied' AND "pages"."deleted" = 'f') LIMIT 1
431
+ Cms::Page#create_or_update called. Published = true
432
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Access Denied", "title"=>nil, "path"=>"/system/access_denied", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>true, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
433
+ Copying connectors from Page v0 to v1.
434
+ Cms::Connector Load (0.2ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
435
+ Found connectors []
436
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Access Denied", "title"=>nil, "path"=>"/system/access_denied", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>true, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
437
+ SQL (0.4ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", true], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["description", nil], ["hidden", true], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Access Denied"], ["path", "/system/access_denied"], ["published", false], ["template_file_name", "default.html.erb"], ["title", nil], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1]]
438
+ SQL (0.2ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", true], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["description", nil], ["hidden", true], ["keywords", nil], ["language", nil], ["name", "Access Denied"], ["original_record_id", 3], ["path", "/system/access_denied"], ["published", false], ["template_file_name", "default.html.erb"], ["title", nil], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1], ["version_comment", "Created"]]
439
+ Cms::SectionNode Load (0.2ms) SELECT "section_nodes".* FROM "section_nodes" WHERE (ancestry = '1/2') ORDER BY position DESC LIMIT 1
440
+ SQL (0.2ms) INSERT INTO "section_nodes" ("ancestry", "created_at", "node_id", "node_type", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["ancestry", "1/2"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["node_id", 3], ["node_type", "Cms::Page"], ["position", 2], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00]]
441
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 3 ORDER BY version desc LIMIT 1
442
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 3
443
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 3 ORDER BY version desc LIMIT 1
444
+ Cms::Page#publish_if_needed. publish? = 'true'
445
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 3 ORDER BY version desc LIMIT 1
446
+  (0.1ms) UPDATE "page_versions" SET "published" = 't', "updated_at" = '2012-05-16 19:50:13.304859' WHERE "page_versions"."id" = 3
447
+ AREL (0.2ms) UPDATE "pages" SET "version" = 1, "name" = 'Access Denied', "title" = NULL, "path" = '/system/access_denied', "template_file_name" = 'default.html.erb', "description" = NULL, "keywords" = NULL, "language" = NULL, "cacheable" = 't', "hidden" = 't', "published" = 't', "deleted" = 'f', "archived" = 'f' WHERE "pages"."id" = 3
448
+ Cms::Page Load (0.0ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = ? LIMIT 1 [["id", 3]]
449
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" = 3 AND "connectors"."page_version" = 1 ORDER BY connectors.container, connectors.position, position
450
+  (1.2ms) commit transaction
451
+ Cms::Section Load (0.1ms) SELECT "sections".* FROM "sections" WHERE "sections"."id" = ? LIMIT 1 [["id", 2]]
452
+ Cms::SectionNode Load (0.2ms) SELECT "section_nodes".* FROM "section_nodes" WHERE "section_nodes"."node_id" = 2 AND "section_nodes"."node_type" = 'Cms::Section' LIMIT 1
453
+  (0.0ms) begin transaction
454
+  (0.0ms) commit transaction
455
+  (0.0ms) begin transaction
456
+ Cms::Page Exists (0.1ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/system/server_error' AND "pages"."deleted" = 'f') LIMIT 1
457
+ Cms::Page#create_or_update called. Published = true
458
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Server Error", "title"=>nil, "path"=>"/system/server_error", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>true, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
459
+ Copying connectors from Page v0 to v1.
460
+ Cms::Connector Load (0.2ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
461
+ Found connectors []
462
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Server Error", "title"=>nil, "path"=>"/system/server_error", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>true, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
463
+ SQL (0.7ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", true], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["description", nil], ["hidden", true], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Server Error"], ["path", "/system/server_error"], ["published", false], ["template_file_name", "default.html.erb"], ["title", nil], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1]]
464
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", true], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["description", nil], ["hidden", true], ["keywords", nil], ["language", nil], ["name", "Server Error"], ["original_record_id", 4], ["path", "/system/server_error"], ["published", false], ["template_file_name", "default.html.erb"], ["title", nil], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1], ["version_comment", "Created"]]
465
+ Cms::SectionNode Load (0.2ms) SELECT "section_nodes".* FROM "section_nodes" WHERE (ancestry = '1/2') ORDER BY position DESC LIMIT 1
466
+ SQL (0.2ms) INSERT INTO "section_nodes" ("ancestry", "created_at", "node_id", "node_type", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["ancestry", "1/2"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["node_id", 4], ["node_type", "Cms::Page"], ["position", 3], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00]]
467
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 4 ORDER BY version desc LIMIT 1
468
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 4
469
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 4 ORDER BY version desc LIMIT 1
470
+ Cms::Page#publish_if_needed. publish? = 'true'
471
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 4 ORDER BY version desc LIMIT 1
472
+  (0.1ms) UPDATE "page_versions" SET "published" = 't', "updated_at" = '2012-05-16 19:50:13.326960' WHERE "page_versions"."id" = 4
473
+ AREL (0.1ms) UPDATE "pages" SET "version" = 1, "name" = 'Server Error', "title" = NULL, "path" = '/system/server_error', "template_file_name" = 'default.html.erb', "description" = NULL, "keywords" = NULL, "language" = NULL, "cacheable" = 't', "hidden" = 't', "published" = 't', "deleted" = 'f', "archived" = 'f' WHERE "pages"."id" = 4
474
+ Cms::Page Load (0.0ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = ? LIMIT 1 [["id", 4]]
475
+ Cms::Connector Load (0.2ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" = 4 AND "connectors"."page_version" = 1 ORDER BY connectors.container, connectors.position, position
476
+  (1.2ms) commit transaction
477
+  (0.1ms) begin transaction
478
+ Cms::HtmlBlock#create_or_update called. Published = true
479
+ Saving Cms::HtmlBlock {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Page Not Found", "content"=>"<p>The page you tried to access does not exist on this server.</p>", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
480
+ New version of Cms::HtmlBlock::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Page Not Found", "content"=>"<p>The page you tried to access does not exist on this server.</p>", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
481
+ SQL (0.6ms) INSERT INTO "html_blocks" ("archived", "content", "created_at", "created_by_id", "deleted", "lock_version", "name", "published", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["content", "<p>The page you tried to access does not exist on this server.</p>"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["lock_version", 0], ["name", "Page Not Found"], ["published", false], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1]]
482
+ SQL (0.3ms) INSERT INTO "html_block_versions" ("archived", "content", "created_at", "created_by_id", "deleted", "name", "original_record_id", "published", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["content", "<p>The page you tried to access does not exist on this server.</p>"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["name", "Page Not Found"], ["original_record_id", 1], ["published", false], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1], ["version_comment", "Created"]]
483
+ Cms::HtmlBlock::Version Load (0.2ms) SELECT "html_block_versions".* FROM "html_block_versions" WHERE "html_block_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
484
+ SQL (0.2ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'Cms::HtmlBlock' and connectors.connectable_version = 0)
485
+ Cms::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Cms::HtmlBlock' ORDER BY tags.name
486
+ Cms::Tagging Load (0.1ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = 1 AND "taggings"."taggable_type" = 'Cms::HtmlBlock'
487
+ Cms::HtmlBlock#publish_if_needed. publish? = 'true'
488
+ Cms::HtmlBlock::Version Load (0.1ms) SELECT "html_block_versions".* FROM "html_block_versions" WHERE "html_block_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
489
+  (0.3ms) UPDATE "html_block_versions" SET "published" = 't', "updated_at" = '2012-05-16 19:50:13.394790' WHERE "html_block_versions"."id" = 1
490
+ AREL (0.1ms) UPDATE "html_blocks" SET "version" = 1, "name" = 'Page Not Found', "content" = '<p>The page you tried to access does not exist on this server.</p>', "published" = 't', "deleted" = 'f', "archived" = 'f' WHERE "html_blocks"."id" = 1
491
+  (1.2ms) commit transaction
492
+ Cms::Page Load (0.2ms) SELECT "pages".* FROM "pages" WHERE "pages"."deleted" = 'f' AND "pages"."id" = ? LIMIT 1 [["id", 2]]
493
+ Cms::HtmlBlock Load (0.1ms) SELECT "html_blocks".* FROM "html_blocks" WHERE "html_blocks"."deleted" = 'f' AND "html_blocks"."id" = ? LIMIT 1 [["id", 1]]
494
+  (0.0ms) begin transaction
495
+ Cms::Page Exists (0.1ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/system/not_found' AND "pages"."id" != 2 AND "pages"."deleted" = 'f') LIMIT 1
496
+ Cms::Page#create_or_update called. Published = false
497
+ Saving Cms::Page {"id"=>2, "version"=>1, "lock_version"=>0, "name"=>"Page Not Found", "title"=>nil, "path"=>"/system/not_found", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>true, "published"=>true, "deleted"=>false, "archived"=>false, "created_by_id"=>1, "updated_by_id"=>1, "created_at"=>Wed, 16 May 2012 19:50:13 UTC +00:00, "updated_at"=>Wed, 16 May 2012 19:50:13 UTC +00:00, "latest_version"=>1}
498
+ Cms::Page#update
499
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 2 ORDER BY version desc LIMIT 1
500
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 2 ORDER BY version desc LIMIT 1
501
+ Copying connectors from Page 2 v1 to v2.
502
+ Cms::Connector Load (0.1ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" = 2 AND "connectors"."page_version" = 1 ORDER BY connectors.container, connectors.position
503
+ Found connectors []
504
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>2, "version"=>2, "name"=>"Page Not Found", "title"=>nil, "path"=>"/system/not_found", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>true, "published"=>true, "deleted"=>false, "archived"=>false, "version_comment"=>"Html Block 'Page Not Found' was added to the 'main' container", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
505
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", true], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["description", nil], ["hidden", true], ["keywords", nil], ["language", nil], ["name", "Page Not Found"], ["original_record_id", 2], ["path", "/system/not_found"], ["published", true], ["template_file_name", "default.html.erb"], ["title", nil], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 2], ["version_comment", "Html Block 'Page Not Found' was added to the 'main' container"]]
506
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 2 ORDER BY version desc LIMIT 1
507
+  (0.1ms) UPDATE pages SET latest_version = 2 where id = 2
508
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 2 ORDER BY version desc LIMIT 1
509
+ Cms::Page#publish_if_needed. publish? = 'false'
510
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 2 ORDER BY version desc LIMIT 1
511
+ Cms::Connector Load (0.2ms) SELECT "connectors".* FROM "connectors" WHERE (connectors.page_id = 2 and connectors.page_version = 2 and connectors.container = 'main') ORDER BY position DESC LIMIT 1
512
+ SQL (0.5ms) INSERT INTO "connectors" ("connectable_id", "connectable_type", "connectable_version", "container", "created_at", "page_id", "page_version", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["connectable_id", 1], ["connectable_type", "Cms::HtmlBlock"], ["connectable_version", 1], ["container", "main"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["page_id", 2], ["page_version", 2], ["position", 1], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00]]
513
+  (1.4ms) commit transaction
514
+ Cms::Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."deleted" = 'f' AND "pages"."id" = ? LIMIT 1 [["id", 2]]
515
+  (0.0ms) begin transaction
516
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 2 ORDER BY version desc LIMIT 1
517
+ AREL (0.2ms) UPDATE "pages" SET "version" = 2, "name" = 'Page Not Found', "title" = NULL, "path" = '/system/not_found', "template_file_name" = 'default.html.erb', "description" = NULL, "keywords" = NULL, "language" = NULL, "cacheable" = 't', "hidden" = 't', "published" = 't', "deleted" = 'f', "archived" = 'f' WHERE "pages"."id" = 2
518
+ Cms::Page Load (0.0ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = ? LIMIT 1 [["id", 2]]
519
+ Cms::Connector Load (0.2ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" = 2 AND "connectors"."page_version" = 2 ORDER BY connectors.container, connectors.position, position
520
+ Cms::HtmlBlock Load (0.1ms) SELECT "html_blocks".* FROM "html_blocks" WHERE "html_blocks"."deleted" = 'f' AND "html_blocks"."id" = 1 LIMIT 1
521
+ Cms::HtmlBlock::Version Load (0.1ms) SELECT "html_block_versions".* FROM "html_block_versions" WHERE "html_block_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
522
+ Cms::Attachment Load (0.1ms) SELECT "cms_attachments".* FROM "cms_attachments" WHERE "cms_attachments"."deleted" = 'f' AND "cms_attachments"."attachable_id" = 1 AND "cms_attachments"."attachable_type" = 'Cms::HtmlBlock'
523
+  (1.2ms) commit transaction
524
+  (0.0ms) begin transaction
525
+ Cms::HtmlBlock#create_or_update called. Published = true
526
+ Saving Cms::HtmlBlock {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Access Denied", "content"=>"<p>You have tried to reach a resource or page which you do not have permission to view.</p>", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
527
+ New version of Cms::HtmlBlock::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Access Denied", "content"=>"<p>You have tried to reach a resource or page which you do not have permission to view.</p>", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
528
+ SQL (0.5ms) INSERT INTO "html_blocks" ("archived", "content", "created_at", "created_by_id", "deleted", "lock_version", "name", "published", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["content", "<p>You have tried to reach a resource or page which you do not have permission to view.</p>"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["lock_version", 0], ["name", "Access Denied"], ["published", false], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1]]
529
+ SQL (0.2ms) INSERT INTO "html_block_versions" ("archived", "content", "created_at", "created_by_id", "deleted", "name", "original_record_id", "published", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["content", "<p>You have tried to reach a resource or page which you do not have permission to view.</p>"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["name", "Access Denied"], ["original_record_id", 2], ["published", false], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1], ["version_comment", "Created"]]
530
+ Cms::HtmlBlock::Version Load (0.2ms) SELECT "html_block_versions".* FROM "html_block_versions" WHERE "html_block_versions"."original_record_id" = 2 ORDER BY version desc LIMIT 1
531
+ SQL (0.2ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 2 and connectors.connectable_type = 'Cms::HtmlBlock' and connectors.connectable_version = 0)
532
+ Cms::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Cms::HtmlBlock' ORDER BY tags.name
533
+ Cms::Tagging Load (0.1ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = 2 AND "taggings"."taggable_type" = 'Cms::HtmlBlock'
534
+ Cms::HtmlBlock#publish_if_needed. publish? = 'true'
535
+ Cms::HtmlBlock::Version Load (0.1ms) SELECT "html_block_versions".* FROM "html_block_versions" WHERE "html_block_versions"."original_record_id" = 2 ORDER BY version desc LIMIT 1
536
+  (0.3ms) UPDATE "html_block_versions" SET "published" = 't', "updated_at" = '2012-05-16 19:50:13.445140' WHERE "html_block_versions"."id" = 2
537
+ AREL (0.2ms) UPDATE "html_blocks" SET "version" = 1, "name" = 'Access Denied', "content" = '<p>You have tried to reach a resource or page which you do not have permission to view.</p>', "published" = 't', "deleted" = 'f', "archived" = 'f' WHERE "html_blocks"."id" = 2
538
+  (0.9ms) commit transaction
539
+ Cms::Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."deleted" = 'f' AND "pages"."id" = ? LIMIT 1 [["id", 3]]
540
+ Cms::HtmlBlock Load (0.1ms) SELECT "html_blocks".* FROM "html_blocks" WHERE "html_blocks"."deleted" = 'f' AND "html_blocks"."id" = ? LIMIT 1 [["id", 2]]
541
+  (0.0ms) begin transaction
542
+ Cms::Page Exists (0.1ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/system/access_denied' AND "pages"."id" != 3 AND "pages"."deleted" = 'f') LIMIT 1
543
+ Cms::Page#create_or_update called. Published = false
544
+ Saving Cms::Page {"id"=>3, "version"=>1, "lock_version"=>0, "name"=>"Access Denied", "title"=>nil, "path"=>"/system/access_denied", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>true, "published"=>true, "deleted"=>false, "archived"=>false, "created_by_id"=>1, "updated_by_id"=>1, "created_at"=>Wed, 16 May 2012 19:50:13 UTC +00:00, "updated_at"=>Wed, 16 May 2012 19:50:13 UTC +00:00, "latest_version"=>1}
545
+ Cms::Page#update
546
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 3 ORDER BY version desc LIMIT 1
547
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 3 ORDER BY version desc LIMIT 1
548
+ Copying connectors from Page 3 v1 to v2.
549
+ Cms::Connector Load (0.2ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" = 3 AND "connectors"."page_version" = 1 ORDER BY connectors.container, connectors.position
550
+ Found connectors []
551
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>3, "version"=>2, "name"=>"Access Denied", "title"=>nil, "path"=>"/system/access_denied", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>true, "published"=>true, "deleted"=>false, "archived"=>false, "version_comment"=>"Html Block 'Access Denied' was added to the 'main' container", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
552
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", true], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["description", nil], ["hidden", true], ["keywords", nil], ["language", nil], ["name", "Access Denied"], ["original_record_id", 3], ["path", "/system/access_denied"], ["published", true], ["template_file_name", "default.html.erb"], ["title", nil], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 2], ["version_comment", "Html Block 'Access Denied' was added to the 'main' container"]]
553
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 3 ORDER BY version desc LIMIT 1
554
+  (0.1ms) UPDATE pages SET latest_version = 2 where id = 3
555
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 3 ORDER BY version desc LIMIT 1
556
+ Cms::Page#publish_if_needed. publish? = 'false'
557
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 3 ORDER BY version desc LIMIT 1
558
+ Cms::Connector Load (0.1ms) SELECT "connectors".* FROM "connectors" WHERE (connectors.page_id = 3 and connectors.page_version = 2 and connectors.container = 'main') ORDER BY position DESC LIMIT 1
559
+ SQL (0.2ms) INSERT INTO "connectors" ("connectable_id", "connectable_type", "connectable_version", "container", "created_at", "page_id", "page_version", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["connectable_id", 2], ["connectable_type", "Cms::HtmlBlock"], ["connectable_version", 1], ["container", "main"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["page_id", 3], ["page_version", 2], ["position", 1], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00]]
560
+  (1.4ms) commit transaction
561
+ Cms::Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."deleted" = 'f' AND "pages"."id" = ? LIMIT 1 [["id", 3]]
562
+  (0.0ms) begin transaction
563
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 3 ORDER BY version desc LIMIT 1
564
+ AREL (0.2ms) UPDATE "pages" SET "version" = 2, "name" = 'Access Denied', "title" = NULL, "path" = '/system/access_denied', "template_file_name" = 'default.html.erb', "description" = NULL, "keywords" = NULL, "language" = NULL, "cacheable" = 't', "hidden" = 't', "published" = 't', "deleted" = 'f', "archived" = 'f' WHERE "pages"."id" = 3
565
+ Cms::Page Load (0.0ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = ? LIMIT 1 [["id", 3]]
566
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" = 3 AND "connectors"."page_version" = 2 ORDER BY connectors.container, connectors.position, position
567
+ Cms::HtmlBlock Load (0.1ms) SELECT "html_blocks".* FROM "html_blocks" WHERE "html_blocks"."deleted" = 'f' AND "html_blocks"."id" = 2 LIMIT 1
568
+ Cms::HtmlBlock::Version Load (0.1ms) SELECT "html_block_versions".* FROM "html_block_versions" WHERE "html_block_versions"."original_record_id" = 2 ORDER BY version desc LIMIT 1
569
+ Cms::Attachment Load (0.1ms) SELECT "cms_attachments".* FROM "cms_attachments" WHERE "cms_attachments"."deleted" = 'f' AND "cms_attachments"."attachable_id" = 2 AND "cms_attachments"."attachable_type" = 'Cms::HtmlBlock'
570
+  (1.1ms) commit transaction
571
+  (0.1ms) begin transaction
572
+ Cms::HtmlBlock#create_or_update called. Published = true
573
+ Saving Cms::HtmlBlock {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Server Error", "content"=>"<p>The server encountered an unexpected condition that prevented it from fulfilling the request.</p>", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
574
+ New version of Cms::HtmlBlock::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Server Error", "content"=>"<p>The server encountered an unexpected condition that prevented it from fulfilling the request.</p>", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
575
+ SQL (0.7ms) INSERT INTO "html_blocks" ("archived", "content", "created_at", "created_by_id", "deleted", "lock_version", "name", "published", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["content", "<p>The server encountered an unexpected condition that prevented it from fulfilling the request.</p>"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["lock_version", 0], ["name", "Server Error"], ["published", false], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1]]
576
+ SQL (0.4ms) INSERT INTO "html_block_versions" ("archived", "content", "created_at", "created_by_id", "deleted", "name", "original_record_id", "published", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["content", "<p>The server encountered an unexpected condition that prevented it from fulfilling the request.</p>"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["name", "Server Error"], ["original_record_id", 3], ["published", false], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 1], ["version_comment", "Created"]]
577
+ Cms::HtmlBlock::Version Load (0.2ms) SELECT "html_block_versions".* FROM "html_block_versions" WHERE "html_block_versions"."original_record_id" = 3 ORDER BY version desc LIMIT 1
578
+ SQL (0.2ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 3 and connectors.connectable_type = 'Cms::HtmlBlock' and connectors.connectable_version = 0)
579
+ Cms::Tag Load (0.2ms) SELECT "tags".* FROM "tags" INNER JOIN "taggings" ON "tags"."id" = "taggings"."tag_id" WHERE "taggings"."taggable_id" = 3 AND "taggings"."taggable_type" = 'Cms::HtmlBlock' ORDER BY tags.name
580
+ Cms::Tagging Load (0.1ms) SELECT "taggings".* FROM "taggings" WHERE "taggings"."taggable_id" = 3 AND "taggings"."taggable_type" = 'Cms::HtmlBlock'
581
+ Cms::HtmlBlock#publish_if_needed. publish? = 'true'
582
+ Cms::HtmlBlock::Version Load (0.1ms) SELECT "html_block_versions".* FROM "html_block_versions" WHERE "html_block_versions"."original_record_id" = 3 ORDER BY version desc LIMIT 1
583
+  (0.3ms) UPDATE "html_block_versions" SET "published" = 't', "updated_at" = '2012-05-16 19:50:13.536331' WHERE "html_block_versions"."id" = 3
584
+ AREL (0.1ms) UPDATE "html_blocks" SET "version" = 1, "name" = 'Server Error', "content" = '<p>The server encountered an unexpected condition that prevented it from fulfilling the request.</p>', "published" = 't', "deleted" = 'f', "archived" = 'f' WHERE "html_blocks"."id" = 3
585
+  (1.0ms) commit transaction
586
+ Cms::Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."deleted" = 'f' AND "pages"."id" = ? LIMIT 1 [["id", 4]]
587
+ Cms::HtmlBlock Load (0.1ms) SELECT "html_blocks".* FROM "html_blocks" WHERE "html_blocks"."deleted" = 'f' AND "html_blocks"."id" = ? LIMIT 1 [["id", 3]]
588
+  (0.0ms) begin transaction
589
+ Cms::Page Exists (0.1ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/system/server_error' AND "pages"."id" != 4 AND "pages"."deleted" = 'f') LIMIT 1
590
+ Cms::Page#create_or_update called. Published = false
591
+ Saving Cms::Page {"id"=>4, "version"=>1, "lock_version"=>0, "name"=>"Server Error", "title"=>nil, "path"=>"/system/server_error", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>true, "published"=>true, "deleted"=>false, "archived"=>false, "created_by_id"=>1, "updated_by_id"=>1, "created_at"=>Wed, 16 May 2012 19:50:13 UTC +00:00, "updated_at"=>Wed, 16 May 2012 19:50:13 UTC +00:00, "latest_version"=>1}
592
+ Cms::Page#update
593
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 4 ORDER BY version desc LIMIT 1
594
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 4 ORDER BY version desc LIMIT 1
595
+ Copying connectors from Page 4 v1 to v2.
596
+ Cms::Connector Load (0.1ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" = 4 AND "connectors"."page_version" = 1 ORDER BY connectors.container, connectors.position
597
+ Found connectors []
598
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>4, "version"=>2, "name"=>"Server Error", "title"=>nil, "path"=>"/system/server_error", "template_file_name"=>"default.html.erb", "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>true, "hidden"=>true, "published"=>true, "deleted"=>false, "archived"=>false, "version_comment"=>"Html Block 'Server Error' was added to the 'main' container", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
599
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", true], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["created_by_id", 1], ["deleted", false], ["description", nil], ["hidden", true], ["keywords", nil], ["language", nil], ["name", "Server Error"], ["original_record_id", 4], ["path", "/system/server_error"], ["published", true], ["template_file_name", "default.html.erb"], ["title", nil], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["updated_by_id", 1], ["version", 2], ["version_comment", "Html Block 'Server Error' was added to the 'main' container"]]
600
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 4 ORDER BY version desc LIMIT 1
601
+  (0.1ms) UPDATE pages SET latest_version = 2 where id = 4
602
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 4 ORDER BY version desc LIMIT 1
603
+ Cms::Page#publish_if_needed. publish? = 'false'
604
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 4 ORDER BY version desc LIMIT 1
605
+ Cms::Connector Load (0.1ms) SELECT "connectors".* FROM "connectors" WHERE (connectors.page_id = 4 and connectors.page_version = 2 and connectors.container = 'main') ORDER BY position DESC LIMIT 1
606
+ SQL (0.4ms) INSERT INTO "connectors" ("connectable_id", "connectable_type", "connectable_version", "container", "created_at", "page_id", "page_version", "position", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["connectable_id", 3], ["connectable_type", "Cms::HtmlBlock"], ["connectable_version", 1], ["container", "main"], ["created_at", Wed, 16 May 2012 19:50:13 UTC +00:00], ["page_id", 4], ["page_version", 2], ["position", 1], ["updated_at", Wed, 16 May 2012 19:50:13 UTC +00:00]]
607
+  (1.4ms) commit transaction
608
+ Cms::Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."deleted" = 'f' AND "pages"."id" = ? LIMIT 1 [["id", 4]]
609
+  (0.0ms) begin transaction
610
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 4 ORDER BY version desc LIMIT 1
611
+ AREL (0.2ms) UPDATE "pages" SET "version" = 2, "name" = 'Server Error', "title" = NULL, "path" = '/system/server_error', "template_file_name" = 'default.html.erb', "description" = NULL, "keywords" = NULL, "language" = NULL, "cacheable" = 't', "hidden" = 't', "published" = 't', "deleted" = 'f', "archived" = 'f' WHERE "pages"."id" = 4
612
+ Cms::Page Load (0.0ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = ? LIMIT 1 [["id", 4]]
613
+ Cms::Connector Load (0.2ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" = 4 AND "connectors"."page_version" = 2 ORDER BY connectors.container, connectors.position, position
614
+ Cms::HtmlBlock Load (0.1ms) SELECT "html_blocks".* FROM "html_blocks" WHERE "html_blocks"."deleted" = 'f' AND "html_blocks"."id" = 3 LIMIT 1
615
+ Cms::HtmlBlock::Version Load (0.1ms) SELECT "html_block_versions".* FROM "html_block_versions" WHERE "html_block_versions"."original_record_id" = 3 ORDER BY version desc LIMIT 1
616
+ Cms::Attachment Load (0.1ms) SELECT "cms_attachments".* FROM "cms_attachments" WHERE "cms_attachments"."deleted" = 'f' AND "cms_attachments"."attachable_id" = 3 AND "cms_attachments"."attachable_type" = 'Cms::HtmlBlock'
617
+  (0.8ms) commit transaction
618
+ Cms::Page Load (0.1ms) SELECT "pages".* FROM "pages" WHERE "pages"."deleted" = 'f' AND "pages"."id" = ? LIMIT 1 [["id", 1]]
619
+  (0.0ms) begin transaction
620
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
621
+  (0.2ms) UPDATE "page_versions" SET "published" = 't', "updated_at" = '2012-05-16 19:50:13.563993' WHERE "page_versions"."id" = 1
622
+ AREL (0.1ms) UPDATE "pages" SET "version" = 1, "name" = 'Home', "title" = NULL, "path" = '/', "template_file_name" = 'default.html.erb', "description" = NULL, "keywords" = NULL, "language" = NULL, "cacheable" = 't', "hidden" = 'f', "published" = 't', "deleted" = 'f', "archived" = 'f' WHERE "pages"."id" = 1
623
+ Cms::Page Load (0.0ms) SELECT "pages".* FROM "pages" WHERE "pages"."id" = ? LIMIT 1 [["id", 1]]
624
+ Cms::Connector Load (0.2ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" = 1 AND "connectors"."page_version" = 1 ORDER BY connectors.container, connectors.position, position
625
+  (1.1ms) commit transaction
626
+ Creating scope :public. Overwriting existing method Cms::Group.public.
627
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
628
+ Creating scope :system. Overwriting existing method Cms::Section.system.
629
+ Setting path /members
630
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
631
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
632
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
633
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
634
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
635
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
636
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
637
+  (0.1ms) begin transaction
638
+  (0.1ms) rollback transaction
639
+  (0.0ms) begin transaction
640
+  (0.0ms) rollback transaction
641
+ Creating scope :public. Overwriting existing method Cms::Group.public.
642
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
643
+ Creating scope :system. Overwriting existing method Cms::Section.system.
644
+ Setting path /members
645
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
646
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
647
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
648
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
649
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
650
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
651
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
652
+  (0.1ms) begin transaction
653
+  (0.1ms) rollback transaction
654
+  (0.0ms) begin transaction
655
+  (0.0ms) rollback transaction
656
+ Creating scope :public. Overwriting existing method Cms::Group.public.
657
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
658
+ Creating scope :system. Overwriting existing method Cms::Section.system.
659
+ Setting path /members
660
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
661
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
662
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
663
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
664
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
665
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
666
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
667
+  (0.1ms) begin transaction
668
+  (0.1ms) rollback transaction
669
+  (0.0ms) begin transaction
670
+  (0.0ms) rollback transaction
671
+ Creating scope :public. Overwriting existing method Cms::Group.public.
672
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
673
+ Creating scope :system. Overwriting existing method Cms::Section.system.
674
+ Setting path /members
675
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
676
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
677
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
678
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
679
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
680
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
681
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
682
+  (0.1ms) begin transaction
683
+  (0.1ms) rollback transaction
684
+  (0.1ms) begin transaction
685
+  (0.0ms) rollback transaction
686
+ Creating scope :public. Overwriting existing method Cms::Group.public.
687
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
688
+ Creating scope :system. Overwriting existing method Cms::Section.system.
689
+ Setting path /members
690
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
691
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
692
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
693
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
694
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
695
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
696
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
697
+  (0.1ms) begin transaction
698
+  (0.1ms) SAVEPOINT active_record_1
699
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
700
+ Cms::Page#create_or_update called. Published = false
701
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
702
+ Copying connectors from Page v0 to v1.
703
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
704
+ Found connectors []
705
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
706
+ SQL (1.7ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 20:31:06 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 20:31:06 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
707
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 20:31:06 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 20:31:06 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
708
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
709
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
710
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
711
+ Cms::Page#publish_if_needed. publish? = 'false'
712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
713
+  (0.8ms) rollback transaction
714
+  (0.1ms) begin transaction
715
+  (0.1ms) rollback transaction
716
+  (0.1ms) begin transaction
717
+  (0.0ms) rollback transaction
718
+ Creating scope :public. Overwriting existing method Cms::Group.public.
719
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
720
+ Creating scope :system. Overwriting existing method Cms::Section.system.
721
+ Setting path /members
722
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
723
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
724
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
725
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
726
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
727
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
728
+ Cms::PageRoute Load (0.5ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
729
+  (0.1ms) begin transaction
730
+  (0.2ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
731
+  (0.1ms) SAVEPOINT active_record_1
732
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
733
+ Cms::Page#create_or_update called. Published = false
734
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
735
+ Copying connectors from Page v0 to v1.
736
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
737
+ Found connectors []
738
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
739
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 20:34:11 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 20:34:11 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
740
+ SQL (0.5ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 20:34:11 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 20:34:11 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
741
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
742
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
743
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
744
+ Cms::Page#publish_if_needed. publish? = 'false'
745
+  (0.0ms) RELEASE SAVEPOINT active_record_1
746
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
747
+  (0.7ms) rollback transaction
748
+  (0.1ms) begin transaction
749
+  (0.1ms) rollback transaction
750
+  (0.1ms) begin transaction
751
+  (0.0ms) rollback transaction
752
+ Creating scope :public. Overwriting existing method Cms::Group.public.
753
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
754
+ Creating scope :system. Overwriting existing method Cms::Section.system.
755
+ Setting path /members
756
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
757
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
758
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
759
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
760
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
761
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
762
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
763
+  (0.1ms) begin transaction
764
+  (0.1ms) rollback transaction
765
+  (0.0ms) begin transaction
766
+  (0.1ms) rollback transaction
767
+  (0.0ms) begin transaction
768
+  (0.0ms) rollback transaction
769
+ Creating scope :public. Overwriting existing method Cms::Group.public.
770
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
771
+ Creating scope :system. Overwriting existing method Cms::Section.system.
772
+ Setting path /members
773
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
774
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
775
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
776
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
777
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
778
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
779
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
780
+  (0.1ms) begin transaction
781
+  (0.0ms) rollback transaction
782
+  (0.0ms) begin transaction
783
+  (0.1ms) rollback transaction
784
+  (0.0ms) begin transaction
785
+  (0.0ms) rollback transaction
786
+ Creating scope :public. Overwriting existing method Cms::Group.public.
787
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
788
+ Creating scope :system. Overwriting existing method Cms::Section.system.
789
+ Setting path /members
790
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
791
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
792
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
793
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
794
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
795
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
796
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
797
+  (0.1ms) begin transaction
798
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
799
+  (0.1ms) SAVEPOINT active_record_1
800
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
801
+ Cms::Page#create_or_update called. Published = false
802
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
803
+ Copying connectors from Page v0 to v1.
804
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
805
+ Found connectors []
806
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
807
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 20:36:15 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 20:36:15 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
808
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 20:36:15 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 20:36:15 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
809
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
810
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
811
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
812
+ Cms::Page#publish_if_needed. publish? = 'false'
813
+  (0.0ms) RELEASE SAVEPOINT active_record_1
814
+  (0.7ms) rollback transaction
815
+  (0.0ms) begin transaction
816
+  (0.1ms) rollback transaction
817
+  (0.0ms) begin transaction
818
+  (0.0ms) rollback transaction
819
+ Creating scope :public. Overwriting existing method Cms::Group.public.
820
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
821
+ Creating scope :system. Overwriting existing method Cms::Section.system.
822
+ Setting path /members
823
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
824
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
825
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
826
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
827
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
828
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
829
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
830
+  (0.1ms) begin transaction
831
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
832
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
833
+  (0.1ms) SAVEPOINT active_record_1
834
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
835
+ Cms::Page#create_or_update called. Published = false
836
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
837
+ Copying connectors from Page v0 to v1.
838
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
839
+ Found connectors []
840
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
841
+ SQL (1.7ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 20:36:38 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 20:36:38 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
842
+ SQL (0.5ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 20:36:38 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 20:36:38 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
843
+ Cms::Page::Version Load (0.4ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
844
+  (0.6ms) UPDATE pages SET latest_version = 1 where id = 5
845
+ Cms::Page::Version Load (0.4ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
846
+ Cms::Page#publish_if_needed. publish? = 'false'
847
+  (0.1ms) RELEASE SAVEPOINT active_record_1
848
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
849
+  (0.2ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
850
+  (0.7ms) rollback transaction
851
+  (0.1ms) begin transaction
852
+  (0.1ms) rollback transaction
853
+  (0.0ms) begin transaction
854
+  (0.0ms) rollback transaction
855
+ Creating scope :public. Overwriting existing method Cms::Group.public.
856
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
857
+ Creating scope :system. Overwriting existing method Cms::Section.system.
858
+ Setting path /members
859
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
860
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
861
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
862
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
863
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
864
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
865
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
866
+  (0.1ms) begin transaction
867
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
868
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
869
+  (0.1ms) SAVEPOINT active_record_1
870
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
871
+ Cms::Page#create_or_update called. Published = false
872
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
873
+ Copying connectors from Page v0 to v1.
874
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
875
+ Found connectors []
876
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
877
+ SQL (2.0ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 20:40:39 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 20:40:39 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
878
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 20:40:39 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 20:40:39 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
879
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
880
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
881
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
882
+ Cms::Page#publish_if_needed. publish? = 'false'
883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
884
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
885
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
886
+  (0.8ms) rollback transaction
887
+  (0.1ms) begin transaction
888
+  (0.1ms) rollback transaction
889
+  (0.1ms) begin transaction
890
+  (0.0ms) rollback transaction
891
+ Creating scope :public. Overwriting existing method Cms::Group.public.
892
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
893
+ Creating scope :system. Overwriting existing method Cms::Section.system.
894
+ Setting path /members
895
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
896
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
897
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
898
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
899
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
900
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
901
+ Creating scope :public. Overwriting existing method Cms::Group.public.
902
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
903
+ Creating scope :system. Overwriting existing method Cms::Section.system.
904
+ Setting path /members
905
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
906
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
907
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
908
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
909
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
910
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
911
+ Creating scope :public. Overwriting existing method Cms::Group.public.
912
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
913
+ Creating scope :system. Overwriting existing method Cms::Section.system.
914
+ Setting path /members
915
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
916
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
917
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
918
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
919
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
920
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
921
+ Creating scope :public. Overwriting existing method Cms::Group.public.
922
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
923
+ Creating scope :system. Overwriting existing method Cms::Section.system.
924
+ Setting path /members
925
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
926
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
927
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
928
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
929
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
930
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
931
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
932
+  (0.1ms) begin transaction
933
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
934
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
935
+  (0.1ms) SAVEPOINT active_record_1
936
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
937
+ Cms::Page#create_or_update called. Published = false
938
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
939
+ Copying connectors from Page v0 to v1.
940
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
941
+ Found connectors []
942
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
943
+ SQL (1.7ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:02:31 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:02:31 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
944
+ SQL (0.5ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:02:31 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:02:31 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
945
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
946
+  (0.5ms) rollback transaction
947
+  (0.1ms) begin transaction
948
+  (0.1ms) rollback transaction
949
+  (0.1ms) begin transaction
950
+  (0.0ms) rollback transaction
951
+ Creating scope :public. Overwriting existing method Cms::Group.public.
952
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
953
+ Creating scope :system. Overwriting existing method Cms::Section.system.
954
+ Setting path /members
955
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
956
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
957
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
958
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
959
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
960
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
961
+ Creating scope :public. Overwriting existing method Cms::Group.public.
962
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
963
+ Creating scope :system. Overwriting existing method Cms::Section.system.
964
+ Setting path /members
965
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
966
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
967
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
968
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
969
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
970
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
971
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
972
+  (0.1ms) begin transaction
973
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
974
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
975
+  (0.1ms) SAVEPOINT active_record_1
976
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
977
+ Cms::Page#create_or_update called. Published = false
978
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
979
+ Copying connectors from Page v0 to v1.
980
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
981
+ Found connectors []
982
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
983
+ SQL (2.0ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:03:30 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:03:30 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
984
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:03:30 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:03:30 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
985
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
986
+  (0.6ms) rollback transaction
987
+  (0.1ms) begin transaction
988
+  (0.1ms) rollback transaction
989
+  (0.1ms) begin transaction
990
+  (0.0ms) rollback transaction
991
+ Creating scope :public. Overwriting existing method Cms::Group.public.
992
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
993
+ Creating scope :system. Overwriting existing method Cms::Section.system.
994
+ Setting path /members
995
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
996
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
997
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
998
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
999
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1000
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1001
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1002
+  (0.1ms) begin transaction
1003
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1004
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1005
+  (0.1ms) SAVEPOINT active_record_1
1006
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1007
+ Cms::Page#create_or_update called. Published = false
1008
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1009
+ Copying connectors from Page v0 to v1.
1010
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1011
+ Found connectors []
1012
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1013
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:03:58 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:03:58 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1014
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:03:58 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:03:58 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1015
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1016
+  (0.7ms) rollback transaction
1017
+  (0.1ms) begin transaction
1018
+  (0.1ms) rollback transaction
1019
+  (0.0ms) begin transaction
1020
+  (0.0ms) rollback transaction
1021
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1022
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1023
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1024
+ Setting path /members
1025
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1026
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1027
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1028
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1029
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1030
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1031
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1032
+  (0.1ms) begin transaction
1033
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1034
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1035
+  (0.1ms) SAVEPOINT active_record_1
1036
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1037
+ Cms::Page#create_or_update called. Published = false
1038
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1039
+ Copying connectors from Page v0 to v1.
1040
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1041
+ Found connectors []
1042
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1043
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:06:32 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:06:32 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1044
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:06:32 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:06:32 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1045
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1046
+  (0.7ms) rollback transaction
1047
+  (0.1ms) begin transaction
1048
+  (0.1ms) rollback transaction
1049
+  (0.1ms) begin transaction
1050
+  (0.0ms) rollback transaction
1051
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1052
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1053
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1054
+ Setting path /members
1055
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1056
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1057
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1058
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1059
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1060
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1061
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1062
+  (0.1ms) begin transaction
1063
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1064
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1065
+  (0.1ms) SAVEPOINT active_record_1
1066
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/http://google.com' AND "pages"."deleted" = 'f') LIMIT 1
1067
+ Cms::Page#create_or_update called. Published = false
1068
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/http://google.com", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1069
+ Copying connectors from Page v0 to v1.
1070
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1071
+ Found connectors []
1072
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/http://google.com", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1073
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:07:11 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/http://google.com"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:07:11 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1074
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:07:11 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/http://google.com"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:07:11 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1075
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1076
+  (0.7ms) rollback transaction
1077
+  (0.1ms) begin transaction
1078
+  (0.1ms) rollback transaction
1079
+  (0.1ms) begin transaction
1080
+  (0.1ms) rollback transaction
1081
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1082
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1083
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1084
+ Setting path /members
1085
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1086
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1087
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1088
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1089
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1090
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1091
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1092
+  (0.1ms) begin transaction
1093
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1094
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1095
+  (0.1ms) SAVEPOINT active_record_1
1096
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/http://google.com' AND "pages"."deleted" = 'f') LIMIT 1
1097
+ Cms::Page#create_or_update called. Published = false
1098
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/http://google.com", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1099
+ Copying connectors from Page v0 to v1.
1100
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1101
+ Found connectors []
1102
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/http://google.com", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1103
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:07:51 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/http://google.com"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:07:51 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1104
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:07:51 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/http://google.com"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:07:51 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1105
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1106
+  (0.8ms) rollback transaction
1107
+  (0.1ms) begin transaction
1108
+  (0.1ms) rollback transaction
1109
+  (0.1ms) begin transaction
1110
+  (0.1ms) rollback transaction
1111
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1112
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1113
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1114
+ Setting path /members
1115
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1116
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1117
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1118
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1119
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1120
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1121
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1122
+  (0.1ms) begin transaction
1123
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1124
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1125
+  (0.1ms) SAVEPOINT active_record_1
1126
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/http://google.com' AND "pages"."deleted" = 'f') LIMIT 1
1127
+ Cms::Page#create_or_update called. Published = false
1128
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/http://google.com", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1129
+ Copying connectors from Page v0 to v1.
1130
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1131
+ Found connectors []
1132
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/http://google.com", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1133
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:08:42 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/http://google.com"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:08:42 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1134
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:08:42 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/http://google.com"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:08:42 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1135
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1136
+  (0.7ms) rollback transaction
1137
+  (0.1ms) begin transaction
1138
+  (0.1ms) rollback transaction
1139
+  (0.1ms) begin transaction
1140
+  (0.0ms) rollback transaction
1141
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1142
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1143
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1144
+ Setting path /members
1145
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1146
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1147
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1148
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1149
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1150
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1151
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1152
+  (0.1ms) begin transaction
1153
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1154
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1155
+  (0.1ms) SAVEPOINT active_record_1
1156
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/http://google.com' AND "pages"."deleted" = 'f') LIMIT 1
1157
+ Cms::Page#create_or_update called. Published = false
1158
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/http://google.com", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1159
+ Copying connectors from Page v0 to v1.
1160
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1161
+ Found connectors []
1162
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/http://google.com", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1163
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:08:59 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/http://google.com"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:08:59 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1164
+ SQL (0.5ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:08:59 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/http://google.com"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:08:59 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1165
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1166
+  (0.6ms) rollback transaction
1167
+  (0.1ms) begin transaction
1168
+  (0.1ms) rollback transaction
1169
+  (0.1ms) begin transaction
1170
+  (0.1ms) rollback transaction
1171
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1172
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1173
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1174
+ Setting path /members
1175
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1176
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1177
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1178
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1179
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1180
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1181
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1182
+  (0.1ms) begin transaction
1183
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1184
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1185
+  (0.1ms) SAVEPOINT active_record_1
1186
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1187
+ Cms::Page#create_or_update called. Published = false
1188
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1189
+ Copying connectors from Page v0 to v1.
1190
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1191
+ Found connectors []
1192
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1193
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:09:45 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:09:45 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1194
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:09:45 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:09:45 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1195
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1196
+  (0.6ms) rollback transaction
1197
+  (0.1ms) begin transaction
1198
+  (0.1ms) rollback transaction
1199
+  (0.1ms) begin transaction
1200
+  (0.1ms) rollback transaction
1201
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1202
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1203
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1204
+ Setting path /members
1205
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1206
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1207
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1208
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1209
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1210
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1211
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1212
+  (0.1ms) begin transaction
1213
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1214
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1215
+  (0.1ms) SAVEPOINT active_record_1
1216
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1217
+ Cms::Page#create_or_update called. Published = false
1218
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1219
+ Copying connectors from Page v0 to v1.
1220
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1221
+ Found connectors []
1222
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1223
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:10:03 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:10:03 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1224
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:10:03 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:10:03 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1225
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1226
+  (0.8ms) rollback transaction
1227
+  (0.1ms) begin transaction
1228
+  (0.1ms) rollback transaction
1229
+  (0.1ms) begin transaction
1230
+  (0.0ms) rollback transaction
1231
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1232
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1233
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1234
+ Setting path /members
1235
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1236
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1237
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1238
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1239
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1240
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1241
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1242
+  (0.1ms) begin transaction
1243
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1244
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1245
+  (0.1ms) SAVEPOINT active_record_1
1246
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1247
+ Cms::Page#create_or_update called. Published = false
1248
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1249
+ Copying connectors from Page v0 to v1.
1250
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1251
+ Found connectors []
1252
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1253
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:10:35 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:10:35 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1254
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:10:35 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:10:35 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1255
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1256
+  (0.7ms) rollback transaction
1257
+  (0.0ms) begin transaction
1258
+  (0.1ms) rollback transaction
1259
+  (0.1ms) begin transaction
1260
+  (0.0ms) rollback transaction
1261
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1262
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1263
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1264
+ Setting path /members
1265
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1266
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1267
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1268
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1269
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1270
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1271
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1272
+  (0.1ms) begin transaction
1273
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1274
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1275
+  (0.1ms) SAVEPOINT active_record_1
1276
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test.com' AND "pages"."deleted" = 'f') LIMIT 1
1277
+ Cms::Page#create_or_update called. Published = false
1278
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test.com", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1279
+ Copying connectors from Page v0 to v1.
1280
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1281
+ Found connectors []
1282
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test.com", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1283
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:11:08 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test.com"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:11:08 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1284
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:11:08 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test.com"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:11:08 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1285
+ BcmsBitly::ShortLink#create_or_update called. Published = false
1286
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>nil, "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
1287
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>nil, "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
1288
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 16 May 2012 21:11:08 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", nil], ["page_id", 5], ["published", false], ["updated_at", Wed, 16 May 2012 21:11:08 UTC +00:00], ["updated_by_id", nil], ["url", nil], ["version", 1]]
1289
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 16 May 2012 21:11:08 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", nil], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Wed, 16 May 2012 21:11:08 UTC +00:00], ["updated_by_id", nil], ["url", nil], ["version", 1], ["version_comment", "Created"]]
1290
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
1291
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
1292
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
1293
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1294
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
1295
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1296
+ Cms::Page#publish_if_needed. publish? = 'false'
1297
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1298
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1299
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1300
+  (0.7ms) rollback transaction
1301
+  (0.1ms) begin transaction
1302
+  (0.1ms) rollback transaction
1303
+  (0.1ms) begin transaction
1304
+  (0.0ms) rollback transaction
1305
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1306
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1307
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1308
+ Setting path /members
1309
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1310
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1311
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1312
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1313
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1314
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1315
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1316
+  (0.1ms) begin transaction
1317
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1318
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1319
+  (0.1ms) SAVEPOINT active_record_1
1320
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1321
+ Cms::Page#create_or_update called. Published = false
1322
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1323
+ Copying connectors from Page v0 to v1.
1324
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1325
+ Found connectors []
1326
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1327
+ SQL (2.2ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:11:43 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:11:43 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1328
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:11:43 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:11:43 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1329
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1330
+  (0.7ms) rollback transaction
1331
+  (0.1ms) begin transaction
1332
+  (0.1ms) rollback transaction
1333
+  (0.1ms) begin transaction
1334
+  (0.0ms) rollback transaction
1335
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1336
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1337
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1338
+ Setting path /members
1339
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1340
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1341
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1342
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1343
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1344
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1345
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1346
+  (0.1ms) begin transaction
1347
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1348
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1349
+  (0.1ms) SAVEPOINT active_record_1
1350
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1351
+ Cms::Page#create_or_update called. Published = false
1352
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1353
+ Copying connectors from Page v0 to v1.
1354
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1355
+ Found connectors []
1356
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1357
+ SQL (2.1ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:12:13 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:12:13 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1358
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:12:13 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:12:13 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1359
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1360
+  (0.6ms) rollback transaction
1361
+  (0.1ms) begin transaction
1362
+  (0.1ms) rollback transaction
1363
+  (0.1ms) begin transaction
1364
+  (0.1ms) rollback transaction
1365
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1366
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1367
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1368
+ Setting path /members
1369
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1370
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1371
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1372
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1373
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1374
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1375
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1376
+  (0.1ms) begin transaction
1377
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1378
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1379
+  (0.1ms) SAVEPOINT active_record_1
1380
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1381
+ Cms::Page#create_or_update called. Published = false
1382
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1383
+ Copying connectors from Page v0 to v1.
1384
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1385
+ Found connectors []
1386
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1387
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:12:39 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:12:39 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1388
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:12:39 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:12:39 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1389
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1390
+  (0.8ms) rollback transaction
1391
+  (0.1ms) begin transaction
1392
+  (0.1ms) rollback transaction
1393
+  (0.1ms) begin transaction
1394
+  (0.0ms) rollback transaction
1395
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1396
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1397
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1398
+ Setting path /members
1399
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1400
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1401
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1402
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1403
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1404
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1405
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1406
+  (0.1ms) begin transaction
1407
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1408
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1409
+  (0.1ms) SAVEPOINT active_record_1
1410
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1411
+ Cms::Page#create_or_update called. Published = false
1412
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1413
+ Copying connectors from Page v0 to v1.
1414
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1415
+ Found connectors []
1416
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1417
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:13:40 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:13:40 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1418
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:13:40 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:13:40 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1419
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1420
+  (0.6ms) rollback transaction
1421
+  (0.0ms) begin transaction
1422
+  (0.1ms) rollback transaction
1423
+  (0.1ms) begin transaction
1424
+  (0.1ms) rollback transaction
1425
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1426
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1427
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1428
+ Setting path /members
1429
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1430
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1431
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1432
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1433
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1434
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1435
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1436
+  (0.1ms) begin transaction
1437
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1438
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1439
+  (0.1ms) SAVEPOINT active_record_1
1440
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1441
+ Cms::Page#create_or_update called. Published = false
1442
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1443
+ Copying connectors from Page v0 to v1.
1444
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1445
+ Found connectors []
1446
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1447
+ SQL (2.2ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:14:13 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:14:13 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1448
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:14:13 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:14:13 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1449
+ BcmsBitly::ShortLink#create_or_update called. Published = false
1450
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>nil, "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
1451
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>nil, "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
1452
+ SQL (0.5ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 16 May 2012 21:14:13 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", nil], ["page_id", 5], ["published", false], ["updated_at", Wed, 16 May 2012 21:14:13 UTC +00:00], ["updated_by_id", nil], ["url", nil], ["version", 1]]
1453
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 16 May 2012 21:14:13 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", nil], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Wed, 16 May 2012 21:14:13 UTC +00:00], ["updated_by_id", nil], ["url", nil], ["version", 1], ["version_comment", "Created"]]
1454
+ BcmsBitly::ShortLink::Version Load (0.3ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
1455
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
1456
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
1457
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1458
+  (0.5ms) UPDATE pages SET latest_version = 1 where id = 5
1459
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1460
+ Cms::Page#publish_if_needed. publish? = 'false'
1461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1462
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1463
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1464
+  (0.8ms) rollback transaction
1465
+  (0.1ms) begin transaction
1466
+  (0.1ms) rollback transaction
1467
+  (0.1ms) begin transaction
1468
+  (0.1ms) rollback transaction
1469
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1470
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1471
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1472
+ Setting path /members
1473
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1474
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1475
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1476
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1477
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1478
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1479
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1480
+  (0.1ms) begin transaction
1481
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1482
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1483
+  (0.1ms) SAVEPOINT active_record_1
1484
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1485
+ Cms::Page#create_or_update called. Published = false
1486
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1487
+ Copying connectors from Page v0 to v1.
1488
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1489
+ Found connectors []
1490
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1491
+ SQL (2.0ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:14:32 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:14:32 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1492
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 16 May 2012 21:14:32 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 16 May 2012 21:14:32 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1493
+ BcmsBitly::ShortLink#create_or_update called. Published = false
1494
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>nil, "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
1495
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>nil, "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
1496
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 16 May 2012 21:14:32 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", nil], ["page_id", 5], ["published", false], ["updated_at", Wed, 16 May 2012 21:14:32 UTC +00:00], ["updated_by_id", nil], ["url", nil], ["version", 1]]
1497
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 16 May 2012 21:14:32 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", nil], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Wed, 16 May 2012 21:14:32 UTC +00:00], ["updated_by_id", nil], ["url", nil], ["version", 1], ["version_comment", "Created"]]
1498
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
1499
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
1500
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
1501
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1502
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
1503
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1504
+ Cms::Page#publish_if_needed. publish? = 'false'
1505
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1506
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1507
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1508
+  (0.7ms) rollback transaction
1509
+  (0.0ms) begin transaction
1510
+  (0.1ms) rollback transaction
1511
+  (0.1ms) begin transaction
1512
+  (0.1ms) rollback transaction
1513
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1514
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1515
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1516
+ Setting path /members
1517
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1518
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1519
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1520
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1521
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1522
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1523
+ Cms::PageRoute Load (0.7ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1524
+  (0.1ms) begin transaction
1525
+  (0.7ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1526
+  (0.5ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1527
+  (0.1ms) SAVEPOINT active_record_1
1528
+ Cms::Page Exists (0.7ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1529
+ Cms::Page#create_or_update called. Published = false
1530
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1531
+ Copying connectors from Page v0 to v1.
1532
+ Cms::Connector Load (0.7ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1533
+ Found connectors []
1534
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1535
+ SQL (3.1ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 15:23:32 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 15:23:32 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1536
+ SQL (1.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 15:23:32 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 15:23:32 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1537
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1538
+  (0.4ms) rollback transaction
1539
+  (0.0ms) begin transaction
1540
+  (0.1ms) rollback transaction
1541
+  (0.1ms) begin transaction
1542
+  (0.0ms) rollback transaction
1543
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1544
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1545
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1546
+ Setting path /members
1547
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1548
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1549
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1550
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1551
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1552
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1553
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1554
+  (0.1ms) begin transaction
1555
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1556
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1557
+  (0.1ms) SAVEPOINT active_record_1
1558
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1559
+ Cms::Page#create_or_update called. Published = false
1560
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1561
+ Copying connectors from Page v0 to v1.
1562
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1563
+ Found connectors []
1564
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1565
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 15:24:32 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 15:24:32 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1566
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 15:24:32 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 15:24:32 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1567
+ BcmsBitly::ShortLink#create_or_update called. Published = false
1568
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>nil, "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
1569
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>nil, "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
1570
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 15:24:37 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", nil], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 15:24:37 UTC +00:00], ["updated_by_id", nil], ["url", nil], ["version", 1]]
1571
+ SQL (0.8ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 15:24:37 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", nil], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 15:24:37 UTC +00:00], ["updated_by_id", nil], ["url", nil], ["version", 1], ["version_comment", "Created"]]
1572
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
1573
+ SQL (0.9ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
1574
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
1575
+ Cms::Page::Version Load (0.3ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1576
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
1577
+ Cms::Page::Version Load (0.3ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1578
+ Cms::Page#publish_if_needed. publish? = 'false'
1579
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1580
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1581
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1582
+  (0.6ms) rollback transaction
1583
+  (0.0ms) begin transaction
1584
+  (0.1ms) rollback transaction
1585
+  (0.1ms) begin transaction
1586
+  (0.0ms) rollback transaction
1587
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1588
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1589
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1590
+ Setting path /members
1591
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1592
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1593
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1594
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1595
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1596
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1597
+ Cms::PageRoute Load (0.4ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1598
+  (0.1ms) begin transaction
1599
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1600
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1601
+  (0.1ms) SAVEPOINT active_record_1
1602
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1603
+ Cms::Page#create_or_update called. Published = false
1604
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1605
+ Copying connectors from Page v0 to v1.
1606
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1607
+ Found connectors []
1608
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1609
+ SQL (2.6ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 16:20:01 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 16:20:01 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1610
+ SQL (0.5ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 16:20:01 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 16:20:01 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1611
+ BcmsBitly::ShortLink#create_or_update called. Published = false
1612
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
1613
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
1614
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 16:20:06 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", nil], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 16:20:06 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
1615
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 16:20:06 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", nil], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 16:20:06 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
1616
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
1617
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
1618
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
1619
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1620
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
1621
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1622
+ Cms::Page#publish_if_needed. publish? = 'false'
1623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1624
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1625
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1626
+  (0.5ms) rollback transaction
1627
+  (0.0ms) begin transaction
1628
+  (0.1ms) rollback transaction
1629
+  (0.0ms) begin transaction
1630
+  (0.0ms) rollback transaction
1631
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1632
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1633
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1634
+ Setting path /members
1635
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1636
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1637
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1638
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1639
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1640
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1641
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1642
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1643
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1644
+ Setting path /members
1645
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1646
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1647
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1648
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1649
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1650
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1651
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1652
+  (0.1ms) begin transaction
1653
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1654
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1655
+  (0.1ms) SAVEPOINT active_record_1
1656
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1657
+ Cms::Page#create_or_update called. Published = false
1658
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1659
+ Copying connectors from Page v0 to v1.
1660
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1661
+ Found connectors []
1662
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1663
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 16:51:01 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 16:51:01 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1664
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 16:51:01 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 16:51:01 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1665
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1666
+  (0.8ms) rollback transaction
1667
+  (0.0ms) begin transaction
1668
+  (0.1ms) rollback transaction
1669
+  (0.1ms) begin transaction
1670
+  (0.0ms) rollback transaction
1671
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1672
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1673
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1674
+ Setting path /members
1675
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1676
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1677
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1678
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1679
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1680
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1681
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1682
+  (0.1ms) begin transaction
1683
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1684
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1685
+  (0.1ms) SAVEPOINT active_record_1
1686
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1687
+ Cms::Page#create_or_update called. Published = false
1688
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1689
+ Copying connectors from Page v0 to v1.
1690
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1691
+ Found connectors []
1692
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1693
+ SQL (1.7ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 16:51:41 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 16:51:41 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1694
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 16:51:41 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 16:51:41 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1695
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1696
+  (0.8ms) rollback transaction
1697
+  (0.0ms) begin transaction
1698
+  (0.1ms) rollback transaction
1699
+  (0.1ms) begin transaction
1700
+  (0.0ms) rollback transaction
1701
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1702
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1703
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1704
+ Setting path /members
1705
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1706
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1707
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1708
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1709
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1710
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1711
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1712
+  (0.1ms) begin transaction
1713
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1714
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1715
+  (0.1ms) SAVEPOINT active_record_1
1716
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1717
+ Cms::Page#create_or_update called. Published = false
1718
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1719
+ Copying connectors from Page v0 to v1.
1720
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1721
+ Found connectors []
1722
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1723
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 16:52:10 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 16:52:10 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1724
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 16:52:10 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 16:52:10 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1725
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1726
+  (0.6ms) rollback transaction
1727
+  (0.0ms) begin transaction
1728
+  (0.1ms) rollback transaction
1729
+  (0.0ms) begin transaction
1730
+  (0.0ms) rollback transaction
1731
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1732
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1733
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1734
+ Setting path /members
1735
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1736
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1737
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1738
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1739
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1740
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1741
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1742
+  (0.1ms) begin transaction
1743
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1744
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1745
+  (0.1ms) SAVEPOINT active_record_1
1746
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1747
+ Cms::Page#create_or_update called. Published = false
1748
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1749
+ Copying connectors from Page v0 to v1.
1750
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1751
+ Found connectors []
1752
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1753
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 16:52:51 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 16:52:51 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1754
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 16:52:51 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 16:52:51 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1755
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
1756
+  (0.7ms) rollback transaction
1757
+  (0.0ms) begin transaction
1758
+  (0.1ms) rollback transaction
1759
+  (0.1ms) begin transaction
1760
+  (0.0ms) rollback transaction
1761
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1762
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1763
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1764
+ Setting path /members
1765
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1766
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1767
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1768
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1769
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1770
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1771
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1772
+  (0.1ms) begin transaction
1773
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1774
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1775
+  (0.1ms) SAVEPOINT active_record_1
1776
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1777
+ Cms::Page#create_or_update called. Published = false
1778
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1779
+ Copying connectors from Page v0 to v1.
1780
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1781
+ Found connectors []
1782
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1783
+ SQL (1.7ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 16:53:06 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 16:53:06 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1784
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 16:53:06 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 16:53:06 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1785
+ BcmsBitly::ShortLink#create_or_update called. Published = false
1786
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
1787
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
1788
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 16:53:06 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", nil], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 16:53:06 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
1789
+ SQL (0.5ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 16:53:06 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", nil], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 16:53:06 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
1790
+ BcmsBitly::ShortLink::Version Load (0.3ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
1791
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
1792
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
1793
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1794
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
1795
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1796
+ Cms::Page#publish_if_needed. publish? = 'false'
1797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1798
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1799
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1800
+  (0.7ms) rollback transaction
1801
+  (0.0ms) begin transaction
1802
+  (0.1ms) rollback transaction
1803
+  (0.2ms) begin transaction
1804
+  (0.1ms) rollback transaction
1805
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1806
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1807
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1808
+ Setting path /members
1809
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1810
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1811
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1812
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1813
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1814
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1815
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1816
+  (0.1ms) begin transaction
1817
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1818
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1819
+  (0.1ms) SAVEPOINT active_record_1
1820
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1821
+ Cms::Page#create_or_update called. Published = false
1822
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1823
+ Copying connectors from Page v0 to v1.
1824
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1825
+ Found connectors []
1826
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1827
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:21:54 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:21:54 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1828
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:21:54 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:21:54 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1829
+ BcmsBitly::ShortLink#create_or_update called. Published = false
1830
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
1831
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>nil, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
1832
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:21:54 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", nil], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:21:54 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
1833
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:21:54 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", nil], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:21:54 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
1834
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
1835
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
1836
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
1837
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1838
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
1839
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1840
+ Cms::Page#publish_if_needed. publish? = 'false'
1841
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1842
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1843
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1844
+  (0.7ms) rollback transaction
1845
+  (0.1ms) begin transaction
1846
+  (0.1ms) rollback transaction
1847
+  (0.1ms) begin transaction
1848
+  (0.1ms) rollback transaction
1849
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1850
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1851
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1852
+ Setting path /members
1853
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1854
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1855
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1856
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1857
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1858
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1859
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1860
+  (0.1ms) begin transaction
1861
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1862
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1863
+  (0.1ms) SAVEPOINT active_record_1
1864
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1865
+ Cms::Page#create_or_update called. Published = false
1866
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1867
+ Copying connectors from Page v0 to v1.
1868
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1869
+ Found connectors []
1870
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1871
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:35:54 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:35:54 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1872
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:35:54 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:35:54 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1873
+ BcmsBitly::ShortLink#create_or_update called. Published = false
1874
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
1875
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
1876
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:35:54 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:35:54 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
1877
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:35:54 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:35:54 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
1878
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
1879
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
1880
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
1881
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1882
+  (1.0ms) UPDATE pages SET latest_version = 1 where id = 5
1883
+ Cms::Page::Version Load (0.3ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1884
+ Cms::Page#publish_if_needed. publish? = 'false'
1885
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1886
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1887
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1888
+  (3.0ms) rollback transaction
1889
+  (0.0ms) begin transaction
1890
+  (0.1ms) rollback transaction
1891
+  (0.1ms) begin transaction
1892
+  (0.1ms) rollback transaction
1893
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1894
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1895
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1896
+ Setting path /members
1897
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1898
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1899
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1900
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1901
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1902
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1903
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1904
+  (0.1ms) begin transaction
1905
+  (0.3ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1906
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1907
+  (0.1ms) SAVEPOINT active_record_1
1908
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1909
+ Cms::Page#create_or_update called. Published = false
1910
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1911
+ Copying connectors from Page v0 to v1.
1912
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1913
+ Found connectors []
1914
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1915
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:38:06 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:38:06 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1916
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:38:06 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:38:06 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1917
+ BcmsBitly::ShortLink#create_or_update called. Published = false
1918
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
1919
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
1920
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:38:07 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:38:07 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
1921
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:38:07 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:38:07 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
1922
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
1923
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
1924
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
1925
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1926
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
1927
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1928
+ Cms::Page#publish_if_needed. publish? = 'false'
1929
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1930
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1931
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1932
+  (0.7ms) rollback transaction
1933
+  (0.0ms) begin transaction
1934
+  (0.1ms) rollback transaction
1935
+  (0.1ms) begin transaction
1936
+  (0.1ms) rollback transaction
1937
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1938
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1939
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1940
+ Setting path /members
1941
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1942
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1943
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1944
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1945
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1946
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1947
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1948
+  (0.1ms) begin transaction
1949
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1950
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1951
+  (0.1ms) SAVEPOINT active_record_1
1952
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1953
+ Cms::Page#create_or_update called. Published = false
1954
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1955
+ Copying connectors from Page v0 to v1.
1956
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
1957
+ Found connectors []
1958
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
1959
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:38:27 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:38:27 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
1960
+ SQL (0.5ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:38:27 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:38:27 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
1961
+ BcmsBitly::ShortLink#create_or_update called. Published = false
1962
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
1963
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
1964
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:38:27 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:38:27 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
1965
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:38:27 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:38:27 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
1966
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
1967
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
1968
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
1969
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1970
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
1971
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
1972
+ Cms::Page#publish_if_needed. publish? = 'false'
1973
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1974
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1975
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1976
+  (0.6ms) rollback transaction
1977
+  (0.0ms) begin transaction
1978
+  (0.1ms) rollback transaction
1979
+  (0.1ms) begin transaction
1980
+  (0.1ms) rollback transaction
1981
+ Creating scope :public. Overwriting existing method Cms::Group.public.
1982
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
1983
+ Creating scope :system. Overwriting existing method Cms::Section.system.
1984
+ Setting path /members
1985
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
1986
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
1987
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
1988
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
1989
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
1990
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
1991
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
1992
+  (0.1ms) begin transaction
1993
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
1994
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
1995
+  (0.1ms) SAVEPOINT active_record_1
1996
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
1997
+ Cms::Page#create_or_update called. Published = false
1998
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
1999
+ Copying connectors from Page v0 to v1.
2000
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2001
+ Found connectors []
2002
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2003
+ SQL (2.6ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:41:43 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:41:43 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2004
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:41:43 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:41:43 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2005
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2006
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2007
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2008
+ SQL (0.5ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:41:44 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:41:44 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2009
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:41:44 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:41:44 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2010
+ BcmsBitly::ShortLink::Version Load (0.3ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2011
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2012
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2013
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2014
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
2015
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2016
+ Cms::Page#publish_if_needed. publish? = 'false'
2017
+  (0.1ms) RELEASE SAVEPOINT active_record_1
2018
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2019
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2020
+  (0.7ms) rollback transaction
2021
+  (0.0ms) begin transaction
2022
+  (0.1ms) rollback transaction
2023
+  (0.1ms) begin transaction
2024
+  (0.0ms) rollback transaction
2025
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2026
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2027
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2028
+ Setting path /members
2029
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2030
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2031
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2032
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2033
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2034
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2035
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2036
+  (0.1ms) begin transaction
2037
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2038
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2039
+  (0.1ms) SAVEPOINT active_record_1
2040
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2041
+ Cms::Page#create_or_update called. Published = false
2042
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2043
+ Copying connectors from Page v0 to v1.
2044
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2045
+ Found connectors []
2046
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2047
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:42:24 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:42:24 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2048
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:42:24 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:42:24 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2049
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2050
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2051
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2052
+ SQL (0.5ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:42:24 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:42:24 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2053
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:42:24 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:42:24 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2054
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2055
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2056
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2057
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2058
+  (0.6ms) rollback transaction
2059
+  (0.0ms) begin transaction
2060
+  (0.1ms) rollback transaction
2061
+  (0.1ms) begin transaction
2062
+  (0.1ms) rollback transaction
2063
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2064
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2065
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2066
+ Setting path /members
2067
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2068
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2069
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2070
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2071
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2072
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2073
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2074
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2075
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2076
+ Setting path /members
2077
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2078
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2079
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2080
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2081
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2082
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2083
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2084
+  (0.1ms) begin transaction
2085
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2086
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2087
+  (0.1ms) SAVEPOINT active_record_1
2088
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2089
+ Cms::Page#create_or_update called. Published = false
2090
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2091
+ Copying connectors from Page v0 to v1.
2092
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2093
+ Found connectors []
2094
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2095
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:45:11 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:45:11 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2096
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:45:11 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:45:11 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2097
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2098
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2099
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2100
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:45:11 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:45:11 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2101
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:45:11 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:45:11 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2102
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2103
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2104
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2105
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2106
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
2107
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2108
+ Cms::Page#publish_if_needed. publish? = 'false'
2109
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2110
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2111
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2112
+ BcmsBitly::ShortLink Load (0.1ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2113
+  (0.8ms) rollback transaction
2114
+  (0.0ms) begin transaction
2115
+  (0.1ms) rollback transaction
2116
+  (0.0ms) begin transaction
2117
+  (0.0ms) rollback transaction
2118
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2119
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2120
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2121
+ Setting path /members
2122
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2123
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2124
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2125
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2126
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2127
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2128
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2129
+  (0.1ms) begin transaction
2130
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2131
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2132
+  (0.1ms) SAVEPOINT active_record_1
2133
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2134
+ Cms::Page#create_or_update called. Published = false
2135
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2136
+ Copying connectors from Page v0 to v1.
2137
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2138
+ Found connectors []
2139
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2140
+ SQL (2.0ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:54:24 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:54:24 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2141
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:54:24 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:54:24 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2142
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2143
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2144
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2145
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:54:28 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:54:28 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2146
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:54:28 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:54:28 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2147
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2148
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2149
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2150
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2151
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
2152
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2153
+ Cms::Page#publish_if_needed. publish? = 'false'
2154
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2155
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2156
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2157
+ BcmsBitly::ShortLink Load (0.1ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2158
+  (0.8ms) rollback transaction
2159
+  (0.0ms) begin transaction
2160
+  (0.0ms) SAVEPOINT active_record_1
2161
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2162
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>nil, "page_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2163
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>nil, "page_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2164
+ SQL (0.5ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:54:28 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", nil], ["published", false], ["updated_at", Thu, 17 May 2012 20:54:28 UTC +00:00], ["updated_by_id", nil], ["url", nil], ["version", 1]]
2165
+ SQL (0.2ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:54:28 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", nil], ["published", false], ["updated_at", Thu, 17 May 2012 20:54:28 UTC +00:00], ["updated_by_id", nil], ["url", nil], ["version", 1], ["version_comment", "Created"]]
2166
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2167
+ SQL (0.2ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2168
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2170
+  (0.5ms) rollback transaction
2171
+  (0.0ms) begin transaction
2172
+  (0.1ms) rollback transaction
2173
+  (0.1ms) begin transaction
2174
+  (0.0ms) rollback transaction
2175
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2176
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2177
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2178
+ Setting path /members
2179
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2180
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2181
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2182
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2183
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2184
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2185
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2186
+  (0.1ms) begin transaction
2187
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2188
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2189
+  (0.1ms) SAVEPOINT active_record_1
2190
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2191
+ Cms::Page#create_or_update called. Published = false
2192
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2193
+ Copying connectors from Page v0 to v1.
2194
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2195
+ Found connectors []
2196
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2197
+ SQL (1.7ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:55:17 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:55:17 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2198
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 20:55:17 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 20:55:17 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2199
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2200
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2201
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2202
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:55:17 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:55:17 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2203
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 20:55:17 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 20:55:17 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2204
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2205
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2206
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2207
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2208
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
2209
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2210
+ Cms::Page#publish_if_needed. publish? = 'false'
2211
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2212
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2213
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2214
+ BcmsBitly::ShortLink Load (0.1ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2215
+  (0.9ms) rollback transaction
2216
+  (0.0ms) begin transaction
2217
+  (0.1ms) rollback transaction
2218
+  (0.1ms) begin transaction
2219
+  (0.1ms) rollback transaction
2220
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2221
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2222
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2223
+ Setting path /members
2224
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2225
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2226
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2227
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2228
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2229
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2230
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2231
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2232
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2233
+ Setting path /members
2234
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2235
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2236
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2237
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2238
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2239
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2240
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2241
+  (0.1ms) begin transaction
2242
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2243
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2244
+  (0.1ms) SAVEPOINT active_record_1
2245
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2246
+ Cms::Page#create_or_update called. Published = false
2247
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2248
+ Copying connectors from Page v0 to v1.
2249
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2250
+ Found connectors []
2251
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2252
+ SQL (2.0ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 21:24:16 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 21:24:16 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2253
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 21:24:16 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 21:24:16 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2254
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2255
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2256
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2257
+ SQL (0.5ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 21:24:20 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 21:24:20 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2258
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 21:24:20 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 21:24:20 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2259
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2260
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2261
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2262
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2263
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
2264
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2265
+ Cms::Page#publish_if_needed. publish? = 'false'
2266
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2267
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2268
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2269
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2270
+  (0.6ms) rollback transaction
2271
+  (0.0ms) begin transaction
2272
+  (0.1ms) rollback transaction
2273
+  (0.1ms) begin transaction
2274
+  (0.0ms) rollback transaction
2275
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2276
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2277
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2278
+ Setting path /members
2279
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2280
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2281
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2282
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2283
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2284
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2285
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2286
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2287
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2288
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2289
+ Setting path /members
2290
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2291
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2292
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2293
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2294
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2295
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2296
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2297
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2298
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2299
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2300
+ Setting path /members
2301
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2302
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2303
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2304
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2305
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2306
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2307
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2308
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2309
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2310
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2311
+ Setting path /members
2312
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2313
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2314
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2315
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2316
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2317
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2318
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2319
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2320
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2321
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2322
+ Setting path /members
2323
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2324
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2325
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2326
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2327
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2328
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2329
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2330
+  (0.1ms) begin transaction
2331
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2332
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2333
+  (0.1ms) SAVEPOINT active_record_1
2334
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2335
+ Cms::Page#create_or_update called. Published = false
2336
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2337
+ Copying connectors from Page v0 to v1.
2338
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2339
+ Found connectors []
2340
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2341
+ SQL (1.7ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 21:48:51 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 21:48:51 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2342
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Thu, 17 May 2012 21:48:51 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Thu, 17 May 2012 21:48:51 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2343
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2344
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2345
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2346
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 21:48:55 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 21:48:55 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2347
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Thu, 17 May 2012 21:48:55 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Thu, 17 May 2012 21:48:55 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2348
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2349
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2350
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2351
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2352
+  (0.3ms) UPDATE pages SET latest_version = 1 where id = 5
2353
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2354
+ Cms::Page#publish_if_needed. publish? = 'false'
2355
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2356
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2357
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2358
+ BcmsBitly::ShortLink Load (0.1ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2359
+  (0.9ms) rollback transaction
2360
+  (0.0ms) begin transaction
2361
+  (0.1ms) rollback transaction
2362
+  (0.1ms) begin transaction
2363
+  (0.0ms) rollback transaction
2364
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2365
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2366
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2367
+ Setting path /members
2368
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2369
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2370
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2371
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2372
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2373
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2374
+ Cms::PageRoute Load (0.6ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2375
+  (0.1ms) begin transaction
2376
+  (0.6ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2377
+  (0.5ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2378
+  (0.1ms) SAVEPOINT active_record_1
2379
+ Cms::Page Exists (0.6ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2380
+ Cms::Page#create_or_update called. Published = false
2381
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2382
+ Copying connectors from Page v0 to v1.
2383
+ Cms::Connector Load (0.8ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2384
+ Found connectors []
2385
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2386
+ SQL (4.4ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:47:26 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:47:26 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2387
+ SQL (1.2ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:47:26 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:47:26 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2388
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2389
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2390
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2391
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:47:26 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:47:26 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2392
+ SQL (0.7ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:47:26 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:47:26 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2393
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2394
+ SQL (1.1ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2395
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2396
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2397
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
2398
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2399
+ Cms::Page#publish_if_needed. publish? = 'false'
2400
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2401
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2402
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2403
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2404
+  (0.9ms) rollback transaction
2405
+  (0.0ms) begin transaction
2406
+  (0.1ms) rollback transaction
2407
+  (0.1ms) begin transaction
2408
+  (0.0ms) rollback transaction
2409
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2410
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2411
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2412
+ Setting path /members
2413
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2414
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2415
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2416
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2417
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2418
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2419
+ Cms::PageRoute Load (0.4ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2420
+  (0.1ms) begin transaction
2421
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2422
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2423
+  (0.1ms) SAVEPOINT active_record_1
2424
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2425
+ Cms::Page#create_or_update called. Published = false
2426
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2427
+ Copying connectors from Page v0 to v1.
2428
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2429
+ Found connectors []
2430
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2431
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:48:50 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:48:50 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2432
+ SQL (0.5ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:48:50 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:48:50 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2433
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2434
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2435
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2436
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:48:50 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:48:50 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2437
+ SQL (0.5ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:48:50 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:48:50 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2438
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2439
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2440
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2441
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2442
+  (0.6ms) UPDATE pages SET latest_version = 1 where id = 5
2443
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2444
+ Cms::Page#publish_if_needed. publish? = 'false'
2445
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2446
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2447
+  (0.8ms) rollback transaction
2448
+  (0.0ms) begin transaction
2449
+  (0.1ms) rollback transaction
2450
+  (0.1ms) begin transaction
2451
+  (0.0ms) rollback transaction
2452
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2453
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2454
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2455
+ Setting path /members
2456
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2457
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2458
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2459
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2460
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2461
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2462
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2463
+  (0.1ms) begin transaction
2464
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2465
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2466
+  (0.1ms) SAVEPOINT active_record_1
2467
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2468
+ Cms::Page#create_or_update called. Published = false
2469
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2470
+ Copying connectors from Page v0 to v1.
2471
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2472
+ Found connectors []
2473
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2474
+ SQL (1.7ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:49:09 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:49:09 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2475
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:49:09 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:49:09 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2476
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2477
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2478
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2479
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:49:09 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:49:09 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2480
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:49:09 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:49:09 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2481
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2482
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2483
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2484
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2485
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
2486
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2487
+ Cms::Page#publish_if_needed. publish? = 'false'
2488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2489
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2490
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2491
+ BcmsBitly::ShortLink Load (0.1ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2492
+  (0.7ms) rollback transaction
2493
+  (0.0ms) begin transaction
2494
+  (0.1ms) rollback transaction
2495
+  (0.0ms) begin transaction
2496
+  (0.0ms) rollback transaction
2497
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2498
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2499
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2500
+ Setting path /members
2501
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2502
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2503
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2504
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2505
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2506
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2507
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2508
+  (0.1ms) begin transaction
2509
+  (0.3ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2510
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2511
+  (0.1ms) SAVEPOINT active_record_1
2512
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2513
+ Cms::Page#create_or_update called. Published = false
2514
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2515
+ Copying connectors from Page v0 to v1.
2516
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2517
+ Found connectors []
2518
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2519
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:49:36 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:49:36 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2520
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:49:36 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:49:36 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2521
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2522
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2523
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2524
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:49:36 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:49:36 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2525
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:49:36 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:49:36 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2526
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2527
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2528
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2529
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2530
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
2531
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2532
+ Cms::Page#publish_if_needed. publish? = 'false'
2533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2534
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2535
+  (0.8ms) rollback transaction
2536
+  (0.0ms) begin transaction
2537
+  (0.1ms) rollback transaction
2538
+  (0.1ms) begin transaction
2539
+  (0.0ms) rollback transaction
2540
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2541
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2542
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2543
+ Setting path /members
2544
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2545
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2546
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2547
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2548
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2549
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2550
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2551
+  (0.1ms) begin transaction
2552
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2553
+  (0.1ms) SAVEPOINT active_record_1
2554
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2555
+ Cms::Page#create_or_update called. Published = false
2556
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2557
+ Copying connectors from Page v0 to v1.
2558
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2559
+ Found connectors []
2560
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2561
+ SQL (2.3ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:50:00 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:50:00 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2562
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:50:00 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:50:00 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2563
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2564
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2565
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2566
+ SQL (0.7ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:50:00 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:50:00 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2567
+ SQL (0.6ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:50:00 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:50:00 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2568
+ BcmsBitly::ShortLink::Version Load (0.4ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2569
+ SQL (0.4ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2570
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2571
+ Cms::Page::Version Load (0.3ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2572
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
2573
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2574
+ Cms::Page#publish_if_needed. publish? = 'false'
2575
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2576
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2577
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2578
+  (0.7ms) rollback transaction
2579
+  (0.0ms) begin transaction
2580
+  (0.1ms) rollback transaction
2581
+  (0.1ms) begin transaction
2582
+  (0.0ms) rollback transaction
2583
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2584
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2585
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2586
+ Setting path /members
2587
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2588
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2589
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2590
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2591
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2592
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2593
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2594
+  (0.1ms) begin transaction
2595
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2596
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2597
+  (0.1ms) SAVEPOINT active_record_1
2598
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2599
+ Cms::Page#create_or_update called. Published = false
2600
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2601
+ Copying connectors from Page v0 to v1.
2602
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2603
+ Found connectors []
2604
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2605
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:50:25 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:50:25 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2606
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:50:25 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:50:25 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2607
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2608
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2609
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2610
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:50:26 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:50:26 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2611
+ SQL (56.9ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:50:26 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:50:26 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2612
+ BcmsBitly::ShortLink::Version Load (0.3ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2613
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2614
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2615
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2616
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
2617
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2618
+ Cms::Page#publish_if_needed. publish? = 'false'
2619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2620
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2621
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2622
+ BcmsBitly::ShortLink Load (0.1ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2623
+  (0.7ms) rollback transaction
2624
+  (0.0ms) begin transaction
2625
+  (0.1ms) rollback transaction
2626
+  (0.1ms) begin transaction
2627
+  (0.0ms) rollback transaction
2628
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2629
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2630
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2631
+ Setting path /members
2632
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2633
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2634
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2635
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2636
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2637
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2638
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2639
+  (0.1ms) begin transaction
2640
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2641
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2642
+  (0.1ms) SAVEPOINT active_record_1
2643
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2644
+ Cms::Page#create_or_update called. Published = false
2645
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2646
+ Copying connectors from Page v0 to v1.
2647
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2648
+ Found connectors []
2649
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2650
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:50:51 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:50:51 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2651
+ SQL (0.7ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:50:51 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:50:51 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2652
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2653
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
2654
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2655
+ Cms::Page#publish_if_needed. publish? = 'false'
2656
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2657
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2658
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2659
+  (0.6ms) rollback transaction
2660
+  (0.0ms) begin transaction
2661
+  (0.1ms) rollback transaction
2662
+  (0.0ms) begin transaction
2663
+  (0.0ms) rollback transaction
2664
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2665
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2666
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2667
+ Setting path /members
2668
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2669
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2670
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2671
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2672
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2673
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2674
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2675
+  (0.1ms) begin transaction
2676
+  (0.3ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2677
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2678
+  (0.1ms) SAVEPOINT active_record_1
2679
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2680
+ Cms::Page#create_or_update called. Published = false
2681
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2682
+ Copying connectors from Page v0 to v1.
2683
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2684
+ Found connectors []
2685
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2686
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:54:06 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:54:06 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2687
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:54:06 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:54:06 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2688
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2689
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
2690
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2691
+ Cms::Page#publish_if_needed. publish? = 'false'
2692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2693
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2694
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2695
+  (0.7ms) rollback transaction
2696
+  (0.0ms) begin transaction
2697
+  (0.1ms) rollback transaction
2698
+  (0.0ms) begin transaction
2699
+  (0.0ms) rollback transaction
2700
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2701
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2702
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2703
+ Setting path /members
2704
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2705
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2706
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2707
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2708
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2709
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2710
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2711
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2712
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2713
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2714
+ Setting path /members
2715
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2716
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2717
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2718
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2719
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2720
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2721
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2722
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2723
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2724
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2725
+ Setting path /members
2726
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2727
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2728
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2729
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2730
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2731
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2732
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2733
+  (0.1ms) begin transaction
2734
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2735
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2736
+  (0.1ms) SAVEPOINT active_record_1
2737
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2738
+ Cms::Page#create_or_update called. Published = false
2739
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2740
+ Copying connectors from Page v0 to v1.
2741
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2742
+ Found connectors []
2743
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2744
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:57:02 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:57:02 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2745
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 17:57:02 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 17:57:02 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2746
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2747
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2748
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2749
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:57:03 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:57:03 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2750
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 17:57:03 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 17:57:03 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2751
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2752
+ SQL (0.4ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2753
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2754
+ Cms::Page::Version Load (0.3ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2755
+  (0.6ms) UPDATE pages SET latest_version = 1 where id = 5
2756
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2757
+ Cms::Page#publish_if_needed. publish? = 'false'
2758
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2759
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2760
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2761
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2762
+  (0.6ms) rollback transaction
2763
+  (0.0ms) begin transaction
2764
+  (0.1ms) rollback transaction
2765
+  (0.0ms) begin transaction
2766
+  (0.0ms) rollback transaction
2767
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2768
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2769
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2770
+ Setting path /members
2771
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2772
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2773
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2774
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2775
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2776
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2777
+ Cms::PageRoute Load (0.9ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2778
+  (0.1ms) begin transaction
2779
+  (0.7ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2780
+  (0.4ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2781
+  (0.1ms) SAVEPOINT active_record_1
2782
+ Cms::Page Exists (0.7ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2783
+ Cms::Page#create_or_update called. Published = false
2784
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2785
+ Copying connectors from Page v0 to v1.
2786
+ Cms::Connector Load (0.7ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2787
+ Found connectors []
2788
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2789
+ SQL (3.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 18:45:46 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 18:45:46 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2790
+ SQL (1.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 18:45:46 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 18:45:46 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2791
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2792
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2793
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2794
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 18:45:46 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 18:45:46 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2795
+ SQL (0.9ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 18:45:46 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 18:45:46 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2796
+ BcmsBitly::ShortLink::Version Load (0.3ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2797
+ SQL (1.2ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2798
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2799
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2800
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
2801
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2802
+ Cms::Page#publish_if_needed. publish? = 'false'
2803
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2804
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2805
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2806
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2807
+  (0.9ms) rollback transaction
2808
+  (0.0ms) begin transaction
2809
+  (0.1ms) rollback transaction
2810
+  (0.1ms) begin transaction
2811
+  (0.1ms) rollback transaction
2812
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2813
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2814
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2815
+ Setting path /members
2816
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2817
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2818
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2819
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2820
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2821
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2822
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2823
+  (0.1ms) begin transaction
2824
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2825
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2826
+  (0.1ms) SAVEPOINT active_record_1
2827
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2828
+ Cms::Page#create_or_update called. Published = false
2829
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2830
+ Copying connectors from Page v0 to v1.
2831
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2832
+ Found connectors []
2833
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2834
+ SQL (2.5ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 18:46:39 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 18:46:39 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2835
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 18:46:39 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 18:46:39 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2836
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2837
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2838
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2839
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 18:46:40 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 18:46:40 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2840
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 18:46:40 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 18:46:40 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2841
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2842
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2843
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2844
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2845
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
2846
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2847
+ Cms::Page#publish_if_needed. publish? = 'false'
2848
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2849
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2850
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2851
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2852
+  (0.8ms) rollback transaction
2853
+  (0.1ms) begin transaction
2854
+  (0.1ms) rollback transaction
2855
+  (0.1ms) begin transaction
2856
+  (0.1ms) rollback transaction
2857
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2858
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2859
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2860
+ Setting path /members
2861
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2862
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2863
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2864
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2865
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2866
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2867
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2868
+  (0.1ms) begin transaction
2869
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2870
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2871
+  (0.1ms) SAVEPOINT active_record_1
2872
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2873
+ Cms::Page#create_or_update called. Published = false
2874
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2875
+ Copying connectors from Page v0 to v1.
2876
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2877
+ Found connectors []
2878
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2879
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 18:51:59 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 18:51:59 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2880
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 18:51:59 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 18:51:59 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2881
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2882
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2883
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2884
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 18:51:59 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 18:51:59 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2885
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 18:51:59 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 18:51:59 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2886
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2887
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2888
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2889
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2890
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
2891
+ Cms::Page::Version Load (0.1ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2892
+ Cms::Page#publish_if_needed. publish? = 'false'
2893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2894
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2895
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2896
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2897
+  (0.9ms) rollback transaction
2898
+  (0.0ms) begin transaction
2899
+  (0.1ms) rollback transaction
2900
+  (0.1ms) begin transaction
2901
+  (0.1ms) rollback transaction
2902
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2903
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2904
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2905
+ Setting path /members
2906
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2907
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2908
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2909
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2910
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2911
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2912
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2913
+  (0.1ms) begin transaction
2914
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2915
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2916
+  (0.1ms) SAVEPOINT active_record_1
2917
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2918
+ Cms::Page#create_or_update called. Published = false
2919
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2920
+ Copying connectors from Page v0 to v1.
2921
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2922
+ Found connectors []
2923
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2924
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 19:06:04 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 19:06:04 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2925
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 19:06:04 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 19:06:04 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2926
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
2927
+  (0.6ms) rollback transaction
2928
+  (0.1ms) begin transaction
2929
+  (0.1ms) rollback transaction
2930
+  (0.0ms) begin transaction
2931
+  (0.0ms) rollback transaction
2932
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2933
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2934
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2935
+ Setting path /members
2936
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2937
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2938
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2939
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2940
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2941
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2942
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2943
+  (0.1ms) begin transaction
2944
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2945
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2946
+  (0.1ms) SAVEPOINT active_record_1
2947
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2948
+ Cms::Page#create_or_update called. Published = false
2949
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2950
+ Copying connectors from Page v0 to v1.
2951
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2952
+ Found connectors []
2953
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2954
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 19:06:30 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 19:06:30 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
2955
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 19:06:30 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 19:06:30 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
2956
+ BcmsBitly::ShortLink#create_or_update called. Published = false
2957
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
2958
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
2959
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 19:06:30 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 19:06:30 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
2960
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 19:06:30 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 19:06:30 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
2961
+ BcmsBitly::ShortLink::Version Load (0.3ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
2962
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
2963
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
2964
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2965
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
2966
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
2967
+ Cms::Page#publish_if_needed. publish? = 'false'
2968
+  (0.0ms) RELEASE SAVEPOINT active_record_1
2969
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2970
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2971
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
2972
+  (0.7ms) rollback transaction
2973
+  (0.1ms) begin transaction
2974
+  (0.1ms) rollback transaction
2975
+  (0.1ms) begin transaction
2976
+  (0.0ms) rollback transaction
2977
+ Creating scope :public. Overwriting existing method Cms::Group.public.
2978
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
2979
+ Creating scope :system. Overwriting existing method Cms::Section.system.
2980
+ Setting path /members
2981
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
2982
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
2983
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
2984
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
2985
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
2986
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
2987
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
2988
+  (0.1ms) begin transaction
2989
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
2990
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
2991
+  (0.1ms) SAVEPOINT active_record_1
2992
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
2993
+ Cms::Page#create_or_update called. Published = false
2994
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
2995
+ Copying connectors from Page v0 to v1.
2996
+ Cms::Connector Load (0.4ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
2997
+ Found connectors []
2998
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
2999
+ SQL (2.1ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 19:22:50 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 19:22:50 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
3000
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Tue, 22 May 2012 19:22:50 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Tue, 22 May 2012 19:22:50 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
3001
+ BcmsBitly::ShortLink#create_or_update called. Published = false
3002
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
3003
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
3004
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 19:22:51 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 19:22:51 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
3005
+ SQL (0.5ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Tue, 22 May 2012 19:22:51 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Tue, 22 May 2012 19:22:51 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
3006
+ BcmsBitly::ShortLink::Version Load (0.3ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
3007
+ SQL (0.4ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
3008
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
3009
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
3010
+  (0.6ms) UPDATE pages SET latest_version = 1 where id = 5
3011
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
3012
+ Cms::Page#publish_if_needed. publish? = 'false'
3013
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3014
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3015
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3016
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
3017
+  (1.4ms) rollback transaction
3018
+  (0.1ms) begin transaction
3019
+  (0.1ms) rollback transaction
3020
+  (0.1ms) begin transaction
3021
+  (0.1ms) rollback transaction
3022
+ Creating scope :public. Overwriting existing method Cms::Group.public.
3023
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
3024
+ Creating scope :system. Overwriting existing method Cms::Section.system.
3025
+ Setting path /members
3026
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
3027
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
3028
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
3029
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
3030
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
3031
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
3032
+ Cms::PageRoute Load (0.7ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
3033
+  (0.1ms) begin transaction
3034
+  (0.7ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3035
+  (0.5ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3036
+  (0.1ms) SAVEPOINT active_record_1
3037
+ Cms::Page Exists (0.6ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
3038
+ Cms::Page#create_or_update called. Published = false
3039
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
3040
+ Copying connectors from Page v0 to v1.
3041
+ Cms::Connector Load (0.7ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
3042
+ Found connectors []
3043
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
3044
+ SQL (3.3ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 20:55:00 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 20:55:00 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
3045
+ SQL (1.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 20:55:00 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 20:55:00 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
3046
+ BcmsBitly::ShortLink#create_or_update called. Published = false
3047
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
3048
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
3049
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 23 May 2012 20:55:00 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Wed, 23 May 2012 20:55:00 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
3050
+ SQL (0.8ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 23 May 2012 20:55:00 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Wed, 23 May 2012 20:55:00 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
3051
+ BcmsBitly::ShortLink::Version Load (0.3ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
3052
+ SQL (1.2ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
3053
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
3054
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
3055
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
3056
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
3057
+ Cms::Page#publish_if_needed. publish? = 'false'
3058
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3059
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3060
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3061
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
3062
+  (0.9ms) rollback transaction
3063
+  (0.0ms) begin transaction
3064
+  (0.1ms) rollback transaction
3065
+  (0.1ms) begin transaction
3066
+  (0.0ms) rollback transaction
3067
+ Creating scope :public. Overwriting existing method Cms::Group.public.
3068
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
3069
+ Creating scope :system. Overwriting existing method Cms::Section.system.
3070
+ Setting path /members
3071
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
3072
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
3073
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
3074
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
3075
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
3076
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
3077
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
3078
+  (0.1ms) begin transaction
3079
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3080
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3081
+  (0.1ms) SAVEPOINT active_record_1
3082
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
3083
+ Cms::Page#create_or_update called. Published = false
3084
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
3085
+ Copying connectors from Page v0 to v1.
3086
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
3087
+ Found connectors []
3088
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
3089
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 21:00:25 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 21:00:25 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
3090
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 21:00:25 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 21:00:25 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
3091
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
3092
+  (0.7ms) rollback transaction
3093
+  (0.0ms) begin transaction
3094
+  (0.1ms) rollback transaction
3095
+  (0.1ms) begin transaction
3096
+  (0.0ms) rollback transaction
3097
+ Creating scope :public. Overwriting existing method Cms::Group.public.
3098
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
3099
+ Creating scope :system. Overwriting existing method Cms::Section.system.
3100
+ Setting path /members
3101
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
3102
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
3103
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
3104
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
3105
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
3106
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
3107
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
3108
+  (0.1ms) begin transaction
3109
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3110
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3111
+  (0.1ms) SAVEPOINT active_record_1
3112
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
3113
+ Cms::Page#create_or_update called. Published = false
3114
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
3115
+ Copying connectors from Page v0 to v1.
3116
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
3117
+ Found connectors []
3118
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
3119
+ SQL (1.7ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 21:06:42 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 21:06:42 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
3120
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 21:06:42 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 21:06:42 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
3121
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
3122
+  (0.6ms) rollback transaction
3123
+  (0.0ms) begin transaction
3124
+  (0.1ms) rollback transaction
3125
+  (0.0ms) begin transaction
3126
+  (0.0ms) rollback transaction
3127
+ Creating scope :public. Overwriting existing method Cms::Group.public.
3128
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
3129
+ Creating scope :system. Overwriting existing method Cms::Section.system.
3130
+ Setting path /members
3131
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
3132
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
3133
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
3134
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
3135
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
3136
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
3137
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
3138
+  (0.1ms) begin transaction
3139
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3140
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3141
+  (0.1ms) SAVEPOINT active_record_1
3142
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
3143
+ Cms::Page#create_or_update called. Published = false
3144
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
3145
+ Copying connectors from Page v0 to v1.
3146
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
3147
+ Found connectors []
3148
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
3149
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 21:18:43 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 21:18:43 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
3150
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 21:18:43 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 21:18:43 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
3151
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
3152
+  (0.7ms) rollback transaction
3153
+  (0.1ms) begin transaction
3154
+  (0.1ms) rollback transaction
3155
+  (0.0ms) begin transaction
3156
+  (0.0ms) rollback transaction
3157
+ Creating scope :public. Overwriting existing method Cms::Group.public.
3158
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
3159
+ Creating scope :system. Overwriting existing method Cms::Section.system.
3160
+ Setting path /members
3161
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
3162
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
3163
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
3164
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
3165
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
3166
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
3167
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
3168
+  (0.1ms) begin transaction
3169
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3170
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3171
+  (0.1ms) SAVEPOINT active_record_1
3172
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
3173
+ Cms::Page#create_or_update called. Published = false
3174
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
3175
+ Copying connectors from Page v0 to v1.
3176
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
3177
+ Found connectors []
3178
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
3179
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 21:24:30 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 21:24:30 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
3180
+ SQL (0.3ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 21:24:30 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 21:24:30 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
3181
+ BcmsBitly::ShortLink Load (0.1ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
3182
+  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1
3183
+  (0.8ms) rollback transaction
3184
+  (0.0ms) begin transaction
3185
+  (0.1ms) rollback transaction
3186
+  (0.1ms) begin transaction
3187
+  (0.0ms) rollback transaction
3188
+ Creating scope :public. Overwriting existing method Cms::Group.public.
3189
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
3190
+ Creating scope :system. Overwriting existing method Cms::Section.system.
3191
+ Setting path /members
3192
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
3193
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
3194
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
3195
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
3196
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
3197
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
3198
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
3199
+  (0.1ms) begin transaction
3200
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3201
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3202
+  (0.1ms) SAVEPOINT active_record_1
3203
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
3204
+ Cms::Page#create_or_update called. Published = false
3205
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
3206
+ Copying connectors from Page v0 to v1.
3207
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
3208
+ Found connectors []
3209
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
3210
+ SQL (2.2ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 21:33:39 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 21:33:39 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
3211
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 21:33:39 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 21:33:39 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
3212
+ BcmsBitly::ShortLink#create_or_update called. Published = false
3213
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
3214
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
3215
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 23 May 2012 21:33:39 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Wed, 23 May 2012 21:33:39 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
3216
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 23 May 2012 21:33:39 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Wed, 23 May 2012 21:33:39 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
3217
+ BcmsBitly::ShortLink::Version Load (0.2ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
3218
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
3219
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
3220
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
3221
+  (0.4ms) UPDATE pages SET latest_version = 1 where id = 5
3222
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
3223
+ Cms::Page#publish_if_needed. publish? = 'false'
3224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3225
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3226
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3227
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
3228
+  (0.8ms) rollback transaction
3229
+  (0.1ms) begin transaction
3230
+  (0.1ms) rollback transaction
3231
+  (0.1ms) begin transaction
3232
+  (0.0ms) rollback transaction
3233
+ Creating scope :public. Overwriting existing method Cms::Group.public.
3234
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
3235
+ Creating scope :system. Overwriting existing method Cms::Section.system.
3236
+ Setting path /members
3237
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
3238
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
3239
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
3240
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
3241
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
3242
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
3243
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
3244
+  (0.1ms) begin transaction
3245
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3246
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3247
+  (0.1ms) SAVEPOINT active_record_1
3248
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
3249
+ Cms::Page#create_or_update called. Published = false
3250
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
3251
+ Copying connectors from Page v0 to v1.
3252
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
3253
+ Found connectors []
3254
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
3255
+ SQL (1.9ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 21:34:48 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 21:34:48 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
3256
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 21:34:48 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 21:34:48 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
3257
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
3258
+ BcmsBitly::ShortLink#create_or_update called. Published = false
3259
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
3260
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
3261
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 23 May 2012 21:34:48 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Wed, 23 May 2012 21:34:48 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
3262
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 23 May 2012 21:34:48 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Wed, 23 May 2012 21:34:48 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
3263
+ BcmsBitly::ShortLink::Version Load (0.3ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
3264
+ SQL (0.3ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
3265
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
3266
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
3267
+  (0.5ms) UPDATE pages SET latest_version = 1 where id = 5
3268
+ Cms::Page::Version Load (0.3ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
3269
+ Cms::Page#publish_if_needed. publish? = 'false'
3270
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3271
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3272
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3273
+  (0.6ms) rollback transaction
3274
+  (0.1ms) begin transaction
3275
+  (0.1ms) rollback transaction
3276
+  (0.1ms) begin transaction
3277
+  (0.0ms) rollback transaction
3278
+ Creating scope :public. Overwriting existing method Cms::Group.public.
3279
+ Creating scope :search. Overwriting existing method Cms::HtmlBlock.search.
3280
+ Creating scope :system. Overwriting existing method Cms::Section.system.
3281
+ Setting path /members
3282
+ Creating scope :search. Overwriting existing method DynamicPortlet.search.
3283
+ Creating scope :search. Overwriting existing method EmailPagePortlet.search.
3284
+ Creating scope :search. Overwriting existing method ForgotPasswordPortlet.search.
3285
+ Creating scope :search. Overwriting existing method LoginPortlet.search.
3286
+ Creating scope :search. Overwriting existing method ResetPasswordPortlet.search.
3287
+ Creating scope :search. Overwriting existing method TagCloudPortlet.search.
3288
+ Cms::PageRoute Load (0.3ms) SELECT "page_routes".* FROM "page_routes" ORDER BY page_routes.name
3289
+  (0.1ms) begin transaction
3290
+  (0.2ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3291
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3292
+  (0.1ms) SAVEPOINT active_record_1
3293
+ Cms::Page Exists (0.2ms) SELECT 1 FROM "pages" WHERE ("pages"."path" = '/test' AND "pages"."deleted" = 'f') LIMIT 1
3294
+ Cms::Page#create_or_update called. Published = false
3295
+ Saving Cms::Page {"id"=>nil, "version"=>1, "lock_version"=>0, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil, "latest_version"=>nil}
3296
+ Copying connectors from Page v0 to v1.
3297
+ Cms::Connector Load (0.3ms) SELECT "connectors".* FROM "connectors" WHERE "connectors"."page_id" IS NULL AND "connectors"."page_version" = 0 ORDER BY connectors.container, connectors.position
3298
+ Found connectors []
3299
+ New version of Cms::Page::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "name"=>"Test", "title"=>nil, "path"=>"/test", "template_file_name"=>nil, "description"=>nil, "keywords"=>nil, "language"=>nil, "cacheable"=>false, "hidden"=>false, "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil, "created_at"=>nil, "updated_at"=>nil}
3300
+ SQL (1.8ms) INSERT INTO "pages" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "latest_version", "lock_version", "name", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 23:04:52 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["latest_version", nil], ["lock_version", 0], ["name", "Test"], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 23:04:52 UTC +00:00], ["updated_by_id", nil], ["version", 1]]
3301
+ SQL (0.4ms) INSERT INTO "page_versions" ("archived", "cacheable", "created_at", "created_by_id", "deleted", "description", "hidden", "keywords", "language", "name", "original_record_id", "path", "published", "template_file_name", "title", "updated_at", "updated_by_id", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["cacheable", false], ["created_at", Wed, 23 May 2012 23:04:52 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["description", nil], ["hidden", false], ["keywords", nil], ["language", nil], ["name", "Test"], ["original_record_id", 5], ["path", "/test"], ["published", false], ["template_file_name", nil], ["title", nil], ["updated_at", Wed, 23 May 2012 23:04:52 UTC +00:00], ["updated_by_id", nil], ["version", 1], ["version_comment", "Created"]]
3302
+ BcmsBitly::ShortLink Load (0.2ms) SELECT "bcms_bitly_short_links".* FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f' AND "bcms_bitly_short_links"."page_id" = 5 LIMIT 1
3303
+ BcmsBitly::ShortLink#create_or_update called. Published = false
3304
+ Saving BcmsBitly::ShortLink {"id"=>nil, "version"=>1, "lock_version"=>0, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "created_by_id"=>nil, "updated_by_id"=>nil}
3305
+ New version of BcmsBitly::ShortLink::Version is {"id"=>nil, "original_record_id"=>nil, "version"=>1, "url"=>"http://bit.ly/KgjOU9", "page_id"=>5, "created_at"=>nil, "updated_at"=>nil, "name"=>"Test", "published"=>false, "deleted"=>false, "archived"=>false, "version_comment"=>"Created", "created_by_id"=>nil, "updated_by_id"=>nil}
3306
+ SQL (0.4ms) INSERT INTO "bcms_bitly_short_links" ("archived", "created_at", "created_by_id", "deleted", "lock_version", "name", "page_id", "published", "updated_at", "updated_by_id", "url", "version") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 23 May 2012 23:04:52 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["lock_version", 0], ["name", "Test"], ["page_id", 5], ["published", false], ["updated_at", Wed, 23 May 2012 23:04:52 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1]]
3307
+ SQL (0.3ms) INSERT INTO "bcms_bitly_short_link_versions" ("archived", "created_at", "created_by_id", "deleted", "name", "original_record_id", "page_id", "published", "updated_at", "updated_by_id", "url", "version", "version_comment") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["archived", false], ["created_at", Wed, 23 May 2012 23:04:52 UTC +00:00], ["created_by_id", nil], ["deleted", false], ["name", "Test"], ["original_record_id", 1], ["page_id", 5], ["published", false], ["updated_at", Wed, 23 May 2012 23:04:52 UTC +00:00], ["updated_by_id", nil], ["url", "http://bit.ly/KgjOU9"], ["version", 1], ["version_comment", "Created"]]
3308
+ BcmsBitly::ShortLink::Version Load (0.3ms) SELECT "bcms_bitly_short_link_versions".* FROM "bcms_bitly_short_link_versions" WHERE "bcms_bitly_short_link_versions"."original_record_id" = 1 ORDER BY version desc LIMIT 1
3309
+ SQL (0.4ms) SELECT "pages"."id" AS t0_r0, "pages"."version" AS t0_r1, "pages"."lock_version" AS t0_r2, "pages"."name" AS t0_r3, "pages"."title" AS t0_r4, "pages"."path" AS t0_r5, "pages"."template_file_name" AS t0_r6, "pages"."description" AS t0_r7, "pages"."keywords" AS t0_r8, "pages"."language" AS t0_r9, "pages"."cacheable" AS t0_r10, "pages"."hidden" AS t0_r11, "pages"."published" AS t0_r12, "pages"."deleted" AS t0_r13, "pages"."archived" AS t0_r14, "pages"."created_by_id" AS t0_r15, "pages"."updated_by_id" AS t0_r16, "pages"."created_at" AS t0_r17, "pages"."updated_at" AS t0_r18, "pages"."latest_version" AS t0_r19, "connectors"."id" AS t1_r0, "connectors"."page_id" AS t1_r1, "connectors"."page_version" AS t1_r2, "connectors"."connectable_id" AS t1_r3, "connectors"."connectable_type" AS t1_r4, "connectors"."connectable_version" AS t1_r5, "connectors"."container" AS t1_r6, "connectors"."position" AS t1_r7, "connectors"."created_at" AS t1_r8, "connectors"."updated_at" AS t1_r9 FROM "pages" LEFT OUTER JOIN "connectors" ON "connectors"."page_id" = "pages"."id" WHERE "pages"."deleted" = 'f' AND (connectors.connectable_id = 1 and connectors.connectable_type = 'BcmsBitly::ShortLink' and connectors.connectable_version = 0)
3310
+ BcmsBitly::ShortLink#publish_if_needed. publish? = 'false'
3311
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
3312
+  (0.5ms) UPDATE pages SET latest_version = 1 where id = 5
3313
+ Cms::Page::Version Load (0.2ms) SELECT "page_versions".* FROM "page_versions" WHERE "page_versions"."original_record_id" = 5 ORDER BY version desc LIMIT 1
3314
+ Cms::Page#publish_if_needed. publish? = 'false'
3315
+  (0.0ms) RELEASE SAVEPOINT active_record_1
3316
+  (0.1ms) SELECT COUNT(*) FROM "pages" WHERE "pages"."deleted" = 'f'
3317
+  (0.1ms) SELECT COUNT(*) FROM "bcms_bitly_short_links" WHERE "bcms_bitly_short_links"."deleted" = 'f'
3318
+  (0.9ms) rollback transaction
3319
+  (0.0ms) begin transaction
3320
+  (0.1ms) rollback transaction
3321
+  (0.1ms) begin transaction
3322
+  (0.0ms) rollback transaction