static_blocks 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -8,6 +8,7 @@ Static Blocks is an ultra light-weight CMS for Ruby on Rails. Create static bloc
8
8
  * Optional http basic authentication
9
9
  * Search
10
10
  * wysihtml5 editor
11
+ * csv import & export
11
12
 
12
13
  ## Installation
13
14
 
@@ -11,7 +11,7 @@ module StaticBlocks
11
11
  end
12
12
 
13
13
  def clear_cache
14
- Rails.cache.delete("static_block::"+title)
14
+ Rails.cache.delete("static_block::"+I18n.locale.to_s+"::"+title)
15
15
  end
16
16
 
17
17
  def self.to_csv(options = {})
@@ -1,19 +1,19 @@
1
1
  module StaticBlocks
2
2
  module StaticBlocksHelper
3
- def static_block_for(name, default = nil)
4
- Rails.cache.fetch("static_block::"+I18n.locale.to_s+"::"+name.to_s) do
5
- static_block = StaticBlock.published.find_by_title(name.to_s)
3
+ def static_block_for(title, default = nil)
4
+ Rails.cache.fetch("static_block::"+I18n.locale.to_s+"::"+title.to_s) do
5
+ static_block = StaticBlock.published.find_by_title(title.to_s)
6
6
  if static_block
7
7
  static_block.content
8
8
  else
9
- "StaticBlock for #{name.to_s} missing"
9
+ "StaticBlock for #{title.to_s} missing"
10
10
  end
11
11
  end
12
12
  end
13
13
 
14
- def static_block_published?(name)
15
- Rails.cache.fetch("static_block::"+I18n.locale.to_s+"::"+name.to_s) do
16
- StaticBlock.published.find_by_title(name.to_s) || false
14
+ def static_block_published?(title)
15
+ Rails.cache.fetch("static_block::"+I18n.locale.to_s+"::"+title.to_s) do
16
+ StaticBlock.published.find_by_title(title.to_s) || false
17
17
  end
18
18
  end
19
19
 
@@ -1,3 +1,3 @@
1
1
  module StaticBlocks
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
Binary file
Binary file
@@ -122504,3 +122504,920 @@ Served asset /bootstrap-wysihtml5/index.js - 304 Not Modified (0ms)
122504
122504
 
122505
122505
  Started GET "/assets/static_blocks/application.js?body=1" for 127.0.0.1 at 2013-06-26 21:40:58 -0700
122506
122506
  Served asset /static_blocks/application.js - 304 Not Modified (0ms)
122507
+ Connecting to database specified by database.yml
122508
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
122509
+  (0.2ms) select sqlite_version(*)
122510
+  (26.5ms) CREATE TABLE "static_blocks_static_block_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "static_blocks_static_block_id" integer, "locale" varchar(255), "content" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
122511
+  (21.7ms) CREATE INDEX "index_static_blocks_static_block_translations_on_locale" ON "static_blocks_static_block_translations" ("locale")
122512
+  (17.7ms) CREATE INDEX "index_bc40576269460a507bac1fc29dc0b04705279cb3" ON "static_blocks_static_block_translations" ("static_blocks_static_block_id")
122513
+  (14.1ms) CREATE TABLE "static_blocks_static_blocks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "status" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
122514
+  (18.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
122515
+  (24.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
122516
+  (0.2ms) SELECT version FROM "schema_migrations"
122517
+  (20.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130612035223')
122518
+  (24.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130611042521')
122519
+ Connecting to database specified by database.yml
122520
+
122521
+
122522
+ Started GET "/" for 127.0.0.1 at 2013-06-26 22:25:58 -0700
122523
+
122524
+
122525
+ Started GET "/en/info/index" for 127.0.0.1 at 2013-06-26 22:25:58 -0700
122526
+ Processing by InfoController#index as HTML
122527
+ Parameters: {"locale"=>"en"}
122528
+ StaticBlocks::StaticBlock Load (0.2ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
122529
+ Rendered info/index.html.erb within layouts/application (165.7ms)
122530
+ Completed 200 OK in 216ms (Views: 212.5ms | ActiveRecord: 3.0ms)
122531
+
122532
+
122533
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-26 22:25:59 -0700
122534
+ Served asset /application.css - 304 Not Modified (2ms)
122535
+
122536
+
122537
+ Started GET "/assets/info.css?body=1" for 127.0.0.1 at 2013-06-26 22:25:59 -0700
122538
+ Served asset /info.css - 304 Not Modified (1ms)
122539
+
122540
+
122541
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-26 22:25:59 -0700
122542
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
122543
+
122544
+
122545
+ Started GET "/assets/info.js?body=1" for 127.0.0.1 at 2013-06-26 22:25:59 -0700
122546
+ Served asset /info.js - 304 Not Modified (1ms)
122547
+
122548
+
122549
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-26 22:25:59 -0700
122550
+ Served asset /application.js - 304 Not Modified (3ms)
122551
+
122552
+
122553
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-26 22:25:59 -0700
122554
+ Served asset /jquery.js - 304 Not Modified (2ms)
122555
+
122556
+
122557
+ Started GET "/wk/info/index" for 127.0.0.1 at 2013-06-26 22:26:00 -0700
122558
+ Processing by InfoController#index as HTML
122559
+ Parameters: {"locale"=>"wk"}
122560
+ StaticBlocks::StaticBlock Load (0.2ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
122561
+ Rendered info/index.html.erb within layouts/application (3.8ms)
122562
+ Completed 200 OK in 41ms (Views: 40.5ms | ActiveRecord: 0.2ms)
122563
+
122564
+
122565
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:00 -0700
122566
+ Served asset /application.css - 304 Not Modified (0ms)
122567
+
122568
+
122569
+ Started GET "/assets/info.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:00 -0700
122570
+ Served asset /info.css - 304 Not Modified (0ms)
122571
+
122572
+
122573
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:00 -0700
122574
+ Served asset /jquery.js - 304 Not Modified (0ms)
122575
+
122576
+
122577
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:00 -0700
122578
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
122579
+
122580
+
122581
+ Started GET "/assets/info.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:00 -0700
122582
+ Served asset /info.js - 304 Not Modified (0ms)
122583
+
122584
+
122585
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:00 -0700
122586
+ Served asset /application.js - 304 Not Modified (0ms)
122587
+
122588
+
122589
+ Started GET "/en/info/index" for 127.0.0.1 at 2013-06-26 22:26:00 -0700
122590
+ Processing by InfoController#index as HTML
122591
+ Parameters: {"locale"=>"en"}
122592
+ Rendered info/index.html.erb within layouts/application (1.4ms)
122593
+ Completed 200 OK in 8ms (Views: 7.9ms | ActiveRecord: 0.0ms)
122594
+
122595
+
122596
+ Started GET "/assets/info.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:01 -0700
122597
+ Served asset /info.css - 304 Not Modified (0ms)
122598
+
122599
+
122600
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:01 -0700
122601
+ Served asset /application.css - 304 Not Modified (0ms)
122602
+
122603
+
122604
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:01 -0700
122605
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
122606
+
122607
+
122608
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:01 -0700
122609
+ Served asset /application.js - 304 Not Modified (0ms)
122610
+
122611
+
122612
+ Started GET "/assets/info.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:01 -0700
122613
+ Served asset /info.js - 304 Not Modified (0ms)
122614
+
122615
+
122616
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:01 -0700
122617
+ Served asset /jquery.js - 304 Not Modified (0ms)
122618
+
122619
+
122620
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-26 22:26:02 -0700
122621
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
122622
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
122623
+ StaticBlocks::StaticBlock Load (0.2ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" ORDER BY title asc LIMIT 10 OFFSET 0
122624
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 2
122625
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 3
122626
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 4
122627
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
122628
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/index.html.erb within layouts/static_blocks/application (108.2ms)
122629
+ Completed 200 OK in 204ms (Views: 181.7ms | ActiveRecord: 1.1ms)
122630
+
122631
+
122632
+ Started GET "/assets/bootstrap-wysihtml5/core.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122633
+ Served asset /bootstrap-wysihtml5/core.css - 304 Not Modified (1ms)
122634
+
122635
+
122636
+ Started GET "/assets/static_blocks/application.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122637
+ Served asset /static_blocks/application.css - 304 Not Modified (15ms)
122638
+
122639
+
122640
+ Started GET "/assets/bootstrap-wysihtml5/index.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122641
+ Served asset /bootstrap-wysihtml5/index.css - 304 Not Modified (2ms)
122642
+
122643
+
122644
+ Started GET "/assets/static_blocks/static_blocks.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122645
+ Served asset /static_blocks/static_blocks.css - 304 Not Modified (43ms)
122646
+
122647
+
122648
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122649
+ Served asset /jquery.js - 304 Not Modified (0ms)
122650
+
122651
+
122652
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122653
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
122654
+
122655
+
122656
+ Started GET "/assets/static_blocks/static_blocks.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122657
+ Served asset /static_blocks/static_blocks.js - 304 Not Modified (2ms)
122658
+
122659
+
122660
+ Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122661
+ Served asset /bootstrap-transition.js - 304 Not Modified (2ms)
122662
+
122663
+
122664
+ Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122665
+ Served asset /bootstrap-affix.js - 304 Not Modified (5ms)
122666
+
122667
+
122668
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122669
+ Served asset /bootstrap-alert.js - 304 Not Modified (6ms)
122670
+
122671
+
122672
+ Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122673
+ Served asset /bootstrap-carousel.js - 304 Not Modified (3ms)
122674
+
122675
+
122676
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122677
+ Served asset /bootstrap-button.js - 304 Not Modified (2ms)
122678
+
122679
+
122680
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122681
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (3ms)
122682
+
122683
+
122684
+ Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122685
+ Served asset /bootstrap-collapse.js - 304 Not Modified (2ms)
122686
+
122687
+
122688
+ Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122689
+ Served asset /bootstrap-modal.js - 304 Not Modified (2ms)
122690
+
122691
+
122692
+ Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122693
+ Served asset /bootstrap-scrollspy.js - 304 Not Modified (3ms)
122694
+
122695
+
122696
+ Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122697
+ Served asset /bootstrap-tab.js - 304 Not Modified (2ms)
122698
+
122699
+
122700
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122701
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (3ms)
122702
+
122703
+
122704
+ Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122705
+ Served asset /bootstrap-popover.js - 304 Not Modified (4ms)
122706
+
122707
+
122708
+ Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122709
+ Served asset /bootstrap-typeahead.js - 304 Not Modified (6ms)
122710
+
122711
+
122712
+ Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122713
+ Served asset /bootstrap.js - 304 Not Modified (14ms)
122714
+
122715
+
122716
+ Started GET "/assets/bootstrap-wysihtml5/wysihtml5.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122717
+ Served asset /bootstrap-wysihtml5/wysihtml5.js - 304 Not Modified (2ms)
122718
+
122719
+
122720
+ Started GET "/assets/bootstrap-wysihtml5/core.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122721
+ Served asset /bootstrap-wysihtml5/core.js - 304 Not Modified (2ms)
122722
+
122723
+
122724
+ Started GET "/assets/bootstrap-wysihtml5/index.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122725
+ Served asset /bootstrap-wysihtml5/index.js - 304 Not Modified (4ms)
122726
+
122727
+
122728
+ Started GET "/assets/static_blocks/application.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:03 -0700
122729
+ Served asset /static_blocks/application.js - 304 Not Modified (29ms)
122730
+
122731
+
122732
+ Started GET "/static_blocks_admin/static_blocks/new?locale=en" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122733
+ Processing by StaticBlocks::StaticBlocksController#new as HTML
122734
+ Parameters: {"locale"=>"en"}
122735
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (32.5ms)
122736
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/new.html.erb within layouts/static_blocks/application (33.4ms)
122737
+ Completed 200 OK in 51ms (Views: 50.3ms | ActiveRecord: 0.0ms)
122738
+
122739
+
122740
+ Started GET "/assets/static_blocks/application.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122741
+ Served asset /static_blocks/application.css - 304 Not Modified (0ms)
122742
+
122743
+
122744
+ Started GET "/assets/bootstrap-wysihtml5/core.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122745
+ Served asset /bootstrap-wysihtml5/core.css - 304 Not Modified (0ms)
122746
+
122747
+
122748
+ Started GET "/assets/bootstrap-wysihtml5/index.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122749
+ Served asset /bootstrap-wysihtml5/index.css - 304 Not Modified (0ms)
122750
+
122751
+
122752
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122753
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
122754
+
122755
+
122756
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122757
+ Served asset /jquery.js - 304 Not Modified (0ms)
122758
+
122759
+
122760
+ Started GET "/assets/static_blocks/static_blocks.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122761
+ Served asset /static_blocks/static_blocks.css - 304 Not Modified (0ms)
122762
+
122763
+
122764
+ Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122765
+ Served asset /bootstrap-transition.js - 304 Not Modified (0ms)
122766
+
122767
+
122768
+ Started GET "/assets/static_blocks/static_blocks.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122769
+ Served asset /static_blocks/static_blocks.js - 304 Not Modified (0ms)
122770
+
122771
+
122772
+ Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122773
+ Served asset /bootstrap-affix.js - 304 Not Modified (0ms)
122774
+
122775
+
122776
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122777
+ Served asset /bootstrap-alert.js - 304 Not Modified (0ms)
122778
+
122779
+
122780
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122781
+ Served asset /bootstrap-button.js - 304 Not Modified (0ms)
122782
+
122783
+
122784
+ Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122785
+ Served asset /bootstrap-carousel.js - 304 Not Modified (0ms)
122786
+
122787
+
122788
+ Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122789
+ Served asset /bootstrap-collapse.js - 304 Not Modified (0ms)
122790
+
122791
+
122792
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122793
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (0ms)
122794
+
122795
+
122796
+ Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122797
+ Served asset /bootstrap-modal.js - 304 Not Modified (0ms)
122798
+
122799
+
122800
+ Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122801
+ Served asset /bootstrap-scrollspy.js - 304 Not Modified (0ms)
122802
+
122803
+
122804
+ Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122805
+ Served asset /bootstrap-tab.js - 304 Not Modified (0ms)
122806
+
122807
+
122808
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122809
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (0ms)
122810
+
122811
+
122812
+ Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122813
+ Served asset /bootstrap-popover.js - 304 Not Modified (0ms)
122814
+
122815
+
122816
+ Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122817
+ Served asset /bootstrap-typeahead.js - 304 Not Modified (0ms)
122818
+
122819
+
122820
+ Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122821
+ Served asset /bootstrap.js - 304 Not Modified (0ms)
122822
+
122823
+
122824
+ Started GET "/assets/bootstrap-wysihtml5/wysihtml5.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122825
+ Served asset /bootstrap-wysihtml5/wysihtml5.js - 304 Not Modified (0ms)
122826
+
122827
+
122828
+ Started GET "/assets/bootstrap-wysihtml5/core.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122829
+ Served asset /bootstrap-wysihtml5/core.js - 304 Not Modified (0ms)
122830
+
122831
+
122832
+ Started GET "/assets/bootstrap-wysihtml5/index.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122833
+ Served asset /bootstrap-wysihtml5/index.js - 304 Not Modified (0ms)
122834
+
122835
+
122836
+ Started GET "/assets/static_blocks/application.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122837
+ Served asset /static_blocks/application.js - 304 Not Modified (0ms)
122838
+
122839
+
122840
+ Started GET "/assets/bootstrap-wysihtml5/wysiwyg-color.css" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122841
+ Served asset /bootstrap-wysihtml5/wysiwyg-color.css - 304 Not Modified (3ms)
122842
+
122843
+
122844
+ Started GET "/assets/glyphicons-halflings.png" for 127.0.0.1 at 2013-06-26 22:26:12 -0700
122845
+ Served asset /glyphicons-halflings.png - 304 Not Modified (4ms)
122846
+
122847
+
122848
+ Started POST "/static_blocks_admin/static_blocks?locale=en" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122849
+ Processing by StaticBlocks::StaticBlocksController#create as HTML
122850
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"TcftXA3PLPUq+uc7URtfqX6Ktfsg1CDpblTPStj6dgs=", "static_block"=>{"title"=>"foo", "content"=>"enfoo", "status"=>"published"}, "_wysihtml5_mode"=>"1", "commit"=>"Submit", "locale"=>"en"}
122851
+  (0.1ms) begin transaction
122852
+ StaticBlocks::StaticBlock Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
122853
+ SQL (2.6ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "enfoo"], ["created_at", Thu, 27 Jun 2013 05:26:20 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 27 Jun 2013 05:26:20 UTC +00:00]]
122854
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 5 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
122855
+ SQL (0.4ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "enfoo"], ["created_at", Thu, 27 Jun 2013 05:26:20 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 5], ["updated_at", Thu, 27 Jun 2013 05:26:20 UTC +00:00]]
122856
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 8]]
122857
+  (30.7ms) commit transaction
122858
+ Redirected to http://localhost:3000/static_blocks_admin/static_blocks/5?locale=en
122859
+ Completed 302 Found in 84ms (ActiveRecord: 34.1ms)
122860
+
122861
+
122862
+ Started GET "/static_blocks_admin/static_blocks/5?locale=en" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122863
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
122864
+ Parameters: {"locale"=>"en", "id"=>"5"}
122865
+ StaticBlocks::StaticBlock Load (0.2ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "5"]]
122866
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 5
122867
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/show.html.erb within layouts/static_blocks/application (2.4ms)
122868
+ Completed 200 OK in 22ms (Views: 19.7ms | ActiveRecord: 0.4ms)
122869
+
122870
+
122871
+ Started GET "/assets/static_blocks/application.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122872
+ Served asset /static_blocks/application.css - 304 Not Modified (0ms)
122873
+
122874
+
122875
+ Started GET "/assets/bootstrap-wysihtml5/core.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122876
+ Served asset /bootstrap-wysihtml5/core.css - 304 Not Modified (0ms)
122877
+
122878
+
122879
+ Started GET "/assets/bootstrap-wysihtml5/index.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122880
+ Served asset /bootstrap-wysihtml5/index.css - 304 Not Modified (0ms)
122881
+
122882
+
122883
+ Started GET "/assets/static_blocks/static_blocks.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122884
+ Served asset /static_blocks/static_blocks.css - 304 Not Modified (0ms)
122885
+
122886
+
122887
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122888
+ Served asset /jquery.js - 304 Not Modified (0ms)
122889
+
122890
+
122891
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122892
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
122893
+
122894
+
122895
+ Started GET "/assets/static_blocks/static_blocks.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122896
+ Served asset /static_blocks/static_blocks.js - 304 Not Modified (0ms)
122897
+
122898
+
122899
+ Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122900
+ Served asset /bootstrap-transition.js - 304 Not Modified (0ms)
122901
+
122902
+
122903
+ Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122904
+ Served asset /bootstrap-affix.js - 304 Not Modified (0ms)
122905
+
122906
+
122907
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122908
+ Served asset /bootstrap-alert.js - 304 Not Modified (0ms)
122909
+
122910
+
122911
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122912
+ Served asset /bootstrap-button.js - 304 Not Modified (0ms)
122913
+
122914
+
122915
+ Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122916
+ Served asset /bootstrap-carousel.js - 304 Not Modified (0ms)
122917
+
122918
+
122919
+ Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122920
+ Served asset /bootstrap-collapse.js - 304 Not Modified (0ms)
122921
+
122922
+
122923
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122924
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (0ms)
122925
+
122926
+
122927
+ Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122928
+ Served asset /bootstrap-modal.js - 304 Not Modified (0ms)
122929
+
122930
+
122931
+ Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122932
+ Served asset /bootstrap-scrollspy.js - 304 Not Modified (0ms)
122933
+
122934
+
122935
+ Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122936
+ Served asset /bootstrap-tab.js - 304 Not Modified (0ms)
122937
+
122938
+
122939
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122940
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (0ms)
122941
+
122942
+
122943
+ Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122944
+ Served asset /bootstrap-popover.js - 304 Not Modified (0ms)
122945
+
122946
+
122947
+ Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122948
+ Served asset /bootstrap-typeahead.js - 304 Not Modified (0ms)
122949
+
122950
+
122951
+ Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122952
+ Served asset /bootstrap.js - 304 Not Modified (0ms)
122953
+
122954
+
122955
+ Started GET "/assets/bootstrap-wysihtml5/wysihtml5.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122956
+ Served asset /bootstrap-wysihtml5/wysihtml5.js - 304 Not Modified (0ms)
122957
+
122958
+
122959
+ Started GET "/assets/bootstrap-wysihtml5/index.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122960
+ Served asset /bootstrap-wysihtml5/index.js - 304 Not Modified (0ms)
122961
+
122962
+
122963
+ Started GET "/assets/bootstrap-wysihtml5/core.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122964
+ Served asset /bootstrap-wysihtml5/core.js - 304 Not Modified (0ms)
122965
+
122966
+
122967
+ Started GET "/assets/static_blocks/application.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:20 -0700
122968
+ Served asset /static_blocks/application.js - 304 Not Modified (0ms)
122969
+
122970
+
122971
+ Started GET "/static_blocks_admin/static_blocks/5/edit?locale=en" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
122972
+ Processing by StaticBlocks::StaticBlocksController#edit as HTML
122973
+ Parameters: {"locale"=>"en", "id"=>"5"}
122974
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "5"]]
122975
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 5
122976
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (3.7ms)
122977
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/edit.html.erb within layouts/static_blocks/application (4.6ms)
122978
+ Completed 200 OK in 22ms (Views: 20.2ms | ActiveRecord: 0.3ms)
122979
+
122980
+
122981
+ Started GET "/assets/static_blocks/application.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
122982
+ Served asset /static_blocks/application.css - 304 Not Modified (0ms)
122983
+
122984
+
122985
+ Started GET "/assets/bootstrap-wysihtml5/core.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
122986
+ Served asset /bootstrap-wysihtml5/core.css - 304 Not Modified (0ms)
122987
+
122988
+
122989
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
122990
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
122991
+
122992
+
122993
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
122994
+ Served asset /jquery.js - 304 Not Modified (0ms)
122995
+
122996
+
122997
+ Started GET "/assets/bootstrap-wysihtml5/index.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
122998
+ Served asset /bootstrap-wysihtml5/index.css - 304 Not Modified (0ms)
122999
+
123000
+
123001
+ Started GET "/assets/static_blocks/static_blocks.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123002
+ Served asset /static_blocks/static_blocks.css - 304 Not Modified (0ms)
123003
+
123004
+
123005
+ Started GET "/assets/static_blocks/static_blocks.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123006
+ Served asset /static_blocks/static_blocks.js - 304 Not Modified (0ms)
123007
+
123008
+
123009
+ Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123010
+ Served asset /bootstrap-transition.js - 304 Not Modified (0ms)
123011
+
123012
+
123013
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123014
+ Served asset /bootstrap-alert.js - 304 Not Modified (0ms)
123015
+
123016
+
123017
+ Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123018
+ Served asset /bootstrap-affix.js - 304 Not Modified (0ms)
123019
+
123020
+
123021
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123022
+ Served asset /bootstrap-button.js - 304 Not Modified (0ms)
123023
+
123024
+
123025
+ Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123026
+ Served asset /bootstrap-carousel.js - 304 Not Modified (0ms)
123027
+
123028
+
123029
+ Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123030
+ Served asset /bootstrap-collapse.js - 304 Not Modified (0ms)
123031
+
123032
+
123033
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123034
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (0ms)
123035
+
123036
+
123037
+ Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123038
+ Served asset /bootstrap-modal.js - 304 Not Modified (0ms)
123039
+
123040
+
123041
+ Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123042
+ Served asset /bootstrap-scrollspy.js - 304 Not Modified (0ms)
123043
+
123044
+
123045
+ Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123046
+ Served asset /bootstrap-tab.js - 304 Not Modified (0ms)
123047
+
123048
+
123049
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123050
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (0ms)
123051
+
123052
+
123053
+ Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123054
+ Served asset /bootstrap-popover.js - 304 Not Modified (0ms)
123055
+
123056
+
123057
+ Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123058
+ Served asset /bootstrap-typeahead.js - 304 Not Modified (0ms)
123059
+
123060
+
123061
+ Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123062
+ Served asset /bootstrap.js - 304 Not Modified (0ms)
123063
+
123064
+
123065
+ Started GET "/assets/bootstrap-wysihtml5/core.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123066
+ Served asset /bootstrap-wysihtml5/core.js - 304 Not Modified (0ms)
123067
+
123068
+
123069
+ Started GET "/assets/bootstrap-wysihtml5/wysihtml5.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123070
+ Served asset /bootstrap-wysihtml5/wysihtml5.js - 304 Not Modified (0ms)
123071
+
123072
+
123073
+ Started GET "/assets/bootstrap-wysihtml5/index.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123074
+ Served asset /bootstrap-wysihtml5/index.js - 304 Not Modified (0ms)
123075
+
123076
+
123077
+ Started GET "/assets/static_blocks/application.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123078
+ Served asset /static_blocks/application.js - 304 Not Modified (0ms)
123079
+
123080
+
123081
+ Started GET "/assets/bootstrap-wysihtml5/wysiwyg-color.css" for 127.0.0.1 at 2013-06-26 22:26:21 -0700
123082
+ Served asset /bootstrap-wysihtml5/wysiwyg-color.css - 304 Not Modified (0ms)
123083
+
123084
+
123085
+ Started GET "/static_blocks_admin/static_blocks/5/edit?locale=wk" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123086
+ Processing by StaticBlocks::StaticBlocksController#edit as HTML
123087
+ Parameters: {"locale"=>"wk", "id"=>"5"}
123088
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "5"]]
123089
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 5
123090
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (4.0ms)
123091
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/edit.html.erb within layouts/static_blocks/application (4.9ms)
123092
+ Completed 200 OK in 23ms (Views: 21.4ms | ActiveRecord: 0.3ms)
123093
+
123094
+
123095
+ Started GET "/assets/bootstrap-wysihtml5/core.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123096
+ Served asset /bootstrap-wysihtml5/core.css - 304 Not Modified (0ms)
123097
+
123098
+
123099
+ Started GET "/assets/static_blocks/static_blocks.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123100
+ Served asset /static_blocks/static_blocks.css - 304 Not Modified (0ms)
123101
+
123102
+
123103
+ Started GET "/assets/bootstrap-wysihtml5/index.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123104
+ Served asset /bootstrap-wysihtml5/index.css - 304 Not Modified (0ms)
123105
+
123106
+
123107
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123108
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
123109
+
123110
+
123111
+ Started GET "/assets/static_blocks/application.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123112
+ Served asset /static_blocks/application.css - 304 Not Modified (0ms)
123113
+
123114
+
123115
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123116
+ Served asset /jquery.js - 304 Not Modified (0ms)
123117
+
123118
+
123119
+ Started GET "/assets/static_blocks/static_blocks.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123120
+ Served asset /static_blocks/static_blocks.js - 304 Not Modified (0ms)
123121
+
123122
+
123123
+ Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123124
+ Served asset /bootstrap-transition.js - 304 Not Modified (0ms)
123125
+
123126
+
123127
+ Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123128
+ Served asset /bootstrap-affix.js - 304 Not Modified (0ms)
123129
+
123130
+
123131
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123132
+ Served asset /bootstrap-alert.js - 304 Not Modified (0ms)
123133
+
123134
+
123135
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123136
+ Served asset /bootstrap-button.js - 304 Not Modified (0ms)
123137
+
123138
+
123139
+ Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123140
+ Served asset /bootstrap-carousel.js - 304 Not Modified (0ms)
123141
+
123142
+
123143
+ Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123144
+ Served asset /bootstrap-collapse.js - 304 Not Modified (0ms)
123145
+
123146
+
123147
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123148
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (0ms)
123149
+
123150
+
123151
+ Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123152
+ Served asset /bootstrap-modal.js - 304 Not Modified (0ms)
123153
+
123154
+
123155
+ Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123156
+ Served asset /bootstrap-scrollspy.js - 304 Not Modified (0ms)
123157
+
123158
+
123159
+ Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:22 -0700
123160
+ Served asset /bootstrap-tab.js - 304 Not Modified (0ms)
123161
+
123162
+
123163
+ Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:23 -0700
123164
+ Served asset /bootstrap-popover.js - 304 Not Modified (0ms)
123165
+
123166
+
123167
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:23 -0700
123168
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (0ms)
123169
+
123170
+
123171
+ Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:23 -0700
123172
+ Served asset /bootstrap-typeahead.js - 304 Not Modified (0ms)
123173
+
123174
+
123175
+ Started GET "/assets/bootstrap-wysihtml5/wysihtml5.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:23 -0700
123176
+ Served asset /bootstrap-wysihtml5/wysihtml5.js - 304 Not Modified (0ms)
123177
+
123178
+
123179
+ Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:23 -0700
123180
+ Served asset /bootstrap.js - 304 Not Modified (0ms)
123181
+
123182
+
123183
+ Started GET "/assets/bootstrap-wysihtml5/core.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:23 -0700
123184
+ Served asset /bootstrap-wysihtml5/core.js - 304 Not Modified (0ms)
123185
+
123186
+
123187
+ Started GET "/assets/bootstrap-wysihtml5/index.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:23 -0700
123188
+ Served asset /bootstrap-wysihtml5/index.js - 304 Not Modified (0ms)
123189
+
123190
+
123191
+ Started GET "/assets/static_blocks/application.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:23 -0700
123192
+ Served asset /static_blocks/application.js - 304 Not Modified (0ms)
123193
+
123194
+
123195
+ Started GET "/assets/bootstrap-wysihtml5/wysiwyg-color.css" for 127.0.0.1 at 2013-06-26 22:26:23 -0700
123196
+ Served asset /bootstrap-wysihtml5/wysiwyg-color.css - 304 Not Modified (0ms)
123197
+
123198
+
123199
+ Started PUT "/static_blocks_admin/static_blocks/5?locale=wk" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123200
+ Processing by StaticBlocks::StaticBlocksController#update as HTML
123201
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"TcftXA3PLPUq+uc7URtfqX6Ktfsg1CDpblTPStj6dgs=", "static_block"=>{"title"=>"foo", "content"=>"wkfoo", "status"=>"published"}, "_wysihtml5_mode"=>"1", "commit"=>"Submit", "locale"=>"wk", "id"=>"5"}
123202
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "5"]]
123203
+  (0.1ms) begin transaction
123204
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 5
123205
+ StaticBlocks::StaticBlock Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE ("static_blocks_static_blocks"."title" = 'foo' AND "static_blocks_static_blocks"."id" != 5) LIMIT 1
123206
+  (0.2ms) UPDATE "static_blocks_static_blocks" SET "content" = 'wkfoo', "updated_at" = '2013-06-27 05:26:26.514302' WHERE "static_blocks_static_blocks"."id" = 5
123207
+ SQL (0.3ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 27 Jun 2013 05:26:26 UTC +00:00], ["locale", "wk"], ["static_blocks_static_block_id", 5], ["updated_at", Thu, 27 Jun 2013 05:26:26 UTC +00:00]]
123208
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 5 AND "static_blocks_static_block_translations"."locale" = 'wk' LIMIT 1
123209
+  (0.2ms) UPDATE "static_blocks_static_block_translations" SET "content" = 'wkfoo', "updated_at" = '2013-06-27 05:26:26.519861' WHERE "static_blocks_static_block_translations"."id" = 9
123210
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 8]]
123211
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 9]]
123212
+  (47.9ms) commit transaction
123213
+ Redirected to http://localhost:3000/static_blocks_admin/static_blocks/5?locale=wk
123214
+ Completed 302 Found in 65ms (ActiveRecord: 49.2ms)
123215
+
123216
+
123217
+ Started GET "/static_blocks_admin/static_blocks/5?locale=wk" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123218
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
123219
+ Parameters: {"locale"=>"wk", "id"=>"5"}
123220
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "5"]]
123221
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 5
123222
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/show.html.erb within layouts/static_blocks/application (40.5ms)
123223
+ Completed 200 OK in 59ms (Views: 56.8ms | ActiveRecord: 0.3ms)
123224
+
123225
+
123226
+ Started GET "/assets/static_blocks/application.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123227
+ Served asset /static_blocks/application.css - 304 Not Modified (0ms)
123228
+
123229
+
123230
+ Started GET "/assets/bootstrap-wysihtml5/index.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123231
+ Served asset /bootstrap-wysihtml5/index.css - 304 Not Modified (0ms)
123232
+
123233
+
123234
+ Started GET "/assets/bootstrap-wysihtml5/core.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123235
+ Served asset /bootstrap-wysihtml5/core.css - 304 Not Modified (0ms)
123236
+
123237
+
123238
+ Started GET "/assets/static_blocks/static_blocks.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123239
+ Served asset /static_blocks/static_blocks.css - 304 Not Modified (1ms)
123240
+
123241
+
123242
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123243
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
123244
+
123245
+
123246
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123247
+ Served asset /jquery.js - 304 Not Modified (0ms)
123248
+
123249
+
123250
+ Started GET "/assets/static_blocks/static_blocks.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123251
+ Served asset /static_blocks/static_blocks.js - 304 Not Modified (0ms)
123252
+
123253
+
123254
+ Started GET "/assets/bootstrap-transition.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123255
+ Served asset /bootstrap-transition.js - 304 Not Modified (0ms)
123256
+
123257
+
123258
+ Started GET "/assets/bootstrap-affix.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123259
+ Served asset /bootstrap-affix.js - 304 Not Modified (0ms)
123260
+
123261
+
123262
+ Started GET "/assets/bootstrap-alert.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123263
+ Served asset /bootstrap-alert.js - 304 Not Modified (0ms)
123264
+
123265
+
123266
+ Started GET "/assets/bootstrap-button.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123267
+ Served asset /bootstrap-button.js - 304 Not Modified (0ms)
123268
+
123269
+
123270
+ Started GET "/assets/bootstrap-carousel.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123271
+ Served asset /bootstrap-carousel.js - 304 Not Modified (0ms)
123272
+
123273
+
123274
+ Started GET "/assets/bootstrap-collapse.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123275
+ Served asset /bootstrap-collapse.js - 304 Not Modified (0ms)
123276
+
123277
+
123278
+ Started GET "/assets/bootstrap-dropdown.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123279
+ Served asset /bootstrap-dropdown.js - 304 Not Modified (0ms)
123280
+
123281
+
123282
+ Started GET "/assets/bootstrap-modal.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123283
+ Served asset /bootstrap-modal.js - 304 Not Modified (0ms)
123284
+
123285
+
123286
+ Started GET "/assets/bootstrap-scrollspy.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123287
+ Served asset /bootstrap-scrollspy.js - 304 Not Modified (0ms)
123288
+
123289
+
123290
+ Started GET "/assets/bootstrap-tab.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123291
+ Served asset /bootstrap-tab.js - 304 Not Modified (0ms)
123292
+
123293
+
123294
+ Started GET "/assets/bootstrap-tooltip.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123295
+ Served asset /bootstrap-tooltip.js - 304 Not Modified (0ms)
123296
+
123297
+
123298
+ Started GET "/assets/bootstrap-popover.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123299
+ Served asset /bootstrap-popover.js - 304 Not Modified (0ms)
123300
+
123301
+
123302
+ Started GET "/assets/bootstrap-typeahead.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123303
+ Served asset /bootstrap-typeahead.js - 304 Not Modified (0ms)
123304
+
123305
+
123306
+ Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123307
+ Served asset /bootstrap.js - 304 Not Modified (0ms)
123308
+
123309
+
123310
+ Started GET "/assets/bootstrap-wysihtml5/wysihtml5.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123311
+ Served asset /bootstrap-wysihtml5/wysihtml5.js - 304 Not Modified (0ms)
123312
+
123313
+
123314
+ Started GET "/assets/bootstrap-wysihtml5/core.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123315
+ Served asset /bootstrap-wysihtml5/core.js - 304 Not Modified (0ms)
123316
+
123317
+
123318
+ Started GET "/assets/bootstrap-wysihtml5/index.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123319
+ Served asset /bootstrap-wysihtml5/index.js - 304 Not Modified (0ms)
123320
+
123321
+
123322
+ Started GET "/assets/static_blocks/application.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:26 -0700
123323
+ Served asset /static_blocks/application.js - 304 Not Modified (0ms)
123324
+
123325
+
123326
+ Started GET "/" for 127.0.0.1 at 2013-06-26 22:26:29 -0700
123327
+
123328
+
123329
+ Started GET "/en/info/index" for 127.0.0.1 at 2013-06-26 22:26:29 -0700
123330
+ Processing by InfoController#index as HTML
123331
+ Parameters: {"locale"=>"en"}
123332
+ StaticBlocks::StaticBlock Load (0.3ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
123333
+ StaticBlocks::StaticBlock::Translation Load (0.3ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 5
123334
+ Rendered info/index.html.erb within layouts/application (7.8ms)
123335
+ Completed 200 OK in 18ms (Views: 17.2ms | ActiveRecord: 0.6ms)
123336
+
123337
+
123338
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:30 -0700
123339
+ Served asset /application.css - 304 Not Modified (0ms)
123340
+
123341
+
123342
+ Started GET "/assets/info.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:30 -0700
123343
+ Served asset /info.css - 304 Not Modified (0ms)
123344
+
123345
+
123346
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:30 -0700
123347
+ Served asset /application.js - 304 Not Modified (0ms)
123348
+
123349
+
123350
+ Started GET "/assets/info.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:30 -0700
123351
+ Served asset /info.js - 304 Not Modified (0ms)
123352
+
123353
+
123354
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:30 -0700
123355
+ Served asset /jquery.js - 304 Not Modified (0ms)
123356
+
123357
+
123358
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:30 -0700
123359
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
123360
+
123361
+
123362
+ Started GET "/wk/info/index" for 127.0.0.1 at 2013-06-26 22:26:31 -0700
123363
+ Processing by InfoController#index as HTML
123364
+ Parameters: {"locale"=>"wk"}
123365
+ StaticBlocks::StaticBlock Load (0.2ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
123366
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 5
123367
+ Rendered info/index.html.erb within layouts/application (4.0ms)
123368
+ Completed 200 OK in 11ms (Views: 10.5ms | ActiveRecord: 0.3ms)
123369
+
123370
+
123371
+ Started GET "/assets/info.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:31 -0700
123372
+ Served asset /info.css - 304 Not Modified (0ms)
123373
+
123374
+
123375
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:31 -0700
123376
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
123377
+
123378
+
123379
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:31 -0700
123380
+ Served asset /jquery.js - 304 Not Modified (0ms)
123381
+
123382
+
123383
+ Started GET "/assets/info.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:31 -0700
123384
+ Served asset /info.js - 304 Not Modified (0ms)
123385
+
123386
+
123387
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:31 -0700
123388
+ Served asset /application.js - 304 Not Modified (0ms)
123389
+
123390
+
123391
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:31 -0700
123392
+ Served asset /application.css - 304 Not Modified (0ms)
123393
+
123394
+
123395
+ Started GET "/en/info/index" for 127.0.0.1 at 2013-06-26 22:26:32 -0700
123396
+ Processing by InfoController#index as HTML
123397
+ Parameters: {"locale"=>"en"}
123398
+ Rendered info/index.html.erb within layouts/application (1.1ms)
123399
+ Completed 200 OK in 8ms (Views: 7.5ms | ActiveRecord: 0.0ms)
123400
+
123401
+
123402
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:32 -0700
123403
+ Served asset /application.css - 304 Not Modified (0ms)
123404
+
123405
+
123406
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:32 -0700
123407
+ Served asset /jquery.js - 304 Not Modified (0ms)
123408
+
123409
+
123410
+ Started GET "/assets/info.css?body=1" for 127.0.0.1 at 2013-06-26 22:26:32 -0700
123411
+ Served asset /info.css - 304 Not Modified (0ms)
123412
+
123413
+
123414
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:32 -0700
123415
+ Served asset /application.js - 304 Not Modified (0ms)
123416
+
123417
+
123418
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:32 -0700
123419
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
123420
+
123421
+
123422
+ Started GET "/assets/info.js?body=1" for 127.0.0.1 at 2013-06-26 22:26:32 -0700
123423
+ Served asset /info.js - 304 Not Modified (0ms)
@@ -10268,3 +10268,220 @@ Completed 200 OK in 40ms (Views: 39.2ms | ActiveRecord: 0.2ms)
10268
10268
  StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10269
10269
   (0.0ms) RELEASE SAVEPOINT active_record_1
10270
10270
   (0.1ms) rollback transaction
10271
+ Connecting to database specified by database.yml
10272
+  (0.3ms) begin transaction
10273
+  (0.0ms) rollback transaction
10274
+  (0.0ms) begin transaction
10275
+  (0.0ms) rollback transaction
10276
+  (0.0ms) begin transaction
10277
+  (0.0ms) rollback transaction
10278
+  (0.0ms) begin transaction
10279
+  (0.0ms) rollback transaction
10280
+  (0.0ms) begin transaction
10281
+  (0.0ms) rollback transaction
10282
+  (0.0ms) begin transaction
10283
+  (0.0ms) rollback transaction
10284
+  (0.0ms) begin transaction
10285
+  (0.0ms) rollback transaction
10286
+  (0.0ms) begin transaction
10287
+  (0.0ms) rollback transaction
10288
+  (0.0ms) begin transaction
10289
+  (0.0ms) rollback transaction
10290
+ Connecting to database specified by database.yml
10291
+  (0.3ms) begin transaction
10292
+  (0.0ms) SAVEPOINT active_record_1
10293
+ StaticBlocks::StaticBlock Exists (1.3ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
10294
+ SQL (1.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00]]
10295
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10296
+ SQL (0.4ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00]]
10297
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10298
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10299
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."status" = 'published' AND "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
10300
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10301
+  (0.1ms) rollback transaction
10302
+  (0.0ms) begin transaction
10303
+  (0.0ms) SAVEPOINT active_record_1
10304
+ StaticBlocks::StaticBlock Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
10305
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00]]
10306
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10307
+ SQL (0.3ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00]]
10308
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10309
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10310
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-26 22:24:31 -0700
10311
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
10312
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
10313
+ StaticBlocks::StaticBlock Load (0.2ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" ORDER BY title asc LIMIT 10 OFFSET 0
10314
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10315
+ Completed 200 OK in 82ms (Views: 80.5ms | ActiveRecord: 0.4ms)
10316
+  (0.2ms) rollback transaction
10317
+  (0.0ms) begin transaction
10318
+  (0.0ms) SAVEPOINT active_record_1
10319
+ StaticBlocks::StaticBlock Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
10320
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00]]
10321
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10322
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00]]
10323
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10324
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10325
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-26 22:24:31 -0700
10326
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
10327
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
10328
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" ORDER BY title asc LIMIT 10 OFFSET 0
10329
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10330
+ Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.3ms)
10331
+ Started GET "/static_blocks_admin/static_blocks/new?locale=en" for 127.0.0.1 at 2013-06-26 22:24:31 -0700
10332
+ Processing by StaticBlocks::StaticBlocksController#new as HTML
10333
+ Parameters: {"locale"=>"en"}
10334
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (3.0ms)
10335
+ Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.0ms)
10336
+ Started POST "/static_blocks_admin/static_blocks?locale=en" for 127.0.0.1 at 2013-06-26 22:24:31 -0700
10337
+ Processing by StaticBlocks::StaticBlocksController#create as HTML
10338
+ Parameters: {"utf8"=>"✓", "static_block"=>{"title"=>"baz", "content"=>"qux", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
10339
+  (0.1ms) SAVEPOINT active_record_1
10340
+ StaticBlocks::StaticBlock Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."title" = 'baz' LIMIT 1
10341
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00], ["status", "published"], ["title", "baz"], ["updated_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00]]
10342
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 2 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10343
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 2], ["updated_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00]]
10344
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 2]]
10345
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10346
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks/2?locale=en
10347
+ Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
10348
+ Started GET "/static_blocks_admin/static_blocks/2?locale=en" for 127.0.0.1 at 2013-06-26 22:24:31 -0700
10349
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
10350
+ Parameters: {"locale"=>"en", "id"=>"2"}
10351
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "2"]]
10352
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 2
10353
+ Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.3ms)
10354
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
10355
+  (0.1ms) rollback transaction
10356
+  (0.0ms) begin transaction
10357
+  (0.0ms) SAVEPOINT active_record_1
10358
+ StaticBlocks::StaticBlock Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
10359
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00]]
10360
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10361
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00]]
10362
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10364
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-26 22:24:31 -0700
10365
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
10366
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
10367
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" ORDER BY title asc LIMIT 10 OFFSET 0
10368
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10369
+ Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.3ms)
10370
+  (0.2ms) rollback transaction
10371
+  (0.0ms) begin transaction
10372
+  (0.0ms) SAVEPOINT active_record_1
10373
+ StaticBlocks::StaticBlock Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
10374
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00]]
10375
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10376
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Thu, 27 Jun 2013 05:24:31 UTC +00:00]]
10377
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10378
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10379
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-26 22:24:31 -0700
10380
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
10381
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
10382
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" ORDER BY title asc LIMIT 10 OFFSET 0
10383
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10384
+ Completed 200 OK in 15ms (Views: 14.0ms | ActiveRecord: 0.3ms)
10385
+ Started GET "/static_blocks_admin/static_blocks/1/edit?locale=en" for 127.0.0.1 at 2013-06-26 22:24:32 -0700
10386
+ Processing by StaticBlocks::StaticBlocksController#edit as HTML
10387
+ Parameters: {"locale"=>"en", "id"=>"1"}
10388
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
10389
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10390
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (3.6ms)
10391
+ Completed 200 OK in 9ms (Views: 7.2ms | ActiveRecord: 0.2ms)
10392
+ Started GET "/static_blocks_admin/static_blocks/1/edit?locale=wk" for 127.0.0.1 at 2013-06-26 22:24:32 -0700
10393
+ Processing by StaticBlocks::StaticBlocksController#edit as HTML
10394
+ Parameters: {"locale"=>"wk", "id"=>"1"}
10395
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
10396
+ StaticBlocks::StaticBlock::Translation Load (0.2ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10397
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/static_blocks/_form.html.erb (3.9ms)
10398
+ Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.2ms)
10399
+ Started PUT "/static_blocks_admin/static_blocks/1?locale=wk" for 127.0.0.1 at 2013-06-26 22:24:32 -0700
10400
+ Processing by StaticBlocks::StaticBlocksController#update as HTML
10401
+ Parameters: {"utf8"=>"✓", "static_block"=>{"title"=>"foo", "content"=>"argh", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
10402
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
10403
+  (0.0ms) SAVEPOINT active_record_1
10404
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10405
+ StaticBlocks::StaticBlock Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE ("static_blocks_static_blocks"."title" = 'foo' AND "static_blocks_static_blocks"."id" != 1) LIMIT 1
10406
+  (0.2ms) UPDATE "static_blocks_static_blocks" SET "content" = 'argh', "status" = 'published', "updated_at" = '2013-06-27 05:24:32.065551' WHERE "static_blocks_static_blocks"."id" = 1
10407
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00], ["locale", "wk"], ["static_blocks_static_block_id", 1], ["updated_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00]]
10408
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'wk' LIMIT 1
10409
+  (0.1ms) UPDATE "static_blocks_static_block_translations" SET "content" = 'argh', "updated_at" = '2013-06-27 05:24:32.070422' WHERE "static_blocks_static_block_translations"."id" = 2
10410
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10411
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 2]]
10412
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10413
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks/1?locale=wk
10414
+ Completed 302 Found in 12ms (ActiveRecord: 1.0ms)
10415
+ Started GET "/static_blocks_admin/static_blocks/1?locale=wk" for 127.0.0.1 at 2013-06-26 22:24:32 -0700
10416
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
10417
+ Parameters: {"locale"=>"wk", "id"=>"1"}
10418
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
10419
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10420
+ Completed 200 OK in 6ms (Views: 5.1ms | ActiveRecord: 0.2ms)
10421
+ Started GET "/static_blocks_admin/static_blocks/1?locale=en" for 127.0.0.1 at 2013-06-26 22:24:32 -0700
10422
+ Processing by StaticBlocks::StaticBlocksController#show as HTML
10423
+ Parameters: {"locale"=>"en", "id"=>"1"}
10424
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
10425
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10426
+ Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
10427
+  (0.2ms) rollback transaction
10428
+  (0.0ms) begin transaction
10429
+  (0.0ms) SAVEPOINT active_record_1
10430
+ StaticBlocks::StaticBlock Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
10431
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00]]
10432
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10433
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00]]
10434
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10435
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10436
+ Started GET "/static_blocks_admin" for 127.0.0.1 at 2013-06-26 22:24:32 -0700
10437
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
10438
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks" 
10439
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" ORDER BY title asc LIMIT 10 OFFSET 0
10440
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10441
+ Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.3ms)
10442
+ Started DELETE "/static_blocks_admin/static_blocks/1?locale=en" for 127.0.0.1 at 2013-06-26 22:24:32 -0700
10443
+ Processing by StaticBlocks::StaticBlocksController#destroy as HTML
10444
+ Parameters: {"locale"=>"en", "id"=>"1"}
10445
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? LIMIT 1 [["id", "1"]]
10446
+  (0.1ms) SAVEPOINT active_record_1
10447
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1
10448
+ SQL (0.2ms) DELETE FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? [["id", 1]]
10449
+ SQL (0.1ms) DELETE FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."id" = ? [["id", 1]]
10450
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10451
+ Redirected to http://www.example.com/static_blocks_admin/static_blocks?locale=en
10452
+ Completed 302 Found in 5ms (ActiveRecord: 0.6ms)
10453
+ Started GET "/static_blocks_admin/static_blocks?locale=en" for 127.0.0.1 at 2013-06-26 22:24:32 -0700
10454
+ Processing by StaticBlocks::StaticBlocksController#index as HTML
10455
+ Parameters: {"locale"=>"en"}
10456
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
10457
+ StaticBlocks::StaticBlock Load (0.1ms) SELECT "static_blocks_static_blocks".* FROM "static_blocks_static_blocks" ORDER BY title asc LIMIT 10 OFFSET 0
10458
+ Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.2ms)
10459
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_static_blocks"
10460
+  (0.2ms) rollback transaction
10461
+  (0.0ms) begin transaction
10462
+  (0.0ms) SAVEPOINT active_record_1
10463
+ StaticBlocks::StaticBlock Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
10464
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00]]
10465
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10466
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00]]
10467
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10468
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10469
+  (0.1ms) rollback transaction
10470
+  (0.0ms) begin transaction
10471
+  (0.0ms) SAVEPOINT active_record_1
10472
+ StaticBlocks::StaticBlock Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
10473
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00]]
10474
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10475
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00]]
10476
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10477
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10478
+  (0.1ms) rollback transaction
10479
+  (0.0ms) begin transaction
10480
+  (0.0ms) SAVEPOINT active_record_1
10481
+ StaticBlocks::StaticBlock Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_static_blocks" WHERE "static_blocks_static_blocks"."title" = 'foo' LIMIT 1
10482
+ SQL (0.3ms) INSERT INTO "static_blocks_static_blocks" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00]]
10483
+ StaticBlocks::StaticBlock::Translation Load (0.1ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."static_blocks_static_block_id" = 1 AND "static_blocks_static_block_translations"."locale" = 'en' LIMIT 1
10484
+ SQL (0.2ms) INSERT INTO "static_blocks_static_block_translations" ("content", "created_at", "locale", "static_blocks_static_block_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00], ["locale", "en"], ["static_blocks_static_block_id", 1], ["updated_at", Thu, 27 Jun 2013 05:24:32 UTC +00:00]]
10485
+ StaticBlocks::StaticBlock::Translation Load (0.0ms) SELECT "static_blocks_static_block_translations".* FROM "static_blocks_static_block_translations" WHERE "static_blocks_static_block_translations"."id" = ? LIMIT 1 [["id", 1]]
10486
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10487
+  (0.1ms) rollback transaction
@@ -1 +1,2 @@
1
- o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372307887.204024: @value"*I" StaticBlock for foo missing:EF
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372310789.9874566: @value"I"
2
+ enfoo:ET
@@ -0,0 +1,2 @@
1
+ o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1372310791.3530364: @value"I"
2
+ wkfoo:ET
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: static_blocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -350,6 +350,7 @@ files:
350
350
  - spec/dummy/tmp/cache/96E/880/static_block%3A%3Aen%3A%3Afoo
351
351
  - spec/dummy/tmp/cache/96E/0B0/static_block%3A%3Afoo%3A%3Aen
352
352
  - spec/dummy/tmp/cache/97D/2C0/static_block%3A%3Afoo%3A%3Awk
353
+ - spec/dummy/tmp/cache/97D/300/static_block%3A%3Awk%3A%3Afoo
353
354
  - spec/dummy/tmp/cache/sass/4f0ce0b83bd09d93536268da405600ef1b98018d/bootstrap.scssc
354
355
  - spec/dummy/tmp/cache/sass/cec3b0e976607689afac1fc85095e1fdcb40263a/_accordion.scssc
355
356
  - spec/dummy/tmp/cache/sass/cec3b0e976607689afac1fc85095e1fdcb40263a/_grid.scssc
@@ -533,6 +534,7 @@ test_files:
533
534
  - spec/dummy/tmp/cache/96E/880/static_block%3A%3Aen%3A%3Afoo
534
535
  - spec/dummy/tmp/cache/96E/0B0/static_block%3A%3Afoo%3A%3Aen
535
536
  - spec/dummy/tmp/cache/97D/2C0/static_block%3A%3Afoo%3A%3Awk
537
+ - spec/dummy/tmp/cache/97D/300/static_block%3A%3Awk%3A%3Afoo
536
538
  - spec/dummy/tmp/cache/sass/4f0ce0b83bd09d93536268da405600ef1b98018d/bootstrap.scssc
537
539
  - spec/dummy/tmp/cache/sass/cec3b0e976607689afac1fc85095e1fdcb40263a/_accordion.scssc
538
540
  - spec/dummy/tmp/cache/sass/cec3b0e976607689afac1fc85095e1fdcb40263a/_grid.scssc