active_admin-state_machine 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (202) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +136 -0
  4. data/Rakefile +17 -0
  5. data/lib/active_admin/state_machine.rb +6 -0
  6. data/lib/active_admin/state_machine/dsl.rb +60 -0
  7. data/lib/active_admin/state_machine/version.rb +5 -0
  8. data/spec/dummy/README.rdoc +261 -0
  9. data/spec/dummy/Rakefile +7 -0
  10. data/spec/dummy/app/admin/admin_users.rb +20 -0
  11. data/spec/dummy/app/admin/categories.rb +5 -0
  12. data/spec/dummy/app/admin/dashboard.rb +33 -0
  13. data/spec/dummy/app/admin/posts.rb +21 -0
  14. data/spec/dummy/app/assets/javascripts/active_admin.js +1 -0
  15. data/spec/dummy/app/assets/javascripts/application.js +15 -0
  16. data/spec/dummy/app/assets/stylesheets/active_admin.css.scss +29 -0
  17. data/spec/dummy/app/assets/stylesheets/application.css +13 -0
  18. data/spec/dummy/app/controllers/application_controller.rb +3 -0
  19. data/spec/dummy/app/helpers/application_helper.rb +2 -0
  20. data/spec/dummy/app/models/ability.rb +12 -0
  21. data/spec/dummy/app/models/admin_user.rb +11 -0
  22. data/spec/dummy/app/models/category.rb +4 -0
  23. data/spec/dummy/app/models/post.rb +31 -0
  24. data/spec/dummy/app/views/layouts/application.html.erb +14 -0
  25. data/spec/dummy/config.ru +4 -0
  26. data/spec/dummy/config/application.rb +65 -0
  27. data/spec/dummy/config/boot.rb +10 -0
  28. data/spec/dummy/config/database.sample.yml +25 -0
  29. data/spec/dummy/config/database.travis.yml +4 -0
  30. data/spec/dummy/config/database.yml +12 -0
  31. data/spec/dummy/config/environment.rb +5 -0
  32. data/spec/dummy/config/environments/development.rb +38 -0
  33. data/spec/dummy/config/environments/production.rb +67 -0
  34. data/spec/dummy/config/environments/test.rb +37 -0
  35. data/spec/dummy/config/initializers/active_admin.rb +211 -0
  36. data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
  37. data/spec/dummy/config/initializers/devise.rb +252 -0
  38. data/spec/dummy/config/initializers/inflections.rb +15 -0
  39. data/spec/dummy/config/initializers/mime_types.rb +5 -0
  40. data/spec/dummy/config/initializers/secret_token.rb +7 -0
  41. data/spec/dummy/config/initializers/session_store.rb +8 -0
  42. data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
  43. data/spec/dummy/config/locales/devise.en.yml +59 -0
  44. data/spec/dummy/config/locales/en.yml +10 -0
  45. data/spec/dummy/config/routes.rb +61 -0
  46. data/spec/dummy/db/development.sqlite3 +0 -0
  47. data/spec/dummy/db/migrate/20130817004304_devise_create_admin_users.rb +52 -0
  48. data/spec/dummy/db/migrate/20130817004306_create_admin_notes.rb +17 -0
  49. data/spec/dummy/db/migrate/20130817004307_move_admin_notes_to_comments.rb +26 -0
  50. data/spec/dummy/db/migrate/20130817005638_create_posts.rb +11 -0
  51. data/spec/dummy/db/migrate/20130829000200_create_categories.rb +11 -0
  52. data/spec/dummy/db/migrate/20131025231118_add_super_admin_to_admin_users.rb +5 -0
  53. data/spec/dummy/db/schema.rb +65 -0
  54. data/spec/dummy/db/seeds.rb +1 -0
  55. data/spec/dummy/db/test.sqlite3 +0 -0
  56. data/spec/dummy/log/development.log +9116 -0
  57. data/spec/dummy/log/test.log +2969 -0
  58. data/spec/dummy/public/404.html +26 -0
  59. data/spec/dummy/public/422.html +26 -0
  60. data/spec/dummy/public/500.html +25 -0
  61. data/spec/dummy/public/favicon.ico +0 -0
  62. data/spec/dummy/script/rails +6 -0
  63. data/spec/dummy/tmp/cache/assets/C6E/0F0/sprockets%2F930c17aa4002b266315478d747cec213 +0 -0
  64. data/spec/dummy/tmp/cache/assets/CA3/0F0/sprockets%2F6111c5f7d680071cae83281d5237bb52 +0 -0
  65. data/spec/dummy/tmp/cache/assets/CAE/C10/sprockets%2Fa28299b4afd821b21049164940fe6a29 +0 -0
  66. data/spec/dummy/tmp/cache/assets/CDB/040/sprockets%2Fc732474e67003a4eb840eb44c5ca9385 +0 -0
  67. data/spec/dummy/tmp/cache/assets/CE1/700/sprockets%2F9e9ac16860d51b9e1245e02a8bd98125 +0 -0
  68. data/spec/dummy/tmp/cache/assets/CE6/660/sprockets%2F90e738777deb87d405d03a2f251b547d +0 -0
  69. data/spec/dummy/tmp/cache/assets/CED/B50/sprockets%2F23b334e745d2ceb50b677668a367de99 +0 -0
  70. data/spec/dummy/tmp/cache/assets/CF3/0A0/sprockets%2F75abab8c479e90729ca78828102e5e78 +0 -0
  71. data/spec/dummy/tmp/cache/assets/CF6/EE0/sprockets%2F3f96414b8e9655fb831972cc81b6b95d +0 -0
  72. data/spec/dummy/tmp/cache/assets/D00/800/sprockets%2F5fe66f0484322d5cda7408c0cb030c36 +0 -0
  73. data/spec/dummy/tmp/cache/assets/D09/E60/sprockets%2Fd61ab529e52f740f6d26a7b3bc082914 +0 -0
  74. data/spec/dummy/tmp/cache/assets/D0B/400/sprockets%2Ff4f1a7e6cca869f56232e07440d0242e +0 -0
  75. data/spec/dummy/tmp/cache/assets/D0D/8D0/sprockets%2Fb048e1909af567b1e61c8f18dd3b4134 +0 -0
  76. data/spec/dummy/tmp/cache/assets/D0E/750/sprockets%2F535f852b14c3f64b6d4498e281ba6aa3 +0 -0
  77. data/spec/dummy/tmp/cache/assets/D1B/330/sprockets%2Fb7c84f061393bf7dac846cd173863c57 +0 -0
  78. data/spec/dummy/tmp/cache/assets/D20/AE0/sprockets%2F25d0f6af9dd375937908ad493464d3ce +0 -0
  79. data/spec/dummy/tmp/cache/assets/D2F/A20/sprockets%2F006e5a12b1bb0fc15555ad556589be6b +0 -0
  80. data/spec/dummy/tmp/cache/assets/D38/540/sprockets%2F86e1ad844bc9df4491a2a52b870421db +0 -0
  81. data/spec/dummy/tmp/cache/assets/D3E/AA0/sprockets%2F77115ed12f0f2812dd9284b1badf974e +0 -0
  82. data/spec/dummy/tmp/cache/assets/D45/B50/sprockets%2F3eb36e58b929a7cb215ec6cd90730f38 +0 -0
  83. data/spec/dummy/tmp/cache/assets/D45/BD0/sprockets%2F2def1531b613ed7a7dbfb87119f63667 +0 -0
  84. data/spec/dummy/tmp/cache/assets/D48/640/sprockets%2F9f4f18d910b678b1d0777e04cdaf6f24 +0 -0
  85. data/spec/dummy/tmp/cache/assets/D4C/C80/sprockets%2F298e59aa2551dcef562bdfd65908462d +0 -0
  86. data/spec/dummy/tmp/cache/assets/D59/D70/sprockets%2Fed9f0de1b65ae8d7ef89087c83728461 +0 -0
  87. data/spec/dummy/tmp/cache/assets/D63/930/sprockets%2F8877deb95181465893a12fc98feefea9 +0 -0
  88. data/spec/dummy/tmp/cache/assets/D67/9A0/sprockets%2F2b5fbe497968ed201d0ff0dca410d319 +0 -0
  89. data/spec/dummy/tmp/cache/assets/D78/560/sprockets%2Fdbe66652ccfa390de76149634dd82e1f +0 -0
  90. data/spec/dummy/tmp/cache/assets/D93/4C0/sprockets%2F857ecd2092cee11f740b3cf2e373ad2a +0 -0
  91. data/spec/dummy/tmp/cache/assets/D9A/FA0/sprockets%2Fe32c0ff23c6a4084195aafcff444fe63 +0 -0
  92. data/spec/dummy/tmp/cache/assets/DA3/450/sprockets%2Ff6563ad6efdc449e5219ea221c75fcc3 +0 -0
  93. data/spec/dummy/tmp/cache/assets/DA4/050/sprockets%2Fb09f488a4f238bf22bc82cef50a6f84d +0 -0
  94. data/spec/dummy/tmp/cache/assets/DD7/FE0/sprockets%2Ff00de35ea71cb4fc5fc5e96860f5ee55 +0 -0
  95. data/spec/dummy/tmp/cache/assets/DDE/420/sprockets%2Ffb8b186d5bf0307f86f65fc787d2adeb +0 -0
  96. data/spec/dummy/tmp/cache/assets/DE6/B50/sprockets%2Febd2b61aa5d1e7bd84e31523e1bc71ac +0 -0
  97. data/spec/dummy/tmp/cache/assets/DF0/870/sprockets%2F1e4ab2eb47da0bb42b6e37e38639cbae +0 -0
  98. data/spec/dummy/tmp/cache/assets/DFA/CD0/sprockets%2F6bb1e8a62edbd48cf00dc678d1f0f65a +0 -0
  99. data/spec/dummy/tmp/cache/assets/E32/990/sprockets%2F2f6fe5d3fae5b4dba7e7cc36ca68e415 +0 -0
  100. data/spec/dummy/tmp/cache/sass/021f0a44d22f3712e4de7c01de2d6b99f65f2482/_bourbon-deprecated-upcoming.scssc +0 -0
  101. data/spec/dummy/tmp/cache/sass/021f0a44d22f3712e4de7c01de2d6b99f65f2482/_bourbon.scssc +0 -0
  102. data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_compact.scssc +0 -0
  103. data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_flex-grid.scssc +0 -0
  104. data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_grid-width.scssc +0 -0
  105. data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_linear-gradient.scssc +0 -0
  106. data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_modular-scale.scssc +0 -0
  107. data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_px-to-em.scssc +0 -0
  108. data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_radial-gradient.scssc +0 -0
  109. data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_tint-shade.scssc +0 -0
  110. data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_transition-property-name.scssc +0 -0
  111. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_batch_actions.css.scssc +0 -0
  112. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_blank_slates.scssc +0 -0
  113. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_breadcrumbs.scssc +0 -0
  114. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_buttons.scssc +0 -0
  115. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_columns.scssc +0 -0
  116. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_comments.css.scssc +0 -0
  117. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_date_picker.css.scssc +0 -0
  118. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_dropdown_menu.scssc +0 -0
  119. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_flash_messages.css.scssc +0 -0
  120. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_grid.scssc +0 -0
  121. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_index_list.scssc +0 -0
  122. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_links.scssc +0 -0
  123. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_pagination.scssc +0 -0
  124. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_panels.scssc +0 -0
  125. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_popovers.css.scssc +0 -0
  126. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_scopes.scssc +0 -0
  127. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_status_tags.scssc +0 -0
  128. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_table_tools.css.scssc +0 -0
  129. data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_tables.css.scssc +0 -0
  130. data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_all.css.scssc +0 -0
  131. data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_buttons.css.scssc +0 -0
  132. data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_gradients.css.scssc +0 -0
  133. data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_icons.css.scssc +0 -0
  134. data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_reset.css.scssc +0 -0
  135. data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_rounded.css.scssc +0 -0
  136. data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_sections.css.scssc +0 -0
  137. data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_shadows.css.scssc +0 -0
  138. data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_typography.scssc +0 -0
  139. data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_utilities.scssc +0 -0
  140. data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_variables.css.scssc +0 -0
  141. data/spec/dummy/tmp/cache/sass/97d1d5c145c2924a55e7b5d99d290112170b74f0/_footer.scssc +0 -0
  142. data/spec/dummy/tmp/cache/sass/97d1d5c145c2924a55e7b5d99d290112170b74f0/_main_structure.scssc +0 -0
  143. data/spec/dummy/tmp/cache/sass/97d1d5c145c2924a55e7b5d99d290112170b74f0/_title_bar.scssc +0 -0
  144. data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_button.scssc +0 -0
  145. data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_clearfix.scssc +0 -0
  146. data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_font-family.scssc +0 -0
  147. data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_hide-text.scssc +0 -0
  148. data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_html5-input-types.scssc +0 -0
  149. data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_position.scssc +0 -0
  150. data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_prefixer.scssc +0 -0
  151. data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_retina-image.scssc +0 -0
  152. data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_size.scssc +0 -0
  153. data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_timing-functions.scssc +0 -0
  154. data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_triangle.scssc +0 -0
  155. data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_deprecated-webkit-gradient.scssc +0 -0
  156. data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_gradient-positions-parser.scssc +0 -0
  157. data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_linear-positions-parser.scssc +0 -0
  158. data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_radial-arg-parser.scssc +0 -0
  159. data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_radial-positions-parser.scssc +0 -0
  160. data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_render-gradients.scssc +0 -0
  161. data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_shape-size-stripper.scssc +0 -0
  162. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_animation.scssc +0 -0
  163. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_appearance.scssc +0 -0
  164. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_backface-visibility.scssc +0 -0
  165. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_background-image.scssc +0 -0
  166. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_background.scssc +0 -0
  167. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_border-image.scssc +0 -0
  168. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_border-radius.scssc +0 -0
  169. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_box-sizing.scssc +0 -0
  170. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_columns.scssc +0 -0
  171. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_flex-box.scssc +0 -0
  172. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_font-face.scssc +0 -0
  173. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_hidpi-media-query.scssc +0 -0
  174. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_image-rendering.scssc +0 -0
  175. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_inline-block.scssc +0 -0
  176. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_keyframes.scssc +0 -0
  177. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_linear-gradient.scssc +0 -0
  178. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_perspective.scssc +0 -0
  179. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_placeholder.scssc +0 -0
  180. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_radial-gradient.scssc +0 -0
  181. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_transform.scssc +0 -0
  182. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_transition.scssc +0 -0
  183. data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_user-select.scssc +0 -0
  184. data/spec/dummy/tmp/cache/sass/c7fb764b3bec96a92cf65b0d831789c5ca3c5ed7/active_admin.css.scssc +0 -0
  185. data/spec/dummy/tmp/cache/sass/cb0cbb3d3d7b7c51feca169c780bb955b45511b4/_dashboard.scssc +0 -0
  186. data/spec/dummy/tmp/cache/sass/cb0cbb3d3d7b7c51feca169c780bb955b45511b4/_logged_out.scssc +0 -0
  187. data/spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_base.css.scssc +0 -0
  188. data/spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_forms.css.scssc +0 -0
  189. data/spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_header.css.scssc +0 -0
  190. data/spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_mixins.css.scssc +0 -0
  191. data/spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_typography.css.scssc +0 -0
  192. data/spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/print.css.scssc +0 -0
  193. data/spec/dummy/tmp/pids/server.pid +1 -0
  194. data/spec/factories/admin_users.rb +8 -0
  195. data/spec/factories/categories.rb +17 -0
  196. data/spec/factories/posts.rb +11 -0
  197. data/spec/features/authorization_spec.rb +23 -0
  198. data/spec/features/custom_block_spec.rb +25 -0
  199. data/spec/features/js_confirmation_spec.rb +51 -0
  200. data/spec/spec_helper.rb +54 -0
  201. data/spec/support/post_helpers.rb +22 -0
  202. metadata +605 -0
@@ -0,0 +1,2969 @@
1
+ Connecting to database specified by database.yml
2
+ Connecting to database specified by database.yml
3
+ Connecting to database specified by database.yml
4
+ Connecting to database specified by database.yml
5
+  (0.1ms) begin transaction
6
+  (0.0ms) rollback transaction
7
+ Connecting to database specified by database.yml
8
+  (0.1ms) begin transaction
9
+  (0.0ms) rollback transaction
10
+ Connecting to database specified by database.yml
11
+  (0.1ms) begin transaction
12
+  (0.0ms) rollback transaction
13
+ Connecting to database specified by database.yml
14
+  (0.1ms) begin transaction
15
+  (0.0ms) rollback transaction
16
+ Connecting to database specified by database.yml
17
+  (0.1ms) begin transaction
18
+  (0.0ms) rollback transaction
19
+ Connecting to database specified by database.yml
20
+  (0.1ms) begin transaction
21
+  (0.0ms) rollback transaction
22
+ Connecting to database specified by database.yml
23
+  (0.1ms) begin transaction
24
+  (0.0ms) rollback transaction
25
+ Connecting to database specified by database.yml
26
+  (0.1ms) begin transaction
27
+  (0.1ms) rollback transaction
28
+ Connecting to database specified by database.yml
29
+  (0.1ms) begin transaction
30
+  (0.1ms) rollback transaction
31
+ Connecting to database specified by database.yml
32
+ Connecting to database specified by database.yml
33
+  (0.1ms) begin transaction
34
+  (0.0ms) SAVEPOINT active_record_1
35
+ SQL (3.2ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:43:00 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:43:00 UTC +00:00]]
36
+  (0.0ms) RELEASE SAVEPOINT active_record_1
37
+  (0.1ms) SAVEPOINT active_record_1
38
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
39
+ SQL (0.5ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:43:00 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:43:00 UTC +00:00]]
40
+  (0.0ms) RELEASE SAVEPOINT active_record_1
41
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
42
+  (2.2ms) rollback transaction
43
+ Connecting to database specified by database.yml
44
+  (0.1ms) begin transaction
45
+  (0.0ms) SAVEPOINT active_record_1
46
+ SQL (3.0ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:43:20 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:43:20 UTC +00:00]]
47
+  (0.0ms) RELEASE SAVEPOINT active_record_1
48
+  (0.1ms) SAVEPOINT active_record_1
49
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
50
+ SQL (0.5ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:43:20 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:43:20 UTC +00:00]]
51
+  (0.0ms) RELEASE SAVEPOINT active_record_1
52
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
53
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:43:20 -0400
54
+ Processing by Admin::PostsController#show as HTML
55
+ Parameters: {"category_id"=>"1", "id"=>"1"}
56
+ Completed 401 Unauthorized in 2ms
57
+ Started GET "/admin/login" for 127.0.0.1 at 2013-09-03 19:43:20 -0400
58
+ Processing by ActiveAdmin::Devise::SessionsController#new as HTML
59
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/devise/shared/_links.erb (1.2ms)
60
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (40.2ms)
61
+ Completed 200 OK in 103ms (Views: 47.7ms | ActiveRecord: 0.1ms)
62
+  (0.5ms) rollback transaction
63
+ Connecting to database specified by database.yml
64
+ Connecting to database specified by database.yml
65
+  (0.1ms) begin transaction
66
+  (0.1ms) SAVEPOINT active_record_1
67
+ SQL (3.7ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:44:09 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:44:09 UTC +00:00]]
68
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69
+  (0.1ms) SAVEPOINT active_record_1
70
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
71
+ SQL (0.5ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:44:09 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:44:09 UTC +00:00]]
72
+  (0.0ms) RELEASE SAVEPOINT active_record_1
73
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
74
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:44:09 -0400
75
+ Processing by Admin::PostsController#show as HTML
76
+ Parameters: {"category_id"=>"1", "id"=>"1"}
77
+ Completed 401 Unauthorized in 2ms
78
+ Started GET "/admin/login" for 127.0.0.1 at 2013-09-03 19:44:09 -0400
79
+ Processing by ActiveAdmin::Devise::SessionsController#new as HTML
80
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/devise/shared/_links.erb (1.3ms)
81
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/devise/sessions/new.html.erb within layouts/active_admin_logged_out (29.9ms)
82
+ Completed 200 OK in 92ms (Views: 79.2ms | ActiveRecord: 0.1ms)
83
+  (2.3ms) rollback transaction
84
+ Connecting to database specified by database.yml
85
+  (0.1ms) begin transaction
86
+  (0.1ms) rollback transaction
87
+ Connecting to database specified by database.yml
88
+  (0.1ms) begin transaction
89
+  (0.1ms) SAVEPOINT active_record_1
90
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
91
+ Binary data inserted for `string` type on column `encrypted_password`
92
+ SQL (1.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:44:52 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$lBE/RAKSIEtEV.yPN6dpY.kf.CEUTpSxFXeP4XSXM4MHAia8CWj8G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:44:52 UTC +00:00]]
93
+  (0.0ms) RELEASE SAVEPOINT active_record_1
94
+  (1.9ms) rollback transaction
95
+ Connecting to database specified by database.yml
96
+  (0.1ms) begin transaction
97
+  (0.0ms) rollback transaction
98
+ Connecting to database specified by database.yml
99
+  (0.1ms) begin transaction
100
+  (0.1ms) SAVEPOINT active_record_1
101
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
102
+ Binary data inserted for `string` type on column `encrypted_password`
103
+ SQL (1.5ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:50:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$QQjogYRvQxdmW.2HgY22nu4cq9iU7e/byHPsAapvAu/.1g2tCUty."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:50:46 UTC +00:00]]
104
+  (0.1ms) RELEASE SAVEPOINT active_record_1
105
+  (0.0ms) SAVEPOINT active_record_1
106
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:50:46 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:50:46 UTC +00:00]]
107
+  (0.0ms) RELEASE SAVEPOINT active_record_1
108
+  (0.1ms) SAVEPOINT active_record_1
109
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
110
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:50:46 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:50:46 UTC +00:00]]
111
+  (0.0ms) RELEASE SAVEPOINT active_record_1
112
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
113
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:50:46 -0400
114
+  (0.0ms) SAVEPOINT active_record_1
115
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:50:46.484956', "current_sign_in_at" = '2013-09-03 23:50:46.484956', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:50:46.485736' WHERE "admin_users"."id" = 1
116
+  (0.0ms) RELEASE SAVEPOINT active_record_1
117
+ Processing by Admin::PostsController#show as HTML
118
+ Parameters: {"category_id"=>"1", "id"=>"1"}
119
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
120
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
121
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
122
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
123
+  (0.1ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
124
+ CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
125
+ ActiveAdmin::Comment Load (0.1ms) SELECT "active_admin_comments".* FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
126
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (8944.1ms)
127
+ Completed 500 Internal Server Error in 9004ms
128
+  (2.1ms) rollback transaction
129
+ Connecting to database specified by database.yml
130
+  (0.1ms) begin transaction
131
+  (0.1ms) SAVEPOINT active_record_1
132
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
133
+ Binary data inserted for `string` type on column `encrypted_password`
134
+ SQL (1.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:51:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$e1fXsP5hsvjO23Lc6welG.EykilE5fLGm6pvZ22k0N0.k3XCpTuOS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:51:32 UTC +00:00]]
135
+  (0.0ms) RELEASE SAVEPOINT active_record_1
136
+  (0.0ms) SAVEPOINT active_record_1
137
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:51:32 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:51:32 UTC +00:00]]
138
+  (0.0ms) RELEASE SAVEPOINT active_record_1
139
+  (0.1ms) SAVEPOINT active_record_1
140
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
141
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:51:32 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:51:32 UTC +00:00]]
142
+  (0.0ms) RELEASE SAVEPOINT active_record_1
143
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
144
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:51:32 -0400
145
+  (0.1ms) SAVEPOINT active_record_1
146
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:51:32.530171', "current_sign_in_at" = '2013-09-03 23:51:32.530171', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:51:32.531007' WHERE "admin_users"."id" = 1
147
+  (0.0ms) RELEASE SAVEPOINT active_record_1
148
+ Processing by Admin::PostsController#show as HTML
149
+ Parameters: {"category_id"=>"1", "id"=>"1"}
150
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
151
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
152
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
153
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
154
+  (0.1ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
155
+ CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
156
+ ActiveAdmin::Comment Load (0.1ms) SELECT "active_admin_comments".* FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
157
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (8630.4ms)
158
+ Completed 500 Internal Server Error in 8688ms
159
+  (1.9ms) rollback transaction
160
+ Connecting to database specified by database.yml
161
+  (0.1ms) begin transaction
162
+  (0.1ms) SAVEPOINT active_record_1
163
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
164
+ Binary data inserted for `string` type on column `encrypted_password`
165
+ SQL (1.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:51:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$G5rYwek7p6fekjMRhx.n1.kFlO.1qRfqSA3RqXf5sdvhRspuomwBO"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:51:54 UTC +00:00]]
166
+  (0.0ms) RELEASE SAVEPOINT active_record_1
167
+  (0.0ms) SAVEPOINT active_record_1
168
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:51:54 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:51:54 UTC +00:00]]
169
+  (0.0ms) RELEASE SAVEPOINT active_record_1
170
+  (0.1ms) SAVEPOINT active_record_1
171
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
172
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:51:54 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:51:54 UTC +00:00]]
173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
174
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
175
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:51:55 -0400
176
+  (0.1ms) SAVEPOINT active_record_1
177
+  (0.2ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:51:55.005130', "current_sign_in_at" = '2013-09-03 23:51:55.005130', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:51:55.006160' WHERE "admin_users"."id" = 1
178
+  (0.0ms) RELEASE SAVEPOINT active_record_1
179
+ Processing by Admin::PostsController#show as HTML
180
+ Parameters: {"category_id"=>"1", "id"=>"1"}
181
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
182
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
183
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
184
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
185
+  (0.1ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
186
+ CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
187
+ ActiveAdmin::Comment Load (0.1ms) SELECT "active_admin_comments".* FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
188
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (8469.9ms)
189
+ Completed 500 Internal Server Error in 8524ms
190
+  (1.9ms) rollback transaction
191
+ Connecting to database specified by database.yml
192
+  (0.1ms) begin transaction
193
+  (0.1ms) SAVEPOINT active_record_1
194
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
195
+ Binary data inserted for `string` type on column `encrypted_password`
196
+ SQL (1.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:52:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$9cHkzQLjWsQmYtRNnturzOdc/K.GjrFgjP6p2jei8ZUr5dBcOKLIW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:52:55 UTC +00:00]]
197
+  (0.1ms) RELEASE SAVEPOINT active_record_1
198
+  (0.0ms) SAVEPOINT active_record_1
199
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:52:55 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:52:55 UTC +00:00]]
200
+  (0.0ms) RELEASE SAVEPOINT active_record_1
201
+  (0.1ms) SAVEPOINT active_record_1
202
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
203
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:52:55 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:52:55 UTC +00:00]]
204
+  (0.0ms) RELEASE SAVEPOINT active_record_1
205
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
206
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:52:55 -0400
207
+  (0.1ms) SAVEPOINT active_record_1
208
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:52:55.859478', "current_sign_in_at" = '2013-09-03 23:52:55.859478', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:52:55.860260' WHERE "admin_users"."id" = 1
209
+  (0.0ms) RELEASE SAVEPOINT active_record_1
210
+ Processing by Admin::PostsController#show as HTML
211
+ Parameters: {"category_id"=>"1", "id"=>"1"}
212
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
213
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
214
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
215
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
216
+  (0.1ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
217
+ CACHE (0.0ms) SELECT COUNT(*) FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
218
+ ActiveAdmin::Comment Load (0.1ms) SELECT "active_admin_comments".* FROM "active_admin_comments" WHERE "active_admin_comments"."resource_type" = 'Post' AND "active_admin_comments"."resource_id" = '1' AND "active_admin_comments"."namespace" = 'admin'
219
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (8531.1ms)
220
+ Completed 500 Internal Server Error in 8586ms
221
+  (1.9ms) rollback transaction
222
+ Connecting to database specified by database.yml
223
+  (0.1ms) begin transaction
224
+  (0.1ms) SAVEPOINT active_record_1
225
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
226
+ Binary data inserted for `string` type on column `encrypted_password`
227
+ SQL (1.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:53:38 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$w6qkDb2Z5MiE.yA58c7SMu2D.ewinW5FwSzRdXyp7R8UcC78FqUAW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:53:38 UTC +00:00]]
228
+  (0.0ms) RELEASE SAVEPOINT active_record_1
229
+  (0.0ms) SAVEPOINT active_record_1
230
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:53:38 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:53:38 UTC +00:00]]
231
+  (0.0ms) RELEASE SAVEPOINT active_record_1
232
+  (0.1ms) SAVEPOINT active_record_1
233
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
234
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:53:38 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:53:38 UTC +00:00]]
235
+  (0.0ms) RELEASE SAVEPOINT active_record_1
236
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
237
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:53:38 -0400
238
+  (0.1ms) SAVEPOINT active_record_1
239
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:53:38.816038', "current_sign_in_at" = '2013-09-03 23:53:38.816038', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:53:38.816872' WHERE "admin_users"."id" = 1
240
+  (0.0ms) RELEASE SAVEPOINT active_record_1
241
+ Processing by Admin::PostsController#show as HTML
242
+ Parameters: {"category_id"=>"1", "id"=>"1"}
243
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
244
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
245
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
246
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
247
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.4ms)
248
+ Completed 200 OK in 32ms (Views: 25.9ms | ActiveRecord: 0.4ms)
249
+  (1.8ms) rollback transaction
250
+ Connecting to database specified by database.yml
251
+  (0.1ms) begin transaction
252
+  (0.1ms) SAVEPOINT active_record_1
253
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
254
+ Binary data inserted for `string` type on column `encrypted_password`
255
+ SQL (1.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:55:10 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$o8LaTf407wjPLAPxOqoKD.eTXEcXD1S93rWs8i95KZiAa960ag73K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:55:10 UTC +00:00]]
256
+  (0.0ms) RELEASE SAVEPOINT active_record_1
257
+  (0.0ms) SAVEPOINT active_record_1
258
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:55:10 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:55:10 UTC +00:00]]
259
+  (0.0ms) RELEASE SAVEPOINT active_record_1
260
+  (0.1ms) SAVEPOINT active_record_1
261
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
262
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:55:10 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:55:10 UTC +00:00]]
263
+  (0.0ms) RELEASE SAVEPOINT active_record_1
264
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
265
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:55:10 -0400
266
+  (0.1ms) SAVEPOINT active_record_1
267
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:55:10.446444', "current_sign_in_at" = '2013-09-03 23:55:10.446444', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:55:10.447292' WHERE "admin_users"."id" = 1
268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
269
+ Processing by Admin::PostsController#show as HTML
270
+ Parameters: {"category_id"=>"1", "id"=>"1"}
271
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
272
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
273
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
274
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
275
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (19.9ms)
276
+ Completed 200 OK in 31ms (Views: 25.4ms | ActiveRecord: 0.4ms)
277
+  (0.5ms) rollback transaction
278
+ Connecting to database specified by database.yml
279
+  (0.1ms) begin transaction
280
+  (0.1ms) SAVEPOINT active_record_1
281
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
282
+ Binary data inserted for `string` type on column `encrypted_password`
283
+ SQL (2.0ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:55:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$eMhR9eqiHB85/YVjBxnm.OOBzxHqRUYW1BRzOaF5Y.YWa.UNE18lq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:55:30 UTC +00:00]]
284
+  (0.1ms) RELEASE SAVEPOINT active_record_1
285
+  (0.0ms) SAVEPOINT active_record_1
286
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:55:30 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:55:30 UTC +00:00]]
287
+  (0.0ms) RELEASE SAVEPOINT active_record_1
288
+  (0.1ms) SAVEPOINT active_record_1
289
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
290
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:55:30 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:55:30 UTC +00:00]]
291
+  (0.0ms) RELEASE SAVEPOINT active_record_1
292
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
293
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:55:30 -0400
294
+  (0.1ms) SAVEPOINT active_record_1
295
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:55:30.613408', "current_sign_in_at" = '2013-09-03 23:55:30.613408', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:55:30.614215' WHERE "admin_users"."id" = 1
296
+  (0.0ms) RELEASE SAVEPOINT active_record_1
297
+ Processing by Admin::PostsController#show as HTML
298
+ Parameters: {"category_id"=>"1", "id"=>"1"}
299
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
300
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
301
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
302
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
303
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (24.8ms)
304
+ Completed 200 OK in 39ms (Views: 31.8ms | ActiveRecord: 0.6ms)
305
+  (1.9ms) rollback transaction
306
+ Connecting to database specified by database.yml
307
+  (0.1ms) begin transaction
308
+  (0.1ms) SAVEPOINT active_record_1
309
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
310
+ Binary data inserted for `string` type on column `encrypted_password`
311
+ SQL (2.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:56:30 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$G6lS1TWd17gjD2.WRWsJNOelBxQLUCKpme1l8PHmHwZVCS8Myl6q6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:56:30 UTC +00:00]]
312
+  (0.1ms) RELEASE SAVEPOINT active_record_1
313
+  (0.1ms) SAVEPOINT active_record_1
314
+ SQL (0.6ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:56:30 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:56:30 UTC +00:00]]
315
+  (0.0ms) RELEASE SAVEPOINT active_record_1
316
+  (0.1ms) SAVEPOINT active_record_1
317
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
318
+ SQL (0.5ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:56:30 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:56:30 UTC +00:00]]
319
+  (0.1ms) RELEASE SAVEPOINT active_record_1
320
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
321
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:56:30 -0400
322
+  (0.1ms) SAVEPOINT active_record_1
323
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:56:30.613510', "current_sign_in_at" = '2013-09-03 23:56:30.613510', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:56:30.614927' WHERE "admin_users"."id" = 1
324
+  (0.0ms) RELEASE SAVEPOINT active_record_1
325
+ Processing by Admin::PostsController#show as HTML
326
+ Parameters: {"category_id"=>"1", "id"=>"1"}
327
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
328
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
329
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
330
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
331
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (19.6ms)
332
+ Completed 200 OK in 35ms (Views: 27.5ms | ActiveRecord: 0.4ms)
333
+  (2.0ms) rollback transaction
334
+ Connecting to database specified by database.yml
335
+  (0.1ms) begin transaction
336
+  (0.1ms) SAVEPOINT active_record_1
337
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
338
+ Binary data inserted for `string` type on column `encrypted_password`
339
+ SQL (3.0ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:56:54 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$9KXLBj4dgJM9FKMsvlgz6u7wQ.a4vXRympU2GXDqw8bPfW0KE0w4y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:56:54 UTC +00:00]]
340
+  (0.1ms) RELEASE SAVEPOINT active_record_1
341
+  (0.1ms) SAVEPOINT active_record_1
342
+ SQL (0.6ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:56:54 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:56:54 UTC +00:00]]
343
+  (0.2ms) RELEASE SAVEPOINT active_record_1
344
+  (0.2ms) SAVEPOINT active_record_1
345
+ Post Exists (0.3ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
346
+ SQL (0.7ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:56:54 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:56:54 UTC +00:00]]
347
+  (0.2ms) RELEASE SAVEPOINT active_record_1
348
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
349
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:56:54 -0400
350
+  (0.2ms) SAVEPOINT active_record_1
351
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:56:54.291191', "current_sign_in_at" = '2013-09-03 23:56:54.291191', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:56:54.293895' WHERE "admin_users"."id" = 1
352
+  (0.1ms) RELEASE SAVEPOINT active_record_1
353
+ Processing by Admin::PostsController#show as HTML
354
+ Parameters: {"category_id"=>"1", "id"=>"1"}
355
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
356
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
357
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
358
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
359
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (50.5ms)
360
+ Completed 200 OK in 76ms (Views: 61.6ms | ActiveRecord: 0.9ms)
361
+  (2.1ms) rollback transaction
362
+ Connecting to database specified by database.yml
363
+  (0.1ms) begin transaction
364
+  (0.1ms) SAVEPOINT active_record_1
365
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
366
+ Binary data inserted for `string` type on column `encrypted_password`
367
+ SQL (1.4ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:57:13 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$CaK0VSxouX03RYf3XuyOGODDBmhI1mgayKtuxJgriYhb2ZtjJf9B."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:57:13 UTC +00:00]]
368
+  (0.1ms) RELEASE SAVEPOINT active_record_1
369
+  (0.0ms) SAVEPOINT active_record_1
370
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:57:13 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:57:13 UTC +00:00]]
371
+  (0.0ms) RELEASE SAVEPOINT active_record_1
372
+  (0.1ms) SAVEPOINT active_record_1
373
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
374
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:57:13 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:57:13 UTC +00:00]]
375
+  (0.0ms) RELEASE SAVEPOINT active_record_1
376
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
377
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:57:13 -0400
378
+  (0.1ms) SAVEPOINT active_record_1
379
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:57:13.104209', "current_sign_in_at" = '2013-09-03 23:57:13.104209', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:57:13.104955' WHERE "admin_users"."id" = 1
380
+  (0.0ms) RELEASE SAVEPOINT active_record_1
381
+ Processing by Admin::PostsController#show as HTML
382
+ Parameters: {"category_id"=>"1", "id"=>"1"}
383
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
384
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
385
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
386
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
387
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (19.4ms)
388
+ Completed 200 OK in 30ms (Views: 24.8ms | ActiveRecord: 0.3ms)
389
+  (1.9ms) rollback transaction
390
+ Connecting to database specified by database.yml
391
+  (0.1ms) begin transaction
392
+  (0.1ms) SAVEPOINT active_record_1
393
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
394
+ Binary data inserted for `string` type on column `encrypted_password`
395
+ SQL (1.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:57:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$dIumF7JMckq0UqdJBWv8ruoWgVJhlRbBeMiPQKa6Q/Pe9LjeyEKru"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:57:20 UTC +00:00]]
396
+  (0.0ms) RELEASE SAVEPOINT active_record_1
397
+  (0.0ms) SAVEPOINT active_record_1
398
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:57:20 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:57:20 UTC +00:00]]
399
+  (0.0ms) RELEASE SAVEPOINT active_record_1
400
+  (0.1ms) SAVEPOINT active_record_1
401
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
402
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:57:20 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:57:20 UTC +00:00]]
403
+  (0.0ms) RELEASE SAVEPOINT active_record_1
404
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
405
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:57:20 -0400
406
+  (0.1ms) SAVEPOINT active_record_1
407
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:57:20.851552', "current_sign_in_at" = '2013-09-03 23:57:20.851552', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:57:20.852401' WHERE "admin_users"."id" = 1
408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
409
+ Processing by Admin::PostsController#show as HTML
410
+ Parameters: {"category_id"=>"1", "id"=>"1"}
411
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
412
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
413
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
414
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
415
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (21.0ms)
416
+ Completed 200 OK in 33ms (Views: 26.4ms | ActiveRecord: 0.4ms)
417
+  (2.4ms) rollback transaction
418
+ Connecting to database specified by database.yml
419
+  (0.1ms) begin transaction
420
+  (0.1ms) SAVEPOINT active_record_1
421
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
422
+ Binary data inserted for `string` type on column `encrypted_password`
423
+ SQL (1.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:58:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Tcj4lNedxFsDQbQJhYDk9u9gV4NLFdHQatoOvHlI8YK1UsQfvzssS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 03 Sep 2013 23:58:11 UTC +00:00]]
424
+  (0.0ms) RELEASE SAVEPOINT active_record_1
425
+  (0.0ms) SAVEPOINT active_record_1
426
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 03 Sep 2013 23:58:11 UTC +00:00], ["name", "Category 1"], ["updated_at", Tue, 03 Sep 2013 23:58:11 UTC +00:00]]
427
+  (0.0ms) RELEASE SAVEPOINT active_record_1
428
+  (0.1ms) SAVEPOINT active_record_1
429
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
430
+ SQL (0.2ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Tue, 03 Sep 2013 23:58:11 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Tue, 03 Sep 2013 23:58:11 UTC +00:00]]
431
+  (0.0ms) RELEASE SAVEPOINT active_record_1
432
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
433
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:58:11 -0400
434
+  (0.1ms) SAVEPOINT active_record_1
435
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-03 23:58:11.934352', "current_sign_in_at" = '2013-09-03 23:58:11.934352', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-03 23:58:11.935110' WHERE "admin_users"."id" = 1
436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
437
+ Processing by Admin::PostsController#show as HTML
438
+ Parameters: {"category_id"=>"1", "id"=>"1"}
439
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
440
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
441
+ Completed 404 Not Found in 6ms
442
+  (1.9ms) rollback transaction
443
+ Connecting to database specified by database.yml
444
+  (0.1ms) begin transaction
445
+  (0.1ms) SAVEPOINT active_record_1
446
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
447
+ Binary data inserted for `string` type on column `encrypted_password`
448
+ SQL (46.0ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$K9CPi11YH5ONpTnsWygr1uJRJFoTwvSVyAtG7QJm3sLY2gqSKiqL."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00]]
449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
450
+  (0.0ms) SAVEPOINT active_record_1
451
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00]]
452
+  (0.0ms) RELEASE SAVEPOINT active_record_1
453
+  (0.1ms) SAVEPOINT active_record_1
454
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
455
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00]]
456
+  (0.0ms) RELEASE SAVEPOINT active_record_1
457
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
458
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:00:47 -0400
459
+  (0.1ms) SAVEPOINT active_record_1
460
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:00:47.364946', "current_sign_in_at" = '2013-09-04 00:00:47.364946', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:00:47.365710' WHERE "admin_users"."id" = 1
461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
462
+ Processing by Admin::PostsController#show as HTML
463
+ Parameters: {"category_id"=>"1", "id"=>"1"}
464
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
465
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
466
+ Completed 404 Not Found in 7ms
467
+  (1.9ms) rollback transaction
468
+  (0.1ms) begin transaction
469
+  (0.1ms) SAVEPOINT active_record_1
470
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00]]
471
+  (0.0ms) RELEASE SAVEPOINT active_record_1
472
+  (0.0ms) SAVEPOINT active_record_1
473
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
474
+ SQL (0.4ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:00:47 UTC +00:00]]
475
+  (0.0ms) RELEASE SAVEPOINT active_record_1
476
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
477
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:00:47 -0400
478
+  (0.4ms) rollback transaction
479
+ Connecting to database specified by database.yml
480
+  (0.1ms) begin transaction
481
+  (0.1ms) SAVEPOINT active_record_1
482
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
483
+ Binary data inserted for `string` type on column `encrypted_password`
484
+ SQL (42.5ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$D07Fxrd/CMjNGdgNNYa0G.dq0wT0VH8GfB0tswQf8pijH8PDTgk7y"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00]]
485
+  (0.0ms) RELEASE SAVEPOINT active_record_1
486
+  (0.1ms) SAVEPOINT active_record_1
487
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00]]
488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
489
+  (0.1ms) SAVEPOINT active_record_1
490
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
491
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00]]
492
+  (0.0ms) RELEASE SAVEPOINT active_record_1
493
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
494
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:01:49 -0400
495
+  (0.1ms) SAVEPOINT active_record_1
496
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:01:49.535497', "current_sign_in_at" = '2013-09-04 00:01:49.535497', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:01:49.536353' WHERE "admin_users"."id" = 1
497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
498
+ Processing by Admin::PostsController#show as HTML
499
+ Parameters: {"category_id"=>"1", "id"=>"1"}
500
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
501
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
502
+ Completed 404 Not Found in 6ms
503
+  (2.0ms) rollback transaction
504
+  (0.1ms) begin transaction
505
+  (0.1ms) SAVEPOINT active_record_1
506
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00]]
507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
508
+  (0.0ms) SAVEPOINT active_record_1
509
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
510
+ SQL (0.4ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:01:49 UTC +00:00]]
511
+  (0.0ms) RELEASE SAVEPOINT active_record_1
512
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
513
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:01:49 -0400
514
+  (0.4ms) rollback transaction
515
+ Connecting to database specified by database.yml
516
+  (0.1ms) begin transaction
517
+  (0.1ms) SAVEPOINT active_record_1
518
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
519
+ Binary data inserted for `string` type on column `encrypted_password`
520
+ SQL (45.7ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:04:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$WPcqTFpathOUYFju.1xNX.fSqAFBS/IdDchtDfaZOIV9RnJlgty4G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:04:33 UTC +00:00]]
521
+  (0.1ms) RELEASE SAVEPOINT active_record_1
522
+  (0.0ms) SAVEPOINT active_record_1
523
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:04:33 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:04:33 UTC +00:00]]
524
+  (0.0ms) RELEASE SAVEPOINT active_record_1
525
+  (0.1ms) SAVEPOINT active_record_1
526
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
527
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:04:33 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:04:33 UTC +00:00]]
528
+  (0.0ms) RELEASE SAVEPOINT active_record_1
529
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
530
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:04:33 -0400
531
+  (0.1ms) SAVEPOINT active_record_1
532
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:04:33.899473', "current_sign_in_at" = '2013-09-04 00:04:33.899473', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:04:33.900336' WHERE "admin_users"."id" = 1
533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
534
+ Processing by Admin::PostsController#show as HTML
535
+ Parameters: {"category_id"=>"1", "id"=>"1"}
536
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
537
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
538
+ Completed 404 Not Found in 6ms
539
+  (1.9ms) rollback transaction
540
+  (0.1ms) begin transaction
541
+  (0.0ms) rollback transaction
542
+ Connecting to database specified by database.yml
543
+  (0.1ms) begin transaction
544
+  (0.1ms) SAVEPOINT active_record_1
545
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
546
+ Binary data inserted for `string` type on column `encrypted_password`
547
+ SQL (44.0ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$zij10JhewaP09fsLaHFAYev.hZlHc/G2QI66.76vbq9LfFYk9dJEu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00]]
548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
549
+  (0.0ms) SAVEPOINT active_record_1
550
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00]]
551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
552
+  (0.1ms) SAVEPOINT active_record_1
553
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
554
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00]]
555
+  (0.0ms) RELEASE SAVEPOINT active_record_1
556
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
557
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:05:39 -0400
558
+  (0.1ms) SAVEPOINT active_record_1
559
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:05:39.223769', "current_sign_in_at" = '2013-09-04 00:05:39.223769', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:05:39.224754' WHERE "admin_users"."id" = 1
560
+  (0.1ms) RELEASE SAVEPOINT active_record_1
561
+ Processing by Admin::PostsController#show as HTML
562
+ Parameters: {"category_id"=>"1", "id"=>"1"}
563
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
564
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
565
+ Completed 404 Not Found in 6ms
566
+  (1.9ms) rollback transaction
567
+  (0.1ms) begin transaction
568
+  (0.0ms) SAVEPOINT active_record_1
569
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
570
+ Binary data inserted for `string` type on column `encrypted_password`
571
+ SQL (0.4ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$3SYDvu9906nHeVabwR9y.eJHjwa/MO7H0YlaWwNxNF9IWiohGug3a"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00]]
572
+  (0.0ms) RELEASE SAVEPOINT active_record_1
573
+  (0.0ms) SAVEPOINT active_record_1
574
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00]]
575
+  (0.0ms) RELEASE SAVEPOINT active_record_1
576
+  (0.0ms) SAVEPOINT active_record_1
577
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
578
+ SQL (0.2ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:05:39 UTC +00:00]]
579
+  (0.0ms) RELEASE SAVEPOINT active_record_1
580
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
581
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:05:39 -0400
582
+  (0.0ms) SAVEPOINT active_record_1
583
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:05:39.260494', "current_sign_in_at" = '2013-09-04 00:05:39.260494', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:05:39.260944' WHERE "admin_users"."id" = 1
584
+  (0.0ms) RELEASE SAVEPOINT active_record_1
585
+ Processing by Admin::PostsController#show as HTML
586
+ Parameters: {"category_id"=>"1", "id"=>"1"}
587
+ Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
588
+ Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
589
+ Completed 404 Not Found in 2ms
590
+  (0.5ms) rollback transaction
591
+ Connecting to database specified by database.yml
592
+  (0.1ms) begin transaction
593
+  (0.1ms) SAVEPOINT active_record_1
594
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
595
+ Binary data inserted for `string` type on column `encrypted_password`
596
+ SQL (43.8ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$I./NhJyf2r3EagDKiEq9kO.ww2DXPUq7Lzea85gLj9bdCK0Z8ms8S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00]]
597
+  (0.0ms) RELEASE SAVEPOINT active_record_1
598
+  (0.0ms) SAVEPOINT active_record_1
599
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00]]
600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
601
+  (0.1ms) SAVEPOINT active_record_1
602
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
603
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00]]
604
+  (0.0ms) RELEASE SAVEPOINT active_record_1
605
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
606
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:06:09 -0400
607
+  (0.1ms) SAVEPOINT active_record_1
608
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:06:09.707894', "current_sign_in_at" = '2013-09-04 00:06:09.707894', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:06:09.708744' WHERE "admin_users"."id" = 1
609
+  (0.0ms) RELEASE SAVEPOINT active_record_1
610
+ Processing by Admin::PostsController#show as HTML
611
+ Parameters: {"category_id"=>"1", "id"=>"1"}
612
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
613
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
614
+ Completed 404 Not Found in 6ms
615
+  (2.5ms) rollback transaction
616
+  (0.1ms) begin transaction
617
+  (0.0ms) SAVEPOINT active_record_1
618
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
619
+ Binary data inserted for `string` type on column `encrypted_password`
620
+ SQL (0.5ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$PAHXe4RFC9Zr6rIV2IN52O2Fvdyu.3qIE01GL6yzegMYiW1mK12VW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:06:09 UTC +00:00]]
621
+  (0.0ms) RELEASE SAVEPOINT active_record_1
622
+  (0.5ms) rollback transaction
623
+ Connecting to database specified by database.yml
624
+  (0.1ms) begin transaction
625
+  (0.1ms) SAVEPOINT active_record_1
626
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
627
+ Binary data inserted for `string` type on column `encrypted_password`
628
+ SQL (1.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$PRulWDXS8DycYdbSNiENve.IGL8DTAoN9IVJvlsXudHh9jpq8gYoq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00]]
629
+  (0.0ms) RELEASE SAVEPOINT active_record_1
630
+  (0.0ms) SAVEPOINT active_record_1
631
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00]]
632
+  (0.0ms) RELEASE SAVEPOINT active_record_1
633
+  (0.1ms) SAVEPOINT active_record_1
634
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
635
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00]]
636
+  (0.0ms) RELEASE SAVEPOINT active_record_1
637
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
638
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:07:50 -0400
639
+  (0.0ms) SAVEPOINT active_record_1
640
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:07:50.317769', "current_sign_in_at" = '2013-09-04 00:07:50.317769', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:07:50.318573' WHERE "admin_users"."id" = 1
641
+  (0.0ms) RELEASE SAVEPOINT active_record_1
642
+ Processing by Admin::PostsController#show as HTML
643
+ Parameters: {"category_id"=>"1", "id"=>"1"}
644
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
645
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
646
+ Completed 404 Not Found in 6ms
647
+  (1.8ms) rollback transaction
648
+  (0.1ms) begin transaction
649
+  (0.0ms) SAVEPOINT active_record_1
650
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
651
+ Binary data inserted for `string` type on column `encrypted_password`
652
+ SQL (0.4ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$0LLFWKinsCd2q3jljt37BuXbf8CmxGzH0NldbqfRjfKwSoXe9G5rS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:07:50 UTC +00:00]]
653
+  (0.1ms) RELEASE SAVEPOINT active_record_1
654
+  (0.4ms) rollback transaction
655
+ Connecting to database specified by database.yml
656
+  (0.1ms) begin transaction
657
+  (0.1ms) SAVEPOINT active_record_1
658
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
659
+ Binary data inserted for `string` type on column `encrypted_password`
660
+ SQL (1.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$9OqfSQabmmcM9dgrCmJNIuWTc195V4MRkyeRCbTKqAAA5SXuIxodu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00]]
661
+  (0.0ms) RELEASE SAVEPOINT active_record_1
662
+  (0.0ms) SAVEPOINT active_record_1
663
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00]]
664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
665
+  (0.1ms) SAVEPOINT active_record_1
666
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
667
+ SQL (0.2ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00]]
668
+  (0.0ms) RELEASE SAVEPOINT active_record_1
669
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
670
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:08:04 -0400
671
+  (0.1ms) SAVEPOINT active_record_1
672
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:08:04.284388', "current_sign_in_at" = '2013-09-04 00:08:04.284388', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:08:04.285208' WHERE "admin_users"."id" = 1
673
+  (0.0ms) RELEASE SAVEPOINT active_record_1
674
+ Processing by Admin::PostsController#show as HTML
675
+ Parameters: {"category_id"=>"1", "id"=>"1"}
676
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
677
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
678
+ Completed 404 Not Found in 6ms
679
+  (0.5ms) rollback transaction
680
+  (0.0ms) begin transaction
681
+  (0.0ms) SAVEPOINT active_record_1
682
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
683
+ Binary data inserted for `string` type on column `encrypted_password`
684
+ SQL (0.4ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$TqY/zpNMoiIfKSCAdSWx8u5G2ItXTjE2VMHzFGR9voAshrlJcpBN."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00]]
685
+  (0.0ms) RELEASE SAVEPOINT active_record_1
686
+  (0.0ms) SAVEPOINT active_record_1
687
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00]]
688
+  (0.0ms) RELEASE SAVEPOINT active_record_1
689
+  (0.0ms) SAVEPOINT active_record_1
690
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
691
+ SQL (0.2ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:08:04 UTC +00:00]]
692
+  (0.0ms) RELEASE SAVEPOINT active_record_1
693
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
694
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:08:04 -0400
695
+  (0.0ms) SAVEPOINT active_record_1
696
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:08:04.316462', "current_sign_in_at" = '2013-09-04 00:08:04.316462', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:08:04.316911' WHERE "admin_users"."id" = 1
697
+  (0.0ms) RELEASE SAVEPOINT active_record_1
698
+ Processing by Admin::PostsController#show as HTML
699
+ Parameters: {"category_id"=>"1", "id"=>"1"}
700
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
701
+ Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
702
+ Completed 404 Not Found in 2ms
703
+  (0.6ms) rollback transaction
704
+ Connecting to database specified by database.yml
705
+  (0.1ms) begin transaction
706
+  (0.1ms) SAVEPOINT active_record_1
707
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
708
+ Binary data inserted for `string` type on column `encrypted_password`
709
+ SQL (1.3ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$EIyeQDJjeDiThaeznAFqveY8P3N5Qson3Yt1yYT3AzAlFZSyDhu0e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00]]
710
+  (0.0ms) RELEASE SAVEPOINT active_record_1
711
+  (0.0ms) SAVEPOINT active_record_1
712
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00]]
713
+  (0.0ms) RELEASE SAVEPOINT active_record_1
714
+  (0.1ms) SAVEPOINT active_record_1
715
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
716
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00]]
717
+  (0.0ms) RELEASE SAVEPOINT active_record_1
718
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
719
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:08:34 -0400
720
+  (0.0ms) SAVEPOINT active_record_1
721
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:08:34.437266', "current_sign_in_at" = '2013-09-04 00:08:34.437266', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:08:34.438006' WHERE "admin_users"."id" = 1
722
+  (0.0ms) RELEASE SAVEPOINT active_record_1
723
+ Processing by Admin::PostsController#show as HTML
724
+ Parameters: {"category_id"=>"1", "id"=>"1"}
725
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
726
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
727
+ Completed 404 Not Found in 6ms
728
+  (1.9ms) rollback transaction
729
+  (0.1ms) begin transaction
730
+  (0.0ms) SAVEPOINT active_record_1
731
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
732
+ Binary data inserted for `string` type on column `encrypted_password`
733
+ SQL (0.4ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$dx45BKIrtyj7PnXXtBmXjuXWSJGciNyp3k08ad5z4lTjMZN0Mvfsu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:08:34 UTC +00:00]]
734
+  (0.1ms) RELEASE SAVEPOINT active_record_1
735
+  (0.1ms) SAVEPOINT active_record_1
736
+ SQL (0.6ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:09:15 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:09:15 UTC +00:00]]
737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
738
+  (0.1ms) SAVEPOINT active_record_1
739
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
740
+ SQL (0.2ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:09:15 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:09:15 UTC +00:00]]
741
+  (0.0ms) RELEASE SAVEPOINT active_record_1
742
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
743
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:09:15 -0400
744
+  (0.0ms) SAVEPOINT active_record_1
745
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:09:15.381544', "current_sign_in_at" = '2013-09-04 00:09:15.381544', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:09:15.382008' WHERE "admin_users"."id" = 1
746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
747
+ Processing by Admin::PostsController#show as HTML
748
+ Parameters: {"category_id"=>"1", "id"=>"1"}
749
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
750
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
751
+ Completed 404 Not Found in 6ms
752
+  (0.9ms) rollback transaction
753
+ Connecting to database specified by database.yml
754
+  (0.1ms) begin transaction
755
+  (0.1ms) SAVEPOINT active_record_1
756
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
757
+ Binary data inserted for `string` type on column `encrypted_password`
758
+ SQL (1.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:09:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$MdyGU3s4QihbxSNAhkgPq.17xU7BzewV3UJqVYOgo30UG.E09GDx6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:09:19 UTC +00:00]]
759
+  (0.1ms) RELEASE SAVEPOINT active_record_1
760
+  (0.0ms) SAVEPOINT active_record_1
761
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:09:19 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:09:19 UTC +00:00]]
762
+  (0.0ms) RELEASE SAVEPOINT active_record_1
763
+  (0.1ms) SAVEPOINT active_record_1
764
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
765
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:09:20 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:09:20 UTC +00:00]]
766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
767
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
768
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:09:20 -0400
769
+  (0.0ms) SAVEPOINT active_record_1
770
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:09:20.028943', "current_sign_in_at" = '2013-09-04 00:09:20.028943', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:09:20.029728' WHERE "admin_users"."id" = 1
771
+  (0.0ms) RELEASE SAVEPOINT active_record_1
772
+ Processing by Admin::PostsController#show as HTML
773
+ Parameters: {"category_id"=>"1", "id"=>"1"}
774
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
775
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
776
+ Completed 404 Not Found in 30338ms
777
+  (0.2ms) rollback transaction
778
+  (0.1ms) begin transaction
779
+  (0.1ms) SAVEPOINT active_record_1
780
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
781
+ Binary data inserted for `string` type on column `encrypted_password`
782
+ SQL (0.7ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:09:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$sv1scEulwfxzScBOtmgTGeGcc2PC6aUOQ57hXV7p2ri4XAsh6AA7K"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:09:50 UTC +00:00]]
783
+  (0.1ms) RELEASE SAVEPOINT active_record_1
784
+  (0.1ms) SAVEPOINT active_record_1
785
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:09:51 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:09:51 UTC +00:00]]
786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
787
+  (0.0ms) SAVEPOINT active_record_1
788
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
789
+ SQL (0.2ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:09:51 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:09:51 UTC +00:00]]
790
+  (0.0ms) RELEASE SAVEPOINT active_record_1
791
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
792
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:09:51 -0400
793
+  (0.0ms) SAVEPOINT active_record_1
794
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:09:51.392942', "current_sign_in_at" = '2013-09-04 00:09:51.392942', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:09:51.393424' WHERE "admin_users"."id" = 1
795
+  (0.0ms) RELEASE SAVEPOINT active_record_1
796
+ Processing by Admin::PostsController#show as HTML
797
+ Parameters: {"category_id"=>"1", "id"=>"1"}
798
+ Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
799
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
800
+ Completed 404 Not Found in 513ms
801
+  (1.7ms) rollback transaction
802
+ Connecting to database specified by database.yml
803
+  (0.1ms) begin transaction
804
+  (0.1ms) SAVEPOINT active_record_1
805
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
806
+ Binary data inserted for `string` type on column `encrypted_password`
807
+ SQL (43.0ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$ZGh/6k6cO/AnPj6NLwMj1OLKXslPN1AzGKa5XWqmhF0Y6F8.ZjUJG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00]]
808
+  (0.1ms) RELEASE SAVEPOINT active_record_1
809
+  (0.0ms) SAVEPOINT active_record_1
810
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00]]
811
+  (0.0ms) RELEASE SAVEPOINT active_record_1
812
+  (0.1ms) SAVEPOINT active_record_1
813
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
814
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00]]
815
+  (0.0ms) RELEASE SAVEPOINT active_record_1
816
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
817
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:09:58 -0400
818
+  (0.1ms) SAVEPOINT active_record_1
819
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:09:58.565021', "current_sign_in_at" = '2013-09-04 00:09:58.565021', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:09:58.565808' WHERE "admin_users"."id" = 1
820
+  (0.0ms) RELEASE SAVEPOINT active_record_1
821
+ Processing by Admin::PostsController#show as HTML
822
+ Parameters: {"category_id"=>"1", "id"=>"1"}
823
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
824
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
825
+ Completed 404 Not Found in 6ms
826
+  (0.8ms) rollback transaction
827
+  (0.1ms) begin transaction
828
+  (0.0ms) SAVEPOINT active_record_1
829
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
830
+ Binary data inserted for `string` type on column `encrypted_password`
831
+ SQL (0.4ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$eNyQmDXguZM6v/8.E6I6meXIn7aVONzdF7FvqhCr767aTm3PjDx.."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:09:58 UTC +00:00]]
832
+  (0.0ms) RELEASE SAVEPOINT active_record_1
833
+  (0.4ms) rollback transaction
834
+ Connecting to database specified by database.yml
835
+  (0.1ms) begin transaction
836
+  (0.1ms) SAVEPOINT active_record_1
837
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
838
+ Binary data inserted for `string` type on column `encrypted_password`
839
+ SQL (44.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:10:11 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$xrcY7pUO9mBSjH91B1XTGurG./wZPtaPtFyboDfIIMqL6NMoomy1C"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:10:11 UTC +00:00]]
840
+  (0.1ms) RELEASE SAVEPOINT active_record_1
841
+  (0.0ms) SAVEPOINT active_record_1
842
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:10:11 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:10:11 UTC +00:00]]
843
+  (0.0ms) RELEASE SAVEPOINT active_record_1
844
+  (0.1ms) SAVEPOINT active_record_1
845
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
846
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:10:11 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:10:11 UTC +00:00]]
847
+  (0.0ms) RELEASE SAVEPOINT active_record_1
848
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
849
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:10:11 -0400
850
+  (0.1ms) SAVEPOINT active_record_1
851
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:10:11.986599', "current_sign_in_at" = '2013-09-04 00:10:11.986599', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:10:11.987438' WHERE "admin_users"."id" = 1
852
+  (0.0ms) RELEASE SAVEPOINT active_record_1
853
+ Processing by Admin::PostsController#show as HTML
854
+ Parameters: {"category_id"=>"1", "id"=>"1"}
855
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
856
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1 [["id", "1"]]
857
+ Completed 404 Not Found in 6ms
858
+  (1.9ms) rollback transaction
859
+  (0.1ms) begin transaction
860
+  (0.1ms) SAVEPOINT active_record_1
861
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
862
+ Binary data inserted for `string` type on column `encrypted_password`
863
+ SQL (0.6ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:10:12 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$/Na9mO36le1h3J.W6.vft.ywCLGNHxojFt5PmTtRMhO4qMaC8dIBi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:10:12 UTC +00:00]]
864
+  (0.0ms) RELEASE SAVEPOINT active_record_1
865
+  (0.0ms) SAVEPOINT active_record_1
866
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:10:12 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:10:12 UTC +00:00]]
867
+  (0.0ms) RELEASE SAVEPOINT active_record_1
868
+  (0.0ms) SAVEPOINT active_record_1
869
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
870
+ SQL (0.2ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:10:12 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:10:12 UTC +00:00]]
871
+  (0.0ms) RELEASE SAVEPOINT active_record_1
872
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
873
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:10:12 -0400
874
+  (0.0ms) SAVEPOINT active_record_1
875
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:10:12.023229', "current_sign_in_at" = '2013-09-04 00:10:12.023229', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:10:12.023627' WHERE "admin_users"."id" = 1
876
+  (0.0ms) RELEASE SAVEPOINT active_record_1
877
+ Processing by Admin::PostsController#show as HTML
878
+ Parameters: {"category_id"=>"1", "id"=>"1"}
879
+ Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
880
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
881
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
882
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
883
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (23.7ms)
884
+ Completed 200 OK in 33ms (Views: 30.2ms | ActiveRecord: 0.3ms)
885
+  (0.6ms) rollback transaction
886
+ Connecting to database specified by database.yml
887
+  (0.1ms) begin transaction
888
+  (0.1ms) SAVEPOINT active_record_1
889
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
890
+ Binary data inserted for `string` type on column `encrypted_password`
891
+ SQL (43.9ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$G3Vukvuw6A4wfFIH2TQI.eDkrVzIs9b9aMrpEqAGT7QsGYOTl6EJK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00]]
892
+  (0.0ms) RELEASE SAVEPOINT active_record_1
893
+  (0.0ms) SAVEPOINT active_record_1
894
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00], ["name", "Category 1"], ["updated_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00]]
895
+  (0.0ms) RELEASE SAVEPOINT active_record_1
896
+  (0.1ms) SAVEPOINT active_record_1
897
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
898
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00]]
899
+  (0.0ms) RELEASE SAVEPOINT active_record_1
900
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
901
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:11:02 -0400
902
+  (0.1ms) SAVEPOINT active_record_1
903
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:11:02.275189', "current_sign_in_at" = '2013-09-04 00:11:02.275189', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:11:02.275938' WHERE "admin_users"."id" = 1
904
+  (0.0ms) RELEASE SAVEPOINT active_record_1
905
+ Processing by Admin::PostsController#show as HTML
906
+ Parameters: {"category_id"=>"1", "id"=>"1"}
907
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
908
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
909
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
910
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
911
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (17.7ms)
912
+ Completed 200 OK in 30ms (Views: 23.4ms | ActiveRecord: 0.4ms)
913
+  (1.9ms) rollback transaction
914
+  (0.1ms) begin transaction
915
+  (0.0ms) SAVEPOINT active_record_1
916
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
917
+ Binary data inserted for `string` type on column `encrypted_password`
918
+ SQL (0.4ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$3e/QyX8wbjGPY9rFbwrGj.G0cqL.ozJOgM14a8EN5KqBmVrb4bLkG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00]]
919
+  (0.0ms) RELEASE SAVEPOINT active_record_1
920
+  (0.1ms) SAVEPOINT active_record_1
921
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00], ["name", "Category 2"], ["updated_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00]]
922
+  (0.0ms) RELEASE SAVEPOINT active_record_1
923
+  (0.1ms) SAVEPOINT active_record_1
924
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
925
+ SQL (0.2ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Wed, 04 Sep 2013 00:11:02 UTC +00:00]]
926
+  (0.0ms) RELEASE SAVEPOINT active_record_1
927
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
928
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:11:02 -0400
929
+  (0.0ms) SAVEPOINT active_record_1
930
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-04 00:11:02.336229', "current_sign_in_at" = '2013-09-04 00:11:02.336229', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-04 00:11:02.336664' WHERE "admin_users"."id" = 1
931
+  (0.0ms) RELEASE SAVEPOINT active_record_1
932
+ Processing by Admin::PostsController#show as HTML
933
+ Parameters: {"category_id"=>"1", "id"=>"1"}
934
+ Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
935
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
936
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
937
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
938
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (15.5ms)
939
+ Completed 200 OK in 19ms (Views: 16.0ms | ActiveRecord: 0.2ms)
940
+  (0.5ms) rollback transaction
941
+ Connecting to database specified by database.yml
942
+  (0.1ms) begin transaction
943
+  (0.1ms) SAVEPOINT active_record_1
944
+ AdminUser Exists (0.4ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
945
+ Binary data inserted for `string` type on column `encrypted_password`
946
+ SQL (4.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$rlPLwgTgqzFWEhZo91VhreBHRfXkvwJAO7LQiuJJ41JhND/fP8SN."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00]]
947
+  (0.1ms) RELEASE SAVEPOINT active_record_1
948
+  (0.0ms) SAVEPOINT active_record_1
949
+ SQL (0.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00]]
950
+  (0.1ms) RELEASE SAVEPOINT active_record_1
951
+  (0.1ms) SAVEPOINT active_record_1
952
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
953
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00]]
954
+  (0.0ms) RELEASE SAVEPOINT active_record_1
955
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
956
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-06 22:49:41 -0400
957
+  (0.1ms) SAVEPOINT active_record_1
958
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-07 02:49:41.333791', "current_sign_in_at" = '2013-09-07 02:49:41.333791', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-07 02:49:41.334752' WHERE "admin_users"."id" = 1
959
+  (0.0ms) RELEASE SAVEPOINT active_record_1
960
+ Processing by Admin::PostsController#show as HTML
961
+ Parameters: {"category_id"=>"1", "id"=>"1"}
962
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
963
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
964
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
965
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
966
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (21.5ms)
967
+ Completed 200 OK in 83ms (Views: 74.5ms | ActiveRecord: 0.4ms)
968
+  (1.2ms) rollback transaction
969
+  (0.1ms) begin transaction
970
+  (0.0ms) SAVEPOINT active_record_1
971
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
972
+ Binary data inserted for `string` type on column `encrypted_password`
973
+ SQL (0.4ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$NoW802eduKTFAbyewpFt5uzgGT/vzUnSSErS/xuudS14GXbyyYrGa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00]]
974
+  (0.0ms) RELEASE SAVEPOINT active_record_1
975
+  (0.0ms) SAVEPOINT active_record_1
976
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00]]
977
+  (0.0ms) RELEASE SAVEPOINT active_record_1
978
+  (0.0ms) SAVEPOINT active_record_1
979
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
980
+ SQL (0.2ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Sat, 07 Sep 2013 02:49:41 UTC +00:00]]
981
+  (0.0ms) RELEASE SAVEPOINT active_record_1
982
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
983
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-06 22:49:41 -0400
984
+  (0.0ms) SAVEPOINT active_record_1
985
+  (0.1ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-07 02:49:41.454794', "current_sign_in_at" = '2013-09-07 02:49:41.454794', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-07 02:49:41.455281' WHERE "admin_users"."id" = 1
986
+  (0.0ms) RELEASE SAVEPOINT active_record_1
987
+ Processing by Admin::PostsController#show as HTML
988
+ Parameters: {"category_id"=>"1", "id"=>"1"}
989
+ Category Load (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
990
+ Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
991
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
992
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
993
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (14.3ms)
994
+ Completed 200 OK in 18ms (Views: 15.3ms | ActiveRecord: 0.2ms)
995
+  (0.5ms) rollback transaction
996
+ Connecting to database specified by database.yml
997
+  (0.1ms) begin transaction
998
+  (0.1ms) SAVEPOINT active_record_1
999
+ AdminUser Exists (0.5ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1000
+ Binary data inserted for `string` type on column `encrypted_password`
1001
+ SQL (4.6ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:05:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$xhF5Eu6UyoQJnuk6O/FN..ND.ZUXH7P52CiK3Hae7DDSxN/kPx4Xe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:05:33 UTC +00:00]]
1002
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1003
+  (0.1ms) SAVEPOINT active_record_1
1004
+ SQL (0.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:05:33 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:05:33 UTC +00:00]]
1005
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1006
+  (0.1ms) SAVEPOINT active_record_1
1007
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1008
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:05:33 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:05:33 UTC +00:00]]
1009
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1010
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1011
+  (1.0ms) rollback transaction
1012
+ Connecting to database specified by database.yml
1013
+  (0.1ms) begin transaction
1014
+  (0.1ms) SAVEPOINT active_record_1
1015
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1016
+ Binary data inserted for `string` type on column `encrypted_password`
1017
+ SQL (1.8ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:06:19 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$84StaYPE.EwCrnCZ0HbgKuWz2GVvoOQyd9noIzrwZUk/bC77G0Uc2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:06:19 UTC +00:00]]
1018
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1019
+  (0.1ms) SAVEPOINT active_record_1
1020
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:06:19 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:06:19 UTC +00:00]]
1021
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1022
+  (0.1ms) SAVEPOINT active_record_1
1023
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1024
+ SQL (0.4ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:06:19 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:06:19 UTC +00:00]]
1025
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1026
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1027
+  (1.9ms) rollback transaction
1028
+ Connecting to database specified by database.yml
1029
+  (0.1ms) begin transaction
1030
+  (0.1ms) SAVEPOINT active_record_1
1031
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1032
+ Binary data inserted for `string` type on column `encrypted_password`
1033
+ SQL (1.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:07:01 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$s9EKXRxkn6U.2ZV1ZHEN6./935vxjycXSwHnOOsf/P0TNRZslU01G"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:07:01 UTC +00:00]]
1034
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1035
+  (0.0ms) SAVEPOINT active_record_1
1036
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:07:01 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:07:01 UTC +00:00]]
1037
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1038
+  (0.1ms) SAVEPOINT active_record_1
1039
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1040
+ SQL (0.3ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:07:01 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:07:01 UTC +00:00]]
1041
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1042
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1043
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:07:02 -0400
1044
+  (0.5ms) begin transaction
1045
+  (0.3ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:07:02.885893', "current_sign_in_at" = '2013-09-08 10:07:02.885893', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:07:02.887932' WHERE "admin_users"."id" = 1
1046
+ SQLite3::BusyException: database is locked: UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:07:02.885893', "current_sign_in_at" = '2013-09-08 10:07:02.885893', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:07:02.887932' WHERE "admin_users"."id" = 1
1047
+  (0.0ms) rollback transaction
1048
+  (0.3ms) rollback transaction
1049
+ Connecting to database specified by database.yml
1050
+  (0.1ms) begin transaction
1051
+  (0.1ms) SAVEPOINT active_record_1
1052
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1053
+ Binary data inserted for `string` type on column `encrypted_password`
1054
+ SQL (1.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:07:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$pVzEvvwoqjqTaxfsxRhZB.j3gvH1bBa9NMoei8WZhl13PbFy/qvU6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:07:56 UTC +00:00]]
1055
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1056
+  (0.0ms) SAVEPOINT active_record_1
1057
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:07:56 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:07:56 UTC +00:00]]
1058
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1059
+  (0.1ms) SAVEPOINT active_record_1
1060
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1061
+ SQL (0.2ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:07:56 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:07:56 UTC +00:00]]
1062
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1063
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1064
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:07:57 -0400
1065
+  (0.3ms) begin transaction
1066
+  (0.2ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:07:57.340043', "current_sign_in_at" = '2013-09-08 10:07:57.340043', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:07:57.341610' WHERE "admin_users"."id" = 1
1067
+ SQLite3::BusyException: database is locked: UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:07:57.340043', "current_sign_in_at" = '2013-09-08 10:07:57.340043', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:07:57.341610' WHERE "admin_users"."id" = 1
1068
+  (0.0ms) rollback transaction
1069
+  (0.1ms) SELECT COUNT(*) FROM "categories" 
1070
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
1071
+  (0.1ms) SELECT COUNT(*) FROM "posts" WHERE "posts"."category_id" = 1
1072
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
1073
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1074
+  (0.3ms) rollback transaction
1075
+ Connecting to database specified by database.yml
1076
+  (0.5ms) select sqlite_version(*)
1077
+  (1.1ms) CREATE TABLE "active_admin_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" varchar(255) NOT NULL, "resource_type" varchar(255) NOT NULL, "author_id" integer, "author_type" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "namespace" varchar(255))
1078
+  (0.8ms) CREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")
1079
+  (0.9ms) CREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")
1080
+  (1.0ms) CREATE INDEX "index_admin_notes_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")
1081
+  (1.2ms) CREATE TABLE "admin_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1082
+  (0.9ms) CREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")
1083
+  (0.9ms) CREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")
1084
+  (1.0ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
1085
+  (1.1ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) NOT NULL, "body" text NOT NULL, "status" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "category_id" integer)
1086
+  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
1087
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1088
+  (0.1ms) SELECT version FROM "schema_migrations"
1089
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130829000200')
1090
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130817004304')
1091
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130817004306')
1092
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130817004307')
1093
+  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130817005638')
1094
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1095
+ AdminUser Exists (0.3ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1
1096
+  (0.1ms) begin transaction
1097
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1
1098
+ Binary data inserted for `string` type on column `encrypted_password`
1099
+ SQL (1.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:13:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin@example.com"], ["encrypted_password", "$2a$04$RtQ.sr1gknPMhc27Ch0adulSgn741uyg6tI80D6dUVAGuroCIw15."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:13:09 UTC +00:00]]
1100
+  (4.7ms) commit transaction
1101
+ Connecting to database specified by database.yml
1102
+  (0.1ms) begin transaction
1103
+  (0.1ms) SAVEPOINT active_record_1
1104
+ AdminUser Exists (0.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1105
+ Binary data inserted for `string` type on column `encrypted_password`
1106
+ SQL (1.7ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:13:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$HR796UholfDCHlfPcvcI9u7nHvWmkMhNERuNAseu7jz5tdewYOUye"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:13:20 UTC +00:00]]
1107
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1108
+  (0.1ms) SAVEPOINT active_record_1
1109
+ SQL (0.6ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:13:20 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:13:20 UTC +00:00]]
1110
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1111
+  (0.1ms) SAVEPOINT active_record_1
1112
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1113
+ SQL (0.5ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:13:20 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:13:20 UTC +00:00]]
1114
+  (0.0ms) RELEASE SAVEPOINT active_record_1
1115
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1116
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:13:21 -0400
1117
+  (0.3ms) begin transaction
1118
+  (0.2ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:13:21.045143', "current_sign_in_at" = '2013-09-08 10:13:21.045143', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:13:21.046582' WHERE "admin_users"."id" = 2
1119
+ SQLite3::BusyException: database is locked: UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:13:21.045143', "current_sign_in_at" = '2013-09-08 10:13:21.045143', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:13:21.046582' WHERE "admin_users"."id" = 2
1120
+  (0.0ms) rollback transaction
1121
+  (0.4ms) rollback transaction
1122
+ Connecting to database specified by database.yml
1123
+  (0.1ms) begin transaction
1124
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1125
+ Binary data inserted for `string` type on column `encrypted_password`
1126
+ SQL (1.3ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:19:53 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$dgPqNdooy58Rid15aDpx9e1x5cQCMoklVvUq8H3XRNnvgWhrLWGOa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:19:53 UTC +00:00]]
1127
+  (0.8ms) commit transaction
1128
+  (0.1ms) begin transaction
1129
+ SQL (0.5ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sun, 08 Sep 2013 10:19:53 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:19:53 UTC +00:00]]
1130
+  (0.8ms) commit transaction
1131
+  (0.1ms) begin transaction
1132
+ Post Exists (0.1ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1133
+ SQL (0.4ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:19:54 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:19:54 UTC +00:00]]
1134
+  (0.7ms) commit transaction
1135
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1136
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:19:54 -0400
1137
+  (0.3ms) begin transaction
1138
+  (0.3ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:19:54.716714', "current_sign_in_at" = '2013-09-08 10:19:54.716714', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:19:54.718151' WHERE "admin_users"."id" = 2
1139
+  (0.9ms) commit transaction
1140
+ Processing by Admin::PostsController#show as HTML
1141
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1142
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
1143
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
1144
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1145
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1146
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.2ms)
1147
+ Completed 200 OK in 40ms (Views: 29.1ms | ActiveRecord: 0.9ms)
1148
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:19:54 -0400
1149
+ Compiled active_admin.css (806ms) (pid 68684)
1150
+ Served asset /active_admin.css - 200 OK (871ms)
1151
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:19:55 -0400
1152
+ Compiled jquery.js (3ms) (pid 68684)
1153
+ Compiled jquery-ui.js (5ms) (pid 68684)
1154
+ Compiled jquery_ujs.js (0ms) (pid 68684)
1155
+ Compiled active_admin/lib/namespace.js (123ms) (pid 68684)
1156
+ Compiled active_admin/components/jquery.aa.checkbox-toggler.js (132ms) (pid 68684)
1157
+ Compiled active_admin/components/jquery.aa.dropdown-menu.js (202ms) (pid 68684)
1158
+ Compiled active_admin/components/jquery.aa.popover.js (143ms) (pid 68684)
1159
+ Compiled active_admin/components/jquery.aa.table-checkbox-toggler.js (101ms) (pid 68684)
1160
+ Compiled active_admin/pages/application.js (92ms) (pid 68684)
1161
+ Compiled active_admin/pages/batch_actions.js (161ms) (pid 68684)
1162
+ Compiled active_admin/application.js (985ms) (pid 68684)
1163
+ Compiled active_admin/base.js (1120ms) (pid 68684)
1164
+ Compiled active_admin.js (1126ms) (pid 68684)
1165
+ Served asset /active_admin.js - 200 OK (1142ms)
1166
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:19:56 -0400
1167
+ Compiled active_admin/print.css (57ms) (pid 68684)
1168
+ Served asset /active_admin/print.css - 200 OK (113ms)
1169
+ Connecting to database specified by database.yml
1170
+  (0.1ms) begin transaction
1171
+ AdminUser Exists (0.2ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1172
+  (0.1ms) rollback transaction
1173
+ Connecting to database specified by database.yml
1174
+ Connecting to database specified by database.yml
1175
+  (9.2ms) CREATE TABLE "active_admin_comments" ("id" serial primary key, "resource_id" character varying(255) NOT NULL, "resource_type" character varying(255) NOT NULL, "author_id" integer, "author_type" character varying(255), "body" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "namespace" character varying(255)) 
1176
+  (1.2ms) CREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")
1177
+  (1.0ms) CREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")
1178
+  (0.9ms) CREATE INDEX "index_admin_notes_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")
1179
+  (3.6ms) CREATE TABLE "admin_users" ("id" serial primary key, "email" character varying(255) DEFAULT '' NOT NULL, "encrypted_password" character varying(255) DEFAULT '' NOT NULL, "reset_password_token" character varying(255), "reset_password_sent_at" timestamp, "remember_created_at" timestamp, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" timestamp, "last_sign_in_at" timestamp, "current_sign_in_ip" character varying(255), "last_sign_in_ip" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
1180
+  (0.9ms) CREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")
1181
+  (1.3ms) CREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")
1182
+  (2.7ms) CREATE TABLE "categories" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
1183
+  (4.1ms) CREATE TABLE "posts" ("id" serial primary key, "title" character varying(255) NOT NULL, "body" text NOT NULL, "status" character varying(255) NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "category_id" integer) 
1184
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
1185
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1186
+  (0.3ms) SELECT version FROM "schema_migrations"
1187
+  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20130829000200')
1188
+  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130817004304')
1189
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130817004306')
1190
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130817004307')
1191
+  (0.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130817005638')
1192
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1193
+ AdminUser Exists (0.7ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1
1194
+  (0.2ms) BEGIN
1195
+ AdminUser Exists (0.3ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1
1196
+ SQL (1.9ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:23:39 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "admin@example.com"], ["encrypted_password", "$2a$04$UlUQAnmhMIzr8FHgNB4sJ.MoK0G6mlAI7WyYi/Q/gQ83teMcrqP1u"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:23:39 UTC +00:00]]
1197
+  (0.3ms) COMMIT
1198
+ Connecting to database specified by database.yml
1199
+  (0.5ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL
1200
+  (1.2ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1201
+  (14.2ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1202
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1203
+  (0.2ms) BEGIN
1204
+ AdminUser Exists (0.7ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1205
+ SQL (1.9ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:23:46 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$CkJ7tiapQ7hiZ1rp8QzKtud9D4lwPf/0V/dAwKSaGhAjt2it9JeKS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:23:46 UTC +00:00]]
1206
+  (0.4ms) COMMIT
1207
+  (0.2ms) BEGIN
1208
+ SQL (0.8ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:23:46 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:23:46 UTC +00:00]]
1209
+  (0.2ms) COMMIT
1210
+  (0.2ms) BEGIN
1211
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1212
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:23:46 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:23:46 UTC +00:00]]
1213
+  (0.2ms) COMMIT
1214
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1215
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:23:47 -0400
1216
+  (0.2ms) BEGIN
1217
+  (0.7ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:23:47.267166', "current_sign_in_at" = '2013-09-08 10:23:47.267166', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:23:47.268451' WHERE "admin_users"."id" = 1
1218
+  (0.5ms) COMMIT
1219
+ Processing by Admin::PostsController#show as HTML
1220
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1221
+ Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1222
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1223
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1224
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1225
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (19.3ms)
1226
+ Completed 200 OK in 37ms (Views: 24.7ms | ActiveRecord: 4.2ms)
1227
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:23:47 -0400
1228
+ Served asset /active_admin.css - 200 OK (9ms)
1229
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:23:47 -0400
1230
+ Served asset /active_admin.js - 200 OK (16ms)
1231
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:23:47 -0400
1232
+ Served asset /active_admin/print.css - 200 OK (2ms)
1233
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1234
+  (12.1ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1235
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1236
+ Connecting to database specified by database.yml
1237
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1238
+  (1.2ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1239
+  (11.7ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1240
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1241
+  (0.1ms) BEGIN
1242
+ AdminUser Exists (0.6ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1243
+ SQL (2.4ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$DN.cRdUeEEGMEGymg3oP.eipu63KaaKegy8Uhiv5Y8Kj1nVPz1Cl2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00]]
1244
+  (0.3ms) COMMIT
1245
+  (0.1ms) BEGIN
1246
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00]]
1247
+  (0.3ms) COMMIT
1248
+  (0.2ms) BEGIN
1249
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1250
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00]]
1251
+  (0.3ms) COMMIT
1252
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1253
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:26:03 -0400
1254
+  (0.2ms) BEGIN
1255
+  (0.5ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:26:03.626121', "current_sign_in_at" = '2013-09-08 10:26:03.626121', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:26:03.627111' WHERE "admin_users"."id" = 1
1256
+  (0.4ms) COMMIT
1257
+ Processing by Admin::PostsController#show as HTML
1258
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1259
+ Category Load (0.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1260
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1261
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1262
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1263
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (17.3ms)
1264
+ Completed 200 OK in 30ms (Views: 22.7ms | ActiveRecord: 1.6ms)
1265
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1266
+  (9.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1267
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1268
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1269
+  (10.2ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1270
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1271
+  (0.1ms) BEGIN
1272
+ AdminUser Exists (0.6ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
1273
+ SQL (1.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$hCoprD4fu.WkcREeGGfK1.s0TFggPW0Q8dGv6cqpUnR2z0GjH2dja"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00]]
1274
+  (0.3ms) COMMIT
1275
+  (0.1ms) BEGIN
1276
+ SQL (0.8ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00], ["name", "Category 2"], ["updated_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00]]
1277
+  (0.3ms) COMMIT
1278
+  (0.1ms) BEGIN
1279
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
1280
+ SQL (1.0ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Sun, 08 Sep 2013 10:26:03 UTC +00:00]]
1281
+  (0.3ms) COMMIT
1282
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1283
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:26:03 -0400
1284
+  (0.1ms) BEGIN
1285
+  (0.5ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:26:03.780094', "current_sign_in_at" = '2013-09-08 10:26:03.780094', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:26:03.780905' WHERE "admin_users"."id" = 1
1286
+  (0.3ms) COMMIT
1287
+ Processing by Admin::PostsController#show as HTML
1288
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1289
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1290
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1291
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1292
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1293
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (24.9ms)
1294
+ Completed 200 OK in 32ms (Views: 25.6ms | ActiveRecord: 1.6ms)
1295
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1296
+  (10.4ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1297
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1298
+ Connecting to database specified by database.yml
1299
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1300
+  (1.2ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1301
+  (11.5ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1302
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1303
+  (0.1ms) BEGIN
1304
+ AdminUser Exists (0.6ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1305
+ SQL (2.3ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:28:26 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$MpiDnW62U5LDdPodkAGOgevLUWYauGcJW24LDpgAi/vH67VjcVh3e"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:28:26 UTC +00:00]]
1306
+  (0.4ms) COMMIT
1307
+  (0.2ms) BEGIN
1308
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:28:26 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:28:26 UTC +00:00]]
1309
+  (0.3ms) COMMIT
1310
+  (0.2ms) BEGIN
1311
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1312
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:28:26 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:28:26 UTC +00:00]]
1313
+  (0.3ms) COMMIT
1314
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1315
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:28:27 -0400
1316
+  (0.2ms) BEGIN
1317
+  (0.7ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:28:27.405427', "current_sign_in_at" = '2013-09-08 10:28:27.405427', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:28:27.406684' WHERE "admin_users"."id" = 1
1318
+  (0.4ms) COMMIT
1319
+ Processing by Admin::PostsController#show as HTML
1320
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1321
+ Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1322
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1323
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1324
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1325
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.2ms)
1326
+ Completed 200 OK in 37ms (Views: 25.8ms | ActiveRecord: 3.9ms)
1327
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:28:27 -0400
1328
+ Served asset /active_admin.css - 200 OK (9ms)
1329
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:28:27 -0400
1330
+ Served asset /active_admin.js - 200 OK (59ms)
1331
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:28:27 -0400
1332
+ Served asset /active_admin/print.css - 200 OK (2ms)
1333
+  (0.3ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1334
+  (12.1ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1335
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1336
+ Connecting to database specified by database.yml
1337
+ Connecting to database specified by database.yml
1338
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1339
+  (1.1ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1340
+  (11.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1341
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1342
+  (0.1ms) BEGIN
1343
+ AdminUser Exists (1.0ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1344
+ SQL (2.9ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:29:27 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$/qy96.Ow0VWR0m35jvUsEuNoMD0TtfCXjGLR.GyKTgCOY5n61ly8q"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:29:27 UTC +00:00]]
1345
+  (0.3ms) COMMIT
1346
+  (0.1ms) BEGIN
1347
+ SQL (1.2ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:29:27 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:29:27 UTC +00:00]]
1348
+  (0.3ms) COMMIT
1349
+  (0.1ms) BEGIN
1350
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1351
+ SQL (0.9ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:29:27 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:29:27 UTC +00:00]]
1352
+  (0.3ms) COMMIT
1353
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1354
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:29:28 -0400
1355
+  (0.2ms) BEGIN
1356
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:29:28.639120', "current_sign_in_at" = '2013-09-08 10:29:28.639120', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:29:28.640573' WHERE "admin_users"."id" = 1
1357
+  (0.5ms) COMMIT
1358
+ Processing by Admin::PostsController#show as HTML
1359
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1360
+ Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1361
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1362
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1363
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1364
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (21.1ms)
1365
+ Completed 200 OK in 39ms (Views: 27.2ms | ActiveRecord: 3.9ms)
1366
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:29:28 -0400
1367
+ Served asset /active_admin.js - 200 OK (92ms)
1368
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:29:28 -0400
1369
+ Served asset /active_admin.css - 200 OK (13ms)
1370
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:29:28 -0400
1371
+ Served asset /active_admin/print.css - 200 OK (2ms)
1372
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1373
+  (11.7ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1374
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1375
+ Connecting to database specified by database.yml
1376
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1377
+  (1.1ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1378
+  (10.7ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1379
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1380
+  (0.1ms) BEGIN
1381
+ AdminUser Exists (0.6ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1382
+ SQL (2.5ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:31:28 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$zgpw/rYQYmBpy4fgm4Gnc.HAzFs7dhap9RIWjPCxFgX1iQvJT5GJ6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:31:28 UTC +00:00]]
1383
+  (0.3ms) COMMIT
1384
+  (0.2ms) BEGIN
1385
+ SQL (1.0ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:31:28 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:31:28 UTC +00:00]]
1386
+  (0.3ms) COMMIT
1387
+  (0.2ms) BEGIN
1388
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1389
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:31:28 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:31:28 UTC +00:00]]
1390
+  (0.2ms) COMMIT
1391
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1392
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:31:29 -0400
1393
+  (0.2ms) BEGIN
1394
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:31:29.035279', "current_sign_in_at" = '2013-09-08 10:31:29.035279', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:31:29.036490' WHERE "admin_users"."id" = 1
1395
+  (0.4ms) COMMIT
1396
+ Processing by Admin::PostsController#show as HTML
1397
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1398
+ Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1399
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1400
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1401
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1402
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (19.7ms)
1403
+ Completed 200 OK in 37ms (Views: 25.4ms | ActiveRecord: 4.0ms)
1404
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:31:29 -0400
1405
+ Served asset /active_admin.css - 200 OK (9ms)
1406
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:31:29 -0400
1407
+ Served asset /active_admin.js - 200 OK (16ms)
1408
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:31:29 -0400
1409
+ Served asset /active_admin/print.css - 200 OK (2ms)
1410
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1411
+  (8.6ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1412
+  (0.9ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1413
+ Connecting to database specified by database.yml
1414
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1415
+  (1.2ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1416
+  (11.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1417
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1418
+  (0.1ms) BEGIN
1419
+ AdminUser Exists (0.6ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1420
+ SQL (2.4ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:32:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$1awKYLgT6LgkYR33Lmwa/u6A7Em5SwsdlVag.WM.So0eK4QBis2MK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:32:50 UTC +00:00]]
1421
+  (0.4ms) COMMIT
1422
+  (0.1ms) BEGIN
1423
+ SQL (1.0ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:32:50 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:32:50 UTC +00:00]]
1424
+  (0.3ms) COMMIT
1425
+  (0.2ms) BEGIN
1426
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1427
+ SQL (0.9ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:32:50 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:32:50 UTC +00:00]]
1428
+  (0.3ms) COMMIT
1429
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1430
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:32:51 -0400
1431
+  (0.2ms) BEGIN
1432
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:32:51.495699', "current_sign_in_at" = '2013-09-08 10:32:51.495699', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:32:51.496934' WHERE "admin_users"."id" = 1
1433
+  (0.5ms) COMMIT
1434
+ Processing by Admin::PostsController#show as HTML
1435
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1436
+ Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1437
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1438
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1439
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1440
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.4ms)
1441
+ Completed 200 OK in 38ms (Views: 26.1ms | ActiveRecord: 4.4ms)
1442
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:32:51 -0400
1443
+ Served asset /active_admin.css - 200 OK (10ms)
1444
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:32:51 -0400
1445
+ Served asset /active_admin.js - 200 OK (13ms)
1446
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:32:51 -0400
1447
+ Served asset /active_admin/print.css - 200 OK (2ms)
1448
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1449
+  (10.8ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1450
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1451
+ Connecting to database specified by database.yml
1452
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1453
+  (1.2ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1454
+  (10.7ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1455
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1456
+  (0.1ms) BEGIN
1457
+ AdminUser Exists (0.7ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1458
+ SQL (2.6ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:33:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$h6Mhz3JoWLxGqk0B.hsmFeEVRtiD5/bh1oODjCBXr7Ua4sDkvNkoa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:33:03 UTC +00:00]]
1459
+  (0.3ms) COMMIT
1460
+  (0.1ms) BEGIN
1461
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:33:03 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:33:03 UTC +00:00]]
1462
+  (0.3ms) COMMIT
1463
+  (0.2ms) BEGIN
1464
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1465
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:33:03 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:33:03 UTC +00:00]]
1466
+  (0.2ms) COMMIT
1467
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1468
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:33:03 -0400
1469
+  (0.2ms) BEGIN
1470
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:33:03.876734', "current_sign_in_at" = '2013-09-08 10:33:03.876734', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:33:03.878079' WHERE "admin_users"."id" = 1
1471
+  (0.5ms) COMMIT
1472
+ Processing by Admin::PostsController#show as HTML
1473
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1474
+ Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1475
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1476
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1477
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1478
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (19.7ms)
1479
+ Completed 200 OK in 37ms (Views: 25.1ms | ActiveRecord: 4.0ms)
1480
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:33:03 -0400
1481
+ Served asset /active_admin.css - 200 OK (9ms)
1482
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:33:04 -0400
1483
+ Served asset /active_admin.js - 200 OK (12ms)
1484
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:33:04 -0400
1485
+ Served asset /active_admin/print.css - 200 OK (2ms)
1486
+  (0.3ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1487
+  (12.8ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1488
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1489
+ Connecting to database specified by database.yml
1490
+  (0.5ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1491
+  (1.2ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1492
+  (10.8ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1493
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1494
+  (0.1ms) BEGIN
1495
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1496
+ SQL (2.8ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:35:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Ir1AxQ19RrqJO0.jk9v1RuMlJRbvKeqL2CeIHOgOhWyNmrXAHLug2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:35:03 UTC +00:00]]
1497
+  (0.3ms) COMMIT
1498
+  (0.1ms) BEGIN
1499
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:35:03 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:35:03 UTC +00:00]]
1500
+  (0.3ms) COMMIT
1501
+  (0.2ms) BEGIN
1502
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1503
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:35:03 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:35:03 UTC +00:00]]
1504
+  (0.2ms) COMMIT
1505
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1506
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:35:03 -0400
1507
+  (0.2ms) BEGIN
1508
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:35:03.973950', "current_sign_in_at" = '2013-09-08 10:35:03.973950', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:35:03.975147' WHERE "admin_users"."id" = 1
1509
+  (0.4ms) COMMIT
1510
+ Processing by Admin::PostsController#show as HTML
1511
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1512
+ Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1513
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1514
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1515
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1516
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (22.2ms)
1517
+ Completed 200 OK in 40ms (Views: 28.0ms | ActiveRecord: 4.0ms)
1518
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:35:04 -0400
1519
+ Served asset /active_admin.css - 200 OK (51ms)
1520
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:35:04 -0400
1521
+ Served asset /active_admin.js - 200 OK (13ms)
1522
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:35:04 -0400
1523
+ Served asset /active_admin/print.css - 200 OK (3ms)
1524
+ Started PUT "/admin/categories/1/posts/1/peer_review" for 127.0.0.1 at 2013-09-08 06:35:04 -0400
1525
+ Processing by Admin::PostsController#peer_review as HTML
1526
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1527
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
1528
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1529
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1530
+ Redirected to http://127.0.0.1:59276/admin/categories/1/posts/1
1531
+ Completed 302 Found in 7ms (ActiveRecord: 1.0ms)
1532
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:35:04 -0400
1533
+ Processing by Admin::PostsController#show as HTML
1534
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1535
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
1536
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1537
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1538
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1539
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1540
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (12.7ms)
1541
+ Completed 200 OK in 17ms (Views: 12.8ms | ActiveRecord: 1.4ms)
1542
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1543
+  (8.4ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1544
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1545
+ Connecting to database specified by database.yml
1546
+  (0.5ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1547
+  (1.1ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1548
+  (9.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1549
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1550
+  (0.1ms) BEGIN
1551
+ AdminUser Exists (0.7ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1552
+ SQL (2.6ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:36:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$f7koPaemRM0rzrM7L07JDe9OHm.kVR1YFcV7ERfhh52q.R0.H6Jla"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:36:55 UTC +00:00]]
1553
+  (0.3ms) COMMIT
1554
+  (0.1ms) BEGIN
1555
+ SQL (1.0ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:36:55 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:36:55 UTC +00:00]]
1556
+  (0.3ms) COMMIT
1557
+  (0.2ms) BEGIN
1558
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1559
+ SQL (0.7ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:36:55 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:36:55 UTC +00:00]]
1560
+  (0.2ms) COMMIT
1561
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
1562
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:36:55 -0400
1563
+  (0.2ms) BEGIN
1564
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:36:55.997112', "current_sign_in_at" = '2013-09-08 10:36:55.997112', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:36:55.998533' WHERE "admin_users"."id" = 1
1565
+  (0.5ms) COMMIT
1566
+ Processing by Admin::PostsController#show as HTML
1567
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1568
+ Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1569
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1570
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1571
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1572
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (22.2ms)
1573
+ Completed 200 OK in 39ms (Views: 27.7ms | ActiveRecord: 4.0ms)
1574
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:36:56 -0400
1575
+ Served asset /active_admin.css - 200 OK (54ms)
1576
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:36:56 -0400
1577
+ Served asset /active_admin.js - 200 OK (14ms)
1578
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:36:56 -0400
1579
+ Served asset /active_admin/print.css - 200 OK (2ms)
1580
+ Started PUT "/admin/categories/1/posts/1/peer_review" for 127.0.0.1 at 2013-09-08 06:36:56 -0400
1581
+ Processing by Admin::PostsController#peer_review as HTML
1582
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1583
+ AdminUser Load (7.0ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
1584
+ Category Load (1.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1585
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1586
+ Redirected to http://127.0.0.1:59297/admin/categories/1/posts/1
1587
+ Completed 302 Found in 15ms (ActiveRecord: 8.9ms)
1588
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:36:56 -0400
1589
+ Processing by Admin::PostsController#show as HTML
1590
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1591
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
1592
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1593
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1594
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1595
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1596
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (60.5ms)
1597
+ Completed 200 OK in 65ms (Views: 60.6ms | ActiveRecord: 1.2ms)
1598
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1599
+  (12.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1600
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1601
+ Connecting to database specified by database.yml
1602
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1603
+  (1.1ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1604
+  (11.1ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1605
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1606
+  (0.1ms) BEGIN
1607
+ AdminUser Exists (0.6ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1608
+ SQL (2.4ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:44:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$JQAGT7OYOwLPU.CXKrp6AOFo6Nu205ql1MArIklHcrc8jVD9Yfu16"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Sun, 08 Sep 2013 10:44:32 UTC +00:00]]
1609
+  (0.3ms) COMMIT
1610
+  (0.1ms) BEGIN
1611
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sun, 08 Sep 2013 10:44:32 UTC +00:00], ["name", "Category 1"], ["updated_at", Sun, 08 Sep 2013 10:44:32 UTC +00:00]]
1612
+  (0.3ms) COMMIT
1613
+  (0.1ms) BEGIN
1614
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1615
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sun, 08 Sep 2013 10:44:32 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sun, 08 Sep 2013 10:44:32 UTC +00:00]]
1616
+  (0.2ms) COMMIT
1617
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:44:33 -0400
1618
+  (0.2ms) BEGIN
1619
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-09-08 10:44:33.657176', "current_sign_in_at" = '2013-09-08 10:44:33.657176', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-09-08 10:44:33.658486' WHERE "admin_users"."id" = 1
1620
+  (0.4ms) COMMIT
1621
+ Processing by Admin::PostsController#show as HTML
1622
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1623
+ Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1624
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1625
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1626
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1627
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (22.4ms)
1628
+ Completed 200 OK in 48ms (Views: 28.1ms | ActiveRecord: 4.1ms)
1629
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-09-08 06:44:33 -0400
1630
+ Served asset /active_admin.css - 200 OK (54ms)
1631
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-09-08 06:44:33 -0400
1632
+ Served asset /active_admin.js - 200 OK (12ms)
1633
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-09-08 06:44:33 -0400
1634
+ Served asset /active_admin/print.css - 200 OK (2ms)
1635
+  (0.1ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1636
+  (10.3ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1637
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1638
+ Connecting to database specified by database.yml
1639
+  (2.8ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1640
+  (7.5ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1641
+  (15.2ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1642
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1643
+  (0.1ms) BEGIN
1644
+ AdminUser Exists (1.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1645
+ SQL (3.6ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:07:50 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$S3pSZoM4ED/v4tleUOA3JOJ6hA2FdDWEzTcNTSep7IPvzadILOiM6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 25 Oct 2013 23:07:50 UTC +00:00]]
1646
+  (0.2ms) COMMIT
1647
+  (0.2ms) BEGIN
1648
+ SQL (0.8ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:07:50 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:07:50 UTC +00:00]]
1649
+  (0.4ms) COMMIT
1650
+  (0.2ms) BEGIN
1651
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1652
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:07:50 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:07:50 UTC +00:00]]
1653
+  (0.3ms) COMMIT
1654
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:07:51 -0400
1655
+  (0.2ms) BEGIN
1656
+  (2.2ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:07:51.276329', "current_sign_in_at" = '2013-10-25 23:07:51.276329', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:07:51.278056' WHERE "admin_users"."id" = 1
1657
+  (0.5ms) COMMIT
1658
+ Processing by Admin::PostsController#show as HTML
1659
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1660
+ Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1661
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1662
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1663
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1664
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (24.8ms)
1665
+ Completed 200 OK in 62ms (Views: 34.2ms | ActiveRecord: 4.5ms)
1666
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:07:51 -0400
1667
+ Served asset /active_admin.css - 200 OK (16ms)
1668
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:07:51 -0400
1669
+ Served asset /active_admin.js - 200 OK (88ms)
1670
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:07:51 -0400
1671
+ Served asset /active_admin/print.css - 200 OK (5ms)
1672
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1673
+  (8.7ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1674
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1675
+ Connecting to database specified by database.yml
1676
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1677
+  (1.4ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1678
+  (9.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1679
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1680
+  (0.1ms) BEGIN
1681
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1682
+ SQL (2.8ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:08:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$e5D2bJgwe39.CEQYbJVCheWzCk/d1vx.8DFKMSyq6IFttmfpKQX3S"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Fri, 25 Oct 2013 23:08:09 UTC +00:00]]
1683
+  (0.3ms) COMMIT
1684
+  (0.1ms) BEGIN
1685
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:08:09 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:08:09 UTC +00:00]]
1686
+  (0.3ms) COMMIT
1687
+  (0.1ms) BEGIN
1688
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1689
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:08:09 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:08:09 UTC +00:00]]
1690
+  (0.3ms) COMMIT
1691
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:08:10 -0400
1692
+  (0.1ms) BEGIN
1693
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:08:10.170897', "current_sign_in_at" = '2013-10-25 23:08:10.170897', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:08:10.172242' WHERE "admin_users"."id" = 1
1694
+  (0.4ms) COMMIT
1695
+ Processing by Admin::PostsController#show as HTML
1696
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1697
+ Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1698
+ Post Load (0.9ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1699
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1700
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1701
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (23.9ms)
1702
+ Completed 200 OK in 51ms (Views: 30.2ms | ActiveRecord: 4.5ms)
1703
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:08:10 -0400
1704
+ Served asset /active_admin.css - 200 OK (10ms)
1705
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:08:10 -0400
1706
+ Served asset /active_admin.js - 200 OK (62ms)
1707
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:08:10 -0400
1708
+ Served asset /active_admin/print.css - 200 OK (2ms)
1709
+  (0.3ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1710
+  (11.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1711
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1712
+ Connecting to database specified by database.yml
1713
+  (2.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
1714
+ Migrating to DeviseCreateAdminUsers (20130817004304)
1715
+ Migrating to CreateAdminNotes (20130817004306)
1716
+ Migrating to MoveAdminNotesToComments (20130817004307)
1717
+ Migrating to CreatePosts (20130817005638)
1718
+ Migrating to CreateCategories (20130829000200)
1719
+ Migrating to AddSuperAdminToAdminUsers (20131025231118)
1720
+  (0.2ms) BEGIN
1721
+  (19.3ms) ALTER TABLE "admin_users" ADD COLUMN "super_admin" boolean DEFAULT 'f'
1722
+  (0.9ms) INSERT INTO "schema_migrations" ("version") VALUES ('20131025231118')
1723
+  (0.8ms) COMMIT
1724
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
1725
+ Connecting to database specified by database.yml
1726
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1727
+  (1.2ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1728
+  (9.4ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1729
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1730
+  (0.2ms) BEGIN
1731
+ AdminUser Exists (0.6ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1732
+ SQL (2.5ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:17:48 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$8K3G/jPNHdbJB4SyZc6kpuEedO3s.j9IxIShu.8DzlNdqeVu7Pb6W"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:17:48 UTC +00:00]]
1733
+  (0.3ms) COMMIT
1734
+  (0.1ms) BEGIN
1735
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:17:48 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:17:48 UTC +00:00]]
1736
+  (0.3ms) COMMIT
1737
+  (0.1ms) BEGIN
1738
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1739
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:17:48 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:17:48 UTC +00:00]]
1740
+  (0.4ms) COMMIT
1741
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:17:49 -0400
1742
+  (0.2ms) BEGIN
1743
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:17:49.062903', "current_sign_in_at" = '2013-10-25 23:17:49.062903', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:17:49.064136' WHERE "admin_users"."id" = 1
1744
+  (0.5ms) COMMIT
1745
+ Processing by Admin::PostsController#show as HTML
1746
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1747
+ Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1748
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1749
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1750
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1751
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (22.7ms)
1752
+ Completed 200 OK in 49ms (Views: 28.8ms | ActiveRecord: 4.6ms)
1753
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:17:49 -0400
1754
+ Compiled active_admin.css (780ms) (pid 3430)
1755
+ Served asset /active_admin.css - 200 OK (793ms)
1756
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:17:49 -0400
1757
+ Compiled jquery.js (51ms) (pid 3430)
1758
+ Compiled jquery-ui.js (5ms) (pid 3430)
1759
+ Compiled jquery_ujs.js (0ms) (pid 3430)
1760
+ Compiled active_admin/lib/namespace.js (90ms) (pid 3430)
1761
+ Compiled active_admin/components/jquery.aa.checkbox-toggler.js (162ms) (pid 3430)
1762
+ Compiled active_admin/components/jquery.aa.dropdown-menu.js (150ms) (pid 3430)
1763
+ Compiled active_admin/components/jquery.aa.popover.js (143ms) (pid 3430)
1764
+ Compiled active_admin/components/jquery.aa.table-checkbox-toggler.js (96ms) (pid 3430)
1765
+ Compiled active_admin/pages/application.js (85ms) (pid 3430)
1766
+ Compiled active_admin/pages/batch_actions.js (107ms) (pid 3430)
1767
+ Compiled active_admin/application.js (921ms) (pid 3430)
1768
+ Compiled active_admin/base.js (1044ms) (pid 3430)
1769
+ Compiled active_admin.js (1049ms) (pid 3430)
1770
+ Served asset /active_admin.js - 200 OK (1120ms)
1771
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:17:51 -0400
1772
+ Compiled active_admin/print.css (60ms) (pid 3430)
1773
+ Served asset /active_admin/print.css - 200 OK (65ms)
1774
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1775
+  (10.7ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1776
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1777
+ Connecting to database specified by database.yml
1778
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1779
+  (1.2ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1780
+  (30.5ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1781
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1782
+  (0.1ms) BEGIN
1783
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1784
+ SQL (2.8ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:20:42 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$DebIjn/HMdcoXIdH6sFF3u27tljsDN8Woz.47WJP8jOh5XTEDaiM2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:20:42 UTC +00:00]]
1785
+  (0.4ms) COMMIT
1786
+  (0.1ms) BEGIN
1787
+ SQL (1.0ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:20:42 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:20:42 UTC +00:00]]
1788
+  (0.3ms) COMMIT
1789
+  (0.1ms) BEGIN
1790
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1791
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:20:42 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:20:42 UTC +00:00]]
1792
+  (0.2ms) COMMIT
1793
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:20:42 -0400
1794
+  (0.2ms) BEGIN
1795
+  (1.0ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:20:42.963844', "current_sign_in_at" = '2013-10-25 23:20:42.963844', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:20:42.965337' WHERE "admin_users"."id" = 1
1796
+  (0.4ms) COMMIT
1797
+ Processing by Admin::PostsController#show as HTML
1798
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1799
+ Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1800
+ Post Load (0.9ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1801
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1802
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1803
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (34.6ms)
1804
+ Completed 200 OK in 72ms (Views: 44.7ms | ActiveRecord: 4.9ms)
1805
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:20:43 -0400
1806
+ Served asset /active_admin.css - 200 OK (9ms)
1807
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:20:43 -0400
1808
+ Served asset /active_admin.js - 200 OK (62ms)
1809
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:20:43 -0400
1810
+ Served asset /active_admin/print.css - 200 OK (2ms)
1811
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1812
+  (10.2ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1813
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1814
+ Connecting to database specified by database.yml
1815
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1816
+  (1.5ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1817
+  (11.6ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1818
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1819
+  (0.2ms) BEGIN
1820
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1821
+ SQL (2.5ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:24:02 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$0csjp8Bwh6iwMVanRGtM9.SDTcvYbaxa33IV1rbn59vWifBTWPGQq"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:24:02 UTC +00:00]]
1822
+  (1.0ms) COMMIT
1823
+  (0.1ms) BEGIN
1824
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:24:02 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:24:02 UTC +00:00]]
1825
+  (0.4ms) COMMIT
1826
+  (0.1ms) BEGIN
1827
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1828
+ SQL (1.4ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:24:02 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:24:02 UTC +00:00]]
1829
+  (0.3ms) COMMIT
1830
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:24:02 -0400
1831
+  (0.2ms) BEGIN
1832
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:24:02.896198', "current_sign_in_at" = '2013-10-25 23:24:02.896198', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:24:02.897406' WHERE "admin_users"."id" = 1
1833
+  (0.5ms) COMMIT
1834
+ Processing by Admin::PostsController#show as HTML
1835
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1836
+ Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1837
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1838
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1839
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1840
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (22.8ms)
1841
+ Completed 200 OK in 47ms (Views: 28.2ms | ActiveRecord: 4.0ms)
1842
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:24:03 -0400
1843
+ Served asset /active_admin.css - 200 OK (10ms)
1844
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:24:03 -0400
1845
+ Served asset /active_admin.js - 200 OK (63ms)
1846
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:24:03 -0400
1847
+ Served asset /active_admin/print.css - 200 OK (2ms)
1848
+ Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 19:24:03 -0400
1849
+ Processing by Admin::PostsController#publish as HTML
1850
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1851
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
1852
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1853
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1854
+  (0.1ms) BEGIN
1855
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1
1856
+  (0.3ms) UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-25 23:24:03.231828' WHERE "posts"."id" = 1
1857
+  (0.2ms) COMMIT
1858
+ Redirected to http://127.0.0.1:55180/admin/categories/1/posts/1
1859
+ Completed 302 Found in 15ms (ActiveRecord: 2.2ms)
1860
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:24:03 -0400
1861
+ Processing by Admin::PostsController#show as HTML
1862
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1863
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
1864
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1865
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1866
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1867
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1868
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.3ms)
1869
+ Completed 200 OK in 26ms (Views: 20.7ms | ActiveRecord: 1.2ms)
1870
+  (0.1ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1871
+  (8.6ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1872
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1873
+ Connecting to database specified by database.yml
1874
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1875
+  (1.2ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1876
+  (10.1ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1877
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1878
+  (0.1ms) BEGIN
1879
+ AdminUser Exists (0.7ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1880
+ SQL (2.7ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:28:32 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$8LGavo8z2Xxl4PWGXHuROeGkVYNYCw8SRXHLnQ200bS0tt8Jux6Wm"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:28:32 UTC +00:00]]
1881
+  (0.3ms) COMMIT
1882
+  (0.1ms) BEGIN
1883
+ SQL (1.0ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:28:32 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:28:32 UTC +00:00]]
1884
+  (0.3ms) COMMIT
1885
+  (0.1ms) BEGIN
1886
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1887
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:28:32 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:28:32 UTC +00:00]]
1888
+  (0.2ms) COMMIT
1889
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
1890
+  (0.2ms) BEGIN
1891
+  (1.3ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:28:33.124360', "current_sign_in_at" = '2013-10-25 23:28:33.124360', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:28:33.126211' WHERE "admin_users"."id" = 1
1892
+  (0.7ms) COMMIT
1893
+ Processing by Admin::PostsController#show as HTML
1894
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1895
+ Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1896
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1897
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1898
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1899
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (32.4ms)
1900
+ Completed 200 OK in 68ms (Views: 39.0ms | ActiveRecord: 5.4ms)
1901
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
1902
+ Served asset /active_admin.css - 200 OK (12ms)
1903
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
1904
+ Served asset /active_admin.js - 200 OK (81ms)
1905
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
1906
+ Served asset /active_admin/print.css - 200 OK (3ms)
1907
+ Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
1908
+ Processing by Admin::PostsController#publish as HTML
1909
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1910
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
1911
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1912
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1913
+  (0.1ms) BEGIN
1914
+ Post Exists (1.9ms) SELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1
1915
+  (0.5ms) UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-25 23:28:33.566197' WHERE "posts"."id" = 1
1916
+  (1.6ms) COMMIT
1917
+ Redirected to http://127.0.0.1:55257/admin/categories/1/posts/1
1918
+ Completed 302 Found in 22ms (ActiveRecord: 5.2ms)
1919
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
1920
+ Processing by Admin::PostsController#show as HTML
1921
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1922
+ AdminUser Load (0.5ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
1923
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1924
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1925
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1926
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1927
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (23.5ms)
1928
+ Completed 200 OK in 30ms (Views: 23.9ms | ActiveRecord: 1.6ms)
1929
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1930
+  (11.5ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1931
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1932
+ Connecting to database specified by database.yml
1933
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1934
+  (1.1ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1935
+  (10.8ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1936
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1937
+  (0.2ms) BEGIN
1938
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1939
+ SQL (2.5ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:29:09 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$PZJ3fpCkiNCBW7wwb64wQ.7blbrcN9DrPL/iZ9a48qDRZ93maLUom"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:29:09 UTC +00:00]]
1940
+  (0.3ms) COMMIT
1941
+  (0.1ms) BEGIN
1942
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:29:09 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:29:09 UTC +00:00]]
1943
+  (0.3ms) COMMIT
1944
+  (0.2ms) BEGIN
1945
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
1946
+ SQL (0.9ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:29:09 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:29:09 UTC +00:00]]
1947
+  (0.2ms) COMMIT
1948
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:29:09 -0400
1949
+  (0.2ms) BEGIN
1950
+  (0.7ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:29:09.905768', "current_sign_in_at" = '2013-10-25 23:29:09.905768', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:29:09.907423' WHERE "admin_users"."id" = 1
1951
+  (0.3ms) COMMIT
1952
+ Processing by Admin::PostsController#show as HTML
1953
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1954
+ Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1955
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1956
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1957
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1958
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (26.2ms)
1959
+ Completed 200 OK in 53ms (Views: 32.5ms | ActiveRecord: 4.1ms)
1960
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:29:10 -0400
1961
+ Served asset /active_admin.css - 200 OK (12ms)
1962
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:29:10 -0400
1963
+ Served asset /active_admin.js - 200 OK (64ms)
1964
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:29:10 -0400
1965
+ Served asset /active_admin/print.css - 200 OK (2ms)
1966
+ Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 19:29:10 -0400
1967
+ Processing by Admin::PostsController#publish as HTML
1968
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1969
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
1970
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1971
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1972
+  (0.1ms) BEGIN
1973
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1
1974
+  (0.3ms) UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-25 23:29:10.234478' WHERE "posts"."id" = 1
1975
+  (1.8ms) COMMIT
1976
+ Redirected to http://127.0.0.1:55272/admin/categories/1/posts/1
1977
+ Completed 302 Found in 14ms (ActiveRecord: 3.8ms)
1978
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:29:10 -0400
1979
+ Processing by Admin::PostsController#show as HTML
1980
+ Parameters: {"category_id"=>"1", "id"=>"1"}
1981
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
1982
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
1983
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
1984
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1985
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
1986
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (14.5ms)
1987
+ Completed 200 OK in 19ms (Views: 14.7ms | ActiveRecord: 1.3ms)
1988
+  (0.1ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1989
+  (8.4ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1990
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1991
+ Connecting to database specified by database.yml
1992
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
1993
+  (1.1ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
1994
+  (11.8ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
1995
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
1996
+  (0.1ms) BEGIN
1997
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
1998
+ SQL (2.5ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:35:07 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$qbJl09lR8163WI7cstu7DOFvRTnzV6hpfD9qX3uMT7DT6JGagVoAS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:35:07 UTC +00:00]]
1999
+  (0.4ms) COMMIT
2000
+  (0.1ms) BEGIN
2001
+ SQL (1.2ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:35:07 UTC +00:00], ["name", "Category 1"], ["updated_at", Fri, 25 Oct 2013 23:35:07 UTC +00:00]]
2002
+  (0.4ms) COMMIT
2003
+  (0.1ms) BEGIN
2004
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
2005
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:35:07 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Fri, 25 Oct 2013 23:35:07 UTC +00:00]]
2006
+  (0.2ms) COMMIT
2007
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
2008
+  (0.1ms) BEGIN
2009
+  (0.7ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:35:08.498090', "current_sign_in_at" = '2013-10-25 23:35:08.498090', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:35:08.499374' WHERE "admin_users"."id" = 1
2010
+  (0.5ms) COMMIT
2011
+ Processing by Admin::PostsController#show as HTML
2012
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2013
+ Category Load (2.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2014
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2015
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2016
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2017
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (33.6ms)
2018
+ Completed 200 OK in 74ms (Views: 43.2ms | ActiveRecord: 8.3ms)
2019
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
2020
+ Served asset /active_admin.css - 200 OK (13ms)
2021
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
2022
+ Served asset /active_admin.js - 200 OK (62ms)
2023
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
2024
+ Served asset /active_admin/print.css - 200 OK (2ms)
2025
+ Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
2026
+ Processing by Admin::PostsController#publish as HTML
2027
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2028
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2029
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2030
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2031
+  (0.2ms) BEGIN
2032
+ Post Exists (0.7ms) SELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1
2033
+  (0.3ms) UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-25 23:35:08.858370' WHERE "posts"."id" = 1
2034
+  (1.8ms) COMMIT
2035
+ Redirected to http://127.0.0.1:55293/admin/categories/1/posts/1
2036
+ Completed 302 Found in 14ms (ActiveRecord: 4.0ms)
2037
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
2038
+ Processing by Admin::PostsController#show as HTML
2039
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2040
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2041
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2042
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2043
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2044
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2045
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (14.6ms)
2046
+ Completed 200 OK in 19ms (Views: 14.8ms | ActiveRecord: 1.3ms)
2047
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2048
+  (8.3ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2049
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2050
+  (0.3ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2051
+  (8.7ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2052
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2053
+  (0.1ms) BEGIN
2054
+ AdminUser Exists (0.5ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
2055
+ SQL (1.0ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:35:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$yUL3jGRPYfFqsC3UpHpsN.rOsoKKVIezsqQ9U8Swmn9jjTh2c80Ke"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Fri, 25 Oct 2013 23:35:08 UTC +00:00]]
2056
+  (0.3ms) COMMIT
2057
+  (0.1ms) BEGIN
2058
+ SQL (1.0ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Fri, 25 Oct 2013 23:35:08 UTC +00:00], ["name", "Category 2"], ["updated_at", Fri, 25 Oct 2013 23:35:08 UTC +00:00]]
2059
+  (0.3ms) COMMIT
2060
+  (0.1ms) BEGIN
2061
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
2062
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Fri, 25 Oct 2013 23:35:08 UTC +00:00], ["status", "reviewed"], ["title", "Post 2"], ["updated_at", Fri, 25 Oct 2013 23:35:08 UTC +00:00]]
2063
+  (0.3ms) COMMIT
2064
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
2065
+  (0.1ms) BEGIN
2066
+  (0.7ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-25 23:35:08.991934', "current_sign_in_at" = '2013-10-25 23:35:08.991934', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-25 23:35:08.992882' WHERE "admin_users"."id" = 1
2067
+  (0.4ms) COMMIT
2068
+ Processing by Admin::PostsController#show as HTML
2069
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2070
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2071
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2072
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2073
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2074
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (23.6ms)
2075
+ Completed 200 OK in 30ms (Views: 24.1ms | ActiveRecord: 1.6ms)
2076
+  (0.1ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2077
+  (9.8ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2078
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2079
+ Connecting to database specified by database.yml
2080
+  (0.7ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2081
+  (1.8ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
2082
+  (10.7ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2083
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2084
+  (0.2ms) BEGIN
2085
+ AdminUser Exists (1.1ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
2086
+ SQL (3.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:15:06 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$u6b.J9RmFCS6/kdhBpMDHedKdxV3MV6Uj5qGFiRtDKz0p014BVljG"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:15:06 UTC +00:00]]
2087
+  (0.3ms) COMMIT
2088
+  (0.2ms) BEGIN
2089
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:15:06 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 00:15:06 UTC +00:00]]
2090
+  (0.6ms) COMMIT
2091
+  (0.1ms) BEGIN
2092
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
2093
+ SQL (1.1ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:15:06 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 00:15:06 UTC +00:00]]
2094
+  (0.3ms) COMMIT
2095
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:07 -0400
2096
+  (0.2ms) BEGIN
2097
+  (0.7ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:15:07.766577', "current_sign_in_at" = '2013-10-26 00:15:07.766577', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:15:07.768160' WHERE "admin_users"."id" = 1
2098
+  (0.4ms) COMMIT
2099
+ Processing by Admin::PostsController#show as HTML
2100
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2101
+ Category Load (1.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2102
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2103
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2104
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2105
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (32.7ms)
2106
+ Completed 200 OK in 66ms (Views: 41.5ms | ActiveRecord: 5.0ms)
2107
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 20:15:07 -0400
2108
+ Served asset /active_admin.css - 200 OK (14ms)
2109
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 20:15:07 -0400
2110
+ Served asset /active_admin.js - 200 OK (73ms)
2111
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
2112
+ Served asset /active_admin/print.css - 200 OK (2ms)
2113
+ Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
2114
+ Processing by Admin::PostsController#publish as HTML
2115
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2116
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2117
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2118
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2119
+  (0.1ms) BEGIN
2120
+ Post Exists (0.9ms) SELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1
2121
+  (0.4ms) UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-26 00:15:08.124078' WHERE "posts"."id" = 1
2122
+  (0.4ms) COMMIT
2123
+ Redirected to http://127.0.0.1:55469/admin/categories/1/posts/1
2124
+ Completed 302 Found in 14ms (ActiveRecord: 2.7ms)
2125
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
2126
+ Processing by Admin::PostsController#show as HTML
2127
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2128
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2129
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2130
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2131
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2132
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2133
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (16.5ms)
2134
+ Completed 200 OK in 21ms (Views: 16.7ms | ActiveRecord: 1.3ms)
2135
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2136
+  (9.8ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2137
+  (0.6ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2138
+  (0.3ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2139
+  (11.1ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2140
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2141
+  (0.1ms) BEGIN
2142
+ AdminUser Exists (0.6ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
2143
+ SQL (1.7ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$/z1n7RI7jCJZWDHwWE8mG.Q9Vatewudc8Rrqw0j6Ft/T5eDYV93Ve"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00]]
2144
+  (0.3ms) COMMIT
2145
+  (0.1ms) BEGIN
2146
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00]]
2147
+  (0.5ms) COMMIT
2148
+  (0.1ms) BEGIN
2149
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
2150
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00], ["status", "reviewed"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00]]
2151
+  (0.5ms) COMMIT
2152
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
2153
+  (0.1ms) BEGIN
2154
+  (0.7ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:15:08.287243', "current_sign_in_at" = '2013-10-26 00:15:08.287243', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:15:08.288192' WHERE "admin_users"."id" = 1
2155
+  (0.3ms) COMMIT
2156
+ Processing by Admin::PostsController#show as HTML
2157
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2158
+ Category Load (0.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2159
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2160
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2161
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2162
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (25.4ms)
2163
+ Completed 200 OK in 32ms (Views: 25.9ms | ActiveRecord: 1.5ms)
2164
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2165
+  (11.2ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2166
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2167
+  (0.3ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2168
+  (9.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2169
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2170
+  (0.1ms) BEGIN
2171
+ AdminUser Exists (0.6ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user3@example.com' LIMIT 1
2172
+ SQL (1.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$eEAIMOrgKnjBpGCvy0d9seVXNl1gxTxnrrCvDBWnmCR7Lm1SuXxPa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00]]
2173
+  (0.3ms) COMMIT
2174
+  (0.1ms) BEGIN
2175
+ SQL (0.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00], ["name", "Category 3"], ["updated_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00]]
2176
+  (0.3ms) COMMIT
2177
+  (0.2ms) BEGIN
2178
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 3' LIMIT 1
2179
+ SQL (1.1ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00], ["status", "reviewed"], ["title", "Post 3"], ["updated_at", Sat, 26 Oct 2013 00:15:08 UTC +00:00]]
2180
+  (0.4ms) COMMIT
2181
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
2182
+  (0.1ms) BEGIN
2183
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:15:08.464189', "current_sign_in_at" = '2013-10-26 00:15:08.464189', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:15:08.465005' WHERE "admin_users"."id" = 1
2184
+  (0.4ms) COMMIT
2185
+ Processing by Admin::PostsController#show as HTML
2186
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2187
+ Category Load (0.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2188
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2189
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2190
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2191
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (24.6ms)
2192
+ Completed 200 OK in 31ms (Views: 24.9ms | ActiveRecord: 1.7ms)
2193
+ Started PUT "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
2194
+ Processing by Admin::PostsController#reopen as HTML
2195
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2196
+ AdminUser Load (0.5ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2197
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2198
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2199
+  (0.1ms) BEGIN
2200
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 3' AND "posts"."id" != 1) LIMIT 1
2201
+  (0.3ms) UPDATE "posts" SET "status" = 'draft', "updated_at" = '2013-10-26 00:15:08.593582' WHERE "posts"."id" = 1
2202
+  (0.4ms) COMMIT
2203
+ Redirected to http://127.0.0.1:55469/admin/categories/1/posts/1
2204
+ Completed 302 Found in 14ms (ActiveRecord: 2.4ms)
2205
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
2206
+ Processing by Admin::PostsController#show as HTML
2207
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2208
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2209
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2210
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2211
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2212
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2213
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (16.3ms)
2214
+ Completed 200 OK in 21ms (Views: 16.5ms | ActiveRecord: 1.3ms)
2215
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2216
+  (10.2ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2217
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2218
+ Connecting to database specified by database.yml
2219
+ Connecting to database specified by database.yml
2220
+  (0.5ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2221
+  (1.5ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
2222
+  (9.8ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2223
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2224
+  (0.2ms) BEGIN
2225
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
2226
+ SQL (2.6ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Iax8exAf.OP.YqMHirG1y.tssf.sXVcAXzzrML.ztPPeYJWMcpYn."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", false], ["updated_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00]]
2227
+  (0.3ms) COMMIT
2228
+  (0.2ms) BEGIN
2229
+ SQL (1.2ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00]]
2230
+  (5.4ms) COMMIT
2231
+  (0.2ms) BEGIN
2232
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
2233
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00]]
2234
+  (0.2ms) COMMIT
2235
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
2236
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2237
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:44:58 -0400
2238
+  (0.2ms) BEGIN
2239
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:44:58.142560', "current_sign_in_at" = '2013-10-26 00:44:58.142560', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:44:58.143567' WHERE "admin_users"."id" = 1
2240
+  (0.4ms) COMMIT
2241
+ Processing by Admin::PostsController#show as HTML
2242
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2243
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2244
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2245
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2246
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2247
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (21.0ms)
2248
+ Completed 200 OK in 39ms (Views: 30.6ms | ActiveRecord: 1.5ms)
2249
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2250
+  (9.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2251
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2252
+  (0.3ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2253
+  (10.2ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2254
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2255
+  (0.1ms) BEGIN
2256
+ AdminUser Exists (0.5ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
2257
+ SQL (1.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$YemaDzCHwK/y6VacXM.iD.IuEQ/T8HbGGRMqkfAqf/b0BHr2hU9o6"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00]]
2258
+  (0.3ms) COMMIT
2259
+  (0.1ms) BEGIN
2260
+ SQL (1.0ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00]]
2261
+  (0.3ms) COMMIT
2262
+  (0.1ms) BEGIN
2263
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
2264
+ SQL (0.9ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 00:44:58 UTC +00:00]]
2265
+  (0.3ms) COMMIT
2266
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
2267
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2268
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:44:58 -0400
2269
+  (0.1ms) BEGIN
2270
+  (0.5ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:44:58.261858', "current_sign_in_at" = '2013-10-26 00:44:58.261858', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:44:58.262823' WHERE "admin_users"."id" = 1
2271
+  (0.3ms) COMMIT
2272
+ Processing by Admin::PostsController#show as HTML
2273
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2274
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2275
+ Post Load (0.4ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2276
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2277
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2278
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (81.5ms)
2279
+ Completed 200 OK in 87ms (Views: 82.1ms | ActiveRecord: 1.2ms)
2280
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2281
+  (9.3ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2282
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2283
+ Connecting to database specified by database.yml
2284
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2285
+  (1.3ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
2286
+  (10.4ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2287
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2288
+  (0.2ms) BEGIN
2289
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
2290
+ SQL (2.5ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$Lk0BjI3clSWoIwjX9dM80uYXcMR6wB2xaBEgO05s8/5p7/zy3JlMC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", false], ["updated_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00]]
2291
+  (0.3ms) COMMIT
2292
+  (0.2ms) BEGIN
2293
+ SQL (0.8ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00]]
2294
+  (0.3ms) COMMIT
2295
+  (0.1ms) BEGIN
2296
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
2297
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00], ["status", "draft"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00]]
2298
+  (0.2ms) COMMIT
2299
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
2300
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2301
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:45:59 -0400
2302
+  (0.3ms) BEGIN
2303
+  (0.7ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:45:59.187916', "current_sign_in_at" = '2013-10-26 00:45:59.187916', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:45:59.188966' WHERE "admin_users"."id" = 1
2304
+  (0.4ms) COMMIT
2305
+ Processing by Admin::PostsController#show as HTML
2306
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2307
+ Category Load (0.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2308
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2309
+ Category Load (0.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2310
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2311
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (17.8ms)
2312
+ Completed 200 OK in 30ms (Views: 23.0ms | ActiveRecord: 1.6ms)
2313
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2314
+  (9.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2315
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2316
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2317
+  (9.9ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2318
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2319
+  (0.1ms) BEGIN
2320
+ AdminUser Exists (0.5ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
2321
+ SQL (1.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$aLRrhFsV/vy7Y/PH3Ale/OpzSoHt5XoCt4lcuegv3hKA/eeVXuznu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00]]
2322
+  (0.3ms) COMMIT
2323
+  (0.1ms) BEGIN
2324
+ SQL (1.0ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00]]
2325
+  (0.3ms) COMMIT
2326
+  (0.1ms) BEGIN
2327
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
2328
+ SQL (0.9ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00], ["status", "draft"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 00:45:59 UTC +00:00]]
2329
+  (0.3ms) COMMIT
2330
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
2331
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2332
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:45:59 -0400
2333
+  (0.1ms) BEGIN
2334
+  (0.5ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:45:59.293453', "current_sign_in_at" = '2013-10-26 00:45:59.293453', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:45:59.294384' WHERE "admin_users"."id" = 1
2335
+  (0.3ms) COMMIT
2336
+ Processing by Admin::PostsController#show as HTML
2337
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2338
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2339
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2340
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2341
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2342
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (87.1ms)
2343
+ Completed 200 OK in 94ms (Views: 87.8ms | ActiveRecord: 1.5ms)
2344
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2345
+  (11.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2346
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2347
+ Connecting to database specified by database.yml
2348
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2349
+  (1.1ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
2350
+  (11.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2351
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2352
+  (0.2ms) BEGIN
2353
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
2354
+ SQL (2.4ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:33 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$bUX1SnBbsLOqt6oWi/rUGuofrU.PahdN3ktgvdPY1HTeftFcj7NyK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:33 UTC +00:00]]
2355
+  (0.3ms) COMMIT
2356
+  (0.2ms) BEGIN
2357
+ SQL (0.8ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:33 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 00:51:33 UTC +00:00]]
2358
+  (0.2ms) COMMIT
2359
+  (0.2ms) BEGIN
2360
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
2361
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:33 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 00:51:33 UTC +00:00]]
2362
+  (0.4ms) COMMIT
2363
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
2364
+  (0.2ms) BEGIN
2365
+  (0.7ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:34.277215', "current_sign_in_at" = '2013-10-26 00:51:34.277215', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:34.278551' WHERE "admin_users"."id" = 1
2366
+  (0.6ms) COMMIT
2367
+ Processing by Admin::PostsController#show as HTML
2368
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2369
+ Category Load (1.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2370
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2371
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2372
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2373
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (22.8ms)
2374
+ Completed 200 OK in 49ms (Views: 29.1ms | ActiveRecord: 4.4ms)
2375
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
2376
+ Served asset /active_admin.css - 200 OK (10ms)
2377
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
2378
+ Served asset /active_admin.js - 200 OK (59ms)
2379
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
2380
+ Served asset /active_admin/print.css - 200 OK (2ms)
2381
+ Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
2382
+ Processing by Admin::PostsController#publish as HTML
2383
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2384
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2385
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2386
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2387
+  (0.1ms) BEGIN
2388
+ Post Exists (0.7ms) SELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1
2389
+  (0.3ms) UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-26 00:51:34.544871' WHERE "posts"."id" = 1
2390
+  (0.3ms) COMMIT
2391
+ Redirected to http://127.0.0.1:56014/admin/categories/1/posts/1
2392
+ Completed 302 Found in 13ms (ActiveRecord: 2.4ms)
2393
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
2394
+ Processing by Admin::PostsController#show as HTML
2395
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2396
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2397
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2398
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2399
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2400
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2401
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (14.6ms)
2402
+ Completed 200 OK in 19ms (Views: 14.8ms | ActiveRecord: 1.3ms)
2403
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2404
+  (22.9ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2405
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2406
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2407
+  (8.6ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2408
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2409
+  (0.1ms) BEGIN
2410
+ AdminUser Exists (0.5ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
2411
+ SQL (1.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$HH1dzt.fWi5Ip/YPQaMvsueNg8e7HLw94lNSBtdvd8X1FRADXGrQ2"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00]]
2412
+  (0.3ms) COMMIT
2413
+  (0.1ms) BEGIN
2414
+ SQL (0.8ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00]]
2415
+  (0.6ms) COMMIT
2416
+  (0.1ms) BEGIN
2417
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
2418
+ SQL (0.9ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00], ["status", "reviewed"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00]]
2419
+  (0.3ms) COMMIT
2420
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
2421
+  (0.1ms) BEGIN
2422
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:34.760040', "current_sign_in_at" = '2013-10-26 00:51:34.760040', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:34.761032' WHERE "admin_users"."id" = 1
2423
+  (0.3ms) COMMIT
2424
+ Processing by Admin::PostsController#show as HTML
2425
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2426
+ Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2427
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2428
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2429
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2430
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (16.8ms)
2431
+ Completed 200 OK in 23ms (Views: 17.3ms | ActiveRecord: 1.7ms)
2432
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2433
+  (8.7ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2434
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2435
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2436
+  (9.1ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2437
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2438
+  (0.1ms) BEGIN
2439
+ AdminUser Exists (0.5ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user3@example.com' LIMIT 1
2440
+ SQL (1.0ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$4sC6YZqofXoZin3O0e4y2.T0B/Xo1REoINtzHQP.f5am3V7mHOXQe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00]]
2441
+  (0.3ms) COMMIT
2442
+  (0.1ms) BEGIN
2443
+ SQL (0.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00], ["name", "Category 3"], ["updated_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00]]
2444
+  (0.3ms) COMMIT
2445
+  (0.1ms) BEGIN
2446
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 3' LIMIT 1
2447
+ SQL (0.9ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00], ["status", "reviewed"], ["title", "Post 3"], ["updated_at", Sat, 26 Oct 2013 00:51:34 UTC +00:00]]
2448
+  (0.3ms) COMMIT
2449
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
2450
+  (0.1ms) BEGIN
2451
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:34.840259', "current_sign_in_at" = '2013-10-26 00:51:34.840259', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:34.841467' WHERE "admin_users"."id" = 1
2452
+  (0.3ms) COMMIT
2453
+ Processing by Admin::PostsController#show as HTML
2454
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2455
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2456
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2457
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2458
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2459
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (21.4ms)
2460
+ Completed 200 OK in 28ms (Views: 22.1ms | ActiveRecord: 1.4ms)
2461
+ Started PUT "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
2462
+ Processing by Admin::PostsController#reopen as HTML
2463
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2464
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2465
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2466
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2467
+  (0.1ms) BEGIN
2468
+ Post Exists (0.3ms) SELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 3' AND "posts"."id" != 1) LIMIT 1
2469
+  (0.3ms) UPDATE "posts" SET "status" = 'draft', "updated_at" = '2013-10-26 00:51:34.955849' WHERE "posts"."id" = 1
2470
+  (1.8ms) COMMIT
2471
+ Redirected to http://127.0.0.1:56014/admin/categories/1/posts/1
2472
+ Completed 302 Found in 11ms (ActiveRecord: 3.4ms)
2473
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
2474
+ Processing by Admin::PostsController#show as HTML
2475
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2476
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2477
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2478
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2479
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2480
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2481
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (14.7ms)
2482
+ Completed 200 OK in 19ms (Views: 14.9ms | ActiveRecord: 1.3ms)
2483
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2484
+  (7.8ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2485
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2486
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2487
+  (8.5ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2488
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2489
+  (0.1ms) BEGIN
2490
+ AdminUser Exists (0.5ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user4@example.com' LIMIT 1
2491
+ SQL (1.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:35 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$RoXvqzsUXrKoOyv1nmasUektMOxNScw0yUZ3kY5G7BLhRjylTf6Ti"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:35 UTC +00:00]]
2492
+  (0.3ms) COMMIT
2493
+  (0.1ms) BEGIN
2494
+ SQL (0.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:35 UTC +00:00], ["name", "Category 4"], ["updated_at", Sat, 26 Oct 2013 00:51:35 UTC +00:00]]
2495
+  (0.3ms) COMMIT
2496
+  (0.1ms) BEGIN
2497
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 4' LIMIT 1
2498
+ SQL (0.7ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:35 UTC +00:00], ["status", "reviewed"], ["title", "Post 4"], ["updated_at", Sat, 26 Oct 2013 00:51:35 UTC +00:00]]
2499
+  (0.3ms) COMMIT
2500
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:35 -0400
2501
+  (0.1ms) BEGIN
2502
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:35.082206', "current_sign_in_at" = '2013-10-26 00:51:35.082206', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:35.083106' WHERE "admin_users"."id" = 1
2503
+  (0.3ms) COMMIT
2504
+ Processing by Admin::PostsController#show as HTML
2505
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2506
+ Category Load (0.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2507
+ Post Load (0.8ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2508
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2509
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2510
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (23.8ms)
2511
+ Completed 200 OK in 30ms (Views: 24.3ms | ActiveRecord: 1.7ms)
2512
+  (0.1ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2513
+  (10.3ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2514
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2515
+ Connecting to database specified by database.yml
2516
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2517
+  (1.1ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
2518
+  (11.3ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2519
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2520
+  (0.1ms) BEGIN
2521
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
2522
+ SQL (2.5ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:55 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$cvImI2PzFP92zyOIM51I9OrHEVtA3cjcMTqmoDgjSO4guHFehlQ3m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:55 UTC +00:00]]
2523
+  (0.3ms) COMMIT
2524
+  (0.1ms) BEGIN
2525
+ SQL (1.0ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:55 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 00:51:55 UTC +00:00]]
2526
+  (0.3ms) COMMIT
2527
+  (0.2ms) BEGIN
2528
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
2529
+ SQL (0.9ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:55 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 00:51:55 UTC +00:00]]
2530
+  (0.3ms) COMMIT
2531
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:56 -0400
2532
+  (0.1ms) BEGIN
2533
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:56.595910', "current_sign_in_at" = '2013-10-26 00:51:56.595910', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:56.597131' WHERE "admin_users"."id" = 1
2534
+  (0.5ms) COMMIT
2535
+ Processing by Admin::PostsController#show as HTML
2536
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2537
+ Category Load (0.9ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2538
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2539
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2540
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2541
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (25.6ms)
2542
+ Completed 200 OK in 52ms (Views: 31.7ms | ActiveRecord: 4.8ms)
2543
+ Started GET "/assets/active_admin.css" for 127.0.0.1 at 2013-10-25 20:51:56 -0400
2544
+ Served asset /active_admin.css - 200 OK (10ms)
2545
+ Started GET "/assets/active_admin.js" for 127.0.0.1 at 2013-10-25 20:51:56 -0400
2546
+ Served asset /active_admin.js - 200 OK (59ms)
2547
+ Started GET "/assets/active_admin/print.css" for 127.0.0.1 at 2013-10-25 20:51:56 -0400
2548
+ Served asset /active_admin/print.css - 200 OK (2ms)
2549
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2550
+  (10.1ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2551
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2552
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2553
+  (9.5ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2554
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2555
+  (0.1ms) BEGIN
2556
+ AdminUser Exists (0.5ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
2557
+ SQL (1.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:56 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$U8uTi3ADz1Nko1MZgHn3yObSe1zAKOcG7rIWee8UwLYqcvnLC6Q6i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:56 UTC +00:00]]
2558
+  (0.3ms) COMMIT
2559
+  (0.1ms) BEGIN
2560
+ SQL (0.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:56 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 00:51:56 UTC +00:00]]
2561
+  (0.3ms) COMMIT
2562
+  (0.1ms) BEGIN
2563
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
2564
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:56 UTC +00:00], ["status", "reviewed"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 00:51:56 UTC +00:00]]
2565
+  (0.4ms) COMMIT
2566
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:56 -0400
2567
+  (0.1ms) BEGIN
2568
+  (0.8ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:56.899468', "current_sign_in_at" = '2013-10-26 00:51:56.899468', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:56.900473' WHERE "admin_users"."id" = 1
2569
+  (0.4ms) COMMIT
2570
+ Processing by Admin::PostsController#show as HTML
2571
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2572
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2573
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2574
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2575
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2576
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (24.8ms)
2577
+ Completed 200 OK in 30ms (Views: 25.1ms | ActiveRecord: 1.6ms)
2578
+ Started PUT "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
2579
+ Processing by Admin::PostsController#reopen as HTML
2580
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2581
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2582
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2583
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2584
+  (0.2ms) BEGIN
2585
+ Post Exists (0.7ms) SELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 2' AND "posts"."id" != 1) LIMIT 1
2586
+  (0.3ms) UPDATE "posts" SET "status" = 'draft', "updated_at" = '2013-10-26 00:51:57.061943' WHERE "posts"."id" = 1
2587
+  (1.8ms) COMMIT
2588
+ Redirected to http://127.0.0.1:56026/admin/categories/1/posts/1
2589
+ Completed 302 Found in 60ms (ActiveRecord: 3.9ms)
2590
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
2591
+ Processing by Admin::PostsController#show as HTML
2592
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2593
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2594
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2595
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2596
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2597
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2598
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (15.9ms)
2599
+ Completed 200 OK in 20ms (Views: 16.2ms | ActiveRecord: 1.3ms)
2600
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2601
+  (8.5ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2602
+  (0.6ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2603
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2604
+  (9.9ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2605
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2606
+  (0.1ms) BEGIN
2607
+ AdminUser Exists (0.4ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user3@example.com' LIMIT 1
2608
+ SQL (1.0ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user3@example.com"], ["encrypted_password", "$2a$04$uIdotfEq6zasOc8Q6BwJH.eLF4kp9ECiF/thK7LekcwSWrc4j8sEC"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00]]
2609
+  (0.3ms) COMMIT
2610
+  (0.1ms) BEGIN
2611
+ SQL (0.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00], ["name", "Category 3"], ["updated_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00]]
2612
+  (0.3ms) COMMIT
2613
+  (0.1ms) BEGIN
2614
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 3' LIMIT 1
2615
+ SQL (0.9ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00], ["status", "reviewed"], ["title", "Post 3"], ["updated_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00]]
2616
+  (0.3ms) COMMIT
2617
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
2618
+  (0.2ms) BEGIN
2619
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:57.191785', "current_sign_in_at" = '2013-10-26 00:51:57.191785', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:57.192917' WHERE "admin_users"."id" = 1
2620
+  (0.3ms) COMMIT
2621
+ Processing by Admin::PostsController#show as HTML
2622
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2623
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2624
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2625
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2626
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2627
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (26.1ms)
2628
+ Completed 200 OK in 34ms (Views: 27.1ms | ActiveRecord: 1.6ms)
2629
+ Started PUT "/admin/categories/1/posts/1/archive" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
2630
+ Processing by Admin::PostsController#archive as HTML
2631
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2632
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2633
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2634
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2635
+  (0.1ms) BEGIN
2636
+ Post Exists (0.3ms) SELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 3' AND "posts"."id" != 1) LIMIT 1
2637
+  (0.2ms) UPDATE "posts" SET "status" = 'archived', "updated_at" = '2013-10-26 00:51:57.309458' WHERE "posts"."id" = 1
2638
+  (1.7ms) COMMIT
2639
+ Redirected to http://127.0.0.1:56026/admin/categories/1/posts/1
2640
+ Completed 302 Found in 11ms (ActiveRecord: 3.3ms)
2641
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
2642
+ Processing by Admin::PostsController#show as HTML
2643
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2644
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2645
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2646
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2647
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2648
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2649
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (15.3ms)
2650
+ Completed 200 OK in 19ms (Views: 15.5ms | ActiveRecord: 1.2ms)
2651
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2652
+  (8.6ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2653
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2654
+  (0.3ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2655
+  (9.3ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2656
+  (0.6ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2657
+  (0.1ms) BEGIN
2658
+ AdminUser Exists (0.6ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user4@example.com' LIMIT 1
2659
+ SQL (1.2ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user4@example.com"], ["encrypted_password", "$2a$04$L98s536vFAZnUBIXp9ooVu0Q8FECYyPthrcIvlFpQwx3Pcq3ehIdi"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00]]
2660
+  (0.3ms) COMMIT
2661
+  (0.1ms) BEGIN
2662
+ SQL (0.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00], ["name", "Category 4"], ["updated_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00]]
2663
+  (0.3ms) COMMIT
2664
+  (0.1ms) BEGIN
2665
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 4' LIMIT 1
2666
+ SQL (0.9ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00], ["status", "reviewed"], ["title", "Post 4"], ["updated_at", Sat, 26 Oct 2013 00:51:57 UTC +00:00]]
2667
+  (0.3ms) COMMIT
2668
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
2669
+  (0.3ms) BEGIN
2670
+  (0.8ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 00:51:57.435033', "current_sign_in_at" = '2013-10-26 00:51:57.435033', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 00:51:57.436477' WHERE "admin_users"."id" = 1
2671
+  (0.3ms) COMMIT
2672
+ Processing by Admin::PostsController#show as HTML
2673
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2674
+ Category Load (0.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2675
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2676
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2677
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2678
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (26.5ms)
2679
+ Completed 200 OK in 33ms (Views: 27.1ms | ActiveRecord: 1.6ms)
2680
+ Started PUT "/admin/categories/1/posts/1/publish" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
2681
+ Processing by Admin::PostsController#publish as HTML
2682
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2683
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2684
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2685
+ Post Load (0.3ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2686
+  (0.1ms) BEGIN
2687
+ Post Exists (0.3ms) SELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 4' AND "posts"."id" != 1) LIMIT 1
2688
+  (0.3ms) UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-26 00:51:57.551284' WHERE "posts"."id" = 1
2689
+  (1.6ms) COMMIT
2690
+ Redirected to http://127.0.0.1:56026/admin/categories/1/posts/1
2691
+ Completed 302 Found in 11ms (ActiveRecord: 3.2ms)
2692
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
2693
+ Processing by Admin::PostsController#show as HTML
2694
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2695
+ AdminUser Load (0.3ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2696
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2697
+ Post Load (0.2ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2698
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2699
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2700
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (14.4ms)
2701
+ Completed 200 OK in 19ms (Views: 14.5ms | ActiveRecord: 1.3ms)
2702
+  (0.1ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2703
+  (8.6ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2704
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2705
+ Connecting to database specified by database.yml
2706
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2707
+  (1.1ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
2708
+  (10.5ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2709
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2710
+  (0.1ms) BEGIN
2711
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
2712
+ SQL (2.7ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:02:41 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$VYMRM.wfqrHL11KoAbK8Z.reCFMcHyGu2eSQxbcUbUtOoftyb6Paa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:02:41 UTC +00:00]]
2713
+  (0.3ms) COMMIT
2714
+  (0.1ms) BEGIN
2715
+ SQL (1.0ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:02:41 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 01:02:41 UTC +00:00]]
2716
+  (0.3ms) COMMIT
2717
+  (0.2ms) BEGIN
2718
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
2719
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:02:41 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 01:02:41 UTC +00:00]]
2720
+  (0.3ms) COMMIT
2721
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:02:41 -0400
2722
+  (0.2ms) BEGIN
2723
+  (0.5ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:02:41.795836', "current_sign_in_at" = '2013-10-26 01:02:41.795836', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:02:41.796988' WHERE "admin_users"."id" = 1
2724
+  (0.4ms) COMMIT
2725
+ Processing by Admin::PostsController#show as HTML
2726
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2727
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2728
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2729
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2730
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2731
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.9ms)
2732
+ Completed 200 OK in 43ms (Views: 26.1ms | ActiveRecord: 1.5ms)
2733
+ Started PUT "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 21:02:41 -0400
2734
+ Processing by Admin::PostsController#reopen as HTML
2735
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2736
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2737
+ Redirected to http://www.example.com/admin/dashboard
2738
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
2739
+ Started GET "/admin/dashboard" for 127.0.0.1 at 2013-10-25 21:02:41 -0400
2740
+ Processing by Admin::DashboardController#index as HTML
2741
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2742
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/page/index.html.arb (7.3ms)
2743
+ Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 0.4ms)
2744
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2745
+  (8.4ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2746
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2747
+ Connecting to database specified by database.yml
2748
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2749
+  (1.1ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
2750
+  (10.6ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2751
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2752
+  (0.1ms) BEGIN
2753
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
2754
+ SQL (2.7ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:02:51 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$pxKTou.I.XpDojviNA42bOYnvK/YB1RzHbspnlY8LUlLwyjHS7RUe"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:02:51 UTC +00:00]]
2755
+  (0.3ms) COMMIT
2756
+  (0.1ms) BEGIN
2757
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:02:51 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 01:02:51 UTC +00:00]]
2758
+  (0.3ms) COMMIT
2759
+  (0.3ms) BEGIN
2760
+ Post Exists (0.6ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
2761
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:02:51 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 01:02:51 UTC +00:00]]
2762
+  (0.2ms) COMMIT
2763
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:02:51 -0400
2764
+  (0.2ms) BEGIN
2765
+  (0.5ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:02:51.756620', "current_sign_in_at" = '2013-10-26 01:02:51.756620', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:02:51.757520' WHERE "admin_users"."id" = 1
2766
+  (0.4ms) COMMIT
2767
+ Processing by Admin::PostsController#show as HTML
2768
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2769
+ Category Load (0.8ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2770
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2771
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2772
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2773
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.8ms)
2774
+ Completed 200 OK in 42ms (Views: 26.3ms | ActiveRecord: 1.9ms)
2775
+ Started PUT "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 21:02:51 -0400
2776
+ Processing by Admin::PostsController#reopen as HTML
2777
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2778
+ AdminUser Load (0.6ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2779
+ Redirected to http://www.example.com/admin/dashboard
2780
+ Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
2781
+ Started GET "/admin/dashboard" for 127.0.0.1 at 2013-10-25 21:02:51 -0400
2782
+ Processing by Admin::DashboardController#index as HTML
2783
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2784
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/page/index.html.arb (7.6ms)
2785
+ Completed 200 OK in 13ms (Views: 10.2ms | ActiveRecord: 0.4ms)
2786
+  (0.3ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2787
+  (9.0ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2788
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2789
+ Connecting to database specified by database.yml
2790
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2791
+  (1.2ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
2792
+  (10.8ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2793
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2794
+  (0.2ms) BEGIN
2795
+ AdminUser Exists (0.7ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
2796
+ SQL (2.8ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:03:03 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$oa2kPW2e6jrBLJe22hxWneFLMLAdPLtboc8IClX9aJuxbFVpchyqa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:03:03 UTC +00:00]]
2797
+  (0.3ms) COMMIT
2798
+  (0.1ms) BEGIN
2799
+ SQL (1.2ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:03:04 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 01:03:04 UTC +00:00]]
2800
+  (0.3ms) COMMIT
2801
+  (0.2ms) BEGIN
2802
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
2803
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:03:04 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 01:03:04 UTC +00:00]]
2804
+  (0.3ms) COMMIT
2805
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:03:04 -0400
2806
+  (0.2ms) BEGIN
2807
+  (0.5ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:03:04.085023', "current_sign_in_at" = '2013-10-26 01:03:04.085023', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:03:04.086008' WHERE "admin_users"."id" = 1
2808
+  (0.4ms) COMMIT
2809
+ Processing by Admin::PostsController#show as HTML
2810
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2811
+ Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2812
+ Post Load (0.6ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2813
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2814
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2815
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (21.5ms)
2816
+ Completed 200 OK in 42ms (Views: 26.8ms | ActiveRecord: 1.8ms)
2817
+ Started PUT "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 21:03:04 -0400
2818
+ Processing by Admin::PostsController#reopen as HTML
2819
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2820
+ AdminUser Load (0.5ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2821
+ Redirected to http://www.example.com/admin/dashboard
2822
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
2823
+ Started GET "/admin/dashboard" for 127.0.0.1 at 2013-10-25 21:03:04 -0400
2824
+ Processing by Admin::DashboardController#index as HTML
2825
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2826
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/page/index.html.arb (7.8ms)
2827
+ Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.4ms)
2828
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2829
+  (9.3ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2830
+  (0.6ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2831
+ Connecting to database specified by database.yml
2832
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2833
+  (1.1ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
2834
+  (10.1ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2835
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2836
+  (0.1ms) BEGIN
2837
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
2838
+ SQL (2.6ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$L1q7qN1k3eRR39qqQfrAt.ia7.d3vWE3ELkekevcYcZmNxfN/Q9By"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00]]
2839
+  (0.3ms) COMMIT
2840
+  (0.2ms) BEGIN
2841
+ SQL (0.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00]]
2842
+  (0.3ms) COMMIT
2843
+  (0.1ms) BEGIN
2844
+ Post Exists (0.5ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
2845
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00]]
2846
+  (0.2ms) COMMIT
2847
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:05:20 -0400
2848
+  (0.2ms) BEGIN
2849
+  (0.5ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:05:20.769515', "current_sign_in_at" = '2013-10-26 01:05:20.769515', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:05:20.770440' WHERE "admin_users"."id" = 1
2850
+  (0.3ms) COMMIT
2851
+ Processing by Admin::PostsController#show as HTML
2852
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2853
+ Category Load (0.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2854
+ Post Load (0.7ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2855
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2856
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2857
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.0ms)
2858
+ Completed 200 OK in 39ms (Views: 25.1ms | ActiveRecord: 1.7ms)
2859
+ Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 21:05:20 -0400
2860
+ Processing by Admin::PostsController#reopen as HTML
2861
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2862
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2863
+ Redirected to http://www.example.com/admin/dashboard
2864
+ Completed 302 Found in 3ms (ActiveRecord: 0.4ms)
2865
+ Started GET "/admin/dashboard" for 127.0.0.1 at 2013-10-25 21:05:20 -0400
2866
+ Processing by Admin::DashboardController#index as HTML
2867
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2868
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/page/index.html.arb (7.4ms)
2869
+ Completed 200 OK in 13ms (Views: 9.8ms | ActiveRecord: 0.4ms)
2870
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2871
+  (10.4ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2872
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2873
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2874
+  (8.9ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2875
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2876
+  (0.1ms) BEGIN
2877
+ AdminUser Exists (0.5ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
2878
+ SQL (1.1ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$GQiopr5zjnE7/4VhoceDk.sKuFDIyWvKXLhSheoKQkme1jENX2.W."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00]]
2879
+  (0.3ms) COMMIT
2880
+  (0.1ms) BEGIN
2881
+ SQL (0.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00]]
2882
+  (0.3ms) COMMIT
2883
+  (0.1ms) BEGIN
2884
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
2885
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00], ["status", "reviewed"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 01:05:20 UTC +00:00]]
2886
+  (0.3ms) COMMIT
2887
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:05:20 -0400
2888
+  (0.1ms) BEGIN
2889
+  (0.6ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:05:20.940216', "current_sign_in_at" = '2013-10-26 01:05:20.940216', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:05:20.941166' WHERE "admin_users"."id" = 1
2890
+  (0.3ms) COMMIT
2891
+ Processing by Admin::PostsController#show as HTML
2892
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2893
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2894
+ Post Load (0.9ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2895
+ Category Load (0.4ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2896
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2897
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (26.7ms)
2898
+ Completed 200 OK in 34ms (Views: 27.3ms | ActiveRecord: 1.7ms)
2899
+ Connecting to database specified by database.yml
2900
+  (0.4ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2901
+  (1.2ms) select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
2902
+  (11.1ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2903
+  (0.3ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2904
+  (0.1ms) BEGIN
2905
+ AdminUser Exists (0.8ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
2906
+ SQL (2.7ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user1@example.com"], ["encrypted_password", "$2a$04$1BM.7NUuMO2nTgM0PxM82uekJOdj4eZHTGvmlajmufm26AtJbm8PK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00]]
2907
+  (0.3ms) COMMIT
2908
+  (0.1ms) BEGIN
2909
+ SQL (0.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00], ["name", "Category 1"], ["updated_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00]]
2910
+  (0.4ms) COMMIT
2911
+  (0.1ms) BEGIN
2912
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
2913
+ SQL (0.8ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00], ["status", "reviewed"], ["title", "Post 1"], ["updated_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00]]
2914
+  (0.3ms) COMMIT
2915
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:09:58 -0400
2916
+  (0.2ms) BEGIN
2917
+  (0.5ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:09:58.621692', "current_sign_in_at" = '2013-10-26 01:09:58.621692', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:09:58.622612' WHERE "admin_users"."id" = 1
2918
+  (0.4ms) COMMIT
2919
+ Processing by Admin::PostsController#show as HTML
2920
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2921
+ Category Load (0.7ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2922
+ Post Load (0.9ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2923
+ Category Load (0.6ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2924
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2925
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (20.8ms)
2926
+ Completed 200 OK in 43ms (Views: 26.2ms | ActiveRecord: 2.1ms)
2927
+ Started GET "/admin/categories/1/posts/1/reopen" for 127.0.0.1 at 2013-10-25 21:09:58 -0400
2928
+ Processing by Admin::PostsController#reopen as HTML
2929
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2930
+ AdminUser Load (0.4ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2931
+ Redirected to http://www.example.com/admin/dashboard
2932
+ Completed 302 Found in 4ms (ActiveRecord: 0.4ms)
2933
+ Started GET "/admin/dashboard" for 127.0.0.1 at 2013-10-25 21:09:58 -0400
2934
+ Processing by Admin::DashboardController#index as HTML
2935
+ AdminUser Load (0.5ms) SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
2936
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/page/index.html.arb (53.1ms)
2937
+ Completed 200 OK in 58ms (Views: 55.7ms | ActiveRecord: 0.5ms)
2938
+  (0.3ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2939
+  (10.5ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2940
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2941
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2942
+  (9.2ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2943
+  (0.4ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL
2944
+  (0.1ms) BEGIN
2945
+ AdminUser Exists (0.5ms) SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
2946
+ SQL (1.0ms) INSERT INTO "admin_users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "super_admin", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "user2@example.com"], ["encrypted_password", "$2a$04$yh0eAxMWOoyiVAyRlDqAB.xjHMfj4ju.mzbqugtHVrrZqN6er56aS"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["super_admin", true], ["updated_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00]]
2947
+  (0.3ms) COMMIT
2948
+  (0.1ms) BEGIN
2949
+ SQL (0.9ms) INSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["created_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00], ["name", "Category 2"], ["updated_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00]]
2950
+  (0.3ms) COMMIT
2951
+  (0.1ms) BEGIN
2952
+ Post Exists (0.4ms) SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
2953
+ SQL (0.9ms) INSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["body", "lorem ipsum"], ["category_id", 1], ["created_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00], ["status", "reviewed"], ["title", "Post 2"], ["updated_at", Sat, 26 Oct 2013 01:09:58 UTC +00:00]]
2954
+  (0.3ms) COMMIT
2955
+ Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:09:58 -0400
2956
+  (0.1ms) BEGIN
2957
+  (0.5ms) UPDATE "admin_users" SET "last_sign_in_at" = '2013-10-26 01:09:58.800800', "current_sign_in_at" = '2013-10-26 01:09:58.800800', "last_sign_in_ip" = '127.0.0.1', "current_sign_in_ip" = '127.0.0.1', "sign_in_count" = 1, "updated_at" = '2013-10-26 01:09:58.801777' WHERE "admin_users"."id" = 1
2958
+  (0.3ms) COMMIT
2959
+ Processing by Admin::PostsController#show as HTML
2960
+ Parameters: {"category_id"=>"1", "id"=>"1"}
2961
+ Category Load (0.5ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
2962
+ Post Load (0.5ms) SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
2963
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2964
+ CACHE (0.0ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
2965
+ Rendered /Users/matt/.rvm/gems/ruby-2.0.0-p195/gems/activeadmin-0.6.0/app/views/active_admin/resource/show.html.arb (23.4ms)
2966
+ Completed 200 OK in 30ms (Views: 24.0ms | ActiveRecord: 1.3ms)
2967
+  (0.2ms) ALTER TABLE "active_admin_comments" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "admin_users" DISABLE TRIGGER ALL;ALTER TABLE "categories" DISABLE TRIGGER ALL;ALTER TABLE "posts" DISABLE TRIGGER ALL
2968
+  (9.4ms) TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
2969
+  (0.5ms) ALTER TABLE "active_admin_comments" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "admin_users" ENABLE TRIGGER ALL;ALTER TABLE "categories" ENABLE TRIGGER ALL;ALTER TABLE "posts" ENABLE TRIGGER ALL