static_blocks 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. data/lib/static_blocks/helpers.rb +6 -1
  2. data/lib/static_blocks/version.rb +1 -1
  3. data/spec/dummy/db/development.sqlite3 +0 -0
  4. data/spec/dummy/log/development.log +954 -0
  5. data/spec/dummy/log/test.log +828 -0
  6. data/spec/dummy/tmp/cache/assets/C03/2A0/sprockets%2F2c19695a93d05c448f53808347981544 +0 -0
  7. data/spec/dummy/tmp/cache/assets/C52/CD0/sprockets%2F05f5bfd8319e875420216370307594be +0 -0
  8. data/spec/dummy/tmp/cache/assets/C57/300/sprockets%2F2615d11245c762e27f082087638cd8f7 +0 -0
  9. data/spec/dummy/tmp/cache/assets/C87/620/sprockets%2F3432446e738294254b2a8edee23c7809 +0 -0
  10. data/spec/dummy/tmp/cache/assets/C90/600/sprockets%2Fd5d3d15976742040862cea796e828c73 +0 -0
  11. data/spec/dummy/tmp/cache/assets/CB4/CE0/sprockets%2F3299a2e34377c16f310e9289c0cf470e +0 -0
  12. data/spec/dummy/tmp/cache/assets/CBD/290/sprockets%2F7941ab3c9bc78f426e20c9095a659329 +0 -0
  13. data/spec/dummy/tmp/cache/assets/CBD/B40/sprockets%2F0a00f98a83686470ee2838ef1c3c8693 +0 -0
  14. data/spec/dummy/tmp/cache/assets/CBF/090/sprockets%2Fb4576076221ea1abb2ecd081025d3026 +0 -0
  15. data/spec/dummy/tmp/cache/assets/CC1/5A0/sprockets%2F880ce77a9b28981a952adc78253d1844 +0 -0
  16. data/spec/dummy/tmp/cache/assets/CC1/ED0/sprockets%2Fa14463bb037619fa57b714120bb5a0c3 +0 -0
  17. data/spec/dummy/tmp/cache/assets/CD0/060/sprockets%2F2ea5643654580eb50727bb42fc190c1a +0 -0
  18. data/spec/dummy/tmp/cache/assets/CD0/C00/sprockets%2Ff581e133147c235d2f003a91f18c4b5d +0 -0
  19. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  20. data/spec/dummy/tmp/cache/assets/CDC/C80/sprockets%2F0221b31c67280890e929e5600ddf7fae +0 -0
  21. data/spec/dummy/tmp/cache/assets/CDF/250/sprockets%2F28111ed79a6721f4d8a870571d74e1ac +0 -0
  22. data/spec/dummy/tmp/cache/assets/CE0/A80/sprockets%2Fb14006f874599a0d9cd092b64c18cc90 +0 -0
  23. data/spec/dummy/tmp/cache/assets/CE7/C50/sprockets%2F9fa1970f509ab772a4535f7b0ee42378 +0 -0
  24. data/spec/dummy/tmp/cache/assets/CF3/A70/sprockets%2F0055fb67d9cf98a6916a16d758f7b632 +0 -0
  25. data/spec/dummy/tmp/cache/assets/CF5/810/sprockets%2F1e87820b7e288fa1d49739666e5c4ef0 +0 -0
  26. data/spec/dummy/tmp/cache/assets/CFA/870/sprockets%2F98e7068f7261e1abe3e9253c9b4779c8 +0 -0
  27. data/spec/dummy/tmp/cache/assets/CFD/9F0/sprockets%2F3327ac0f5086d72b0a712c328cb636fa +0 -0
  28. data/spec/dummy/tmp/cache/assets/D07/100/sprockets%2F64ee117ce583fa61da15d35315a576d1 +0 -0
  29. data/spec/dummy/tmp/cache/assets/D0B/D70/sprockets%2F552e4c8c329a24dc0b0046eac37e5959 +0 -0
  30. data/spec/dummy/tmp/cache/assets/D0D/840/sprockets%2F50e9139381224f7c9baaf6caf404b394 +0 -0
  31. data/spec/dummy/tmp/cache/assets/D11/9D0/sprockets%2F0bd4e6571b02cf9b6b48316e7b72e791 +0 -0
  32. data/spec/dummy/tmp/cache/assets/D18/860/sprockets%2F540c2f958fef569f4a7539c070a6a2e1 +0 -0
  33. data/spec/dummy/tmp/cache/assets/D1A/DF0/sprockets%2F1e85f1a823c6ac486d80965fdc349e14 +0 -0
  34. data/spec/dummy/tmp/cache/assets/D1F/D80/sprockets%2F7438f09ddf022f97525c3eb448f65f3c +0 -0
  35. data/spec/dummy/tmp/cache/assets/D2B/CD0/sprockets%2F76f9b9eefb641d7657a46237287c8df1 +0 -0
  36. data/spec/dummy/tmp/cache/assets/D2F/950/sprockets%2F563c7c80a43c918ab182fbb055ca0d09 +0 -0
  37. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  38. data/spec/dummy/tmp/cache/assets/D34/970/sprockets%2F7085373a4d1111c33ca8b8986e0cacec +0 -0
  39. data/spec/dummy/tmp/cache/assets/D37/640/sprockets%2Faf7183c34069b6d8baf5041d26ff05c1 +0 -0
  40. data/spec/dummy/tmp/cache/assets/D46/A90/sprockets%2Fe349870cbccfd6637c4739c04c45af34 +0 -0
  41. data/spec/dummy/tmp/cache/assets/D49/A90/sprockets%2Fc7da9c3c9df8e05520c74c53639a845c +0 -0
  42. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  43. data/spec/dummy/tmp/cache/assets/D50/470/sprockets%2F2bc1690c65d8ffbff84b58e810e63693 +0 -0
  44. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  45. data/spec/dummy/tmp/cache/assets/D5C/3F0/sprockets%2F10bb094cd44ab73b2e31c49618ee7b1b +0 -0
  46. data/spec/dummy/tmp/cache/assets/D5C/6C0/sprockets%2F1ad1dff23bbf7320d2d7fda364555105 +0 -0
  47. data/spec/dummy/tmp/cache/assets/D5C/820/sprockets%2F696c617f9a6df357683eaa0589d95afd +0 -0
  48. data/spec/dummy/tmp/cache/assets/D62/F80/sprockets%2F16a0314243f7d9efc8fbac12224c74fb +0 -0
  49. data/spec/dummy/tmp/cache/assets/D6A/D90/sprockets%2Fd425f2ec9668522e6ab25db50e7a2d4b +0 -0
  50. data/spec/dummy/tmp/cache/assets/D6B/5F0/sprockets%2F5e5a089ff23e4b1b5e7071c0b66ff41d +0 -0
  51. data/spec/dummy/tmp/cache/assets/D6D/E40/sprockets%2F96988fa2bc8e98bcf908f897cd4f3582 +0 -0
  52. data/spec/dummy/tmp/cache/assets/D7A/BA0/sprockets%2F7fe8ec92b30b7e2f688c3a91157c5eb3 +0 -0
  53. data/spec/dummy/tmp/cache/assets/D83/090/sprockets%2Fa40a252a6e2b0ff86dace14bc38230c4 +0 -0
  54. data/spec/dummy/tmp/cache/assets/D8C/960/sprockets%2F8c261eb90a4ec2f023bde5d31f628a2a +0 -0
  55. data/spec/dummy/tmp/cache/assets/D96/D10/sprockets%2F7bd1f5ab50fa7984dc3d13841c800ebe +0 -0
  56. data/spec/dummy/tmp/cache/assets/D98/2B0/sprockets%2F5fc3f1cbdd2724729e1ec9538a3acd12 +0 -0
  57. data/spec/dummy/tmp/cache/assets/D99/370/sprockets%2Fc28be70a409478b91da2ead47ba493bd +0 -0
  58. data/spec/dummy/tmp/cache/assets/D9A/DB0/sprockets%2Fdb4ec6a8fd5fd625823e014e790a00df +0 -0
  59. data/spec/dummy/tmp/cache/assets/DA1/C30/sprockets%2F679ced082eeb1816e41b2e07c6bae69c +0 -0
  60. data/spec/dummy/tmp/cache/assets/DA2/820/sprockets%2F9f81de74a49c9eaf25ad2de0d51c7801 +0 -0
  61. data/spec/dummy/tmp/cache/assets/DA9/720/sprockets%2F48daf0816368157bfaeecdc8d6a39f25 +0 -0
  62. data/spec/dummy/tmp/cache/assets/DC9/A10/sprockets%2F160de89fafbd05b8cc47310780cf4ace +0 -0
  63. data/spec/dummy/tmp/cache/assets/DCF/A40/sprockets%2F554e10f5ef3e3c90b2de3ae0f5c886bf +0 -0
  64. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  65. data/spec/dummy/tmp/cache/assets/DF5/F30/sprockets%2F2a719aa2678fbbc921b4dca98b21cdfb +0 -0
  66. data/spec/dummy/tmp/cache/assets/DFE/2A0/sprockets%2Fa874cd00fc9abeb66d68908bbf2ee22b +0 -0
  67. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  68. data/spec/dummy/tmp/cache/assets/E29/330/sprockets%2F37aa8f7e3db4c960ac2bce349e5bc1ce +0 -0
  69. data/spec/dummy/tmp/cache/assets/E3D/850/sprockets%2Fdf71e8b2fb6eeb586657c8b936afaaeb +0 -0
  70. data/spec/dummy/tmp/cache/assets/E58/B30/sprockets%2F9fe3bb87890ca35d6acfaa0ad1fd5eb3 +0 -0
  71. data/spec/dummy/tmp/cache/assets/E7E/730/sprockets%2Fabdedbedfdddeb4ae08e143d1026557a +0 -0
  72. data/spec/dummy/tmp/cache/assets/EB3/7B0/sprockets%2F51dabbc2ed9b98e08dc4bf5aba5aad6d +0 -0
  73. data/spec/dummy/tmp/capybara/capybara-201306241614165984820086.html +30 -0
  74. metadata +19 -139
  75. data/spec/dummy/tmp/cache/769/300/static_block%3A%3Afoo +0 -1
  76. data/spec/dummy/tmp/cache/assets/C40/7B0/sprockets%2Ff01427a1a9625a41079717e522b48c21 +0 -0
  77. data/spec/dummy/tmp/cache/assets/C43/A80/sprockets%2F94596a352d4841586b435699f9838f1d +0 -0
  78. data/spec/dummy/tmp/cache/assets/C4F/B70/sprockets%2Fa7618b479c438355ec218b6a35081361 +0 -0
  79. data/spec/dummy/tmp/cache/assets/C5E/080/sprockets%2F47c55992c35644316a8e0e2c8048b687 +0 -0
  80. data/spec/dummy/tmp/cache/assets/C71/290/sprockets%2F3e5152a8b0665a620e0c8639a0164c82 +0 -0
  81. data/spec/dummy/tmp/cache/assets/C7C/C50/sprockets%2Fb278044170d94414368b7ee7b4314e4a +0 -0
  82. data/spec/dummy/tmp/cache/assets/C80/DF0/sprockets%2F7c8023b375b62805ef332a557207dd96 +0 -0
  83. data/spec/dummy/tmp/cache/assets/C89/C20/sprockets%2F32dcb5437995ed21393476f6a1d51728 +0 -0
  84. data/spec/dummy/tmp/cache/assets/CC6/C10/sprockets%2F6a82e2cb3e9964325cb937155e92679f +0 -0
  85. data/spec/dummy/tmp/cache/assets/CCF/850/sprockets%2F3e49a417d9f9c4087090ff7d9c939482 +0 -0
  86. data/spec/dummy/tmp/cache/assets/CE3/F70/sprockets%2F26eef61af70b3b5416a8fd2928406944 +0 -0
  87. data/spec/dummy/tmp/cache/assets/CF9/720/sprockets%2F8b948daf6bef57f06c78b66966110458 +0 -0
  88. data/spec/dummy/tmp/cache/assets/CFD/450/sprockets%2F5a1c34baf6a0808107c88ab82a2824e2 +0 -0
  89. data/spec/dummy/tmp/cache/assets/D00/080/sprockets%2F8e09f98d6161aedd5169d33cf3699686 +0 -0
  90. data/spec/dummy/tmp/cache/assets/D2F/730/sprockets%2Fcb562b326045b0e0c8ec50f5d82a92f1 +0 -0
  91. data/spec/dummy/tmp/cache/assets/D38/CA0/sprockets%2Fb2f67c43ed95cdec381201a1591a5e73 +0 -0
  92. data/spec/dummy/tmp/cache/assets/D3E/630/sprockets%2Fcdb19b1bced9374f844f54376dc43103 +0 -0
  93. data/spec/dummy/tmp/cache/assets/D42/2F0/sprockets%2F77e311e8847d2d5c5254bc51cd2cf8e2 +0 -0
  94. data/spec/dummy/tmp/cache/assets/D44/4C0/sprockets%2F009e4d29a2d937679015a0ddceda89c7 +0 -0
  95. data/spec/dummy/tmp/cache/assets/D68/BA0/sprockets%2Ff8283b87e207eb7103ae2ac8df2084bb +0 -0
  96. data/spec/dummy/tmp/cache/assets/D7B/610/sprockets%2Fd93cd9e659b56810ef3ef1fc4052d93b +0 -0
  97. data/spec/dummy/tmp/cache/assets/D80/010/sprockets%2F441ea8159f4442e7dbf499d93faff51c +0 -0
  98. data/spec/dummy/tmp/cache/assets/D8B/660/sprockets%2F82f06d4bae338af323d10ca53c23e5de +0 -0
  99. data/spec/dummy/tmp/cache/assets/D9A/7C0/sprockets%2F96f90c2cec66ba0dfcb37b7412e2e912 +0 -0
  100. data/spec/dummy/tmp/cache/assets/DA0/EE0/sprockets%2F4ecacd17cd6b98f67eb104181a841f7d +0 -0
  101. data/spec/dummy/tmp/cache/assets/DA1/F20/sprockets%2F7e3ba0288726eccaf28beab45d695a91 +0 -0
  102. data/spec/dummy/tmp/cache/assets/DDA/FB0/sprockets%2F92b4d4f3bc269e36e67f43ed8eb0db5f +0 -0
  103. data/spec/dummy/tmp/cache/assets/DDF/B10/sprockets%2Fbfb4fe5872d9482cab1f83ee74a499bc +0 -0
  104. data/spec/dummy/tmp/cache/assets/E00/BC0/sprockets%2F5fb79fd146d829debfd0306daabe1d74 +0 -0
  105. data/spec/dummy/tmp/cache/assets/E2A/1C0/sprockets%2Ffae6441e70ce48653dc6fdefcadc01d3 +0 -0
  106. data/spec/dummy/tmp/cache/assets/E6A/D70/sprockets%2F3d7b9d065fb3bee3fbff2d58eeb4a89c +0 -0
  107. data/spec/dummy/tmp/cache/assets/E8B/4D0/sprockets%2Fedb0cb7f93abec7e5f5bf1ade2490be6 +0 -0
  108. data/spec/dummy/tmp/cache/sass/956b3763d4c52184978e8e3b49a9eb5d80253bf7/bootstrap.scssc +0 -0
  109. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_accordion.scssc +0 -0
  110. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_alerts.scssc +0 -0
  111. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_breadcrumbs.scssc +0 -0
  112. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_button-groups.scssc +0 -0
  113. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_buttons.scssc +0 -0
  114. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_carousel.scssc +0 -0
  115. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_close.scssc +0 -0
  116. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_code.scssc +0 -0
  117. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_component-animations.scssc +0 -0
  118. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_dropdowns.scssc +0 -0
  119. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_forms.scssc +0 -0
  120. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_grid.scssc +0 -0
  121. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_hero-unit.scssc +0 -0
  122. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_labels-badges.scssc +0 -0
  123. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_layouts.scssc +0 -0
  124. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_media.scssc +0 -0
  125. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_mixins.scssc +0 -0
  126. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_modals.scssc +0 -0
  127. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_navbar.scssc +0 -0
  128. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_navs.scssc +0 -0
  129. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_pager.scssc +0 -0
  130. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_pagination.scssc +0 -0
  131. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_popovers.scssc +0 -0
  132. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_progress-bars.scssc +0 -0
  133. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_reset.scssc +0 -0
  134. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_scaffolding.scssc +0 -0
  135. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_sprites.scssc +0 -0
  136. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_tables.scssc +0 -0
  137. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_thumbnails.scssc +0 -0
  138. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_tooltip.scssc +0 -0
  139. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_type.scssc +0 -0
  140. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_utilities.scssc +0 -0
  141. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_variables.scssc +0 -0
  142. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/_wells.scssc +0 -0
  143. data/spec/dummy/tmp/cache/sass/a65a94b6445e42c04c4572af485c41f8c586032f/bootstrap.scssc +0 -0
@@ -9252,3 +9252,831 @@ Completed 200 OK in 40ms (Views: 38.5ms | ActiveRecord: 0.2ms)
9252
9252
  StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9253
9253
   (0.0ms) RELEASE SAVEPOINT active_record_1
9254
9254
   (0.1ms) rollback transaction
9255
+ Connecting to database specified by database.yml
9256
+  (0.4ms) begin transaction
9257
+  (0.0ms) SAVEPOINT active_record_1
9258
+ SQL (5.5ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9259
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9260
+ SQL (0.4ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9261
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9262
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9263
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
9264
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9265
+  (0.1ms) rollback transaction
9266
+  (0.0ms) begin transaction
9267
+  (0.0ms) SAVEPOINT active_record_1
9268
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9269
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9270
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9271
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9272
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9273
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9274
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9275
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9276
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9277
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9278
+ Completed 200 OK in 91ms (Views: 87.6ms | ActiveRecord: 0.3ms)
9279
+  (0.2ms) rollback transaction
9280
+  (0.0ms) begin transaction
9281
+  (0.0ms) SAVEPOINT active_record_1
9282
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9283
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9284
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9285
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9286
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9287
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9288
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9289
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
9290
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9291
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9292
+ Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.3ms)
9293
+ Started GET "/static_blocks_admin/static_blocks/new?locale=en" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9294
+ Processing by StaticBlocks::StaticBlocksController#new as HTML
9295
+ Parameters: {"locale"=>"en"}
9296
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (3.1ms)
9297
+ Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
9298
+ Started POST "/static_blocks_admin/static_blocks?locale=en" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9299
+ Processing by StaticBlocks::StaticBlocksController#create as HTML
9300
+ Parameters: {"utf8"=>"✓", "static_block"=>{"title"=>"baz", "content"=>"qux", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
9301
+  (0.1ms) SAVEPOINT active_record_1
9302
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["status", "published"], ["title", "baz"], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9303
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 2 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9304
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 2], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9305
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 2]]
9306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9307
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks/2?locale=en
9308
+ Completed 302 Found in 7ms (ActiveRecord: 0.7ms)
9309
+ Started GET "/static_blocks_admin/static_blocks/2?locale=en" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9310
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
9311
+ Parameters: {"locale"=>"en", "id"=>"2"}
9312
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "2"]]
9313
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 2
9314
+ Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms)
9315
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9316
+  (0.2ms) rollback transaction
9317
+  (0.0ms) begin transaction
9318
+  (0.0ms) SAVEPOINT active_record_1
9319
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9320
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9321
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9322
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9324
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9325
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9326
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
9327
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9328
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9329
+ Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.3ms)
9330
+  (0.2ms) rollback transaction
9331
+  (0.0ms) begin transaction
9332
+  (0.0ms) SAVEPOINT active_record_1
9333
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9334
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9335
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9336
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9337
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9338
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9339
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9340
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9341
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9342
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9343
+ Completed 200 OK in 41ms (Views: 40.1ms | ActiveRecord: 0.3ms)
9344
+ Started GET "/" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9345
+ Started GET "/en/info/index" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9346
+ Processing by InfoController#index as HTML
9347
+ Parameters: {"locale"=>"en"}
9348
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
9349
+ Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.1ms)
9350
+  (0.2ms) rollback transaction
9351
+  (0.0ms) begin transaction
9352
+  (0.0ms) SAVEPOINT active_record_1
9353
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9354
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9355
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9356
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9357
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9358
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9359
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9360
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9361
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9362
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9363
+ Completed 200 OK in 14ms (Views: 12.5ms | ActiveRecord: 0.3ms)
9364
+ Started GET "/static_blocks_admin/static_blocks/1/edit?locale=en" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9365
+ Processing by StaticBlocks::StaticBlocksController#edit as HTML
9366
+ Parameters: {"locale"=>"en", "id"=>"1"}
9367
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9368
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9369
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (3.8ms)
9370
+ Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.2ms)
9371
+ Started GET "/static_blocks_admin/static_blocks/1/edit?locale=wk" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9372
+ Processing by StaticBlocks::StaticBlocksController#edit as HTML
9373
+ Parameters: {"locale"=>"wk", "id"=>"1"}
9374
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9375
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9376
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (4.0ms)
9377
+ Completed 200 OK in 11ms (Views: 9.5ms | ActiveRecord: 0.2ms)
9378
+ Started PUT "/static_blocks_admin/static_blocks/1?locale=wk" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9379
+ Processing by StaticBlocks::StaticBlocksController#update as HTML
9380
+ Parameters: {"utf8"=>"✓", "static_block"=>{"title"=>"foo", "content"=>"argh", "status"=>"draft"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
9381
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9382
+  (0.0ms) SAVEPOINT active_record_1
9383
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9384
+  (0.2ms) UPDATE "static_blocks_static_blocks" SET "content" = 'argh', "status" = 'draft', "updated_at" = '2013-06-24 23:12:55.885095' WHERE "static_blocks_static_blocks"."id" = 1
9385
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["locale", "wk"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9386
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'wk' LIMIT 1
9387
+  (0.1ms) UPDATE "static_blocks_static_block_translations" SET "content" = 'argh', "updated_at" = '2013-06-24 23:12:55.889814' WHERE "static_blocks_static_block_translations"."id" = 2
9388
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9389
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 2]]
9390
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9391
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks/1?locale=wk
9392
+ Completed 302 Found in 11ms (ActiveRecord: 1.0ms)
9393
+ Started GET "/static_blocks_admin/static_blocks/1?locale=wk" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9394
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
9395
+ Parameters: {"locale"=>"wk", "id"=>"1"}
9396
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9397
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9398
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms)
9399
+ Started GET "/static_blocks_admin/static_blocks/1?locale=en" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9400
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
9401
+ Parameters: {"locale"=>"en", "id"=>"1"}
9402
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9403
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9404
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
9405
+  (0.2ms) rollback transaction
9406
+  (0.0ms) begin transaction
9407
+  (0.0ms) SAVEPOINT active_record_1
9408
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9409
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9410
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:12:55 UTC +00:00]]
9411
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9413
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:12:55 -0700
9414
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9415
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
9416
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9417
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9418
+ Completed 200 OK in 41ms (Views: 39.7ms | ActiveRecord: 0.3ms)
9419
+ Started DELETE "/static_blocks_admin/static_blocks/1?locale=en" for 127.0.0.1 at 2013-06-24 16:12:56 -0700
9420
+ Processing by StaticBlocks::StaticBlocksController#destroy as HTML
9421
+ Parameters: {"locale"=>"en", "id"=>"1"}
9422
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9423
+  (0.0ms) SAVEPOINT active_record_1
9424
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9425
+ SQL (0.2ms) DELETE FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? [["id", 1]]
9426
+ SQL (0.1ms) DELETE FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? [["id", 1]]
9427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9428
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks?locale=en
9429
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
9430
+ Started GET "/static_blocks_admin/static_blocks?locale=en" for 127.0.0.1 at 2013-06-24 16:12:56 -0700
9431
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9432
+ Parameters: {"locale"=>"en"}
9433
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9434
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9435
+ Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.2ms)
9436
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9437
+  (0.1ms) rollback transaction
9438
+  (0.0ms) begin transaction
9439
+  (0.0ms) SAVEPOINT active_record_1
9440
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:56 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:12:56 UTC +00:00]]
9441
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9442
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:56 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:12:56 UTC +00:00]]
9443
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9444
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9445
+  (0.1ms) rollback transaction
9446
+  (0.0ms) begin transaction
9447
+  (0.0ms) SAVEPOINT active_record_1
9448
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:56 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:12:56 UTC +00:00]]
9449
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9450
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:56 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:12:56 UTC +00:00]]
9451
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9453
+  (0.1ms) rollback transaction
9454
+  (0.0ms) begin transaction
9455
+  (0.0ms) SAVEPOINT active_record_1
9456
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:56 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:12:56 UTC +00:00]]
9457
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9458
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:12:56 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:12:56 UTC +00:00]]
9459
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9460
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9461
+  (0.1ms) rollback transaction
9462
+ Connecting to database specified by database.yml
9463
+  (0.3ms) begin transaction
9464
+  (0.0ms) SAVEPOINT active_record_1
9465
+ SQL (5.5ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:38 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:38 UTC +00:00]]
9466
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9467
+ SQL (0.4ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:38 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:38 UTC +00:00]]
9468
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9469
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9470
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
9471
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9472
+  (0.1ms) rollback transaction
9473
+  (0.0ms) begin transaction
9474
+  (0.0ms) SAVEPOINT active_record_1
9475
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:38 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:38 UTC +00:00]]
9476
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9477
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:38 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:38 UTC +00:00]]
9478
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9479
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9480
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:13:38 -0700
9481
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9482
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9483
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9484
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9485
+ Completed 200 OK in 81ms (Views: 77.6ms | ActiveRecord: 0.3ms)
9486
+  (0.2ms) rollback transaction
9487
+  (0.0ms) begin transaction
9488
+  (0.0ms) SAVEPOINT active_record_1
9489
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9490
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9491
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9492
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9493
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9494
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9495
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9496
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
9497
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9498
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9499
+ Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.3ms)
9500
+ Started GET "/static_blocks_admin/static_blocks/new?locale=en" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9501
+ Processing by StaticBlocks::StaticBlocksController#new as HTML
9502
+ Parameters: {"locale"=>"en"}
9503
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (3.0ms)
9504
+ Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
9505
+ Started POST "/static_blocks_admin/static_blocks?locale=en" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9506
+ Processing by StaticBlocks::StaticBlocksController#create as HTML
9507
+ Parameters: {"utf8"=>"✓", "static_block"=>{"title"=>"baz", "content"=>"qux", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
9508
+  (0.1ms) SAVEPOINT active_record_1
9509
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["status", "published"], ["title", "baz"], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9510
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 2 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9511
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 2], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9512
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 2]]
9513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9514
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks/2?locale=en
9515
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
9516
+ Started GET "/static_blocks_admin/static_blocks/2?locale=en" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9517
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
9518
+ Parameters: {"locale"=>"en", "id"=>"2"}
9519
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "2"]]
9520
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 2
9521
+ Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.3ms)
9522
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9523
+  (0.2ms) rollback transaction
9524
+  (0.0ms) begin transaction
9525
+  (0.0ms) SAVEPOINT active_record_1
9526
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9527
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9528
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9529
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9530
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9531
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9532
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9533
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
9534
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9535
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9536
+ Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.3ms)
9537
+  (0.2ms) rollback transaction
9538
+  (0.0ms) begin transaction
9539
+  (0.0ms) SAVEPOINT active_record_1
9540
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9541
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9542
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9543
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9544
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9545
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9546
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9547
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9548
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9549
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9550
+ Completed 200 OK in 40ms (Views: 39.3ms | ActiveRecord: 0.3ms)
9551
+ Started GET "/" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9552
+ Started GET "/en/info/index" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9553
+ Processing by InfoController#index as HTML
9554
+ Parameters: {"locale"=>"en"}
9555
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
9556
+ Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.1ms)
9557
+  (0.2ms) rollback transaction
9558
+  (0.0ms) begin transaction
9559
+  (0.0ms) SAVEPOINT active_record_1
9560
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9561
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9562
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9563
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9564
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9565
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9566
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9567
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9568
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9569
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9570
+ Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.3ms)
9571
+ Started GET "/static_blocks_admin/static_blocks/1/edit?locale=en" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9572
+ Processing by StaticBlocks::StaticBlocksController#edit as HTML
9573
+ Parameters: {"locale"=>"en", "id"=>"1"}
9574
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9575
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9576
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (4.8ms)
9577
+ Completed 200 OK in 11ms (Views: 9.3ms | ActiveRecord: 0.3ms)
9578
+ Started GET "/static_blocks_admin/static_blocks/1/edit?locale=wk" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9579
+ Processing by StaticBlocks::StaticBlocksController#edit as HTML
9580
+ Parameters: {"locale"=>"wk", "id"=>"1"}
9581
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9582
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9583
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (3.9ms)
9584
+ Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.2ms)
9585
+ Started PUT "/static_blocks_admin/static_blocks/1?locale=wk" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9586
+ Processing by StaticBlocks::StaticBlocksController#update as HTML
9587
+ Parameters: {"utf8"=>"✓", "static_block"=>{"title"=>"foo", "content"=>"argh", "status"=>"draft"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
9588
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9589
+  (0.0ms) SAVEPOINT active_record_1
9590
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9591
+  (0.2ms) UPDATE "static_blocks_static_blocks" SET "content" = 'argh', "status" = 'draft', "updated_at" = '2013-06-24 23:13:39.426552' WHERE "static_blocks_static_blocks"."id" = 1
9592
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["locale", "wk"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9593
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'wk' LIMIT 1
9594
+  (0.1ms) UPDATE "static_blocks_static_block_translations" SET "content" = 'argh', "updated_at" = '2013-06-24 23:13:39.431180' WHERE "static_blocks_static_block_translations"."id" = 2
9595
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9596
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 2]]
9597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9598
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks/1?locale=wk
9599
+ Completed 302 Found in 11ms (ActiveRecord: 0.9ms)
9600
+ Started GET "/static_blocks_admin/static_blocks/1?locale=wk" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9601
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
9602
+ Parameters: {"locale"=>"wk", "id"=>"1"}
9603
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9604
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9605
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms)
9606
+ Started GET "/static_blocks_admin/static_blocks/1?locale=en" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9607
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
9608
+ Parameters: {"locale"=>"en", "id"=>"1"}
9609
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9610
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9611
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
9612
+  (0.2ms) rollback transaction
9613
+  (0.0ms) begin transaction
9614
+  (0.0ms) SAVEPOINT active_record_1
9615
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9616
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9617
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9618
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9619
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9620
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9621
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9622
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
9623
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9624
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9625
+ Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.3ms)
9626
+ Started DELETE "/static_blocks_admin/static_blocks/1?locale=en" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9627
+ Processing by StaticBlocks::StaticBlocksController#destroy as HTML
9628
+ Parameters: {"locale"=>"en", "id"=>"1"}
9629
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9630
+  (0.1ms) SAVEPOINT active_record_1
9631
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9632
+ SQL (0.2ms) DELETE FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? [["id", 1]]
9633
+ SQL (0.1ms) DELETE FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? [["id", 1]]
9634
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9635
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks?locale=en
9636
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
9637
+ Started GET "/static_blocks_admin/static_blocks?locale=en" for 127.0.0.1 at 2013-06-24 16:13:39 -0700
9638
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9639
+ Parameters: {"locale"=>"en"}
9640
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9641
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9642
+ Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.2ms)
9643
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9644
+  (0.2ms) rollback transaction
9645
+  (0.0ms) begin transaction
9646
+  (0.0ms) SAVEPOINT active_record_1
9647
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9648
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9649
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9650
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9651
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9652
+  (0.2ms) rollback transaction
9653
+  (0.0ms) begin transaction
9654
+  (0.0ms) SAVEPOINT active_record_1
9655
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9656
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9657
+ SQL (0.3ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9658
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9659
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9660
+  (0.1ms) rollback transaction
9661
+  (0.0ms) begin transaction
9662
+  (0.0ms) SAVEPOINT active_record_1
9663
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9664
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9665
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:39 UTC +00:00]]
9666
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9668
+  (0.1ms) rollback transaction
9669
+ Connecting to database specified by database.yml
9670
+  (0.4ms) begin transaction
9671
+  (0.0ms) SAVEPOINT active_record_1
9672
+ SQL (5.5ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9673
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9674
+ SQL (0.4ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9675
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9676
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9677
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
9678
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9679
+  (0.1ms) rollback transaction
9680
+  (0.0ms) begin transaction
9681
+  (0.0ms) SAVEPOINT active_record_1
9682
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9683
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9684
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9685
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9687
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9688
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9689
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9690
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9691
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9692
+ Completed 200 OK in 82ms (Views: 79.3ms | ActiveRecord: 0.3ms)
9693
+  (0.2ms) rollback transaction
9694
+  (0.1ms) begin transaction
9695
+  (0.0ms) SAVEPOINT active_record_1
9696
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9697
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9698
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9699
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9700
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9701
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9702
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9703
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
9704
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9705
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9706
+ Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.3ms)
9707
+ Started GET "/static_blocks_admin/static_blocks/new?locale=en" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9708
+ Processing by StaticBlocks::StaticBlocksController#new as HTML
9709
+ Parameters: {"locale"=>"en"}
9710
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (3.1ms)
9711
+ Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
9712
+ Started POST "/static_blocks_admin/static_blocks?locale=en" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9713
+ Processing by StaticBlocks::StaticBlocksController#create as HTML
9714
+ Parameters: {"utf8"=>"✓", "static_block"=>{"title"=>"baz", "content"=>"qux", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
9715
+  (0.1ms) SAVEPOINT active_record_1
9716
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["status", "published"], ["title", "baz"], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9717
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 2 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9718
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 2], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9719
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 2]]
9720
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9721
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks/2?locale=en
9722
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
9723
+ Started GET "/static_blocks_admin/static_blocks/2?locale=en" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9724
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
9725
+ Parameters: {"locale"=>"en", "id"=>"2"}
9726
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "2"]]
9727
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 2
9728
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.3ms)
9729
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9730
+  (0.2ms) rollback transaction
9731
+  (0.0ms) begin transaction
9732
+  (0.0ms) SAVEPOINT active_record_1
9733
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9734
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9735
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9736
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9738
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9739
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9740
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
9741
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9742
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9743
+ Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.3ms)
9744
+  (0.2ms) rollback transaction
9745
+  (0.0ms) begin transaction
9746
+  (0.0ms) SAVEPOINT active_record_1
9747
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9748
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9749
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9750
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9752
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9753
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9754
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9755
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9756
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9757
+ Completed 200 OK in 41ms (Views: 40.2ms | ActiveRecord: 0.3ms)
9758
+ Started GET "/" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9759
+ Started GET "/en/info/index" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9760
+ Processing by InfoController#index as HTML
9761
+ Parameters: {"locale"=>"en"}
9762
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
9763
+ Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.1ms)
9764
+  (0.2ms) rollback transaction
9765
+  (0.0ms) begin transaction
9766
+  (0.0ms) SAVEPOINT active_record_1
9767
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9768
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9769
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9770
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9772
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9773
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9774
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9775
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9776
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9777
+ Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.3ms)
9778
+ Started GET "/static_blocks_admin/static_blocks/1/edit?locale=en" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9779
+ Processing by StaticBlocks::StaticBlocksController#edit as HTML
9780
+ Parameters: {"locale"=>"en", "id"=>"1"}
9781
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9782
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9783
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (5.0ms)
9784
+ Completed 200 OK in 11ms (Views: 9.1ms | ActiveRecord: 0.2ms)
9785
+ Started GET "/static_blocks_admin/static_blocks/1/edit?locale=wk" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9786
+ Processing by StaticBlocks::StaticBlocksController#edit as HTML
9787
+ Parameters: {"locale"=>"wk", "id"=>"1"}
9788
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9789
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9790
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (4.1ms)
9791
+ Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.2ms)
9792
+ Started PUT "/static_blocks_admin/static_blocks/1?locale=wk" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9793
+ Processing by StaticBlocks::StaticBlocksController#update as HTML
9794
+ Parameters: {"utf8"=>"✓", "static_block"=>{"title"=>"foo", "content"=>"argh", "status"=>"draft"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
9795
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9796
+  (0.0ms) SAVEPOINT active_record_1
9797
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9798
+  (0.2ms) UPDATE "static_blocks_static_blocks" SET "content" = 'argh', "status" = 'draft', "updated_at" = '2013-06-24 23:13:52.682944' WHERE "static_blocks_static_blocks"."id" = 1
9799
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["locale", "wk"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9800
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'wk' LIMIT 1
9801
+  (0.1ms) UPDATE "static_blocks_static_block_translations" SET "content" = 'argh', "updated_at" = '2013-06-24 23:13:52.687733' WHERE "static_blocks_static_block_translations"."id" = 2
9802
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9803
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 2]]
9804
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9805
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks/1?locale=wk
9806
+ Completed 302 Found in 11ms (ActiveRecord: 0.9ms)
9807
+ Started GET "/static_blocks_admin/static_blocks/1?locale=wk" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9808
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
9809
+ Parameters: {"locale"=>"wk", "id"=>"1"}
9810
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9811
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9812
+ Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.2ms)
9813
+ Started GET "/static_blocks_admin/static_blocks/1?locale=en" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9814
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
9815
+ Parameters: {"locale"=>"en", "id"=>"1"}
9816
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9817
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9818
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
9819
+  (0.2ms) rollback transaction
9820
+  (0.0ms) begin transaction
9821
+  (0.0ms) SAVEPOINT active_record_1
9822
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9823
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9824
+ SQL (0.3ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9825
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9826
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9827
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9828
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9829
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
9830
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9831
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9832
+ Completed 200 OK in 41ms (Views: 39.8ms | ActiveRecord: 0.3ms)
9833
+ Started DELETE "/static_blocks_admin/static_blocks/1?locale=en" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9834
+ Processing by StaticBlocks::StaticBlocksController#destroy as HTML
9835
+ Parameters: {"locale"=>"en", "id"=>"1"}
9836
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9837
+  (0.0ms) SAVEPOINT active_record_1
9838
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9839
+ SQL (0.2ms) DELETE FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? [["id", 1]]
9840
+ SQL (0.1ms) DELETE FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? [["id", 1]]
9841
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9842
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks?locale=en
9843
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
9844
+ Started GET "/static_blocks_admin/static_blocks?locale=en" for 127.0.0.1 at 2013-06-24 16:13:52 -0700
9845
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9846
+ Parameters: {"locale"=>"en"}
9847
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9848
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9849
+ Completed 200 OK in 12ms (Views: 10.6ms | ActiveRecord: 0.2ms)
9850
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9851
+  (0.1ms) rollback transaction
9852
+  (0.0ms) begin transaction
9853
+  (0.0ms) SAVEPOINT active_record_1
9854
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9855
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9856
+ SQL (0.3ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9857
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9858
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9859
+  (0.1ms) rollback transaction
9860
+  (0.0ms) begin transaction
9861
+  (0.0ms) SAVEPOINT active_record_1
9862
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9863
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9864
+ SQL (0.3ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9865
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9867
+  (0.1ms) rollback transaction
9868
+  (0.0ms) begin transaction
9869
+  (0.0ms) SAVEPOINT active_record_1
9870
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9871
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9872
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:13:52 UTC +00:00]]
9873
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9874
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9875
+  (0.1ms) rollback transaction
9876
+ Connecting to database specified by database.yml
9877
+  (0.4ms) begin transaction
9878
+  (0.0ms) SAVEPOINT active_record_1
9879
+ SQL (5.5ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9880
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9881
+ SQL (0.4ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9882
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9884
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
9885
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9886
+  (0.1ms) rollback transaction
9887
+  (0.0ms) begin transaction
9888
+  (0.0ms) SAVEPOINT active_record_1
9889
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9890
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9891
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9892
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9894
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
9895
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9896
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9897
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9898
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9899
+ Completed 200 OK in 83ms (Views: 79.7ms | ActiveRecord: 0.3ms)
9900
+  (0.2ms) rollback transaction
9901
+  (0.0ms) begin transaction
9902
+  (0.0ms) SAVEPOINT active_record_1
9903
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9904
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9905
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9906
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9907
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9908
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
9909
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9910
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
9911
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9912
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9913
+ Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.3ms)
9914
+ Started GET "/static_blocks_admin/static_blocks/new?locale=en" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
9915
+ Processing by StaticBlocks::StaticBlocksController#new as HTML
9916
+ Parameters: {"locale"=>"en"}
9917
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (3.0ms)
9918
+ Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
9919
+ Started POST "/static_blocks_admin/static_blocks?locale=en" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
9920
+ Processing by StaticBlocks::StaticBlocksController#create as HTML
9921
+ Parameters: {"utf8"=>"✓", "static_block"=>{"title"=>"baz", "content"=>"qux", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
9922
+  (0.1ms) SAVEPOINT active_record_1
9923
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["status", "published"], ["title", "baz"], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9924
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 2 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9925
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 2], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9926
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 2]]
9927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9928
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks/2?locale=en
9929
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
9930
+ Started GET "/static_blocks_admin/static_blocks/2?locale=en" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
9931
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
9932
+ Parameters: {"locale"=>"en", "id"=>"2"}
9933
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "2"]]
9934
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 2
9935
+ Completed 200 OK in 6ms (Views: 4.7ms | ActiveRecord: 0.3ms)
9936
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9937
+  (0.1ms) rollback transaction
9938
+  (0.0ms) begin transaction
9939
+  (0.0ms) SAVEPOINT active_record_1
9940
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9941
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9942
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9943
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9944
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9945
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
9946
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9947
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
9948
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9949
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9950
+ Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.3ms)
9951
+  (0.2ms) rollback transaction
9952
+  (0.0ms) begin transaction
9953
+  (0.0ms) SAVEPOINT active_record_1
9954
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9955
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9956
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9957
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9958
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9959
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
9960
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9961
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9962
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9963
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9964
+ Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.3ms)
9965
+ Started GET "/" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
9966
+ Started GET "/en/info/index" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
9967
+ Processing by InfoController#index as HTML
9968
+ Parameters: {"locale"=>"en"}
9969
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
9970
+ Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.1ms)
9971
+  (0.2ms) rollback transaction
9972
+  (0.1ms) begin transaction
9973
+  (0.1ms) SAVEPOINT active_record_1
9974
+ SQL (0.4ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9975
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
9976
+ SQL (0.3ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
9977
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
9978
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9979
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
9980
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
9981
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
9982
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
9983
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9984
+ Completed 200 OK in 29ms (Views: 28.1ms | ActiveRecord: 0.4ms)
9985
+ Started GET "/static_blocks_admin/static_blocks/1/edit?locale=en" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
9986
+ Processing by StaticBlocks::StaticBlocksController#edit as HTML
9987
+ Parameters: {"locale"=>"en", "id"=>"1"}
9988
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9989
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9990
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (4.0ms)
9991
+ Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.2ms)
9992
+ Started GET "/static_blocks_admin/static_blocks/1/edit?locale=wk" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
9993
+ Processing by StaticBlocks::StaticBlocksController#edit as HTML
9994
+ Parameters: {"locale"=>"wk", "id"=>"1"}
9995
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
9996
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
9997
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (5.5ms)
9998
+ Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.2ms)
9999
+ Started PUT "/static_blocks_admin/static_blocks/1?locale=wk" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
10000
+ Processing by StaticBlocks::StaticBlocksController#update as HTML
10001
+ Parameters: {"utf8"=>"✓", "static_block"=>{"title"=>"foo", "content"=>"argh", "status"=>"draft"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
10002
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
10003
+  (0.1ms) SAVEPOINT active_record_1
10004
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10005
+  (0.3ms) UPDATE "static_blocks_static_blocks" SET "content" = 'argh', "status" = 'draft', "updated_at" = '2013-06-24 23:14:16.851703' WHERE "static_blocks_static_blocks"."id" = 1
10006
+ SQL (0.4ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["locale", "wk"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
10007
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'wk' LIMIT 1
10008
+  (0.2ms) UPDATE "static_blocks_static_block_translations" SET "content" = 'argh', "updated_at" = '2013-06-24 23:14:16.859441' WHERE "static_blocks_static_block_translations"."id" = 2
10009
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10010
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 2]]
10011
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10012
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks/1?locale=wk
10013
+ Completed 302 Found in 17ms (ActiveRecord: 1.5ms)
10014
+ Started GET "/static_blocks_admin/static_blocks/1?locale=wk" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
10015
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
10016
+ Parameters: {"locale"=>"wk", "id"=>"1"}
10017
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
10018
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10019
+ Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
10020
+ Started GET "/static_blocks_admin/static_blocks/1?locale=en" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
10021
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
10022
+ Parameters: {"locale"=>"en", "id"=>"1"}
10023
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
10024
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10025
+ Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
10026
+  (0.2ms) rollback transaction
10027
+  (0.0ms) begin transaction
10028
+  (0.0ms) SAVEPOINT active_record_1
10029
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
10030
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10031
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:14:16 UTC +00:00]]
10032
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10033
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10034
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
10035
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
10036
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
10037
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
10038
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10039
+ Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.3ms)
10040
+ Started DELETE "/static_blocks_admin/static_blocks/1?locale=en" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
10041
+ Processing by StaticBlocks::StaticBlocksController#destroy as HTML
10042
+ Parameters: {"locale"=>"en", "id"=>"1"}
10043
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
10044
+  (0.1ms) SAVEPOINT active_record_1
10045
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10046
+ SQL (0.2ms) DELETE FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? [["id", 1]]
10047
+ SQL (0.1ms) DELETE FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? [["id", 1]]
10048
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10049
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks?locale=en
10050
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
10051
+ Started GET "/static_blocks_admin/static_blocks?locale=en" for 127.0.0.1 at 2013-06-24 16:14:16 -0700
10052
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
10053
+ Parameters: {"locale"=>"en"}
10054
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
10055
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" LIMIT 10 OFFSET 0
10056
+ Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.2ms)
10057
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
10058
+  (0.2ms) rollback transaction
10059
+  (0.0ms) begin transaction
10060
+  (0.0ms) SAVEPOINT active_record_1
10061
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:17 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:14:17 UTC +00:00]]
10062
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10063
+ SQL (0.3ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:17 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:14:17 UTC +00:00]]
10064
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10065
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10066
+  (0.3ms) rollback transaction
10067
+  (0.1ms) begin transaction
10068
+  (0.0ms) SAVEPOINT active_record_1
10069
+ SQL (0.4ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:17 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:14:17 UTC +00:00]]
10070
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10071
+ SQL (0.3ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:17 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:14:17 UTC +00:00]]
10072
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10073
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10074
+  (0.1ms) rollback transaction
10075
+  (0.0ms) begin transaction
10076
+  (0.0ms) SAVEPOINT active_record_1
10077
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:17 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Mon, 24 Jun 2013 23:14:17 UTC +00:00]]
10078
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10079
+ SQL (0.3ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Mon, 24 Jun 2013 23:14:17 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Mon, 24 Jun 2013 23:14:17 UTC +00:00]]
10080
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10081
+  (0.1ms) RELEASE SAVEPOINT active_record_1
10082
+  (0.1ms) rollback transaction