active_admin-state_machine 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.md +136 -0
- data/Rakefile +17 -0
- data/lib/active_admin/state_machine.rb +6 -0
- data/lib/active_admin/state_machine/dsl.rb +60 -0
- data/lib/active_admin/state_machine/version.rb +5 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/admin/admin_users.rb +20 -0
- data/spec/dummy/app/admin/categories.rb +5 -0
- data/spec/dummy/app/admin/dashboard.rb +33 -0
- data/spec/dummy/app/admin/posts.rb +21 -0
- data/spec/dummy/app/assets/javascripts/active_admin.js +1 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/active_admin.css.scss +29 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/models/ability.rb +12 -0
- data/spec/dummy/app/models/admin_user.rb +11 -0
- data/spec/dummy/app/models/category.rb +4 -0
- data/spec/dummy/app/models/post.rb +31 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +65 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.sample.yml +25 -0
- data/spec/dummy/config/database.travis.yml +4 -0
- data/spec/dummy/config/database.yml +12 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +38 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/active_admin.rb +211 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/devise.rb +252 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/devise.en.yml +59 -0
- data/spec/dummy/config/locales/en.yml +10 -0
- data/spec/dummy/config/routes.rb +61 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20130817004304_devise_create_admin_users.rb +52 -0
- data/spec/dummy/db/migrate/20130817004306_create_admin_notes.rb +17 -0
- data/spec/dummy/db/migrate/20130817004307_move_admin_notes_to_comments.rb +26 -0
- data/spec/dummy/db/migrate/20130817005638_create_posts.rb +11 -0
- data/spec/dummy/db/migrate/20130829000200_create_categories.rb +11 -0
- data/spec/dummy/db/migrate/20131025231118_add_super_admin_to_admin_users.rb +5 -0
- data/spec/dummy/db/schema.rb +65 -0
- data/spec/dummy/db/seeds.rb +1 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +9116 -0
- data/spec/dummy/log/test.log +2969 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/tmp/cache/assets/C6E/0F0/sprockets%2F930c17aa4002b266315478d747cec213 +0 -0
- data/spec/dummy/tmp/cache/assets/CA3/0F0/sprockets%2F6111c5f7d680071cae83281d5237bb52 +0 -0
- data/spec/dummy/tmp/cache/assets/CAE/C10/sprockets%2Fa28299b4afd821b21049164940fe6a29 +0 -0
- data/spec/dummy/tmp/cache/assets/CDB/040/sprockets%2Fc732474e67003a4eb840eb44c5ca9385 +0 -0
- data/spec/dummy/tmp/cache/assets/CE1/700/sprockets%2F9e9ac16860d51b9e1245e02a8bd98125 +0 -0
- data/spec/dummy/tmp/cache/assets/CE6/660/sprockets%2F90e738777deb87d405d03a2f251b547d +0 -0
- data/spec/dummy/tmp/cache/assets/CED/B50/sprockets%2F23b334e745d2ceb50b677668a367de99 +0 -0
- data/spec/dummy/tmp/cache/assets/CF3/0A0/sprockets%2F75abab8c479e90729ca78828102e5e78 +0 -0
- data/spec/dummy/tmp/cache/assets/CF6/EE0/sprockets%2F3f96414b8e9655fb831972cc81b6b95d +0 -0
- data/spec/dummy/tmp/cache/assets/D00/800/sprockets%2F5fe66f0484322d5cda7408c0cb030c36 +0 -0
- data/spec/dummy/tmp/cache/assets/D09/E60/sprockets%2Fd61ab529e52f740f6d26a7b3bc082914 +0 -0
- data/spec/dummy/tmp/cache/assets/D0B/400/sprockets%2Ff4f1a7e6cca869f56232e07440d0242e +0 -0
- data/spec/dummy/tmp/cache/assets/D0D/8D0/sprockets%2Fb048e1909af567b1e61c8f18dd3b4134 +0 -0
- data/spec/dummy/tmp/cache/assets/D0E/750/sprockets%2F535f852b14c3f64b6d4498e281ba6aa3 +0 -0
- data/spec/dummy/tmp/cache/assets/D1B/330/sprockets%2Fb7c84f061393bf7dac846cd173863c57 +0 -0
- data/spec/dummy/tmp/cache/assets/D20/AE0/sprockets%2F25d0f6af9dd375937908ad493464d3ce +0 -0
- data/spec/dummy/tmp/cache/assets/D2F/A20/sprockets%2F006e5a12b1bb0fc15555ad556589be6b +0 -0
- data/spec/dummy/tmp/cache/assets/D38/540/sprockets%2F86e1ad844bc9df4491a2a52b870421db +0 -0
- data/spec/dummy/tmp/cache/assets/D3E/AA0/sprockets%2F77115ed12f0f2812dd9284b1badf974e +0 -0
- data/spec/dummy/tmp/cache/assets/D45/B50/sprockets%2F3eb36e58b929a7cb215ec6cd90730f38 +0 -0
- data/spec/dummy/tmp/cache/assets/D45/BD0/sprockets%2F2def1531b613ed7a7dbfb87119f63667 +0 -0
- data/spec/dummy/tmp/cache/assets/D48/640/sprockets%2F9f4f18d910b678b1d0777e04cdaf6f24 +0 -0
- data/spec/dummy/tmp/cache/assets/D4C/C80/sprockets%2F298e59aa2551dcef562bdfd65908462d +0 -0
- data/spec/dummy/tmp/cache/assets/D59/D70/sprockets%2Fed9f0de1b65ae8d7ef89087c83728461 +0 -0
- data/spec/dummy/tmp/cache/assets/D63/930/sprockets%2F8877deb95181465893a12fc98feefea9 +0 -0
- data/spec/dummy/tmp/cache/assets/D67/9A0/sprockets%2F2b5fbe497968ed201d0ff0dca410d319 +0 -0
- data/spec/dummy/tmp/cache/assets/D78/560/sprockets%2Fdbe66652ccfa390de76149634dd82e1f +0 -0
- data/spec/dummy/tmp/cache/assets/D93/4C0/sprockets%2F857ecd2092cee11f740b3cf2e373ad2a +0 -0
- data/spec/dummy/tmp/cache/assets/D9A/FA0/sprockets%2Fe32c0ff23c6a4084195aafcff444fe63 +0 -0
- data/spec/dummy/tmp/cache/assets/DA3/450/sprockets%2Ff6563ad6efdc449e5219ea221c75fcc3 +0 -0
- data/spec/dummy/tmp/cache/assets/DA4/050/sprockets%2Fb09f488a4f238bf22bc82cef50a6f84d +0 -0
- data/spec/dummy/tmp/cache/assets/DD7/FE0/sprockets%2Ff00de35ea71cb4fc5fc5e96860f5ee55 +0 -0
- data/spec/dummy/tmp/cache/assets/DDE/420/sprockets%2Ffb8b186d5bf0307f86f65fc787d2adeb +0 -0
- data/spec/dummy/tmp/cache/assets/DE6/B50/sprockets%2Febd2b61aa5d1e7bd84e31523e1bc71ac +0 -0
- data/spec/dummy/tmp/cache/assets/DF0/870/sprockets%2F1e4ab2eb47da0bb42b6e37e38639cbae +0 -0
- data/spec/dummy/tmp/cache/assets/DFA/CD0/sprockets%2F6bb1e8a62edbd48cf00dc678d1f0f65a +0 -0
- data/spec/dummy/tmp/cache/assets/E32/990/sprockets%2F2f6fe5d3fae5b4dba7e7cc36ca68e415 +0 -0
- data/spec/dummy/tmp/cache/sass/021f0a44d22f3712e4de7c01de2d6b99f65f2482/_bourbon-deprecated-upcoming.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/021f0a44d22f3712e4de7c01de2d6b99f65f2482/_bourbon.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_compact.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_flex-grid.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_grid-width.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_linear-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_modular-scale.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_px-to-em.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_radial-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_tint-shade.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/0733f78978a3764d0f20e2bea650007fb2bf064b/_transition-property-name.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_batch_actions.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_blank_slates.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_columns.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_comments.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_date_picker.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_dropdown_menu.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_flash_messages.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_index_list.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_links.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_panels.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_popovers.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_scopes.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_status_tags.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_table_tools.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/2fd82df35090e4bb74fb9a41455f20a1e79db68a/_tables.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_all.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_buttons.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_gradients.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_icons.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_reset.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_rounded.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_sections.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_shadows.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_typography.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/49a924645aad7b7327372ccd94e45cbdf78ae4ff/_variables.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/97d1d5c145c2924a55e7b5d99d290112170b74f0/_footer.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/97d1d5c145c2924a55e7b5d99d290112170b74f0/_main_structure.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/97d1d5c145c2924a55e7b5d99d290112170b74f0/_title_bar.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_button.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_clearfix.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_font-family.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_hide-text.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_html5-input-types.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_position.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_prefixer.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_retina-image.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_size.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_timing-functions.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/a88ac2680a1680d7d2a5f8b0c7dc7f5e3131ade5/_triangle.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_deprecated-webkit-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_gradient-positions-parser.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_linear-positions-parser.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_radial-arg-parser.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_radial-positions-parser.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_render-gradients.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c10713f51b89c2fd0ebe39519f07849be30ad7dc/_shape-size-stripper.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_animation.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_appearance.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_backface-visibility.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_background-image.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_background.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_border-image.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_border-radius.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_box-sizing.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_columns.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_flex-box.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_font-face.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_hidpi-media-query.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_image-rendering.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_inline-block.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_keyframes.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_linear-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_perspective.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_placeholder.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_radial-gradient.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_transform.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_transition.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c440ddc8eb3b4ee623e7dfe6ab824cc1e13dc16d/_user-select.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c7fb764b3bec96a92cf65b0d831789c5ca3c5ed7/active_admin.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/cb0cbb3d3d7b7c51feca169c780bb955b45511b4/_dashboard.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/cb0cbb3d3d7b7c51feca169c780bb955b45511b4/_logged_out.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_base.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_forms.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_header.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_mixins.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/_typography.css.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/eeb938f07a558025f0485a33a8e74dcc19262df9/print.css.scssc +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/factories/admin_users.rb +8 -0
- data/spec/factories/categories.rb +17 -0
- data/spec/factories/posts.rb +11 -0
- data/spec/features/authorization_spec.rb +23 -0
- data/spec/features/custom_block_spec.rb +25 -0
- data/spec/features/js_confirmation_spec.rb +51 -0
- data/spec/spec_helper.rb +54 -0
- data/spec/support/post_helpers.rb +22 -0
- 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
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
6
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
7
|
+
Connecting to database specified by database.yml
|
8
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
9
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10
|
+
Connecting to database specified by database.yml
|
11
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
12
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
13
|
+
Connecting to database specified by database.yml
|
14
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
16
|
+
Connecting to database specified by database.yml
|
17
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
18
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
19
|
+
Connecting to database specified by database.yml
|
20
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
21
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
22
|
+
Connecting to database specified by database.yml
|
23
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
24
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
25
|
+
Connecting to database specified by database.yml
|
26
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
27
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
28
|
+
Connecting to database specified by database.yml
|
29
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
30
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
31
|
+
Connecting to database specified by database.yml
|
32
|
+
Connecting to database specified by database.yml
|
33
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
35
|
+
[1m[36mSQL (3.2ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
37
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
38
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
39
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
41
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
42
|
+
[1m[35m (2.2ms)[0m rollback transaction
|
43
|
+
Connecting to database specified by database.yml
|
44
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
45
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
46
|
+
[1m[36mSQL (3.0ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
48
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
49
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
50
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
52
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
63
|
+
Connecting to database specified by database.yml
|
64
|
+
Connecting to database specified by database.yml
|
65
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
66
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
67
|
+
[1m[36mSQL (3.7ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
69
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
70
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
71
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
73
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (2.3ms)[0m rollback transaction
|
84
|
+
Connecting to database specified by database.yml
|
85
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
86
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
87
|
+
Connecting to database specified by database.yml
|
88
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
89
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
90
|
+
[1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
91
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
92
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
94
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
95
|
+
Connecting to database specified by database.yml
|
96
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
97
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
98
|
+
Connecting to database specified by database.yml
|
99
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
100
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
101
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
102
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
103
|
+
[1m[35mSQL (1.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
105
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
106
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
108
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
109
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
110
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
112
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
113
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:50:46 -0400
|
114
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
115
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
116
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
117
|
+
Processing by Admin::PostsController#show as HTML
|
118
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
119
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
120
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
121
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
122
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
123
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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'[0m
|
124
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mActiveAdmin::Comment Load (0.1ms)[0m [1mSELECT "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'[0m
|
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
|
+
[1m[35m (2.1ms)[0m rollback transaction
|
129
|
+
Connecting to database specified by database.yml
|
130
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
131
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
132
|
+
[1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
133
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
134
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
136
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
137
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
139
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
140
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
141
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
143
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
144
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:51:32 -0400
|
145
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
146
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
147
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
148
|
+
Processing by Admin::PostsController#show as HTML
|
149
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
150
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
151
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
152
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
153
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
154
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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'[0m
|
155
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mActiveAdmin::Comment Load (0.1ms)[0m [1mSELECT "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'[0m
|
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
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
160
|
+
Connecting to database specified by database.yml
|
161
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
162
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
163
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
164
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
165
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
167
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
168
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
170
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
171
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
172
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
174
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
175
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:51:55 -0400
|
176
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
177
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "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[0m
|
178
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
179
|
+
Processing by Admin::PostsController#show as HTML
|
180
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
181
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
182
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
183
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
184
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
185
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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'[0m
|
186
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mActiveAdmin::Comment Load (0.1ms)[0m [1mSELECT "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'[0m
|
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
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
191
|
+
Connecting to database specified by database.yml
|
192
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
193
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
194
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
195
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
196
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
198
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
199
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
201
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
202
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
203
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
205
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
206
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:52:55 -0400
|
207
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
208
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
209
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
210
|
+
Processing by Admin::PostsController#show as HTML
|
211
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
212
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
213
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
214
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
215
|
+
[1m[35mCACHE (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
216
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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'[0m
|
217
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mActiveAdmin::Comment Load (0.1ms)[0m [1mSELECT "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'[0m
|
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
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
222
|
+
Connecting to database specified by database.yml
|
223
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
224
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
225
|
+
[1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
226
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
227
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
229
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
230
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
232
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
233
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
234
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
236
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
237
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:53:38 -0400
|
238
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
239
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
240
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
241
|
+
Processing by Admin::PostsController#show as HTML
|
242
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
243
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
244
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
245
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
246
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (1.8ms)[0m [1mrollback transaction[0m
|
250
|
+
Connecting to database specified by database.yml
|
251
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
252
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
253
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
254
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
255
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
257
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
258
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
260
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
261
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
262
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
264
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
265
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:55:10 -0400
|
266
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
267
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
268
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
269
|
+
Processing by Admin::PostsController#show as HTML
|
270
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
271
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
272
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
273
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
274
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
278
|
+
Connecting to database specified by database.yml
|
279
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
280
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
281
|
+
[1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
282
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
283
|
+
[1m[35mSQL (2.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
285
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
286
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
288
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
289
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
290
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
292
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
293
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:55:30 -0400
|
294
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
295
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
296
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
297
|
+
Processing by Admin::PostsController#show as HTML
|
298
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
299
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
300
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
301
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
302
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
306
|
+
Connecting to database specified by database.yml
|
307
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
308
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
309
|
+
[1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
310
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
311
|
+
[1m[35mSQL (2.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
313
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
314
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
316
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
317
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
318
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
320
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
321
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:56:30 -0400
|
322
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
323
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
324
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
325
|
+
Processing by Admin::PostsController#show as HTML
|
326
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
327
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
328
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
329
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
330
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
334
|
+
Connecting to database specified by database.yml
|
335
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
336
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
337
|
+
[1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
338
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
339
|
+
[1m[35mSQL (3.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
341
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
342
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
344
|
+
[1m[36m (0.2ms)[0m [1mSAVEPOINT active_record_1[0m
|
345
|
+
[1m[35mPost Exists (0.3ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
346
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.2ms)[0m RELEASE SAVEPOINT active_record_1
|
348
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
349
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:56:54 -0400
|
350
|
+
[1m[35m (0.2ms)[0m SAVEPOINT active_record_1
|
351
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
352
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
353
|
+
Processing by Admin::PostsController#show as HTML
|
354
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
355
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
356
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
357
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
358
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (2.1ms)[0m [1mrollback transaction[0m
|
362
|
+
Connecting to database specified by database.yml
|
363
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
364
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
365
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
366
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
367
|
+
[1m[35mSQL (1.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
369
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
370
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
372
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
373
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
374
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
376
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
377
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:57:13 -0400
|
378
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
379
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
380
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
381
|
+
Processing by Admin::PostsController#show as HTML
|
382
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
383
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
384
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
385
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
386
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
390
|
+
Connecting to database specified by database.yml
|
391
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
392
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
393
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
394
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
395
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
397
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
398
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
400
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
401
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
402
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
404
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
405
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:57:20 -0400
|
406
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
407
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
408
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
409
|
+
Processing by Admin::PostsController#show as HTML
|
410
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
411
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
412
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
413
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
414
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (2.4ms)[0m [1mrollback transaction[0m
|
418
|
+
Connecting to database specified by database.yml
|
419
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
420
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
421
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
422
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
423
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
425
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
426
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
428
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
429
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
430
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
432
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
433
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 19:58:11 -0400
|
434
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
435
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
436
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
437
|
+
Processing by Admin::PostsController#show as HTML
|
438
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
439
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
440
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
443
|
+
Connecting to database specified by database.yml
|
444
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
445
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
446
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
447
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
448
|
+
[1m[35mSQL (46.0ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
450
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
451
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
453
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
454
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
455
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
457
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
458
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:00:47 -0400
|
459
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
460
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
461
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
462
|
+
Processing by Admin::PostsController#show as HTML
|
463
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
464
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
465
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
468
|
+
[1m[35m (0.1ms)[0m begin transaction
|
469
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
470
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
472
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
473
|
+
[1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
474
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
476
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
479
|
+
Connecting to database specified by database.yml
|
480
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
481
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
482
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
483
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
484
|
+
[1m[35mSQL (42.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
486
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
487
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
489
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
490
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
491
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
493
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
494
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:01:49 -0400
|
495
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
496
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
497
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
498
|
+
Processing by Admin::PostsController#show as HTML
|
499
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
500
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
501
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (2.0ms)[0m [1mrollback transaction[0m
|
504
|
+
[1m[35m (0.1ms)[0m begin transaction
|
505
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
506
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
508
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
509
|
+
[1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
510
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
512
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
515
|
+
Connecting to database specified by database.yml
|
516
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
517
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
518
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
519
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
520
|
+
[1m[35mSQL (45.7ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
522
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
523
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
525
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
526
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
527
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
529
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
530
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:04:33 -0400
|
531
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
532
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
533
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
534
|
+
Processing by Admin::PostsController#show as HTML
|
535
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
536
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
537
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
540
|
+
[1m[35m (0.1ms)[0m begin transaction
|
541
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
542
|
+
Connecting to database specified by database.yml
|
543
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
544
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
545
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
546
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
547
|
+
[1m[35mSQL (44.0ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
549
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
550
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
552
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
553
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
554
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
556
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
557
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:05:39 -0400
|
558
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
559
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
560
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
561
|
+
Processing by Admin::PostsController#show as HTML
|
562
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
563
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
564
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
567
|
+
[1m[35m (0.1ms)[0m begin transaction
|
568
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
569
|
+
[1m[35mAdminUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
573
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
574
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
576
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
577
|
+
[1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
578
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
580
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
583
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
585
|
+
Processing by Admin::PostsController#show as HTML
|
586
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
587
|
+
[1m[35mCategory Load (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
|
588
|
+
[1m[36mPost Load (0.0ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1[0m [["id", "1"]]
|
589
|
+
Completed 404 Not Found in 2ms
|
590
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
591
|
+
Connecting to database specified by database.yml
|
592
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
593
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
594
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
595
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
596
|
+
[1m[35mSQL (43.8ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
598
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
599
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
601
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
602
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
603
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
605
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
606
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:06:09 -0400
|
607
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
608
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
609
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
610
|
+
Processing by Admin::PostsController#show as HTML
|
611
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
612
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
613
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (2.5ms)[0m [1mrollback transaction[0m
|
616
|
+
[1m[35m (0.1ms)[0m begin transaction
|
617
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
618
|
+
[1m[35mAdminUser Exists (0.2ms)[0m 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
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
622
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
623
|
+
Connecting to database specified by database.yml
|
624
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
625
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
626
|
+
[1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
627
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
628
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
630
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
631
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
633
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
634
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
635
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
637
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
638
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:07:50 -0400
|
639
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
640
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
641
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
642
|
+
Processing by Admin::PostsController#show as HTML
|
643
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
644
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
645
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (1.8ms)[0m [1mrollback transaction[0m
|
648
|
+
[1m[35m (0.1ms)[0m begin transaction
|
649
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
650
|
+
[1m[35mAdminUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
654
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
655
|
+
Connecting to database specified by database.yml
|
656
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
657
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
658
|
+
[1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
659
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
660
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
662
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
663
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
665
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
666
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
667
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
669
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
670
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:08:04 -0400
|
671
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
672
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
673
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
674
|
+
Processing by Admin::PostsController#show as HTML
|
675
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
676
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
677
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mrollback transaction[0m
|
680
|
+
[1m[35m (0.0ms)[0m begin transaction
|
681
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
682
|
+
[1m[35mAdminUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
686
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
687
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
689
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
690
|
+
[1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
691
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
693
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
696
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
698
|
+
Processing by Admin::PostsController#show as HTML
|
699
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
700
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
|
701
|
+
[1m[36mPost Load (0.0ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1[0m [["id", "1"]]
|
702
|
+
Completed 404 Not Found in 2ms
|
703
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
704
|
+
Connecting to database specified by database.yml
|
705
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
706
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
707
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
708
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
709
|
+
[1m[35mSQL (1.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
711
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
712
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
714
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
715
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
716
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
718
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
719
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:08:34 -0400
|
720
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
721
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
722
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
723
|
+
Processing by Admin::PostsController#show as HTML
|
724
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
725
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
726
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
729
|
+
[1m[35m (0.1ms)[0m begin transaction
|
730
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
731
|
+
[1m[35mAdminUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
735
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
736
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
738
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
739
|
+
[1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
740
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
742
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
745
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
747
|
+
Processing by Admin::PostsController#show as HTML
|
748
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
749
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
|
750
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1[0m [["id", "1"]]
|
751
|
+
Completed 404 Not Found in 6ms
|
752
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
753
|
+
Connecting to database specified by database.yml
|
754
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
755
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
756
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
757
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
758
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
760
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
761
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
763
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
764
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
765
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
767
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
768
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:09:20 -0400
|
769
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
770
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
771
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
772
|
+
Processing by Admin::PostsController#show as HTML
|
773
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
774
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
775
|
+
[1m[35mPost Load (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
778
|
+
[1m[35m (0.1ms)[0m begin transaction
|
779
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
780
|
+
[1m[35mAdminUser Exists (0.2ms)[0m 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
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
784
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
785
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
787
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
788
|
+
[1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
789
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
791
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
794
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
796
|
+
Processing by Admin::PostsController#show as HTML
|
797
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
798
|
+
[1m[35mCategory Load (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
|
799
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? AND ('t'='f') LIMIT 1[0m [["id", "1"]]
|
800
|
+
Completed 404 Not Found in 513ms
|
801
|
+
[1m[35m (1.7ms)[0m rollback transaction
|
802
|
+
Connecting to database specified by database.yml
|
803
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
804
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
805
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
806
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
807
|
+
[1m[35mSQL (43.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
809
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
810
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
812
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
813
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
814
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
816
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
817
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:09:58 -0400
|
818
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
819
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
820
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
821
|
+
Processing by Admin::PostsController#show as HTML
|
822
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
823
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
824
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
827
|
+
[1m[35m (0.1ms)[0m begin transaction
|
828
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
829
|
+
[1m[35mAdminUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
833
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
834
|
+
Connecting to database specified by database.yml
|
835
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
836
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
837
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
838
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
839
|
+
[1m[35mSQL (44.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
841
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
842
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
844
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
845
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
846
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
848
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
849
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:10:11 -0400
|
850
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
851
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
852
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
853
|
+
Processing by Admin::PostsController#show as HTML
|
854
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
855
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
856
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
859
|
+
[1m[35m (0.1ms)[0m begin transaction
|
860
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
861
|
+
[1m[35mAdminUser Exists (0.2ms)[0m 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
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
865
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
866
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
868
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
869
|
+
[1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
870
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
872
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
875
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
877
|
+
Processing by Admin::PostsController#show as HTML
|
878
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
879
|
+
[1m[35mCategory Load (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
|
880
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
|
881
|
+
[1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
882
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.6ms)[0m rollback transaction
|
886
|
+
Connecting to database specified by database.yml
|
887
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
888
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
889
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
890
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
891
|
+
[1m[35mSQL (43.9ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
893
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
894
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
896
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
897
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
898
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
900
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
901
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-03 20:11:02 -0400
|
902
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
903
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
904
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
905
|
+
Processing by Admin::PostsController#show as HTML
|
906
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
907
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
908
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
909
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
910
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (1.9ms)[0m [1mrollback transaction[0m
|
914
|
+
[1m[35m (0.1ms)[0m begin transaction
|
915
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
916
|
+
[1m[35mAdminUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
920
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
921
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
923
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
924
|
+
[1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
925
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
927
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
930
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
932
|
+
Processing by Admin::PostsController#show as HTML
|
933
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
934
|
+
[1m[35mCategory Load (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
|
935
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
|
936
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
937
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
941
|
+
Connecting to database specified by database.yml
|
942
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
943
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
944
|
+
[1m[36mAdminUser Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
945
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
946
|
+
[1m[35mSQL (4.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
948
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
949
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
951
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
952
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
953
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
955
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
956
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-06 22:49:41 -0400
|
957
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
958
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "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[0m
|
959
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
960
|
+
Processing by Admin::PostsController#show as HTML
|
961
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
962
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1[0m [["id", "1"]]
|
963
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
964
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
965
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (1.2ms)[0m [1mrollback transaction[0m
|
969
|
+
[1m[35m (0.1ms)[0m begin transaction
|
970
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
971
|
+
[1m[35mAdminUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
975
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
976
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
978
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
979
|
+
[1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
980
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
982
|
+
[1m[35mPost Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
985
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
987
|
+
Processing by Admin::PostsController#show as HTML
|
988
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
989
|
+
[1m[35mCategory Load (0.0ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
|
990
|
+
[1m[36mPost Load (0.0ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
|
991
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
992
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
996
|
+
Connecting to database specified by database.yml
|
997
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
998
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
999
|
+
[1m[36mAdminUser Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
1000
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
1001
|
+
[1m[35mSQL (4.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1003
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1004
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1006
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1007
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
1008
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1010
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
1011
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
1012
|
+
Connecting to database specified by database.yml
|
1013
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1014
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1015
|
+
[1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
1016
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
1017
|
+
[1m[35mSQL (1.8ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1019
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1020
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1022
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1023
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
1024
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1026
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
1027
|
+
[1m[35m (1.9ms)[0m rollback transaction
|
1028
|
+
Connecting to database specified by database.yml
|
1029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1030
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1031
|
+
[1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
1032
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
1033
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1035
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1036
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1038
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1039
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
1040
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1042
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
1043
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:07:02 -0400
|
1044
|
+
[1m[35m (0.5ms)[0m begin transaction
|
1045
|
+
[1m[36m (0.3ms)[0m [1mUPDATE "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[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1048
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
1049
|
+
Connecting to database specified by database.yml
|
1050
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1051
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1052
|
+
[1m[36mAdminUser Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
1053
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
1054
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1056
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1057
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1059
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1060
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
1061
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1063
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
1064
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:07:57 -0400
|
1065
|
+
[1m[35m (0.3ms)[0m begin transaction
|
1066
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "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[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1069
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "categories" [0m
|
1070
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" LIMIT 1
|
1071
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "posts" WHERE "posts"."category_id" = 1[0m
|
1072
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" LIMIT 1
|
1073
|
+
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
1074
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
1075
|
+
Connecting to database specified by database.yml
|
1076
|
+
[1m[36m (0.5ms)[0m [1mselect sqlite_version(*)[0m
|
1077
|
+
[1m[35m (1.1ms)[0m 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
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")[0m
|
1079
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")
|
1080
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_admin_notes_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")[0m
|
1081
|
+
[1m[35m (1.2ms)[0m 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
|
+
[1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")[0m
|
1083
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")
|
1084
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
1085
|
+
[1m[35m (1.1ms)[0m 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
|
+
[1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
1087
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
1088
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
1089
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130829000200')
|
1090
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130817004304')[0m
|
1091
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130817004306')
|
1092
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130817004307')[0m
|
1093
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130817005638')
|
1094
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
1095
|
+
[1m[35mAdminUser Exists (0.3ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1
|
1096
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1097
|
+
[1m[35mAdminUser Exists (0.1ms)[0m 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
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (4.7ms)[0m commit transaction
|
1101
|
+
Connecting to database specified by database.yml
|
1102
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1103
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1104
|
+
[1m[36mAdminUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1[0m
|
1105
|
+
Binary data inserted for `string` type on column `encrypted_password`
|
1106
|
+
[1m[35mSQL (1.7ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1108
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
1109
|
+
[1m[36mSQL (0.6ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1111
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
1112
|
+
[1m[35mPost Exists (0.1ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1
|
1113
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1115
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
1116
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:13:21 -0400
|
1117
|
+
[1m[35m (0.3ms)[0m begin transaction
|
1118
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "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[0m
|
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
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1121
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
1122
|
+
Connecting to database specified by database.yml
|
1123
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1124
|
+
[1m[35mAdminUser Exists (0.2ms)[0m 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
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.8ms)[0m commit transaction
|
1128
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1129
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
1131
|
+
[1m[35m (0.1ms)[0m begin transaction
|
1132
|
+
[1m[36mPost Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1133
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
1135
|
+
[1m[35mPost Load (0.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
1138
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
1140
|
+
Processing by Admin::PostsController#show as HTML
|
1141
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1142
|
+
[1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", "1"]]
|
1143
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
|
1144
|
+
[1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
1145
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1171
|
+
[1m[35mAdminUser Exists (0.2ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1172
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1173
|
+
Connecting to database specified by database.yml
|
1174
|
+
Connecting to database specified by database.yml
|
1175
|
+
[1m[36m (9.2ms)[0m [1mCREATE 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)) [0m
|
1176
|
+
[1m[35m (1.2ms)[0m CREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")
|
1177
|
+
[1m[36m (1.0ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")[0m
|
1178
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "index_admin_notes_on_resource_type_and_resource_id" ON "active_admin_comments" ("resource_type", "resource_id")
|
1179
|
+
[1m[36m (3.6ms)[0m [1mCREATE 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) [0m
|
1180
|
+
[1m[35m (0.9ms)[0m CREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")
|
1181
|
+
[1m[36m (1.3ms)[0m [1mCREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")[0m
|
1182
|
+
[1m[35m (2.7ms)[0m CREATE TABLE "categories" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
1183
|
+
[1m[36m (4.1ms)[0m [1mCREATE 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) [0m
|
1184
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL)
|
1185
|
+
[1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
1186
|
+
[1m[35m (0.3ms)[0m SELECT version FROM "schema_migrations"
|
1187
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130829000200')[0m
|
1188
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130817004304')
|
1189
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130817004306')[0m
|
1190
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130817004307')
|
1191
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130817005638')[0m
|
1192
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
1193
|
+
[1m[36mAdminUser Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1[0m
|
1194
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1195
|
+
[1m[36mAdminUser Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'admin@example.com' LIMIT 1[0m
|
1196
|
+
[1m[35mSQL (1.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1198
|
+
Connecting to database specified by database.yml
|
1199
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
1200
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1201
|
+
[1m[36m (14.2ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1202
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1204
|
+
[1m[35mAdminUser Exists (0.7ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1205
|
+
[1m[36mSQL (1.9ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1207
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1208
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1210
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1211
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1212
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1214
|
+
[1m[35mPost Load (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1217
|
+
[1m[35m (0.7ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1219
|
+
Processing by Admin::PostsController#show as HTML
|
1220
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1221
|
+
[1m[35mCategory Load (0.8ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1222
|
+
[1m[36mPost Load (0.7ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1223
|
+
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
1224
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (12.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1235
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1238
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1239
|
+
[1m[36m (11.7ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1240
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1242
|
+
[1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1243
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1245
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1246
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1248
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1249
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1250
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1252
|
+
[1m[35mPost Load (0.7ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1255
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1257
|
+
Processing by Admin::PostsController#show as HTML
|
1258
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1259
|
+
[1m[35mCategory Load (0.6ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1260
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1261
|
+
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
1262
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (9.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1267
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
1269
|
+
[1m[35m (10.2ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
1270
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1271
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1272
|
+
[1m[36mAdminUser Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1[0m
|
1273
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1275
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1276
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "categories" ("created_at", "name", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1278
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1279
|
+
[1m[35mPost Exists (0.5ms)[0m SELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1
|
1280
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "posts" ("body", "category_id", "created_at", "status", "title", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1282
|
+
[1m[36mPost Load (0.4ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1[0m
|
1283
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:26:03 -0400
|
1284
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1285
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "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[0m
|
1286
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1287
|
+
Processing by Admin::PostsController#show as HTML
|
1288
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1289
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1290
|
+
[1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
1291
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
1292
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
1296
|
+
[1m[35m (10.4ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
1297
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1298
|
+
Connecting to database specified by database.yml
|
1299
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1300
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1301
|
+
[1m[36m (11.5ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1302
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1304
|
+
[1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1305
|
+
[1m[36mSQL (2.3ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1307
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1308
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1310
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1311
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1312
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1314
|
+
[1m[35mPost Load (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1317
|
+
[1m[35m (0.7ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1319
|
+
Processing by Admin::PostsController#show as HTML
|
1320
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1321
|
+
[1m[35mCategory Load (0.7ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1322
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1323
|
+
[1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
1324
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (12.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1335
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1339
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1340
|
+
[1m[36m (11.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1341
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1343
|
+
[1m[35mAdminUser Exists (1.0ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1344
|
+
[1m[36mSQL (2.9ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1346
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1347
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1349
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1350
|
+
[1m[36mPost Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1351
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1353
|
+
[1m[35mPost Load (0.6ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1356
|
+
[1m[35m (0.6ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1358
|
+
Processing by Admin::PostsController#show as HTML
|
1359
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1360
|
+
[1m[35mCategory Load (0.7ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1361
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1362
|
+
[1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
1363
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (11.7ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1374
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1377
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1378
|
+
[1m[36m (10.7ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1379
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1381
|
+
[1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1382
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1384
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1385
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1387
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1388
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1389
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1391
|
+
[1m[35mPost Load (0.6ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1394
|
+
[1m[35m (0.6ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1396
|
+
Processing by Admin::PostsController#show as HTML
|
1397
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1398
|
+
[1m[35mCategory Load (0.8ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1399
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1400
|
+
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
1401
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (8.6ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1412
|
+
[1m[35m (0.9ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1415
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1416
|
+
[1m[36m (11.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1417
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1419
|
+
[1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1420
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1422
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1423
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1425
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1426
|
+
[1m[36mPost Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1427
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1429
|
+
[1m[35mPost Load (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1432
|
+
[1m[35m (0.6ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1434
|
+
Processing by Admin::PostsController#show as HTML
|
1435
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1436
|
+
[1m[35mCategory Load (0.8ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1437
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1438
|
+
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
1439
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (10.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1450
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1453
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1454
|
+
[1m[36m (10.7ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1455
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1457
|
+
[1m[35mAdminUser Exists (0.7ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1458
|
+
[1m[36mSQL (2.6ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1460
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1461
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1463
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1464
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1465
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1467
|
+
[1m[35mPost Load (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1470
|
+
[1m[35m (0.6ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1472
|
+
Processing by Admin::PostsController#show as HTML
|
1473
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1474
|
+
[1m[35mCategory Load (0.8ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1475
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1476
|
+
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
1477
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (12.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1488
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
1491
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1492
|
+
[1m[36m (10.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1493
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1495
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1496
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1498
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1499
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1501
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1502
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1503
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1505
|
+
[1m[35mPost Load (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1508
|
+
[1m[35m (0.6ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1510
|
+
Processing by Admin::PostsController#show as HTML
|
1511
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1512
|
+
[1m[35mCategory Load (0.7ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1513
|
+
[1m[36mPost Load (0.5ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1514
|
+
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
1515
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
1528
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1529
|
+
[1m[35mPost Load (0.4ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
1536
|
+
[1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1537
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1538
|
+
[1m[35mCategory Load (0.5ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
1539
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (8.4ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1544
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
1547
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1548
|
+
[1m[36m (9.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1549
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1551
|
+
[1m[35mAdminUser Exists (0.7ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1552
|
+
[1m[36mSQL (2.6ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1554
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1555
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1557
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1558
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1559
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1561
|
+
[1m[35mPost Load (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1564
|
+
[1m[35m (0.6ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1566
|
+
Processing by Admin::PostsController#show as HTML
|
1567
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1568
|
+
[1m[35mCategory Load (0.8ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1569
|
+
[1m[36mPost Load (0.6ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1570
|
+
[1m[35mCategory Load (0.5ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
1571
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35mAdminUser Load (7.0ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
1584
|
+
[1m[36mCategory Load (1.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1585
|
+
[1m[35mPost Load (0.4ms)[0m 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
|
+
[1m[36mAdminUser Load (0.3ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
1592
|
+
[1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1593
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1594
|
+
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1
|
1595
|
+
[1m[36mCACHE (0.0ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (12.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1600
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1603
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1604
|
+
[1m[36m (11.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1605
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1607
|
+
[1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1608
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1610
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1611
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1613
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1614
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1615
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1617
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-09-08 06:44:33 -0400
|
1618
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1619
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "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[0m
|
1620
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1621
|
+
Processing by Admin::PostsController#show as HTML
|
1622
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1623
|
+
[1m[36mCategory Load (0.8ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1624
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
1625
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
1626
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mALTER 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[0m
|
1636
|
+
[1m[35m (10.3ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
1637
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1638
|
+
Connecting to database specified by database.yml
|
1639
|
+
[1m[36m (2.8ms)[0m [1mALTER 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[0m
|
1640
|
+
[1m[35m (7.5ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1641
|
+
[1m[36m (15.2ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1642
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1644
|
+
[1m[35mAdminUser Exists (1.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1645
|
+
[1m[36mSQL (3.6ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.2ms)[0m COMMIT
|
1647
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1648
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1650
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1651
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1652
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1654
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:07:51 -0400
|
1655
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1656
|
+
[1m[36m (2.2ms)[0m [1mUPDATE "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[0m
|
1657
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1658
|
+
Processing by Admin::PostsController#show as HTML
|
1659
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1660
|
+
[1m[36mCategory Load (0.9ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1661
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
1662
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
1663
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
1673
|
+
[1m[35m (8.7ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
1674
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1675
|
+
Connecting to database specified by database.yml
|
1676
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1677
|
+
[1m[35m (1.4ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1678
|
+
[1m[36m (9.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1679
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1681
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1682
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1684
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1685
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1687
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1688
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1689
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1691
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:08:10 -0400
|
1692
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1693
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "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[0m
|
1694
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1695
|
+
Processing by Admin::PostsController#show as HTML
|
1696
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1697
|
+
[1m[36mCategory Load (0.8ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1698
|
+
[1m[35mPost Load (0.9ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
1699
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
1700
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mALTER 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[0m
|
1710
|
+
[1m[35m (11.0ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
1711
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
1712
|
+
Connecting to database specified by database.yml
|
1713
|
+
[1m[36m (2.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
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
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1721
|
+
[1m[36m (19.3ms)[0m [1mALTER TABLE "admin_users" ADD COLUMN "super_admin" boolean DEFAULT 'f'[0m
|
1722
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20131025231118')
|
1723
|
+
[1m[36m (0.8ms)[0m [1mCOMMIT[0m
|
1724
|
+
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
1725
|
+
Connecting to database specified by database.yml
|
1726
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1727
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1728
|
+
[1m[36m (9.4ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1729
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1731
|
+
[1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1732
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1734
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1735
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1737
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1738
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1739
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1741
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:17:49 -0400
|
1742
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1743
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "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[0m
|
1744
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1745
|
+
Processing by Admin::PostsController#show as HTML
|
1746
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1747
|
+
[1m[36mCategory Load (0.8ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1748
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
1749
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
1750
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
1775
|
+
[1m[35m (10.7ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
1776
|
+
[1m[36m (0.3ms)[0m [1mALTER 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[0m
|
1777
|
+
Connecting to database specified by database.yml
|
1778
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1779
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1780
|
+
[1m[36m (30.5ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1781
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1783
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1784
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1786
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1787
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1789
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1790
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1791
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1793
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:20:42 -0400
|
1794
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1795
|
+
[1m[36m (1.0ms)[0m [1mUPDATE "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[0m
|
1796
|
+
[1m[35m (0.4ms)[0m COMMIT
|
1797
|
+
Processing by Admin::PostsController#show as HTML
|
1798
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1799
|
+
[1m[36mCategory Load (0.8ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1800
|
+
[1m[35mPost Load (0.9ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
1801
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
1802
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
1812
|
+
[1m[35m (10.2ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
1813
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1814
|
+
Connecting to database specified by database.yml
|
1815
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1816
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1817
|
+
[1m[36m (11.6ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1818
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1820
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1821
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (1.0ms)[0m COMMIT
|
1823
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1824
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
1826
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1827
|
+
[1m[36mPost Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1828
|
+
[1m[35mSQL (1.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1830
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:24:02 -0400
|
1831
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1832
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "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[0m
|
1833
|
+
[1m[35m (0.5ms)[0m COMMIT
|
1834
|
+
Processing by Admin::PostsController#show as HTML
|
1835
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1836
|
+
[1m[36mCategory Load (0.7ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1837
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
1838
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
1839
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
1852
|
+
[1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1853
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1854
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1855
|
+
[1m[36mPost Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1[0m
|
1856
|
+
[1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-25 23:24:03.231828' WHERE "posts"."id" = 1
|
1857
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
1864
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1865
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
1866
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
1867
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mALTER 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[0m
|
1871
|
+
[1m[35m (8.6ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
1872
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1873
|
+
Connecting to database specified by database.yml
|
1874
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1875
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1876
|
+
[1m[36m (10.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1877
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1879
|
+
[1m[35mAdminUser Exists (0.7ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1880
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1882
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1883
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1885
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1886
|
+
[1m[36mPost Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1887
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1889
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:28:33 -0400
|
1890
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1891
|
+
[1m[36m (1.3ms)[0m [1mUPDATE "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[0m
|
1892
|
+
[1m[35m (0.7ms)[0m COMMIT
|
1893
|
+
Processing by Admin::PostsController#show as HTML
|
1894
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1895
|
+
[1m[36mCategory Load (0.9ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1896
|
+
[1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
1897
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
1898
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
1911
|
+
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1912
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1913
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1914
|
+
[1m[36mPost Exists (1.9ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1[0m
|
1915
|
+
[1m[35m (0.5ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-25 23:28:33.566197' WHERE "posts"."id" = 1
|
1916
|
+
[1m[36m (1.6ms)[0m [1mCOMMIT[0m
|
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
|
+
[1m[35mAdminUser Load (0.5ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
1923
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1924
|
+
[1m[35mPost Load (0.4ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
1925
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
1926
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
1930
|
+
[1m[35m (11.5ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
1931
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
1932
|
+
Connecting to database specified by database.yml
|
1933
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1934
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1935
|
+
[1m[36m (10.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1936
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1938
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1939
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1941
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1942
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
1944
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1945
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
1946
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
1948
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:29:09 -0400
|
1949
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1950
|
+
[1m[36m (0.7ms)[0m [1mUPDATE "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[0m
|
1951
|
+
[1m[35m (0.3ms)[0m COMMIT
|
1952
|
+
Processing by Admin::PostsController#show as HTML
|
1953
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
1954
|
+
[1m[36mCategory Load (0.7ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1955
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
1956
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
1957
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
1970
|
+
[1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
1971
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1972
|
+
[1m[35m (0.1ms)[0m BEGIN
|
1973
|
+
[1m[36mPost Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1[0m
|
1974
|
+
[1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-25 23:29:10.234478' WHERE "posts"."id" = 1
|
1975
|
+
[1m[36m (1.8ms)[0m [1mCOMMIT[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
1982
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
1983
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
1984
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
1985
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mALTER 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[0m
|
1989
|
+
[1m[35m (8.4ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
1990
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1991
|
+
Connecting to database specified by database.yml
|
1992
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
1993
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
1994
|
+
[1m[36m (11.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
1995
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
1997
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
1998
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2000
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2001
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2003
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2004
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
2005
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2007
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
|
2008
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2009
|
+
[1m[36m (0.7ms)[0m [1mUPDATE "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[0m
|
2010
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2011
|
+
Processing by Admin::PostsController#show as HTML
|
2012
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2013
|
+
[1m[36mCategory Load (2.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2014
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2015
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2016
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
2029
|
+
[1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
2030
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2031
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2032
|
+
[1m[36mPost Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1[0m
|
2033
|
+
[1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-25 23:35:08.858370' WHERE "posts"."id" = 1
|
2034
|
+
[1m[36m (1.8ms)[0m [1mCOMMIT[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
2041
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2042
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2043
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2044
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2048
|
+
[1m[35m (8.3ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2049
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2050
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (8.7ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2052
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2054
|
+
[1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
|
2055
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2057
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2058
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2060
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2061
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
2062
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2064
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 19:35:08 -0400
|
2065
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2066
|
+
[1m[36m (0.7ms)[0m [1mUPDATE "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[0m
|
2067
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2068
|
+
Processing by Admin::PostsController#show as HTML
|
2069
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2070
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2071
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2072
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2073
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mALTER 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[0m
|
2077
|
+
[1m[35m (9.8ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2078
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2079
|
+
Connecting to database specified by database.yml
|
2080
|
+
[1m[36m (0.7ms)[0m [1mALTER 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[0m
|
2081
|
+
[1m[35m (1.8ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
2082
|
+
[1m[36m (10.7ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2083
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2085
|
+
[1m[35mAdminUser Exists (1.1ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
2086
|
+
[1m[36mSQL (3.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2088
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2089
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
2091
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2092
|
+
[1m[36mPost Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
2093
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2095
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:07 -0400
|
2096
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2097
|
+
[1m[36m (0.7ms)[0m [1mUPDATE "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[0m
|
2098
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2099
|
+
Processing by Admin::PostsController#show as HTML
|
2100
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2101
|
+
[1m[36mCategory Load (1.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2102
|
+
[1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2103
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2104
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
2117
|
+
[1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
2118
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2119
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2120
|
+
[1m[36mPost Exists (0.9ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1[0m
|
2121
|
+
[1m[35m (0.4ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-26 00:15:08.124078' WHERE "posts"."id" = 1
|
2122
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
2129
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2130
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2131
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2132
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2136
|
+
[1m[35m (9.8ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2137
|
+
[1m[36m (0.6ms)[0m [1mALTER 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[0m
|
2138
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (11.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2140
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2142
|
+
[1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
|
2143
|
+
[1m[36mSQL (1.7ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2145
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2146
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2148
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2149
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
2150
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
2152
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
|
2153
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2154
|
+
[1m[36m (0.7ms)[0m [1mUPDATE "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[0m
|
2155
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2156
|
+
Processing by Admin::PostsController#show as HTML
|
2157
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2158
|
+
[1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2159
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2160
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2161
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2165
|
+
[1m[35m (11.2ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2166
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2167
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (9.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2169
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2171
|
+
[1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user3@example.com' LIMIT 1
|
2172
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2174
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2175
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2177
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2178
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 3' LIMIT 1[0m
|
2179
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2181
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:15:08 -0400
|
2182
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2183
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "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[0m
|
2184
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2185
|
+
Processing by Admin::PostsController#show as HTML
|
2186
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2187
|
+
[1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2188
|
+
[1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2189
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2190
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.5ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
2197
|
+
[1m[35mCategory Load (0.4ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
2198
|
+
[1m[36mPost Load (0.4ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2199
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2200
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 3' AND "posts"."id" != 1) LIMIT 1[0m
|
2201
|
+
[1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'draft', "updated_at" = '2013-10-26 00:15:08.593582' WHERE "posts"."id" = 1
|
2202
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
2209
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2210
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2211
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2212
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2216
|
+
[1m[35m (10.2ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2217
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
2218
|
+
Connecting to database specified by database.yml
|
2219
|
+
Connecting to database specified by database.yml
|
2220
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
2221
|
+
[1m[35m (1.5ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
2222
|
+
[1m[36m (9.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2223
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2225
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
2226
|
+
[1m[36mSQL (2.6ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2228
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2229
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (5.4ms)[0m [1mCOMMIT[0m
|
2231
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2232
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
2233
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2235
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
|
2236
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2237
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:44:58 -0400
|
2238
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2239
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "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[0m
|
2240
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2241
|
+
Processing by Admin::PostsController#show as HTML
|
2242
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2243
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2244
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2245
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2246
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2250
|
+
[1m[35m (9.0ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2251
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2252
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (10.2ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2254
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2256
|
+
[1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
|
2257
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2259
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2260
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2262
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2263
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
2264
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2266
|
+
[1m[35mPost Load (0.4ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
|
2267
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2268
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:44:58 -0400
|
2269
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2270
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "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[0m
|
2271
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2272
|
+
Processing by Admin::PostsController#show as HTML
|
2273
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2274
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2275
|
+
[1m[35mPost Load (0.4ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2276
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2277
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2281
|
+
[1m[35m (9.3ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2282
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2283
|
+
Connecting to database specified by database.yml
|
2284
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2285
|
+
[1m[35m (1.3ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
2286
|
+
[1m[36m (10.4ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2287
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2289
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
2290
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2292
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2293
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2295
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2296
|
+
[1m[36mPost Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
2297
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2299
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
|
2300
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2301
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:45:59 -0400
|
2302
|
+
[1m[35m (0.3ms)[0m BEGIN
|
2303
|
+
[1m[36m (0.7ms)[0m [1mUPDATE "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[0m
|
2304
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2305
|
+
Processing by Admin::PostsController#show as HTML
|
2306
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2307
|
+
[1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2308
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2309
|
+
[1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2310
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2314
|
+
[1m[35m (9.0ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2315
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
2316
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (9.9ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2318
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2320
|
+
[1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
|
2321
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2323
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2324
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2326
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2327
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
2328
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2330
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 LIMIT 1
|
2331
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2332
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:45:59 -0400
|
2333
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2334
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "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[0m
|
2335
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2336
|
+
Processing by Admin::PostsController#show as HTML
|
2337
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2338
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2339
|
+
[1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2340
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2341
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2345
|
+
[1m[35m (11.0ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2346
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2347
|
+
Connecting to database specified by database.yml
|
2348
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2349
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
2350
|
+
[1m[36m (11.0ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2351
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2353
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
2354
|
+
[1m[36mSQL (2.4ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2356
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2357
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2359
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2360
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
2361
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2363
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
|
2364
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2365
|
+
[1m[36m (0.7ms)[0m [1mUPDATE "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[0m
|
2366
|
+
[1m[35m (0.6ms)[0m COMMIT
|
2367
|
+
Processing by Admin::PostsController#show as HTML
|
2368
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2369
|
+
[1m[36mCategory Load (1.1ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2370
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2371
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2372
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
2385
|
+
[1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
2386
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2387
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2388
|
+
[1m[36mPost Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 1' AND "posts"."id" != 1) LIMIT 1[0m
|
2389
|
+
[1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-26 00:51:34.544871' WHERE "posts"."id" = 1
|
2390
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
2397
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2398
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2399
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2400
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2404
|
+
[1m[35m (22.9ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2405
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2406
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (8.6ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2408
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2410
|
+
[1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
|
2411
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2413
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2414
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
2416
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2417
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
2418
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2420
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
|
2421
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2422
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "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[0m
|
2423
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2424
|
+
Processing by Admin::PostsController#show as HTML
|
2425
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2426
|
+
[1m[36mCategory Load (0.7ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2427
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2428
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2429
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2433
|
+
[1m[35m (8.7ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2434
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
2435
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (9.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2437
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2439
|
+
[1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user3@example.com' LIMIT 1
|
2440
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2442
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2443
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2445
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2446
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 3' LIMIT 1[0m
|
2447
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2449
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:34 -0400
|
2450
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2451
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "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[0m
|
2452
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2453
|
+
Processing by Admin::PostsController#show as HTML
|
2454
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2455
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2456
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2457
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2458
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
2465
|
+
[1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
2466
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2467
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2468
|
+
[1m[36mPost Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 3' AND "posts"."id" != 1) LIMIT 1[0m
|
2469
|
+
[1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'draft', "updated_at" = '2013-10-26 00:51:34.955849' WHERE "posts"."id" = 1
|
2470
|
+
[1m[36m (1.8ms)[0m [1mCOMMIT[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
2477
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2478
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2479
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2480
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2484
|
+
[1m[35m (7.8ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2485
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2486
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (8.5ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2488
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2490
|
+
[1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user4@example.com' LIMIT 1
|
2491
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2493
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2494
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2496
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2497
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 4' LIMIT 1[0m
|
2498
|
+
[1m[35mSQL (0.7ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2500
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:35 -0400
|
2501
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2502
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "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[0m
|
2503
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2504
|
+
Processing by Admin::PostsController#show as HTML
|
2505
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2506
|
+
[1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2507
|
+
[1m[35mPost Load (0.8ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2508
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2509
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mALTER 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[0m
|
2513
|
+
[1m[35m (10.3ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2514
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2515
|
+
Connecting to database specified by database.yml
|
2516
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2517
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
2518
|
+
[1m[36m (11.3ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2519
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2521
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
2522
|
+
[1m[36mSQL (2.5ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2524
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2525
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2527
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2528
|
+
[1m[36mPost Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
2529
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2531
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:56 -0400
|
2532
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2533
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "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[0m
|
2534
|
+
[1m[35m (0.5ms)[0m COMMIT
|
2535
|
+
Processing by Admin::PostsController#show as HTML
|
2536
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2537
|
+
[1m[36mCategory Load (0.9ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2538
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2539
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2540
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2550
|
+
[1m[35m (10.1ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2551
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2552
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (9.5ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2554
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2556
|
+
[1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
|
2557
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2559
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2560
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2562
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2563
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
2564
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2566
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:56 -0400
|
2567
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2568
|
+
[1m[36m (0.8ms)[0m [1mUPDATE "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[0m
|
2569
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2570
|
+
Processing by Admin::PostsController#show as HTML
|
2571
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2572
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2573
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2574
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2575
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
2582
|
+
[1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
2583
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2584
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2585
|
+
[1m[36mPost Exists (0.7ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 2' AND "posts"."id" != 1) LIMIT 1[0m
|
2586
|
+
[1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'draft', "updated_at" = '2013-10-26 00:51:57.061943' WHERE "posts"."id" = 1
|
2587
|
+
[1m[36m (1.8ms)[0m [1mCOMMIT[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
2594
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2595
|
+
[1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2596
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2597
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2601
|
+
[1m[35m (8.5ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2602
|
+
[1m[36m (0.6ms)[0m [1mALTER 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[0m
|
2603
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (9.9ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2605
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2607
|
+
[1m[35mAdminUser Exists (0.4ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user3@example.com' LIMIT 1
|
2608
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2610
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2611
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2613
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2614
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 3' LIMIT 1[0m
|
2615
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2617
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
|
2618
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2619
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "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[0m
|
2620
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2621
|
+
Processing by Admin::PostsController#show as HTML
|
2622
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2623
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2624
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2625
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2626
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
2633
|
+
[1m[35mCategory Load (0.3ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
2634
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2635
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2636
|
+
[1m[36mPost Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 3' AND "posts"."id" != 1) LIMIT 1[0m
|
2637
|
+
[1m[35m (0.2ms)[0m UPDATE "posts" SET "status" = 'archived', "updated_at" = '2013-10-26 00:51:57.309458' WHERE "posts"."id" = 1
|
2638
|
+
[1m[36m (1.7ms)[0m [1mCOMMIT[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
2645
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2646
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2647
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2648
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2652
|
+
[1m[35m (8.6ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2653
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
2654
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (9.3ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2656
|
+
[1m[35m (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2658
|
+
[1m[35mAdminUser Exists (0.6ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user4@example.com' LIMIT 1
|
2659
|
+
[1m[36mSQL (1.2ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2661
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2662
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2664
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2665
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 4' LIMIT 1[0m
|
2666
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2668
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 20:51:57 -0400
|
2669
|
+
[1m[35m (0.3ms)[0m BEGIN
|
2670
|
+
[1m[36m (0.8ms)[0m [1mUPDATE "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[0m
|
2671
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2672
|
+
Processing by Admin::PostsController#show as HTML
|
2673
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2674
|
+
[1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2675
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2676
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2677
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
2684
|
+
[1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1 [["id", "1"]]
|
2685
|
+
[1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2686
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2687
|
+
[1m[36mPost Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE ("posts"."title" = 'Post 4' AND "posts"."id" != 1) LIMIT 1[0m
|
2688
|
+
[1m[35m (0.3ms)[0m UPDATE "posts" SET "status" = 'published', "updated_at" = '2013-10-26 00:51:57.551284' WHERE "posts"."id" = 1
|
2689
|
+
[1m[36m (1.6ms)[0m [1mCOMMIT[0m
|
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
|
+
[1m[35mAdminUser Load (0.3ms)[0m SELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1
|
2696
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2697
|
+
[1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2698
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2699
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mALTER 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[0m
|
2703
|
+
[1m[35m (8.6ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2704
|
+
[1m[36m (0.3ms)[0m [1mALTER 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[0m
|
2705
|
+
Connecting to database specified by database.yml
|
2706
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2707
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
2708
|
+
[1m[36m (10.5ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2709
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2711
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
2712
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2714
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2715
|
+
[1m[35mSQL (1.0ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2717
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2718
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
2719
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2721
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:02:41 -0400
|
2722
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2723
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "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[0m
|
2724
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2725
|
+
Processing by Admin::PostsController#show as HTML
|
2726
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2727
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2728
|
+
[1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2729
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2730
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2745
|
+
[1m[35m (8.4ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2746
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2747
|
+
Connecting to database specified by database.yml
|
2748
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2749
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
2750
|
+
[1m[36m (10.6ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2751
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2753
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
2754
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2756
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2757
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2759
|
+
[1m[35m (0.3ms)[0m BEGIN
|
2760
|
+
[1m[36mPost Exists (0.6ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
2761
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2763
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:02:51 -0400
|
2764
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2765
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "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[0m
|
2766
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2767
|
+
Processing by Admin::PostsController#show as HTML
|
2768
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2769
|
+
[1m[36mCategory Load (0.8ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2770
|
+
[1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2771
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2772
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.6ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mALTER 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[0m
|
2787
|
+
[1m[35m (9.0ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2788
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|
2789
|
+
Connecting to database specified by database.yml
|
2790
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2791
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
2792
|
+
[1m[36m (10.8ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2793
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2795
|
+
[1m[35mAdminUser Exists (0.7ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
2796
|
+
[1m[36mSQL (2.8ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2798
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2799
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2801
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2802
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
2803
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2805
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:03:04 -0400
|
2806
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2807
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "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[0m
|
2808
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2809
|
+
Processing by Admin::PostsController#show as HTML
|
2810
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2811
|
+
[1m[36mCategory Load (0.7ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2812
|
+
[1m[35mPost Load (0.6ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2813
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2814
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.5ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2829
|
+
[1m[35m (9.3ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2830
|
+
[1m[36m (0.6ms)[0m [1mALTER 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[0m
|
2831
|
+
Connecting to database specified by database.yml
|
2832
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2833
|
+
[1m[35m (1.1ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
2834
|
+
[1m[36m (10.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2835
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2837
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
2838
|
+
[1m[36mSQL (2.6ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2840
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
2841
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2843
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2844
|
+
[1m[36mPost Exists (0.5ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
2845
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mCOMMIT[0m
|
2847
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:05:20 -0400
|
2848
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2849
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "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[0m
|
2850
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2851
|
+
Processing by Admin::PostsController#show as HTML
|
2852
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2853
|
+
[1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2854
|
+
[1m[35mPost Load (0.7ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2855
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2856
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35mAdminUser Load (0.4ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2871
|
+
[1m[35m (10.4ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2872
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2873
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (8.9ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2875
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2877
|
+
[1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
|
2878
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2880
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2881
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2883
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2884
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
2885
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2887
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:05:20 -0400
|
2888
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2889
|
+
[1m[36m (0.6ms)[0m [1mUPDATE "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[0m
|
2890
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2891
|
+
Processing by Admin::PostsController#show as HTML
|
2892
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2893
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2894
|
+
[1m[35mPost Load (0.9ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2895
|
+
[1m[36mCategory Load (0.4ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2896
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2901
|
+
[1m[35m (1.2ms)[0m select table_name from information_schema.views where table_schema = 'active_admin_state_machine_test'
|
2902
|
+
[1m[36m (11.1ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2903
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2905
|
+
[1m[35mAdminUser Exists (0.8ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user1@example.com' LIMIT 1
|
2906
|
+
[1m[36mSQL (2.7ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2908
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2909
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.4ms)[0m [1mCOMMIT[0m
|
2911
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2912
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 1' LIMIT 1[0m
|
2913
|
+
[1m[35mSQL (0.8ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2915
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:09:58 -0400
|
2916
|
+
[1m[35m (0.2ms)[0m BEGIN
|
2917
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "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[0m
|
2918
|
+
[1m[35m (0.4ms)[0m COMMIT
|
2919
|
+
Processing by Admin::PostsController#show as HTML
|
2920
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2921
|
+
[1m[36mCategory Load (0.7ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2922
|
+
[1m[35mPost Load (0.9ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2923
|
+
[1m[36mCategory Load (0.6ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2924
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36mAdminUser Load (0.4ms)[0m [1mSELECT "admin_users".* FROM "admin_users" WHERE "admin_users"."id" = 1 LIMIT 1[0m
|
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
|
+
[1m[35mAdminUser Load (0.5ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mALTER 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[0m
|
2939
|
+
[1m[35m (10.5ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2940
|
+
[1m[36m (0.4ms)[0m [1mALTER 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[0m
|
2941
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (9.2ms)[0m [1mTRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;[0m
|
2943
|
+
[1m[35m (0.4ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2945
|
+
[1m[35mAdminUser Exists (0.5ms)[0m SELECT 1 AS one FROM "admin_users" WHERE "admin_users"."email" = 'user2@example.com' LIMIT 1
|
2946
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT 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"[0m [["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
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2948
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
2949
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2951
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2952
|
+
[1m[36mPost Exists (0.4ms)[0m [1mSELECT 1 AS one FROM "posts" WHERE "posts"."title" = 'Post 2' LIMIT 1[0m
|
2953
|
+
[1m[35mSQL (0.9ms)[0m 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
|
+
[1m[36m (0.3ms)[0m [1mCOMMIT[0m
|
2955
|
+
Started GET "/admin/categories/1/posts/1" for 127.0.0.1 at 2013-10-25 21:09:58 -0400
|
2956
|
+
[1m[35m (0.1ms)[0m BEGIN
|
2957
|
+
[1m[36m (0.5ms)[0m [1mUPDATE "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[0m
|
2958
|
+
[1m[35m (0.3ms)[0m COMMIT
|
2959
|
+
Processing by Admin::PostsController#show as HTML
|
2960
|
+
Parameters: {"category_id"=>"1", "id"=>"1"}
|
2961
|
+
[1m[36mCategory Load (0.5ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = $1 LIMIT 1[0m [["id", "1"]]
|
2962
|
+
[1m[35mPost Load (0.5ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."category_id" = 1 AND "posts"."id" = $1 LIMIT 1 [["id", "1"]]
|
2963
|
+
[1m[36mCategory Load (0.3ms)[0m [1mSELECT "categories".* FROM "categories" WHERE "categories"."id" = 1 LIMIT 1[0m
|
2964
|
+
[1m[35mCACHE (0.0ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mALTER 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[0m
|
2968
|
+
[1m[35m (9.4ms)[0m TRUNCATE TABLE "active_admin_comments", "admin_users", "categories", "posts" RESTART IDENTITY CASCADE;
|
2969
|
+
[1m[36m (0.5ms)[0m [1mALTER 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[0m
|