static_blocks 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +11 -40
- data/app/controllers/static_blocks/snippets_controller.rb +1 -1
- data/app/models/static_blocks/snippet.rb +1 -1
- data/app/views/layouts/static_blocks/application.html.erb +7 -11
- data/app/views/static_blocks/snippets/index.html.erb +19 -7
- data/lib/static_blocks/engine.rb +1 -2
- data/lib/static_blocks/version.rb +1 -1
- data/lib/templates/static_blocks_config_template.rb +1 -2
- data/spec/dummy/config/initializers/static_blocks.rb +1 -2
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/log/development.log +1027 -0
- data/spec/dummy/log/test.log +2667 -0
- data/spec/dummy/tmp/cache/assets/C16/1A0/sprockets%2F2601398660257e51059bc52de423d323 +0 -0
- data/spec/dummy/tmp/cache/assets/C3A/810/sprockets%2F605705bbd75a5708109a3052b34194a1 +0 -0
- data/spec/dummy/tmp/cache/assets/C4A/6A0/sprockets%2Ff6861a1825334631862c167ed0f7123a +0 -0
- data/spec/dummy/tmp/cache/assets/C5B/D30/sprockets%2F475c88209b37208f0f1bb0732794d949 +0 -0
- data/spec/dummy/tmp/cache/assets/C7D/7F0/sprockets%2F762ca18320b05c4dcb19345387d19748 +0 -0
- data/spec/dummy/tmp/cache/assets/C87/620/sprockets%2F3432446e738294254b2a8edee23c7809 +0 -0
- data/spec/dummy/tmp/cache/assets/C8A/300/sprockets%2F2104b69f493918404a1f8a87994a34bf +0 -0
- data/spec/dummy/tmp/cache/assets/C8E/D80/sprockets%2Fa97b8f843149ba7581718c5807e6007c +0 -0
- data/spec/dummy/tmp/cache/assets/C97/030/sprockets%2F8b75cc7d4c32fa7c8538195761991861 +0 -0
- data/spec/dummy/tmp/cache/assets/CA4/010/sprockets%2Fec5005e5e82c0615395661a01a3f92d5 +0 -0
- data/spec/dummy/tmp/cache/assets/CA9/970/sprockets%2F310361768173cd7837ce83aab0f4072e +0 -0
- data/spec/dummy/tmp/cache/assets/CAF/250/sprockets%2F695cc7162198de1072eb5cc70e554341 +0 -0
- data/spec/dummy/tmp/cache/assets/CB2/D80/sprockets%2F41e9f52ea9e7407742900b1f1488b3e2 +0 -0
- data/spec/dummy/tmp/cache/assets/CB4/030/sprockets%2F5198c8563ad145d1ca5a0999f1081c84 +0 -0
- data/spec/dummy/tmp/cache/assets/CB7/EC0/sprockets%2Ff04c678e03c83de63443a48f3b462558 +0 -0
- data/spec/dummy/tmp/cache/assets/CBB/020/sprockets%2Fc9e97251131e812f35cf7549db3919d1 +0 -0
- data/spec/dummy/tmp/cache/assets/CC1/5A0/sprockets%2F880ce77a9b28981a952adc78253d1844 +0 -0
- data/spec/dummy/tmp/cache/assets/CC1/B10/sprockets%2Fc82b423336136d99f466dcb67288d90f +0 -0
- data/spec/dummy/tmp/cache/assets/CC1/ED0/sprockets%2Fa14463bb037619fa57b714120bb5a0c3 +0 -0
- data/spec/dummy/tmp/cache/assets/CC2/670/sprockets%2Fd17023a53879279ed0e7f7c1d89449e1 +0 -0
- data/spec/dummy/tmp/cache/assets/CC8/000/sprockets%2F0bc300758d430bde61301f61b6a854f2 +0 -0
- data/spec/dummy/tmp/cache/assets/CD0/8E0/sprockets%2F3b144a88ab6c3c65fe025106b19f6340 +0 -0
- data/spec/dummy/tmp/cache/assets/CD3/490/sprockets%2F11f03626112ce8ec543b893403ecc5b7 +0 -0
- data/spec/dummy/tmp/cache/assets/CD4/0C0/sprockets%2F5b406e951c5c1452140487cfc390b6bb +0 -0
- data/spec/dummy/tmp/cache/assets/CD6/660/sprockets%2Fb453eb140b0090381fbc7f572e5c9661 +0 -0
- data/spec/dummy/tmp/cache/assets/CD6/7F0/sprockets%2F91cbf8a76219141565d2050f22ad8cb6 +0 -0
- data/spec/dummy/tmp/cache/assets/CD7/CD0/sprockets%2Ffbbcc4143d456d7e91eb039048421408 +0 -0
- data/spec/dummy/tmp/cache/assets/CDD/F30/sprockets%2F20c297571db26285acd5e44d592cb571 +0 -0
- data/spec/dummy/tmp/cache/assets/CE7/A70/sprockets%2F2b55b09649b414608458f27adcf9ac47 +0 -0
- data/spec/dummy/tmp/cache/assets/CF5/810/sprockets%2F1e87820b7e288fa1d49739666e5c4ef0 +0 -0
- data/spec/dummy/tmp/cache/assets/CF5/A40/sprockets%2F80540873f80200acdaf0d11cb1374af6 +0 -0
- data/spec/dummy/tmp/cache/assets/CF8/F40/sprockets%2Fcd85cf389205869733d7734f74fcda62 +0 -0
- data/spec/dummy/tmp/cache/assets/D0F/D90/sprockets%2Fec736ab89a4058519037fdd4d1c823d1 +0 -0
- data/spec/dummy/tmp/cache/assets/D10/5B0/sprockets%2Fc41632729b685a6b9f83f2376a2cb1ea +0 -0
- data/spec/dummy/tmp/cache/assets/D10/7B0/sprockets%2Ff332d859577ad7cd06825164eac15ad2 +0 -0
- data/spec/dummy/tmp/cache/assets/D11/6B0/sprockets%2F43f0522485f1d4839eb9206edb77bae2 +0 -0
- data/spec/dummy/tmp/cache/assets/D11/9D0/sprockets%2F0bd4e6571b02cf9b6b48316e7b72e791 +0 -0
- data/spec/dummy/tmp/cache/assets/D12/F20/sprockets%2Ff3d21e291a835448de7d3bf5f2a43637 +0 -0
- data/spec/dummy/tmp/cache/assets/D1D/050/sprockets%2F7aedf7b498014e5974f4b67fa14c9305 +0 -0
- data/spec/dummy/tmp/cache/assets/D25/8D0/sprockets%2F44965f99238d4fe5ae23f67a444d39ad +0 -0
- data/spec/dummy/tmp/cache/assets/D2F/110/sprockets%2Fcf56b560eb434174f78cb31aa14b4a80 +0 -0
- data/spec/dummy/tmp/cache/assets/D30/630/sprockets%2Fdddf26a6da0c736b28a04277c519502a +0 -0
- data/spec/dummy/tmp/cache/assets/D34/C00/sprockets%2Ffd8624610ba2f7fea171a7336aa9c514 +0 -0
- data/spec/dummy/tmp/cache/assets/D35/CF0/sprockets%2Ff8c2e0d9e9b09a4d909011da30179a0d +0 -0
- data/spec/dummy/tmp/cache/assets/D3B/610/sprockets%2F225f057b56da34ed126f8a8a72bbd772 +0 -0
- data/spec/dummy/tmp/cache/assets/D3D/DB0/sprockets%2Fc14384add0f1e8058b73570b30efe86e +0 -0
- data/spec/dummy/tmp/cache/assets/D3F/A00/sprockets%2F76cd0753ec4a038a2799cd601fa20f9f +0 -0
- data/spec/dummy/tmp/cache/assets/D48/AB0/sprockets%2Fcd1c409688c2e7f51573253df4ceeb56 +0 -0
- data/spec/dummy/tmp/cache/assets/D4B/E90/sprockets%2F9646a1fde44362be74e65c29c32fc76d +0 -0
- data/spec/dummy/tmp/cache/assets/D4C/E90/sprockets%2Fa1e865b2d2df0fd8890664cd44594dc7 +0 -0
- data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/spec/dummy/tmp/cache/assets/D50/470/sprockets%2F2bc1690c65d8ffbff84b58e810e63693 +0 -0
- data/spec/dummy/tmp/cache/assets/D5A/3D0/sprockets%2F85cb5c53462acba13e69b12b6e2c033d +0 -0
- data/spec/dummy/tmp/cache/assets/D5B/C00/sprockets%2F38b0a785ceedf25123aa8dbd0105225f +0 -0
- data/spec/dummy/tmp/cache/assets/D5B/EB0/sprockets%2Fa2a55bb00a9afe1277c704ec5a26665a +0 -0
- data/spec/dummy/tmp/cache/assets/D65/3F0/sprockets%2F26addecca4d7153fb4213e60f14d7836 +0 -0
- data/spec/dummy/tmp/cache/assets/D67/620/sprockets%2Fae8bfc4eae4e4370718a5b285b671a40 +0 -0
- data/spec/dummy/tmp/cache/assets/D69/3E0/sprockets%2F9ef0b2abfb14b285d44545e60e527b9a +0 -0
- data/spec/dummy/tmp/cache/assets/D6B/060/sprockets%2Fe0a029d4fd224317d9ab7f7b3494bbc8 +0 -0
- data/spec/dummy/tmp/cache/assets/D6B/C40/sprockets%2Fc85440bcb573c1a5ff18a8fb6d4b4463 +0 -0
- data/spec/dummy/tmp/cache/assets/D6D/810/sprockets%2Fd72f757b547f05b2afd239df53dc104c +0 -0
- data/spec/dummy/tmp/cache/assets/D74/340/sprockets%2F8e95109cb57af4ae4835f02d6bd690ea +0 -0
- data/spec/dummy/tmp/cache/assets/D76/190/sprockets%2F62924e8c547bbdbc6ba9f43e8380cd35 +0 -0
- data/spec/dummy/tmp/cache/assets/D7C/A40/sprockets%2Fb6af372375f71d03dad8f965c57cdd48 +0 -0
- data/spec/dummy/tmp/cache/assets/D81/F30/sprockets%2Feaa8dfd5f795d67d05b5d472e6c74616 +0 -0
- data/spec/dummy/tmp/cache/assets/D8F/A00/sprockets%2F735fd88a014bbad648e3fc70ce500b1a +0 -0
- data/spec/dummy/tmp/cache/assets/D96/3E0/sprockets%2Fbdcbd241d62118ab9819ce5b4e571d1f +0 -0
- data/spec/dummy/tmp/cache/assets/D97/680/sprockets%2F73b5cca7c32a9fa7cbf0689d21e1507a +0 -0
- data/spec/dummy/tmp/cache/assets/D97/BF0/sprockets%2F5aa8691b0f5bcde047c02e61ccc3b698 +0 -0
- data/spec/dummy/tmp/cache/assets/D9B/230/sprockets%2Fac3e6f2c126af2f73741e0af8a8647bd +0 -0
- data/spec/dummy/tmp/cache/assets/DA2/820/sprockets%2F9f81de74a49c9eaf25ad2de0d51c7801 +0 -0
- data/spec/dummy/tmp/cache/assets/DA7/A20/sprockets%2F9a4213e2ca34fbdccf94e787e4b8d905 +0 -0
- data/spec/dummy/tmp/cache/assets/DB2/050/sprockets%2F488fb6ca52e64a450f4e6cdef9f33f77 +0 -0
- data/spec/dummy/tmp/cache/assets/DB9/DC0/sprockets%2F7b11eba5ddb8588ee93f2f9fd981744f +0 -0
- data/spec/dummy/tmp/cache/assets/DC3/420/sprockets%2Fcda0f30c4febfa63021ac95477b6a67e +0 -0
- data/spec/dummy/tmp/cache/assets/DD0/8A0/sprockets%2Faf86c34ca2afc966cf4370ee066b7ca6 +0 -0
- data/spec/dummy/tmp/cache/assets/DDB/AF0/sprockets%2F3d9bb34819e9dccdea7d83843e2f38ab +0 -0
- data/spec/dummy/tmp/cache/assets/DE9/4C0/sprockets%2Fc0b7ac80e6e22db7d45aaabd0e292d35 +0 -0
- data/spec/dummy/tmp/cache/assets/DF2/D90/sprockets%2F3dbeffd475c4732a6e7d135c5bdaa02c +0 -0
- data/spec/dummy/tmp/cache/assets/DF3/0E0/sprockets%2F1ad9adc3493cc790d41ed8f30d1cb4cc +0 -0
- data/spec/dummy/tmp/cache/assets/DFC/5C0/sprockets%2Fcc26b95caff9bea54a9891d1deca0136 +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/E17/100/sprockets%2F4fdcad0d6a3aa1bb204d55aeb138ce88 +0 -0
- data/spec/dummy/tmp/cache/assets/E24/DE0/sprockets%2Fc0c5fa7230d2f5effad432d3d57ebfc3 +0 -0
- data/spec/dummy/tmp/cache/assets/E3A/B90/sprockets%2F9bdcbf9c44dd2be2eef54f7dfe363543 +0 -0
- data/spec/dummy/tmp/cache/assets/E3E/0C0/sprockets%2Fc750cada3b9dfe6be9889b8c58ce3bb5 +0 -0
- data/spec/dummy/tmp/cache/assets/E48/120/sprockets%2F8c212dcabdbe64b8ee23c80a07eeaac2 +0 -0
- data/spec/dummy/tmp/cache/assets/E73/350/sprockets%2F96ef0e2f5ca7f994efb9a4eeff6ce4a0 +0 -0
- data/spec/dummy/tmp/cache/assets/E8F/A80/sprockets%2Fbfa1b4d49773afea9f056ffebde0dcb5 +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_accordion.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_button-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_carousel.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_close.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_code.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_component-animations.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_dropdowns.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_hero-unit.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_labels-badges.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_layouts.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_media.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_mixins.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_modals.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_navbar.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_navs.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_pager.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_popovers.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_progress-bars.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_reset.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_scaffolding.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_sprites.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_tables.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_thumbnails.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_tooltip.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_type.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_variables.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/_wells.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/8d8913252dfda27698089d16357a002b63c38f3a/bootstrap.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_accordion.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_alerts.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_breadcrumbs.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_button-groups.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_buttons.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_carousel.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_close.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_code.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_component-animations.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_dropdowns.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_forms.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_grid.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_hero-unit.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_labels-badges.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_layouts.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_media.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_mixins.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_modals.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_navbar.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_navs.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_pager.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_pagination.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_popovers.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_progress-bars.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_reset.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_scaffolding.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_sprites.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_tables.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_thumbnails.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_tooltip.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_type.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_utilities.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_variables.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/_wells.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/c9e43dee1c22c9162e1aa6150501b7f78156a9fb/bootstrap.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/eea23cb0c19a6988f2066af592c58a0ab56992d7/bootstrap.scssc +0 -0
- data/spec/dummy/tmp/cache/sass/fb305f7e737beb652711bd2f585ff1d77871c181/bootstrap.scssc +0 -0
- data/spec/integration/translations_spec.rb +0 -9
- metadata +307 -4
data/spec/dummy/log/test.log
CHANGED
@@ -42466,3 +42466,2670 @@ Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.3ms)
|
|
42466
42466
|
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
42467
42467
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42468
42468
|
[1m[35m (0.1ms)[0m rollback transaction
|
42469
|
+
Connecting to database specified by database.yml
|
42470
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
42471
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42472
|
+
[1m[36mStaticBlocks::Snippet Exists (1.5ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
42473
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42474
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
42475
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42476
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
42477
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42478
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."status" = 'published' AND "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
42479
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42480
|
+
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
42481
|
+
[1m[35m (0.1ms)[0m begin transaction
|
42482
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42483
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42484
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42485
|
+
Parameters: {"locale"=>"en"}
|
42486
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (7.1ms)
|
42487
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
42488
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
42489
|
+
Completed 200 OK in 83ms (Views: 81.3ms | ActiveRecord: 0.3ms)
|
42490
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42491
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
42492
|
+
Parameters: {"locale"=>"en"}
|
42493
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.7ms)
|
42494
|
+
Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
42495
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42496
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
42497
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
42498
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42499
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
42500
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42501
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
42502
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42503
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
42504
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42505
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
42506
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
|
42507
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42508
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
42509
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
42510
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
42511
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42512
|
+
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.3ms)
|
42513
|
+
Started GET "/static_blocks/en/snippets/export.csv" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42514
|
+
Processing by StaticBlocks::SnippetsController#export as CSV
|
42515
|
+
Parameters: {"locale"=>"en"}
|
42516
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
42517
|
+
[1m[36m (0.1ms)[0m [1mselect * from static_blocks_snippets[0m
|
42518
|
+
Sent data static-blocks-snippets-20130718001813.csv (2.0ms)
|
42519
|
+
Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)
|
42520
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
42521
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42522
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42523
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42524
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42525
|
+
Parameters: {"locale"=>"en"}
|
42526
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
42527
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
42528
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
42529
|
+
Completed 200 OK in 13ms (Views: 12.0ms | ActiveRecord: 0.2ms)
|
42530
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42531
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
42532
|
+
Parameters: {"locale"=>"en"}
|
42533
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
42534
|
+
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
42535
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42536
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
42537
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
42538
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42539
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
42540
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42541
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
42542
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42543
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
42544
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42545
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
42546
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
42547
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42548
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
42549
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
42550
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
42551
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42552
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
42553
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42554
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42555
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42556
|
+
Parameters: {"locale"=>"en"}
|
42557
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.8ms)
|
42558
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
42559
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
42560
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42561
|
+
Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.3ms)
|
42562
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42563
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42564
|
+
Parameters: {"locale"=>"wk"}
|
42565
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (6.1ms)
|
42566
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
42567
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
42568
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42569
|
+
Completed 200 OK in 20ms (Views: 19.3ms | ActiveRecord: 0.3ms)
|
42570
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42571
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
42572
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
42573
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
42574
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42575
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.9ms)
|
42576
|
+
Completed 200 OK in 9ms (Views: 7.6ms | ActiveRecord: 0.2ms)
|
42577
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42578
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
42579
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
42580
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
42581
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42582
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42583
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
42584
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-07-18 07:18:13.523779' WHERE "static_blocks_snippets"."id" = 1[0m
|
42585
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42586
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
42587
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-07-18 07:18:13.528632' WHERE "static_blocks_snippet_translations"."id" = 2
|
42588
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
42589
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
42590
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42591
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
42592
|
+
Completed 302 Found in 12ms (ActiveRecord: 1.0ms)
|
42593
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42594
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
42595
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
42596
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
42597
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42598
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms)
|
42599
|
+
Started GET "/static_blocks/wk/snippets/export.csv" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42600
|
+
Processing by StaticBlocks::SnippetsController#export as CSV
|
42601
|
+
Parameters: {"locale"=>"wk"}
|
42602
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
42603
|
+
[1m[36m (0.1ms)[0m [1mselect * from static_blocks_snippets[0m
|
42604
|
+
Sent data static-blocks-snippets-20130718001813.csv (0.3ms)
|
42605
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
42606
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
42607
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42608
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42609
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42610
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42611
|
+
Parameters: {"locale"=>"en"}
|
42612
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
42613
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
42614
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
42615
|
+
Completed 200 OK in 45ms (Views: 43.5ms | ActiveRecord: 0.2ms)
|
42616
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42617
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
42618
|
+
Parameters: {"locale"=>"en"}
|
42619
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
42620
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
42621
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42622
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
42623
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
42624
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42625
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
42626
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42627
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
42628
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42629
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
42630
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42631
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
42632
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
42633
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42634
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
42635
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
42636
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
42637
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42638
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
|
42639
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42640
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42641
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42642
|
+
Parameters: {"locale"=>"en"}
|
42643
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
42644
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
42645
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
42646
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42647
|
+
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.3ms)
|
42648
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42649
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42650
|
+
Parameters: {"locale"=>"wk"}
|
42651
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
42652
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
42653
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
42654
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42655
|
+
Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.3ms)
|
42656
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42657
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
42658
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
42659
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
42660
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42661
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.3ms)
|
42662
|
+
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms)
|
42663
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42664
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
42665
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
42666
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
42667
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42668
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42669
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
42670
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-07-18 07:18:13.678845' WHERE "static_blocks_snippets"."id" = 1[0m
|
42671
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42672
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
42673
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-07-18 07:18:13.682627' WHERE "static_blocks_snippet_translations"."id" = 2
|
42674
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
42675
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
42676
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42677
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
42678
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
42679
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42680
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
42681
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
42682
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
42683
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42684
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
42685
|
+
Started GET "/static_blocks/wk/snippets/export_translations.csv" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42686
|
+
Processing by StaticBlocks::SnippetsController#export_translations as CSV
|
42687
|
+
Parameters: {"locale"=>"wk"}
|
42688
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
42689
|
+
[1m[36m (0.1ms)[0m [1m
|
42690
|
+
SELECT s.title, t.* FROM static_blocks_snippet_translations t
|
42691
|
+
INNER JOIN static_blocks_snippets s
|
42692
|
+
ON t.static_blocks_snippet_id = s.id
|
42693
|
+
[0m
|
42694
|
+
Sent data static-blocks-translations-20130718001813.csv (0.3ms)
|
42695
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
42696
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
42697
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42698
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42699
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42700
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42701
|
+
Parameters: {"locale"=>"en"}
|
42702
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (37.1ms)
|
42703
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
42704
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
42705
|
+
Completed 200 OK in 45ms (Views: 44.3ms | ActiveRecord: 0.3ms)
|
42706
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42707
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
42708
|
+
Parameters: {"locale"=>"en"}
|
42709
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
42710
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
42711
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42712
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
42713
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
42714
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42715
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
42716
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42717
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
42718
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42719
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
42720
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42721
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
42722
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
|
42723
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42724
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
42725
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
42726
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
42727
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42728
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
42729
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42730
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42731
|
+
Parameters: {"locale"=>"en"}
|
42732
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
42733
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
42734
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
42735
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42736
|
+
Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.3ms)
|
42737
|
+
Started GET "/static_blocks/en/snippets?utf8=%E2%9C%93&q[title_cont]=&q[translations_content_cont]=english+bar&q[status_cont]=&commit=Search" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42738
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42739
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "translations_content_cont"=>"english bar", "status_cont"=>""}, "commit"=>"Search", "locale"=>"en"}
|
42740
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
42741
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE ("static_blocks_snippet_translations"."content" LIKE '%english bar%')
|
42742
|
+
[1m[36mStaticBlocks::Snippet Load (0.2ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE ("static_blocks_snippet_translations"."content" LIKE '%english bar%') ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
42743
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42744
|
+
Completed 200 OK in 21ms (Views: 16.0ms | ActiveRecord: 0.4ms)
|
42745
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
42746
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42747
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42748
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42749
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42750
|
+
Parameters: {"locale"=>"en"}
|
42751
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.8ms)
|
42752
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
42753
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
42754
|
+
Completed 200 OK in 14ms (Views: 12.4ms | ActiveRecord: 0.2ms)
|
42755
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42756
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
42757
|
+
Parameters: {"locale"=>"en"}
|
42758
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
42759
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
42760
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42761
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
42762
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
42763
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42764
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
42765
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42766
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
42767
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:13 UTC +00:00]]
|
42768
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
42769
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42770
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
42771
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
|
42772
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42773
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
42774
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
42775
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
42776
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42777
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
42778
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42779
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42780
|
+
Parameters: {"locale"=>"en"}
|
42781
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
42782
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
42783
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
42784
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42785
|
+
Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.4ms)
|
42786
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42787
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42788
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42789
|
+
Parameters: {"locale"=>"en"}
|
42790
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (36.0ms)
|
42791
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
42792
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
42793
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42794
|
+
Completed 200 OK in 47ms (Views: 45.5ms | ActiveRecord: 0.4ms)
|
42795
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42796
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42797
|
+
Parameters: {"locale"=>"wk"}
|
42798
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.7ms)
|
42799
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
42800
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
42801
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42802
|
+
Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.3ms)
|
42803
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-07-18 00:18:13 -0700
|
42804
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
42805
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
42806
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
42807
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42808
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.3ms)
|
42809
|
+
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.2ms)
|
42810
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42811
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
42812
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
42813
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
42814
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42815
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42816
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
42817
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-07-18 07:18:14.015312' WHERE "static_blocks_snippets"."id" = 1[0m
|
42818
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42819
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
42820
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-07-18 07:18:14.019081' WHERE "static_blocks_snippet_translations"."id" = 2
|
42821
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
42822
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
42823
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42824
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
42825
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
42826
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42827
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
42828
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
42829
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
42830
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42831
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
|
42832
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42833
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42834
|
+
Parameters: {"locale"=>"wk"}
|
42835
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.4ms)
|
42836
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
42837
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
42838
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42839
|
+
Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.3ms)
|
42840
|
+
Started GET "/static_blocks/wk/snippets?utf8=%E2%9C%93&q[title_cont]=foo&q[translations_content_cont]=wookie+bar&q[status_cont]=published&commit=Search" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42841
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42842
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"foo", "translations_content_cont"=>"wookie bar", "status_cont"=>"published"}, "commit"=>"Search", "locale"=>"wk"}
|
42843
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (38.5ms)
|
42844
|
+
[1m[36mStaticBlocks::Snippet Load (0.2ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE (("static_blocks_snippets"."title" LIKE '%foo%' AND "static_blocks_snippet_translations"."content" LIKE '%wookie bar%' AND "static_blocks_snippets"."status" LIKE '%published%'))[0m
|
42845
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE (("static_blocks_snippets"."title" LIKE '%foo%' AND "static_blocks_snippet_translations"."content" LIKE '%wookie bar%' AND "static_blocks_snippets"."status" LIKE '%published%')) ORDER BY title asc LIMIT 10 OFFSET 0
|
42846
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42847
|
+
Completed 200 OK in 54ms (Views: 49.1ms | ActiveRecord: 0.5ms)
|
42848
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
42849
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42850
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42851
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
42852
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42853
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
42854
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42855
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
42856
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42857
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42858
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42859
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42860
|
+
Parameters: {"locale"=>"en"}
|
42861
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
42862
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
42863
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
42864
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42865
|
+
Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.4ms)
|
42866
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
42867
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42868
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42869
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
42870
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42871
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
42872
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42873
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
42874
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42875
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42876
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42877
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42878
|
+
Parameters: {"locale"=>"en"}
|
42879
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
42880
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
42881
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
42882
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42883
|
+
Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.3ms)
|
42884
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42885
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
42886
|
+
Parameters: {"locale"=>"en"}
|
42887
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
42888
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
42889
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42890
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
42891
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"baz", "content"=>"qux", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
42892
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
42893
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'baz' LIMIT 1[0m
|
42894
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["status", "published"], ["title", "baz"], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42895
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 2 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
42896
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 2], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42897
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 2]]
|
42898
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42899
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/2
|
42900
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
42901
|
+
Started GET "/static_blocks/en/snippets/2" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42902
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
42903
|
+
Parameters: {"locale"=>"en", "id"=>"2"}
|
42904
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "2"]]
|
42905
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.2ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 2
|
42906
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
42907
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
42908
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
42909
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42910
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42911
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
42912
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42913
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
42914
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42915
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
42916
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42917
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42918
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42919
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42920
|
+
Parameters: {"locale"=>"en"}
|
42921
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (32.9ms)
|
42922
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
42923
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
42924
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42925
|
+
Completed 200 OK in 43ms (Views: 42.0ms | ActiveRecord: 0.4ms)
|
42926
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
42927
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
42928
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
42929
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
42930
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42931
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
42932
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42933
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
42934
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
42935
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42936
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42937
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42938
|
+
Parameters: {"locale"=>"en"}
|
42939
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
42940
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
42941
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
42942
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42943
|
+
Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.3ms)
|
42944
|
+
Started GET "/static_blocks/en/snippets/1/edit" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42945
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
42946
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
42947
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
42948
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42949
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.4ms)
|
42950
|
+
Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.2ms)
|
42951
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42952
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
42953
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
42954
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
42955
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
42956
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.5ms)
|
42957
|
+
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.2ms)
|
42958
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42959
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
42960
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"argh", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
42961
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
42962
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
42963
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42964
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1[0m
|
42965
|
+
[1m[35m (0.2ms)[0m UPDATE "static_blocks_snippets" SET "content" = 'argh', "status" = 'published', "updated_at" = '2013-07-18 07:18:14.466371' WHERE "static_blocks_snippets"."id" = 1
|
42966
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42967
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1
|
42968
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "static_blocks_snippet_translations" SET "content" = 'argh', "updated_at" = '2013-07-18 07:18:14.470224' WHERE "static_blocks_snippet_translations"."id" = 2[0m
|
42969
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
42970
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 2]]
|
42971
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
42972
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
42973
|
+
Completed 302 Found in 10ms (ActiveRecord: 1.0ms)
|
42974
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42975
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
42976
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
42977
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
42978
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42979
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
42980
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42981
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
42982
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
42983
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
42984
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
42985
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
42986
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
42987
|
+
[1m[35m (0.0ms)[0m begin transaction
|
42988
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
42989
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
42990
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42991
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
42992
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
42993
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
42994
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42995
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42996
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
42997
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
42998
|
+
Parameters: {"locale"=>"en"}
|
42999
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.9ms)
|
43000
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43001
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43002
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43003
|
+
Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.3ms)
|
43004
|
+
Started DELETE "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43005
|
+
Processing by StaticBlocks::SnippetsController#destroy as HTML
|
43006
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
43007
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43008
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43009
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43010
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? [["id", 1]]
|
43011
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ?[0m [["id", 1]]
|
43012
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43013
|
+
Redirected to http://www.example.com/static_blocks/en/snippets
|
43014
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.6ms)
|
43015
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43016
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43017
|
+
Parameters: {"locale"=>"en"}
|
43018
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (7.2ms)
|
43019
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43020
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43021
|
+
Completed 200 OK in 16ms (Views: 15.1ms | ActiveRecord: 0.2ms)
|
43022
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
43023
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43024
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43025
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43026
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43027
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
43028
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43029
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
43030
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43031
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43032
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43033
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43034
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43035
|
+
Parameters: {"locale"=>"en"}
|
43036
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
43037
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43038
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43039
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43040
|
+
Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.3ms)
|
43041
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43042
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43043
|
+
Parameters: {"locale"=>"wk"}
|
43044
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
43045
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43046
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43047
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43048
|
+
Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.3ms)
|
43049
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43050
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
43051
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43052
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43053
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43054
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.2ms)
|
43055
|
+
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.2ms)
|
43056
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43057
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
43058
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
43059
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43060
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43061
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43062
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
43063
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "status" = 'published', "updated_at" = '2013-07-18 07:18:14.693913' WHERE "static_blocks_snippets"."id" = 1[0m
|
43064
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
43065
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
43066
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-07-18 07:18:14.697692' WHERE "static_blocks_snippet_translations"."id" = 2
|
43067
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43068
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
43069
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43070
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
43071
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
43072
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43073
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43074
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43075
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
43076
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.2ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43077
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
43078
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43079
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43080
|
+
Parameters: {"locale"=>"wk"}
|
43081
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (6.0ms)
|
43082
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43083
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43084
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43085
|
+
Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.4ms)
|
43086
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43087
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43088
|
+
Parameters: {"locale"=>"en"}
|
43089
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
43090
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43091
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43092
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43093
|
+
Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.3ms)
|
43094
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43095
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43096
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43097
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43098
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
43099
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43100
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:14 UTC +00:00]]
|
43101
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43102
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43103
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43104
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43105
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43106
|
+
Parameters: {"locale"=>"en"}
|
43107
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
43108
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43109
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43110
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43111
|
+
Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.3ms)
|
43112
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43113
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-07-18 00:18:14 -0700
|
43114
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43115
|
+
Parameters: {"locale"=>"en"}
|
43116
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
43117
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43118
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43119
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43120
|
+
Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.3ms)
|
43121
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
43122
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43123
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43124
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
43125
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:15 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:15 UTC +00:00]]
|
43126
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
43127
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:15 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:15 UTC +00:00]]
|
43128
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
43129
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43130
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
43131
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43132
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43133
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43134
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:15 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:15 UTC +00:00]]
|
43135
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43136
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:15 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:15 UTC +00:00]]
|
43137
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43138
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43139
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43140
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43141
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43142
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
43143
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:15 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 18 Jul 2013 07:18:15 UTC +00:00]]
|
43144
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
43145
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 18 Jul 2013 07:18:15 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 18 Jul 2013 07:18:15 UTC +00:00]]
|
43146
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
43147
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43148
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43149
|
+
Connecting to database specified by database.yml
|
43150
|
+
[1m[36m (0.4ms)[0m [1mbegin transaction[0m
|
43151
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43152
|
+
[1m[36mStaticBlocks::Snippet Exists (1.5ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43153
|
+
[1m[35mSQL (2.8ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00]]
|
43154
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43155
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00]]
|
43156
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43157
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43158
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."status" = 'published' AND "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43159
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43160
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43161
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43162
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43163
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43164
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43165
|
+
Parameters: {"locale"=>"en"}
|
43166
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (7.4ms)
|
43167
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43168
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43169
|
+
Completed 200 OK in 87ms (Views: 85.5ms | ActiveRecord: 0.3ms)
|
43170
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43171
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
43172
|
+
Parameters: {"locale"=>"en"}
|
43173
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.8ms)
|
43174
|
+
Completed 200 OK in 7ms (Views: 6.6ms | ActiveRecord: 0.0ms)
|
43175
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43176
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
43177
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
43178
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43179
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
43180
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00]]
|
43181
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
43182
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00]]
|
43183
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
43184
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43185
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
43186
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
|
43187
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43188
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43189
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
43190
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
43191
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43192
|
+
Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.3ms)
|
43193
|
+
Started GET "/static_blocks/en/snippets/export.csv" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43194
|
+
Processing by StaticBlocks::SnippetsController#export as CSV
|
43195
|
+
Parameters: {"locale"=>"en"}
|
43196
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
43197
|
+
[1m[36m (0.1ms)[0m [1mselect * from static_blocks_snippets[0m
|
43198
|
+
Sent data static-blocks-snippets-20130807183323.csv (2.2ms)
|
43199
|
+
Completed 200 OK in 4ms (Views: 2.1ms | ActiveRecord: 0.2ms)
|
43200
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
43201
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43202
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43203
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43204
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43205
|
+
Parameters: {"locale"=>"en"}
|
43206
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (32.1ms)
|
43207
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43208
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43209
|
+
Completed 200 OK in 40ms (Views: 39.2ms | ActiveRecord: 0.3ms)
|
43210
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43211
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
43212
|
+
Parameters: {"locale"=>"en"}
|
43213
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
43214
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
43215
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43216
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
43217
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
43218
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43219
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43220
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00]]
|
43221
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43222
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00]]
|
43223
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43224
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43225
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
43226
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
43227
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43228
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43229
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
43230
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43231
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43232
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
43233
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43234
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43235
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43236
|
+
Parameters: {"locale"=>"en"}
|
43237
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
43238
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43239
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43240
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43241
|
+
Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.3ms)
|
43242
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43243
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43244
|
+
Parameters: {"locale"=>"wk"}
|
43245
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (6.2ms)
|
43246
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43247
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43248
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43249
|
+
Completed 200 OK in 21ms (Views: 19.7ms | ActiveRecord: 0.3ms)
|
43250
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43251
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
43252
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43253
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43254
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43255
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (4.0ms)
|
43256
|
+
Completed 200 OK in 9ms (Views: 7.8ms | ActiveRecord: 0.2ms)
|
43257
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43258
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
43259
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
43260
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43261
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43262
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43263
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
43264
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:33:23.761493' WHERE "static_blocks_snippets"."id" = 1[0m
|
43265
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00]]
|
43266
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
43267
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:33:23.766423' WHERE "static_blocks_snippet_translations"."id" = 2
|
43268
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43269
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
43270
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43271
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
43272
|
+
Completed 302 Found in 13ms (ActiveRecord: 1.1ms)
|
43273
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43274
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43275
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43276
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
43277
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43278
|
+
Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.2ms)
|
43279
|
+
Started GET "/static_blocks/wk/snippets/export.csv" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43280
|
+
Processing by StaticBlocks::SnippetsController#export as CSV
|
43281
|
+
Parameters: {"locale"=>"wk"}
|
43282
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
43283
|
+
[1m[36m (0.1ms)[0m [1mselect * from static_blocks_snippets[0m
|
43284
|
+
Sent data static-blocks-snippets-20130807183323.csv (0.3ms)
|
43285
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
43286
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43287
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43288
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43289
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43290
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43291
|
+
Parameters: {"locale"=>"en"}
|
43292
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (6.0ms)
|
43293
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43294
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43295
|
+
Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.2ms)
|
43296
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43297
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
43298
|
+
Parameters: {"locale"=>"en"}
|
43299
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
43300
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
43301
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43302
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
43303
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
43304
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43305
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43306
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00]]
|
43307
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43308
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00]]
|
43309
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43310
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43311
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
43312
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
|
43313
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43314
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43315
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
43316
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43317
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43318
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
43319
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43320
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43321
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43322
|
+
Parameters: {"locale"=>"en"}
|
43323
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
43324
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43325
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43326
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43327
|
+
Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.3ms)
|
43328
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43329
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43330
|
+
Parameters: {"locale"=>"wk"}
|
43331
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
43332
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43333
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43334
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43335
|
+
Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.3ms)
|
43336
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43337
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
43338
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43339
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43340
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43341
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.3ms)
|
43342
|
+
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.2ms)
|
43343
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43344
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
43345
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
43346
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43347
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43348
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43349
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
43350
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:33:23.919687' WHERE "static_blocks_snippets"."id" = 1[0m
|
43351
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:23 UTC +00:00]]
|
43352
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
43353
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:33:23.923610' WHERE "static_blocks_snippet_translations"."id" = 2
|
43354
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43355
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
43356
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43357
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
43358
|
+
Completed 302 Found in 11ms (ActiveRecord: 1.0ms)
|
43359
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43360
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43361
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43362
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
43363
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43364
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
43365
|
+
Started GET "/static_blocks/wk/snippets/export_translations.csv" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43366
|
+
Processing by StaticBlocks::SnippetsController#export_translations as CSV
|
43367
|
+
Parameters: {"locale"=>"wk"}
|
43368
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
43369
|
+
[1m[36m (0.1ms)[0m [1m
|
43370
|
+
SELECT s.title, t.* FROM static_blocks_snippet_translations t
|
43371
|
+
INNER JOIN static_blocks_snippets s
|
43372
|
+
ON t.static_blocks_snippet_id = s.id
|
43373
|
+
[0m
|
43374
|
+
Sent data static-blocks-translations-20130807183323.csv (0.5ms)
|
43375
|
+
Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
43376
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43377
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43378
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43379
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43380
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43381
|
+
Parameters: {"locale"=>"en"}
|
43382
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (6.2ms)
|
43383
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43384
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43385
|
+
Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.2ms)
|
43386
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:33:23 -0700
|
43387
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
43388
|
+
Parameters: {"locale"=>"en"}
|
43389
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
43390
|
+
Completed 200 OK in 6ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
43391
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43392
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
43393
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
43394
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43395
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43396
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43397
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43398
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43399
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43400
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43401
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
43402
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
43403
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43404
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43405
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
43406
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43407
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43408
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
43409
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43410
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43411
|
+
Parameters: {"locale"=>"en"}
|
43412
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.8ms)
|
43413
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43414
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43415
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43416
|
+
Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.3ms)
|
43417
|
+
Started GET "/static_blocks/en/snippets?utf8=%E2%9C%93&q[title_cont]=&q[translations_content_cont]=english+bar&q[status_cont]=&commit=Search" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43418
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43419
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "translations_content_cont"=>"english bar", "status_cont"=>""}, "commit"=>"Search", "locale"=>"en"}
|
43420
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
43421
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE ("static_blocks_snippet_translations"."content" LIKE '%english bar%')
|
43422
|
+
[1m[36mStaticBlocks::Snippet Load (0.2ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE ("static_blocks_snippet_translations"."content" LIKE '%english bar%') ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43423
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43424
|
+
Completed 200 OK in 21ms (Views: 16.1ms | ActiveRecord: 0.4ms)
|
43425
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
43426
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43427
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43428
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43429
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43430
|
+
Parameters: {"locale"=>"en"}
|
43431
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.9ms)
|
43432
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43433
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43434
|
+
Completed 200 OK in 14ms (Views: 12.7ms | ActiveRecord: 0.2ms)
|
43435
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43436
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
43437
|
+
Parameters: {"locale"=>"en"}
|
43438
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
43439
|
+
Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
43440
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43441
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
43442
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
43443
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43444
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
43445
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43446
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
43447
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43448
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
43449
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43450
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
43451
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
43452
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43453
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43454
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
43455
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
43456
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43457
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
43458
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43459
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43460
|
+
Parameters: {"locale"=>"en"}
|
43461
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (34.4ms)
|
43462
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43463
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43464
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43465
|
+
Completed 200 OK in 45ms (Views: 43.5ms | ActiveRecord: 0.3ms)
|
43466
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43467
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43468
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43469
|
+
Parameters: {"locale"=>"en"}
|
43470
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.7ms)
|
43471
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43472
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43473
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43474
|
+
Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.4ms)
|
43475
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43476
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43477
|
+
Parameters: {"locale"=>"wk"}
|
43478
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
43479
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43480
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43481
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43482
|
+
Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.3ms)
|
43483
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43484
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
43485
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43486
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43487
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43488
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.4ms)
|
43489
|
+
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms)
|
43490
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43491
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
43492
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
43493
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43494
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43495
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43496
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
43497
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:33:24.257738' WHERE "static_blocks_snippets"."id" = 1[0m
|
43498
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43499
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
43500
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:33:24.261545' WHERE "static_blocks_snippet_translations"."id" = 2
|
43501
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43502
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
43503
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43504
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
43505
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
43506
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43507
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43508
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43509
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
43510
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43511
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
43512
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43513
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43514
|
+
Parameters: {"locale"=>"wk"}
|
43515
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
43516
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43517
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43518
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43519
|
+
Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.3ms)
|
43520
|
+
Started GET "/static_blocks/wk/snippets?utf8=%E2%9C%93&q[title_cont]=foo&q[translations_content_cont]=wookie+bar&q[status_cont]=published&commit=Search" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43521
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43522
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"foo", "translations_content_cont"=>"wookie bar", "status_cont"=>"published"}, "commit"=>"Search", "locale"=>"wk"}
|
43523
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.8ms)
|
43524
|
+
[1m[36mStaticBlocks::Snippet Load (0.2ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE (("static_blocks_snippets"."title" LIKE '%foo%' AND "static_blocks_snippet_translations"."content" LIKE '%wookie bar%' AND "static_blocks_snippets"."status" LIKE '%published%'))[0m
|
43525
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE (("static_blocks_snippets"."title" LIKE '%foo%' AND "static_blocks_snippet_translations"."content" LIKE '%wookie bar%' AND "static_blocks_snippets"."status" LIKE '%published%')) ORDER BY title asc LIMIT 10 OFFSET 0
|
43526
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43527
|
+
Completed 200 OK in 21ms (Views: 15.9ms | ActiveRecord: 0.4ms)
|
43528
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43529
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43530
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43531
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43532
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43533
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
43534
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43535
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43536
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43537
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43538
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43539
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43540
|
+
Parameters: {"locale"=>"en"}
|
43541
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (34.8ms)
|
43542
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43543
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43544
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43545
|
+
Completed 200 OK in 45ms (Views: 44.0ms | ActiveRecord: 0.3ms)
|
43546
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43547
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43548
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43549
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43550
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43551
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.2ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43552
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43553
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43554
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43555
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43556
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43557
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43558
|
+
Parameters: {"locale"=>"en"}
|
43559
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.8ms)
|
43560
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43561
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43562
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43563
|
+
Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.3ms)
|
43564
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43565
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
43566
|
+
Parameters: {"locale"=>"en"}
|
43567
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
43568
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
43569
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43570
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
43571
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"baz", "content"=>"qux", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
43572
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43573
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'baz' LIMIT 1[0m
|
43574
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["status", "published"], ["title", "baz"], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43575
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 2 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43576
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 2], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43577
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 2]]
|
43578
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43579
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/2
|
43580
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
43581
|
+
Started GET "/static_blocks/en/snippets/2" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43582
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43583
|
+
Parameters: {"locale"=>"en", "id"=>"2"}
|
43584
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "2"]]
|
43585
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 2
|
43586
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
43587
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
43588
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43589
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43590
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43591
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43592
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43593
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43594
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43595
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43596
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43597
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43598
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43599
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43600
|
+
Parameters: {"locale"=>"en"}
|
43601
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.8ms)
|
43602
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43603
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43604
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43605
|
+
Completed 200 OK in 16ms (Views: 15.0ms | ActiveRecord: 0.4ms)
|
43606
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43607
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43608
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43609
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43610
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43611
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.2ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43612
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43613
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43614
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43615
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43616
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43617
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43618
|
+
Parameters: {"locale"=>"en"}
|
43619
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
43620
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43621
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43622
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.4ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43623
|
+
Completed 200 OK in 46ms (Views: 44.3ms | ActiveRecord: 0.6ms)
|
43624
|
+
Started GET "/static_blocks/en/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43625
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
43626
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
43627
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
43628
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43629
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.7ms)
|
43630
|
+
Completed 200 OK in 8ms (Views: 7.3ms | ActiveRecord: 0.2ms)
|
43631
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43632
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
43633
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43634
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
43635
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43636
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.2ms)
|
43637
|
+
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.2ms)
|
43638
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43639
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
43640
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"argh", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
43641
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
43642
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43643
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43644
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1[0m
|
43645
|
+
[1m[35m (0.2ms)[0m UPDATE "static_blocks_snippets" SET "content" = 'argh', "status" = 'published', "updated_at" = '2013-08-08 01:33:24.712740' WHERE "static_blocks_snippets"."id" = 1
|
43646
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43647
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1
|
43648
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "static_blocks_snippet_translations" SET "content" = 'argh', "updated_at" = '2013-08-08 01:33:24.716845' WHERE "static_blocks_snippet_translations"."id" = 2[0m
|
43649
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
43650
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 2]]
|
43651
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43652
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
43653
|
+
Completed 302 Found in 11ms (ActiveRecord: 1.0ms)
|
43654
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43655
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43656
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43657
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43658
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43659
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
43660
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43661
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43662
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
43663
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43664
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43665
|
+
Completed 200 OK in 34ms (Views: 33.0ms | ActiveRecord: 0.2ms)
|
43666
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
43667
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43668
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43669
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
43670
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43671
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
43672
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43673
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
43674
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43675
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43676
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43677
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43678
|
+
Parameters: {"locale"=>"en"}
|
43679
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.8ms)
|
43680
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43681
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43682
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43683
|
+
Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.3ms)
|
43684
|
+
Started DELETE "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43685
|
+
Processing by StaticBlocks::SnippetsController#destroy as HTML
|
43686
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
43687
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43688
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43689
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43690
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? [["id", 1]]
|
43691
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ?[0m [["id", 1]]
|
43692
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43693
|
+
Redirected to http://www.example.com/static_blocks/en/snippets
|
43694
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
|
43695
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43696
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43697
|
+
Parameters: {"locale"=>"en"}
|
43698
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
43699
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43700
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43701
|
+
Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.3ms)
|
43702
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
43703
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43704
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43705
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43706
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43707
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43708
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43709
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43710
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43711
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43712
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43713
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43714
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43715
|
+
Parameters: {"locale"=>"en"}
|
43716
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.7ms)
|
43717
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43718
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43719
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43720
|
+
Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.3ms)
|
43721
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43722
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43723
|
+
Parameters: {"locale"=>"wk"}
|
43724
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
43725
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43726
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43727
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43728
|
+
Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.3ms)
|
43729
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43730
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
43731
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43732
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43733
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43734
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.3ms)
|
43735
|
+
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.2ms)
|
43736
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43737
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
43738
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
43739
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43740
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43741
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.2ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43742
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
43743
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "status" = 'published', "updated_at" = '2013-08-08 01:33:24.966014' WHERE "static_blocks_snippets"."id" = 1[0m
|
43744
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:24 UTC +00:00]]
|
43745
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
43746
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:33:24.970195' WHERE "static_blocks_snippet_translations"."id" = 2
|
43747
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43748
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
43749
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43750
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
43751
|
+
Completed 302 Found in 11ms (ActiveRecord: 1.1ms)
|
43752
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43753
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43754
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43755
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
43756
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43757
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms)
|
43758
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:33:24 -0700
|
43759
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43760
|
+
Parameters: {"locale"=>"wk"}
|
43761
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
43762
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43763
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43764
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43765
|
+
Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.4ms)
|
43766
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:25 -0700
|
43767
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43768
|
+
Parameters: {"locale"=>"en"}
|
43769
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (6.1ms)
|
43770
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43771
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43772
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43773
|
+
Completed 200 OK in 44ms (Views: 42.9ms | ActiveRecord: 0.4ms)
|
43774
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43775
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43776
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43777
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43778
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00]]
|
43779
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43780
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00]]
|
43781
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43782
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43783
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:25 -0700
|
43784
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:25 -0700
|
43785
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43786
|
+
Parameters: {"locale"=>"en"}
|
43787
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.9ms)
|
43788
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43789
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43790
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43791
|
+
Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.4ms)
|
43792
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:33:25 -0700
|
43793
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:33:25 -0700
|
43794
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43795
|
+
Parameters: {"locale"=>"en"}
|
43796
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.7ms)
|
43797
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43798
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43799
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43800
|
+
Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.3ms)
|
43801
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
43802
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43803
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43804
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
43805
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00]]
|
43806
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
43807
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00]]
|
43808
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
43809
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43810
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43811
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
43812
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43813
|
+
[1m[36mStaticBlocks::Snippet Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43814
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00]]
|
43815
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.2ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43816
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00]]
|
43817
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43818
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
43819
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43820
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43821
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
43822
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
43823
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00]]
|
43824
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
43825
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:33:25 UTC +00:00]]
|
43826
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
43827
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43828
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43829
|
+
Connecting to database specified by database.yml
|
43830
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
43831
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43832
|
+
[1m[36mStaticBlocks::Snippet Exists (1.4ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43833
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00]]
|
43834
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43835
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00]]
|
43836
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43837
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43838
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."status" = 'published' AND "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43839
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43840
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
43841
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43842
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43843
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43844
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43845
|
+
Parameters: {"locale"=>"en"}
|
43846
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (7.1ms)
|
43847
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43848
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43849
|
+
Completed 200 OK in 81ms (Views: 79.3ms | ActiveRecord: 0.3ms)
|
43850
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43851
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
43852
|
+
Parameters: {"locale"=>"en"}
|
43853
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.7ms)
|
43854
|
+
Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
|
43855
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43856
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
43857
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
43858
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
43859
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
43860
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00]]
|
43861
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
43862
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00]]
|
43863
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
43864
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43865
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
43866
|
+
Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
|
43867
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43868
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43869
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
43870
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
43871
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43872
|
+
Completed 200 OK in 6ms (Views: 4.9ms | ActiveRecord: 0.3ms)
|
43873
|
+
Started GET "/static_blocks/en/snippets/export.csv" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43874
|
+
Processing by StaticBlocks::SnippetsController#export as CSV
|
43875
|
+
Parameters: {"locale"=>"en"}
|
43876
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
43877
|
+
[1m[36m (0.1ms)[0m [1mselect * from static_blocks_snippets[0m
|
43878
|
+
Sent data static-blocks-snippets-20130807183450.csv (2.0ms)
|
43879
|
+
Completed 200 OK in 4ms (Views: 1.9ms | ActiveRecord: 0.2ms)
|
43880
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
43881
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
43882
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43883
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43884
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43885
|
+
Parameters: {"locale"=>"en"}
|
43886
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (31.2ms)
|
43887
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43888
|
+
[1m[36mStaticBlocks::Snippet Load (0.2ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43889
|
+
Completed 200 OK in 39ms (Views: 38.2ms | ActiveRecord: 0.3ms)
|
43890
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43891
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
43892
|
+
Parameters: {"locale"=>"en"}
|
43893
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.0ms)
|
43894
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
43895
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43896
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
43897
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
43898
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43899
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43900
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00]]
|
43901
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43902
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00]]
|
43903
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43904
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43905
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
43906
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
43907
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43908
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43909
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
43910
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43911
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43912
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
|
43913
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43914
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43915
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43916
|
+
Parameters: {"locale"=>"en"}
|
43917
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.9ms)
|
43918
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
43919
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
43920
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43921
|
+
Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.3ms)
|
43922
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43923
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43924
|
+
Parameters: {"locale"=>"wk"}
|
43925
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (6.2ms)
|
43926
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43927
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43928
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43929
|
+
Completed 200 OK in 21ms (Views: 19.8ms | ActiveRecord: 0.3ms)
|
43930
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43931
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
43932
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43933
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43934
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43935
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (4.0ms)
|
43936
|
+
Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.2ms)
|
43937
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43938
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
43939
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
43940
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43941
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
43942
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43943
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
43944
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:34:50.962205' WHERE "static_blocks_snippets"."id" = 1[0m
|
43945
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:50 UTC +00:00]]
|
43946
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
43947
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:34:50.967230' WHERE "static_blocks_snippet_translations"."id" = 2
|
43948
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43949
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
43950
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
43951
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
43952
|
+
Completed 302 Found in 14ms (ActiveRecord: 1.0ms)
|
43953
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43954
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43955
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
43956
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
43957
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
43958
|
+
Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms)
|
43959
|
+
Started GET "/static_blocks/wk/snippets/export.csv" for 127.0.0.1 at 2013-08-07 18:34:50 -0700
|
43960
|
+
Processing by StaticBlocks::SnippetsController#export as CSV
|
43961
|
+
Parameters: {"locale"=>"wk"}
|
43962
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
43963
|
+
[1m[36m (0.1ms)[0m [1mselect * from static_blocks_snippets[0m
|
43964
|
+
Sent data static-blocks-snippets-20130807183450.csv (0.3ms)
|
43965
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.1ms)
|
43966
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
43967
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
43968
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
43969
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
43970
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
43971
|
+
Parameters: {"locale"=>"en"}
|
43972
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (6.0ms)
|
43973
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
43974
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
43975
|
+
Completed 200 OK in 14ms (Views: 12.9ms | ActiveRecord: 0.3ms)
|
43976
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
43977
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
43978
|
+
Parameters: {"locale"=>"en"}
|
43979
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
43980
|
+
Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
43981
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
43982
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
43983
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
43984
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
43985
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
43986
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
43987
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
43988
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
43989
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
43990
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
43991
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
43992
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
43993
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
43994
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
43995
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
43996
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
43997
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
43998
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
43999
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44000
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44001
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44002
|
+
Parameters: {"locale"=>"en"}
|
44003
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
44004
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
44005
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44006
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44007
|
+
Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.3ms)
|
44008
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44009
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44010
|
+
Parameters: {"locale"=>"wk"}
|
44011
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.4ms)
|
44012
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
44013
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44014
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44015
|
+
Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.3ms)
|
44016
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44017
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
44018
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44019
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44020
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44021
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.1ms)
|
44022
|
+
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms)
|
44023
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44024
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
44025
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
44026
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44027
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44028
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44029
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
44030
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:34:51.122508' WHERE "static_blocks_snippets"."id" = 1[0m
|
44031
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44032
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
44033
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:34:51.126263' WHERE "static_blocks_snippet_translations"."id" = 2
|
44034
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44035
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
44036
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44037
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
44038
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
44039
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44040
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44041
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44042
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44043
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44044
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
44045
|
+
Started GET "/static_blocks/wk/snippets/export_translations.csv" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44046
|
+
Processing by StaticBlocks::SnippetsController#export_translations as CSV
|
44047
|
+
Parameters: {"locale"=>"wk"}
|
44048
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
44049
|
+
[1m[36m (0.1ms)[0m [1m
|
44050
|
+
SELECT s.title, t.* FROM static_blocks_snippet_translations t
|
44051
|
+
INNER JOIN static_blocks_snippets s
|
44052
|
+
ON t.static_blocks_snippet_id = s.id
|
44053
|
+
[0m
|
44054
|
+
Sent data static-blocks-translations-20130807183451.csv (0.4ms)
|
44055
|
+
Completed 200 OK in 31ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
44056
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44057
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44058
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44059
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44060
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44061
|
+
Parameters: {"locale"=>"en"}
|
44062
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.9ms)
|
44063
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
44064
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44065
|
+
Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.2ms)
|
44066
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44067
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
44068
|
+
Parameters: {"locale"=>"en"}
|
44069
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
44070
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
44071
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44072
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
44073
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
44074
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44075
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44076
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44077
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44078
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44079
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44080
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44081
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
44082
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.9ms)
|
44083
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44084
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44085
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
44086
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44087
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44088
|
+
Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
|
44089
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44090
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44091
|
+
Parameters: {"locale"=>"en"}
|
44092
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
44093
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
44094
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44095
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44096
|
+
Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.3ms)
|
44097
|
+
Started GET "/static_blocks/en/snippets?utf8=%E2%9C%93&q[title_cont]=&q[translations_content_cont]=english+bar&q[status_cont]=&commit=Search" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44098
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44099
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "translations_content_cont"=>"english bar", "status_cont"=>""}, "commit"=>"Search", "locale"=>"en"}
|
44100
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
44101
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE ("static_blocks_snippet_translations"."content" LIKE '%english bar%')
|
44102
|
+
[1m[36mStaticBlocks::Snippet Load (0.2ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE ("static_blocks_snippet_translations"."content" LIKE '%english bar%') ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44103
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44104
|
+
Completed 200 OK in 20ms (Views: 15.8ms | ActiveRecord: 0.4ms)
|
44105
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
44106
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44107
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44108
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44109
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44110
|
+
Parameters: {"locale"=>"en"}
|
44111
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.7ms)
|
44112
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
44113
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44114
|
+
Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.2ms)
|
44115
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44116
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
44117
|
+
Parameters: {"locale"=>"en"}
|
44118
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.0ms)
|
44119
|
+
Completed 200 OK in 5ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
44120
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44121
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
44122
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
44123
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44124
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
44125
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44126
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
44127
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44128
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
44129
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44130
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
44131
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
44132
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44133
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44134
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
44135
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44136
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44137
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
44138
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44139
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44140
|
+
Parameters: {"locale"=>"en"}
|
44141
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (33.6ms)
|
44142
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
44143
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44144
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44145
|
+
Completed 200 OK in 44ms (Views: 42.5ms | ActiveRecord: 0.4ms)
|
44146
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44147
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44148
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44149
|
+
Parameters: {"locale"=>"en"}
|
44150
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
44151
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
44152
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44153
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44154
|
+
Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.3ms)
|
44155
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44156
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44157
|
+
Parameters: {"locale"=>"wk"}
|
44158
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.4ms)
|
44159
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
44160
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44161
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44162
|
+
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.3ms)
|
44163
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44164
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
44165
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44166
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44167
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44168
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.2ms)
|
44169
|
+
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms)
|
44170
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44171
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
44172
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
44173
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44174
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44175
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44176
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
44177
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:34:51.453926' WHERE "static_blocks_snippets"."id" = 1[0m
|
44178
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44179
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
44180
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:34:51.457711' WHERE "static_blocks_snippet_translations"."id" = 2
|
44181
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44182
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
44183
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44184
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
44185
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
44186
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44187
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44188
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44189
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44190
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44191
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
44192
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44193
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44194
|
+
Parameters: {"locale"=>"wk"}
|
44195
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.4ms)
|
44196
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
44197
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44198
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44199
|
+
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.3ms)
|
44200
|
+
Started GET "/static_blocks/wk/snippets?utf8=%E2%9C%93&q[title_cont]=foo&q[translations_content_cont]=wookie+bar&q[status_cont]=published&commit=Search" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44201
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44202
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"foo", "translations_content_cont"=>"wookie bar", "status_cont"=>"published"}, "commit"=>"Search", "locale"=>"wk"}
|
44203
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.9ms)
|
44204
|
+
[1m[36mStaticBlocks::Snippet Load (0.2ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE (("static_blocks_snippets"."title" LIKE '%foo%' AND "static_blocks_snippet_translations"."content" LIKE '%wookie bar%' AND "static_blocks_snippets"."status" LIKE '%published%'))[0m
|
44205
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE (("static_blocks_snippets"."title" LIKE '%foo%' AND "static_blocks_snippet_translations"."content" LIKE '%wookie bar%' AND "static_blocks_snippets"."status" LIKE '%published%')) ORDER BY title asc LIMIT 10 OFFSET 0
|
44206
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44207
|
+
Completed 200 OK in 21ms (Views: 15.7ms | ActiveRecord: 0.4ms)
|
44208
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44209
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44210
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44211
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44212
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44213
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
44214
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44215
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44216
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44217
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44218
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44219
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44220
|
+
Parameters: {"locale"=>"en"}
|
44221
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (33.6ms)
|
44222
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
44223
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44224
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44225
|
+
Completed 200 OK in 44ms (Views: 42.6ms | ActiveRecord: 0.4ms)
|
44226
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44227
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44228
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44229
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44230
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44231
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44232
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44233
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44234
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44235
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44236
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44237
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44238
|
+
Parameters: {"locale"=>"en"}
|
44239
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.8ms)
|
44240
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
44241
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44242
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44243
|
+
Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.3ms)
|
44244
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44245
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
44246
|
+
Parameters: {"locale"=>"en"}
|
44247
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
44248
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
44249
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44250
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
44251
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"baz", "content"=>"qux", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
44252
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44253
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'baz' LIMIT 1[0m
|
44254
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["status", "published"], ["title", "baz"], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44255
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 2 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44256
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 2], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44257
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 2]]
|
44258
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44259
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/2
|
44260
|
+
Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
|
44261
|
+
Started GET "/static_blocks/en/snippets/2" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44262
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44263
|
+
Parameters: {"locale"=>"en", "id"=>"2"}
|
44264
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "2"]]
|
44265
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 2
|
44266
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
44267
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44268
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44269
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44270
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44271
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44272
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44273
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44274
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44275
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44276
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44277
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44278
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44279
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44280
|
+
Parameters: {"locale"=>"en"}
|
44281
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.8ms)
|
44282
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
44283
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44284
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44285
|
+
Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.3ms)
|
44286
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44287
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44288
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44289
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44290
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44291
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44292
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44293
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44294
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44295
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44296
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44297
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44298
|
+
Parameters: {"locale"=>"en"}
|
44299
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.5ms)
|
44300
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
44301
|
+
[1m[35mStaticBlocks::Snippet Load (0.3ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44302
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44303
|
+
Completed 200 OK in 44ms (Views: 42.9ms | ActiveRecord: 0.6ms)
|
44304
|
+
Started GET "/static_blocks/en/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44305
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
44306
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
44307
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44308
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44309
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.4ms)
|
44310
|
+
Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.2ms)
|
44311
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44312
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
44313
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44314
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44315
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44316
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.2ms)
|
44317
|
+
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms)
|
44318
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44319
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
44320
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"argh", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
44321
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44322
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44323
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44324
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1[0m
|
44325
|
+
[1m[35m (0.2ms)[0m UPDATE "static_blocks_snippets" SET "content" = 'argh', "status" = 'published', "updated_at" = '2013-08-08 01:34:51.899158' WHERE "static_blocks_snippets"."id" = 1
|
44326
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44327
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1
|
44328
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "static_blocks_snippet_translations" SET "content" = 'argh', "updated_at" = '2013-08-08 01:34:51.903030' WHERE "static_blocks_snippet_translations"."id" = 2[0m
|
44329
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
44330
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 2]]
|
44331
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44332
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
44333
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
44334
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44335
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44336
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44337
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44338
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44339
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
44340
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44341
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44342
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
44343
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44344
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44345
|
+
Completed 200 OK in 33ms (Views: 31.8ms | ActiveRecord: 0.2ms)
|
44346
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
44347
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44348
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44349
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
44350
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44351
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
44352
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:51 UTC +00:00]]
|
44353
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
44354
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44355
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44356
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44357
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44358
|
+
Parameters: {"locale"=>"en"}
|
44359
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.8ms)
|
44360
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
44361
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44362
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44363
|
+
Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.3ms)
|
44364
|
+
Started DELETE "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:51 -0700
|
44365
|
+
Processing by StaticBlocks::SnippetsController#destroy as HTML
|
44366
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
44367
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44368
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44369
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44370
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? [["id", 1]]
|
44371
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ?[0m [["id", 1]]
|
44372
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44373
|
+
Redirected to http://www.example.com/static_blocks/en/snippets
|
44374
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.5ms)
|
44375
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44376
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44377
|
+
Parameters: {"locale"=>"en"}
|
44378
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.4ms)
|
44379
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
44380
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44381
|
+
Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.2ms)
|
44382
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44383
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44384
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44385
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44386
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44387
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00]]
|
44388
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44389
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00]]
|
44390
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44391
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
44392
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44393
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44394
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44395
|
+
Parameters: {"locale"=>"en"}
|
44396
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
44397
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
44398
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44399
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44400
|
+
Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.3ms)
|
44401
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44402
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44403
|
+
Parameters: {"locale"=>"wk"}
|
44404
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.8ms)
|
44405
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
44406
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44407
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44408
|
+
Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.3ms)
|
44409
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44410
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
44411
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44412
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44413
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44414
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.2ms)
|
44415
|
+
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms)
|
44416
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44417
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
44418
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
44419
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44420
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44421
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44422
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
44423
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "status" = 'published', "updated_at" = '2013-08-08 01:34:52.146948' WHERE "static_blocks_snippets"."id" = 1[0m
|
44424
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00]]
|
44425
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
44426
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:34:52.151147' WHERE "static_blocks_snippet_translations"."id" = 2
|
44427
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44428
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
44429
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44430
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
44431
|
+
Completed 302 Found in 11ms (ActiveRecord: 1.1ms)
|
44432
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44433
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44434
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44435
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44436
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44437
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
44438
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44439
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44440
|
+
Parameters: {"locale"=>"wk"}
|
44441
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.6ms)
|
44442
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
44443
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44444
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44445
|
+
Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.3ms)
|
44446
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44447
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44448
|
+
Parameters: {"locale"=>"en"}
|
44449
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.7ms)
|
44450
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
44451
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44452
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44453
|
+
Completed 200 OK in 43ms (Views: 41.2ms | ActiveRecord: 0.4ms)
|
44454
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44455
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44456
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44457
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44458
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00]]
|
44459
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44460
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00]]
|
44461
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44462
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44463
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44464
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44465
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44466
|
+
Parameters: {"locale"=>"en"}
|
44467
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.9ms)
|
44468
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" [0m
|
44469
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44470
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44471
|
+
Completed 200 OK in 16ms (Views: 14.7ms | ActiveRecord: 0.3ms)
|
44472
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44473
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:34:52 -0700
|
44474
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44475
|
+
Parameters: {"locale"=>"en"}
|
44476
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_search.html.erb (5.7ms)
|
44477
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets"
|
44478
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT DISTINCT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44479
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44480
|
+
Completed 200 OK in 15ms (Views: 13.3ms | ActiveRecord: 0.4ms)
|
44481
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
44482
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44483
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44484
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
44485
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00]]
|
44486
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
44487
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00]]
|
44488
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
44489
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44490
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44491
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44492
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44493
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44494
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00]]
|
44495
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44496
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00]]
|
44497
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44498
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44499
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
44500
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44501
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44502
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
44503
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00]]
|
44504
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
44505
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:34:52 UTC +00:00]]
|
44506
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
44507
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44508
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
44509
|
+
Connecting to database specified by database.yml
|
44510
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
44511
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44512
|
+
[1m[36mStaticBlocks::Snippet Exists (1.5ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44513
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00]]
|
44514
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44515
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00]]
|
44516
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44517
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44518
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."status" = 'published' AND "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44519
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44520
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
44521
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44522
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44523
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44524
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44525
|
+
Parameters: {"locale"=>"en"}
|
44526
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44527
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44528
|
+
Completed 200 OK in 59ms (Views: 57.1ms | ActiveRecord: 0.3ms)
|
44529
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44530
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
44531
|
+
Parameters: {"locale"=>"en"}
|
44532
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (28.6ms)
|
44533
|
+
Completed 200 OK in 33ms (Views: 32.5ms | ActiveRecord: 0.0ms)
|
44534
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44535
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
44536
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
44537
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44538
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
44539
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00]]
|
44540
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
44541
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00]]
|
44542
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
44543
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44544
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
44545
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.8ms)
|
44546
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44547
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44548
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
44549
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44550
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44551
|
+
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.3ms)
|
44552
|
+
Started GET "/static_blocks/en/snippets/export.csv" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44553
|
+
Processing by StaticBlocks::SnippetsController#export as CSV
|
44554
|
+
Parameters: {"locale"=>"en"}
|
44555
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
44556
|
+
[1m[36m (0.1ms)[0m [1mselect * from static_blocks_snippets[0m
|
44557
|
+
Sent data static-blocks-snippets-20130807183915.csv (2.1ms)
|
44558
|
+
Completed 200 OK in 4ms (Views: 2.0ms | ActiveRecord: 0.2ms)
|
44559
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44560
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44561
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44562
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44563
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44564
|
+
Parameters: {"locale"=>"en"}
|
44565
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
44566
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44567
|
+
Completed 200 OK in 14ms (Views: 12.8ms | ActiveRecord: 0.2ms)
|
44568
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44569
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
44570
|
+
Parameters: {"locale"=>"en"}
|
44571
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
44572
|
+
Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
44573
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44574
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
44575
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
44576
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44577
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44578
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00]]
|
44579
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44580
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00]]
|
44581
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44582
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44583
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
44584
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
|
44585
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44586
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44587
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
44588
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44589
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44590
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
44591
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44592
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44593
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44594
|
+
Parameters: {"locale"=>"en"}
|
44595
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44596
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44597
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44598
|
+
Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.3ms)
|
44599
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44600
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44601
|
+
Parameters: {"locale"=>"wk"}
|
44602
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
44603
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44604
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44605
|
+
Completed 200 OK in 20ms (Views: 18.7ms | ActiveRecord: 0.3ms)
|
44606
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44607
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
44608
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44609
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44610
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44611
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (4.1ms)
|
44612
|
+
Completed 200 OK in 9ms (Views: 8.0ms | ActiveRecord: 0.2ms)
|
44613
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44614
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
44615
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
44616
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44617
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44618
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44619
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
44620
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:39:15.797931' WHERE "static_blocks_snippets"."id" = 1[0m
|
44621
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00]]
|
44622
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
44623
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:39:15.802800' WHERE "static_blocks_snippet_translations"."id" = 2
|
44624
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44625
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
44626
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44627
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
44628
|
+
Completed 302 Found in 12ms (ActiveRecord: 1.0ms)
|
44629
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44630
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44631
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44632
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44633
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.2ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44634
|
+
Completed 200 OK in 9ms (Views: 7.3ms | ActiveRecord: 0.2ms)
|
44635
|
+
Started GET "/static_blocks/wk/snippets/export.csv" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44636
|
+
Processing by StaticBlocks::SnippetsController#export as CSV
|
44637
|
+
Parameters: {"locale"=>"wk"}
|
44638
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
44639
|
+
[1m[36m (0.1ms)[0m [1mselect * from static_blocks_snippets[0m
|
44640
|
+
Sent data static-blocks-snippets-20130807183915.csv (0.3ms)
|
44641
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
44642
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44643
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44644
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44645
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44646
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44647
|
+
Parameters: {"locale"=>"en"}
|
44648
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
44649
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44650
|
+
Completed 200 OK in 14ms (Views: 12.6ms | ActiveRecord: 0.2ms)
|
44651
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44652
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
44653
|
+
Parameters: {"locale"=>"en"}
|
44654
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
44655
|
+
Completed 200 OK in 5ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
44656
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44657
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
44658
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
44659
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44660
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44661
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00]]
|
44662
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44663
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00]]
|
44664
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44665
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44666
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
44667
|
+
Completed 302 Found in 8ms (ActiveRecord: 1.0ms)
|
44668
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44669
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44670
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
44671
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44672
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44673
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
44674
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44675
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44676
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44677
|
+
Parameters: {"locale"=>"en"}
|
44678
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44679
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44680
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44681
|
+
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.3ms)
|
44682
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44683
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44684
|
+
Parameters: {"locale"=>"wk"}
|
44685
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
44686
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44687
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44688
|
+
Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.3ms)
|
44689
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44690
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
44691
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44692
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44693
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44694
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.4ms)
|
44695
|
+
Completed 200 OK in 7ms (Views: 6.1ms | ActiveRecord: 0.2ms)
|
44696
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44697
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
44698
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
44699
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44700
|
+
[1m[35m (2.2ms)[0m SAVEPOINT active_record_1
|
44701
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.2ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44702
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
44703
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:39:15.990369' WHERE "static_blocks_snippets"."id" = 1[0m
|
44704
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:15 UTC +00:00]]
|
44705
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
44706
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:39:15.994560' WHERE "static_blocks_snippet_translations"."id" = 2
|
44707
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44708
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
44709
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44710
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
44711
|
+
Completed 302 Found in 14ms (ActiveRecord: 3.2ms)
|
44712
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:15 -0700
|
44713
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44714
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44715
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44716
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44717
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
44718
|
+
Started GET "/static_blocks/wk/snippets/export_translations.csv" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44719
|
+
Processing by StaticBlocks::SnippetsController#export_translations as CSV
|
44720
|
+
Parameters: {"locale"=>"wk"}
|
44721
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
44722
|
+
[1m[36m (0.1ms)[0m [1m
|
44723
|
+
SELECT s.title, t.* FROM static_blocks_snippet_translations t
|
44724
|
+
INNER JOIN static_blocks_snippets s
|
44725
|
+
ON t.static_blocks_snippet_id = s.id
|
44726
|
+
[0m
|
44727
|
+
Sent data static-blocks-translations-20130807183916.csv (0.3ms)
|
44728
|
+
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
44729
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44730
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44731
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44732
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44733
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44734
|
+
Parameters: {"locale"=>"en"}
|
44735
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
44736
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44737
|
+
Completed 200 OK in 13ms (Views: 12.2ms | ActiveRecord: 0.2ms)
|
44738
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44739
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
44740
|
+
Parameters: {"locale"=>"en"}
|
44741
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
44742
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
44743
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44744
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
44745
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
44746
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44747
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44748
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44749
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44750
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44751
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44752
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44753
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
44754
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
|
44755
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44756
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44757
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
44758
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44759
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44760
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
44761
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44762
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44763
|
+
Parameters: {"locale"=>"en"}
|
44764
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44765
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44766
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44767
|
+
Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.3ms)
|
44768
|
+
Started GET "/static_blocks/en/snippets?utf8=%E2%9C%93&q[title_cont]=&q[translations_content_cont]=english+bar&q[status_cont]=&commit=Search" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44769
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44770
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "translations_content_cont"=>"english bar", "status_cont"=>""}, "commit"=>"Search", "locale"=>"en"}
|
44771
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(DISTINCT "static_blocks_snippets"."id") FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE ("static_blocks_snippet_translations"."content" LIKE '%english bar%')
|
44772
|
+
[1m[36mStaticBlocks::Snippet Load (0.2ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE ("static_blocks_snippet_translations"."content" LIKE '%english bar%') ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44773
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44774
|
+
Completed 200 OK in 52ms (Views: 47.4ms | ActiveRecord: 0.4ms)
|
44775
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
44776
|
+
[1m[35m (0.0ms)[0m begin transaction
|
44777
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44778
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44779
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44780
|
+
Parameters: {"locale"=>"en"}
|
44781
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44782
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44783
|
+
Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.2ms)
|
44784
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44785
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
44786
|
+
Parameters: {"locale"=>"en"}
|
44787
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
|
44788
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
44789
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44790
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
44791
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
44792
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
44793
|
+
[1m[35mStaticBlocks::Snippet Exists (0.2ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
44794
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44795
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
44796
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44797
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
44798
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44799
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/1
|
44800
|
+
Completed 302 Found in 37ms (ActiveRecord: 1.1ms)
|
44801
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44802
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44803
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
44804
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44805
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44806
|
+
Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
|
44807
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44808
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44809
|
+
Parameters: {"locale"=>"en"}
|
44810
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
44811
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44812
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44813
|
+
Completed 200 OK in 16ms (Views: 14.6ms | ActiveRecord: 0.3ms)
|
44814
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44815
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44816
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44817
|
+
Parameters: {"locale"=>"en"}
|
44818
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44819
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44820
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44821
|
+
Completed 200 OK in 16ms (Views: 14.2ms | ActiveRecord: 0.3ms)
|
44822
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44823
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44824
|
+
Parameters: {"locale"=>"wk"}
|
44825
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
44826
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44827
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44828
|
+
Completed 200 OK in 15ms (Views: 14.1ms | ActiveRecord: 0.3ms)
|
44829
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44830
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
44831
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44832
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44833
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44834
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.3ms)
|
44835
|
+
Completed 200 OK in 7ms (Views: 6.0ms | ActiveRecord: 0.2ms)
|
44836
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44837
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
44838
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
44839
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44840
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44841
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44842
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
44843
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:39:16.296564' WHERE "static_blocks_snippets"."id" = 1[0m
|
44844
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44845
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
44846
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:39:16.300497' WHERE "static_blocks_snippet_translations"."id" = 2
|
44847
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44848
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
44849
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
44850
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
44851
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
44852
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44853
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44854
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44855
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44856
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44857
|
+
Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.2ms)
|
44858
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44859
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44860
|
+
Parameters: {"locale"=>"wk"}
|
44861
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
44862
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
44863
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44864
|
+
Completed 200 OK in 16ms (Views: 14.3ms | ActiveRecord: 0.3ms)
|
44865
|
+
Started GET "/static_blocks/wk/snippets?utf8=%E2%9C%93&q[title_cont]=foo&q[translations_content_cont]=wookie+bar&q[status_cont]=published&commit=Search" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44866
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44867
|
+
Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"foo", "translations_content_cont"=>"wookie bar", "status_cont"=>"published"}, "commit"=>"Search", "locale"=>"wk"}
|
44868
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(DISTINCT "static_blocks_snippets"."id") FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE (("static_blocks_snippets"."title" LIKE '%foo%' AND "static_blocks_snippet_translations"."content" LIKE '%wookie bar%' AND "static_blocks_snippets"."status" LIKE '%published%'))[0m
|
44869
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE (("static_blocks_snippets"."title" LIKE '%foo%' AND "static_blocks_snippet_translations"."content" LIKE '%wookie bar%' AND "static_blocks_snippets"."status" LIKE '%published%')) ORDER BY title asc LIMIT 10 OFFSET 0
|
44870
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44871
|
+
Completed 200 OK in 21ms (Views: 16.1ms | ActiveRecord: 0.4ms)
|
44872
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44873
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44874
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44875
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44876
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44877
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
44878
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44879
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44880
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44881
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44882
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44883
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44884
|
+
Parameters: {"locale"=>"en"}
|
44885
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44886
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44887
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44888
|
+
Completed 200 OK in 16ms (Views: 14.8ms | ActiveRecord: 0.3ms)
|
44889
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44890
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44891
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44892
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44893
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44894
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44895
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44896
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44897
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44898
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44899
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44900
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44901
|
+
Parameters: {"locale"=>"en"}
|
44902
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44903
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44904
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44905
|
+
Completed 200 OK in 16ms (Views: 14.5ms | ActiveRecord: 0.3ms)
|
44906
|
+
Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44907
|
+
Processing by StaticBlocks::SnippetsController#new as HTML
|
44908
|
+
Parameters: {"locale"=>"en"}
|
44909
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.0ms)
|
44910
|
+
Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
44911
|
+
Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44912
|
+
Processing by StaticBlocks::SnippetsController#create as HTML
|
44913
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"baz", "content"=>"qux", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
|
44914
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
44915
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'baz' LIMIT 1[0m
|
44916
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["status", "published"], ["title", "baz"], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44917
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 2 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44918
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 2], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44919
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 2]]
|
44920
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
44921
|
+
Redirected to http://www.example.com/static_blocks/en/snippets/2
|
44922
|
+
Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
|
44923
|
+
Started GET "/static_blocks/en/snippets/2" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44924
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44925
|
+
Parameters: {"locale"=>"en", "id"=>"2"}
|
44926
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "2"]]
|
44927
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.2ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 2
|
44928
|
+
Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
|
44929
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44930
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44931
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44932
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44933
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44934
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44935
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44936
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44937
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44938
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44939
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44940
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44941
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44942
|
+
Parameters: {"locale"=>"en"}
|
44943
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44944
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44945
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44946
|
+
Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.3ms)
|
44947
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
44948
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44949
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
44950
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
44951
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44952
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
44953
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44954
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
44955
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
44956
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44957
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44958
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
44959
|
+
Parameters: {"locale"=>"en"}
|
44960
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
44961
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
44962
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44963
|
+
Completed 200 OK in 45ms (Views: 43.5ms | ActiveRecord: 0.3ms)
|
44964
|
+
Started GET "/static_blocks/en/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44965
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
44966
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
44967
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44968
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44969
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.5ms)
|
44970
|
+
Completed 200 OK in 8ms (Views: 7.0ms | ActiveRecord: 0.2ms)
|
44971
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44972
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
44973
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44974
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44975
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
44976
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.2ms)
|
44977
|
+
Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms)
|
44978
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44979
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
44980
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"argh", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
44981
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
44982
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
44983
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44984
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1[0m
|
44985
|
+
[1m[35m (0.2ms)[0m UPDATE "static_blocks_snippets" SET "content" = 'argh', "status" = 'published', "updated_at" = '2013-08-08 01:39:16.753806' WHERE "static_blocks_snippets"."id" = 1
|
44986
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", nil], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
44987
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1
|
44988
|
+
[1m[36m (0.1ms)[0m [1mUPDATE "static_blocks_snippet_translations" SET "content" = 'argh', "updated_at" = '2013-08-08 01:39:16.757693' WHERE "static_blocks_snippet_translations"."id" = 2[0m
|
44989
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
44990
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 2]]
|
44991
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
44992
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
44993
|
+
Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
|
44994
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
44995
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
44996
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
44997
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
44998
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
44999
|
+
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.2ms)
|
45000
|
+
Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
45001
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
45002
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
45003
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
45004
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
45005
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.2ms)
|
45006
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
45007
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45008
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45009
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
45010
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
45011
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
45012
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
45013
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
45014
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45015
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
45016
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
45017
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
45018
|
+
Parameters: {"locale"=>"en"}
|
45019
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
45020
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
45021
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
45022
|
+
Completed 200 OK in 15ms (Views: 14.3ms | ActiveRecord: 0.3ms)
|
45023
|
+
Started DELETE "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
45024
|
+
Processing by StaticBlocks::SnippetsController#destroy as HTML
|
45025
|
+
Parameters: {"locale"=>"en", "id"=>"1"}
|
45026
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
45027
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45028
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
45029
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? [["id", 1]]
|
45030
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ?[0m [["id", 1]]
|
45031
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45032
|
+
Redirected to http://www.example.com/static_blocks/en/snippets
|
45033
|
+
Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
|
45034
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
45035
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
45036
|
+
Parameters: {"locale"=>"en"}
|
45037
|
+
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
45038
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
45039
|
+
Completed 200 OK in 43ms (Views: 41.8ms | ActiveRecord: 0.3ms)
|
45040
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
45041
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
45042
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45043
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45044
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
45045
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
45046
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
45047
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:16 UTC +00:00]]
|
45048
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
45049
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45050
|
+
Started GET "/static_blocks" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
45051
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
45052
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
45053
|
+
Parameters: {"locale"=>"en"}
|
45054
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
45055
|
+
[1m[35mStaticBlocks::Snippet Load (0.2ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
45056
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
45057
|
+
Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.3ms)
|
45058
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
45059
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
45060
|
+
Parameters: {"locale"=>"wk"}
|
45061
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
45062
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
45063
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
45064
|
+
Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.3ms)
|
45065
|
+
Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-08-07 18:39:16 -0700
|
45066
|
+
Processing by StaticBlocks::SnippetsController#edit as HTML
|
45067
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
45068
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
45069
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (1.7ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
45070
|
+
Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (5.4ms)
|
45071
|
+
Completed 200 OK in 10ms (Views: 6.8ms | ActiveRecord: 1.8ms)
|
45072
|
+
Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:17 -0700
|
45073
|
+
Processing by StaticBlocks::SnippetsController#update as HTML
|
45074
|
+
Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
|
45075
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1[0m [["id", "1"]]
|
45076
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
45077
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
45078
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
|
45079
|
+
[1m[36m (0.2ms)[0m [1mUPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "status" = 'published', "updated_at" = '2013-08-08 01:39:17.013495' WHERE "static_blocks_snippets"."id" = 1[0m
|
45080
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00]]
|
45081
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1[0m
|
45082
|
+
[1m[35m (0.1ms)[0m UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-08-08 01:39:17.017703' WHERE "static_blocks_snippet_translations"."id" = 2
|
45083
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
45084
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
|
45085
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45086
|
+
Redirected to http://www.example.com/static_blocks/wk/snippets/1
|
45087
|
+
Completed 302 Found in 11ms (ActiveRecord: 1.0ms)
|
45088
|
+
Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-08-07 18:39:17 -0700
|
45089
|
+
Processing by StaticBlocks::SnippetsController#show as HTML
|
45090
|
+
Parameters: {"locale"=>"wk", "id"=>"1"}
|
45091
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
|
45092
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
45093
|
+
Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
45094
|
+
Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-08-07 18:39:17 -0700
|
45095
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
45096
|
+
Parameters: {"locale"=>"wk"}
|
45097
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "static_blocks_snippets"
|
45098
|
+
[1m[36mStaticBlocks::Snippet Load (0.1ms)[0m [1mSELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0[0m
|
45099
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
|
45100
|
+
Completed 200 OK in 16ms (Views: 14.4ms | ActiveRecord: 0.4ms)
|
45101
|
+
Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-08-07 18:39:17 -0700
|
45102
|
+
Processing by StaticBlocks::SnippetsController#index as HTML
|
45103
|
+
Parameters: {"locale"=>"en"}
|
45104
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "static_blocks_snippets" [0m
|
45105
|
+
[1m[35mStaticBlocks::Snippet Load (0.1ms)[0m SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
|
45106
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1[0m
|
45107
|
+
Completed 200 OK in 43ms (Views: 42.1ms | ActiveRecord: 0.3ms)
|
45108
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
45109
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45110
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45111
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
45112
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00]]
|
45113
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
45114
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00]]
|
45115
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
45116
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45117
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
45118
|
+
[1m[35m (0.0ms)[0m begin transaction
|
45119
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
45120
|
+
[1m[35mStaticBlocks::Snippet Exists (0.1ms)[0m SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
|
45121
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00]]
|
45122
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.1ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
|
45123
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00]]
|
45124
|
+
[1m[35mStaticBlocks::Snippet::Translation Load (0.0ms)[0m SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
|
45125
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
45126
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
45127
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
45128
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
45129
|
+
[1m[36mStaticBlocks::Snippet Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1[0m
|
45130
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00]]
|
45131
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.1ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1[0m
|
45132
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Thu, 08 Aug 2013 01:39:17 UTC +00:00]]
|
45133
|
+
[1m[36mStaticBlocks::Snippet::Translation Load (0.0ms)[0m [1mSELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1[0m [["id", 1]]
|
45134
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
45135
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|