polyblock 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/helpers/polyblock/application_helper.rb +10 -1
- data/app/views/polyblock/_simple_fields_for.html.haml +1 -2
- data/lib/polyblock/version.rb +1 -1
- data/test/dummy/app/views/home/index.html.haml +2 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +516 -0
- data/test/dummy/tmp/pids/server.pid +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ec215ea6c52b8c58c40be3369880eff3c60605e4
|
4
|
+
data.tar.gz: 5b9cc0433a80e9b47c207801b092235c380a23ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5e436274e70a377316bdf59a58d2d120c106020e50710863ca744c6c60c59f169612c4a43fd981d7b2845a0916d17d234adf23ae0f3d93745cf7aff96a1329f0
|
7
|
+
data.tar.gz: e4c8f3a1f000cfcfe4ac48b88ae32f6250a6786e46da5572db647707c4d62c7bd2165805327cc29246fdb74c68d229a6eff67c2f7db24ebd2f78e3de2692106d
|
@@ -58,7 +58,16 @@ module Polyblock
|
|
58
58
|
:label => false,
|
59
59
|
:input_html => {}
|
60
60
|
}.merge(options)
|
61
|
-
|
61
|
+
|
62
|
+
pb = if name.is_a?(String)
|
63
|
+
Block.fetch_or_initialize(name)
|
64
|
+
elsif name.is_a?(Symbol)
|
65
|
+
f.object
|
66
|
+
else
|
67
|
+
nil
|
68
|
+
end
|
69
|
+
|
70
|
+
render :partial => 'polyblock/simple_fields_for', :locals => {:f => f, :pb => pb, :name => name, :options => options}
|
62
71
|
end
|
63
72
|
|
64
73
|
def polyblock_editor_bar
|
@@ -1,7 +1,6 @@
|
|
1
1
|
= f.simple_fields_for name do |ff|
|
2
|
-
|
3
2
|
= ff.input_field :name, :as => :hidden, :value => name.to_s
|
4
3
|
- if !options[:label]
|
5
4
|
= ff.input_field :content, options[:input_html].merge({:as => :ckeditor})
|
6
5
|
- else
|
7
|
-
= ff.input :content, :as => :ckeditor, :label => options[:label].is_a?(String) ? options[:label] : name.to_s.titleize, :input_html => options[:input_html]
|
6
|
+
= ff.input :content, :as => :ckeditor, :label => options[:label].is_a?(String) ? options[:label] : name.to_s.titleize, :input_html => name.is_a?(String) ? options[:input_html].merge({:value => pb.content}) : options[:input_html]
|
data/lib/polyblock/version.rb
CHANGED
@@ -9,5 +9,6 @@
|
|
9
9
|
%h3 Polyblock SimpleForm
|
10
10
|
= simple_form_for @event do |f|
|
11
11
|
= f.input :title
|
12
|
-
= simple_fields_for_polyblock :description, f
|
12
|
+
= simple_fields_for_polyblock :description, f, :label => true
|
13
|
+
= simple_fields_for_polyblock "Random String", f, :label => true
|
13
14
|
= f.submit "Save Event"
|
Binary file
|
@@ -62572,3 +62572,519 @@ Started GET "/assets/ckeditor/plugins/sourcedialog/plugin.js" for 127.0.0.1 at 2
|
|
62572
62572
|
|
62573
62573
|
|
62574
62574
|
Started GET "/assets/ckeditor/contents.css" for 127.0.0.1 at 2014-06-07 15:32:32 -0400
|
62575
|
+
|
62576
|
+
|
62577
|
+
Started GET "/" for 127.0.0.1 at 2014-06-07 15:34:19 -0400
|
62578
|
+
Processing by HomeController#index as HTML
|
62579
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Test'
|
62580
|
+
[1m[36mPolyblock::Block Load (0.2ms)[0m [1mSELECT "polyblock_blocks".* FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Test' ORDER BY "polyblock_blocks"."id" ASC LIMIT 1[0m
|
62581
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'bEbFczhwrCsRxrHMYGKYXNMyVmaWftRCVuuQctLsbvrinNNFpt'
|
62582
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
62583
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "polyblock_blocks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 07 Jun 2014 19:34:19 UTC +00:00], ["name", "bEbFczhwrCsRxrHMYGKYXNMyVmaWftRCVuuQctLsbvrinNNFpt"], ["updated_at", Sat, 07 Jun 2014 19:34:19 UTC +00:00]]
|
62584
|
+
[1m[36m (18.4ms)[0m [1mcommit transaction[0m
|
62585
|
+
Rendered /Applications/XAMPP/xamppfiles/htdocs/polyblock/app/views/polyblock/_simple_fields_for.html.haml (3.1ms)
|
62586
|
+
Rendered home/index.html.haml within layouts/application (116.3ms)
|
62587
|
+
Rendered /Applications/XAMPP/xamppfiles/htdocs/polyblock/app/views/polyblock/_editor_bar.html.erb (0.1ms)
|
62588
|
+
Completed 200 OK in 566ms (Views: 543.4ms | ActiveRecord: 19.7ms)
|
62589
|
+
|
62590
|
+
|
62591
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62592
|
+
|
62593
|
+
|
62594
|
+
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62595
|
+
|
62596
|
+
|
62597
|
+
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62598
|
+
|
62599
|
+
|
62600
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62601
|
+
|
62602
|
+
|
62603
|
+
Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62604
|
+
|
62605
|
+
|
62606
|
+
Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62607
|
+
|
62608
|
+
|
62609
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62610
|
+
|
62611
|
+
|
62612
|
+
Started GET "/assets/jquery.ui.accordion.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62613
|
+
|
62614
|
+
|
62615
|
+
Started GET "/assets/jquery.ui.position.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62616
|
+
|
62617
|
+
|
62618
|
+
Started GET "/assets/jquery.ui.menu.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62619
|
+
|
62620
|
+
|
62621
|
+
Started GET "/assets/jquery.ui.autocomplete.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62622
|
+
|
62623
|
+
|
62624
|
+
Started GET "/assets/jquery.ui.button.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62625
|
+
|
62626
|
+
|
62627
|
+
Started GET "/assets/jquery.ui.datepicker.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62628
|
+
|
62629
|
+
|
62630
|
+
Started GET "/assets/jquery.ui.mouse.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62631
|
+
|
62632
|
+
|
62633
|
+
Started GET "/assets/jquery.ui.draggable.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62634
|
+
|
62635
|
+
|
62636
|
+
Started GET "/assets/jquery.ui.resizable.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62637
|
+
|
62638
|
+
|
62639
|
+
Started GET "/assets/jquery.ui.dialog.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62640
|
+
|
62641
|
+
|
62642
|
+
Started GET "/assets/jquery.ui.droppable.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62643
|
+
|
62644
|
+
|
62645
|
+
Started GET "/assets/jquery.ui.effect.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62646
|
+
|
62647
|
+
|
62648
|
+
Started GET "/assets/jquery.ui.effect-blind.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62649
|
+
|
62650
|
+
|
62651
|
+
Started GET "/assets/jquery.ui.effect-bounce.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62652
|
+
|
62653
|
+
|
62654
|
+
Started GET "/assets/jquery.ui.effect-clip.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62655
|
+
|
62656
|
+
|
62657
|
+
Started GET "/assets/jquery.ui.effect-drop.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62658
|
+
|
62659
|
+
|
62660
|
+
Started GET "/assets/jquery.ui.effect-explode.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62661
|
+
|
62662
|
+
|
62663
|
+
Started GET "/assets/jquery.ui.effect-fade.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62664
|
+
|
62665
|
+
|
62666
|
+
Started GET "/assets/jquery.ui.effect-fold.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62667
|
+
|
62668
|
+
|
62669
|
+
Started GET "/assets/jquery.ui.effect-highlight.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62670
|
+
|
62671
|
+
|
62672
|
+
Started GET "/assets/jquery.ui.effect-pulsate.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62673
|
+
|
62674
|
+
|
62675
|
+
Started GET "/assets/jquery.ui.effect-scale.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62676
|
+
|
62677
|
+
|
62678
|
+
Started GET "/assets/jquery.ui.effect-shake.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62679
|
+
|
62680
|
+
|
62681
|
+
Started GET "/assets/jquery.ui.effect-slide.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62682
|
+
|
62683
|
+
|
62684
|
+
Started GET "/assets/jquery.ui.effect-transfer.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62685
|
+
|
62686
|
+
|
62687
|
+
Started GET "/assets/jquery.ui.progressbar.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62688
|
+
|
62689
|
+
|
62690
|
+
Started GET "/assets/jquery.ui.selectable.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62691
|
+
|
62692
|
+
|
62693
|
+
Started GET "/assets/jquery.ui.slider.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62694
|
+
|
62695
|
+
|
62696
|
+
Started GET "/assets/jquery.ui.sortable.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62697
|
+
|
62698
|
+
|
62699
|
+
Started GET "/assets/jquery.ui.spinner.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62700
|
+
|
62701
|
+
|
62702
|
+
Started GET "/assets/jquery.ui.tabs.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62703
|
+
|
62704
|
+
|
62705
|
+
Started GET "/assets/jquery.ui.tooltip.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62706
|
+
|
62707
|
+
|
62708
|
+
Started GET "/assets/jquery.ui.all.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62709
|
+
|
62710
|
+
|
62711
|
+
Started GET "/assets/underscore.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62712
|
+
|
62713
|
+
|
62714
|
+
Started GET "/assets/underscore.string.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62715
|
+
|
62716
|
+
|
62717
|
+
Started GET "/assets/beautify.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62718
|
+
|
62719
|
+
|
62720
|
+
Started GET "/assets/beautify-css.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62721
|
+
|
62722
|
+
|
62723
|
+
Started GET "/assets/beautify-html.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62724
|
+
|
62725
|
+
|
62726
|
+
Started GET "/assets/clientside-haml.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62727
|
+
|
62728
|
+
|
62729
|
+
Started GET "/assets/ckeditor/override.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62730
|
+
|
62731
|
+
|
62732
|
+
Started GET "/assets/ckeditor/init.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62733
|
+
|
62734
|
+
|
62735
|
+
Started GET "/assets/ckeditor/ckeditor.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62736
|
+
|
62737
|
+
|
62738
|
+
Started GET "/assets/transit.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62739
|
+
|
62740
|
+
|
62741
|
+
Started GET "/assets/polyblock/init.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62742
|
+
|
62743
|
+
|
62744
|
+
Started GET "/assets/polyblock/polyblock.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62745
|
+
|
62746
|
+
|
62747
|
+
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62748
|
+
|
62749
|
+
|
62750
|
+
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62751
|
+
|
62752
|
+
|
62753
|
+
Started GET "/assets/haml.map" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62754
|
+
|
62755
|
+
|
62756
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-07 15:34:20 -0400
|
62757
|
+
|
62758
|
+
|
62759
|
+
Started GET "/assets/ckeditor/config.js" for 127.0.0.1 at 2014-06-07 15:34:21 -0400
|
62760
|
+
|
62761
|
+
|
62762
|
+
Started GET "/assets/ckeditor/skins/moono/editor.css" for 127.0.0.1 at 2014-06-07 15:34:21 -0400
|
62763
|
+
|
62764
|
+
|
62765
|
+
Started GET "/assets/ckeditor/lang/en.js" for 127.0.0.1 at 2014-06-07 15:34:21 -0400
|
62766
|
+
|
62767
|
+
|
62768
|
+
Started GET "/assets/ckeditor/styles.js" for 127.0.0.1 at 2014-06-07 15:34:21 -0400
|
62769
|
+
|
62770
|
+
|
62771
|
+
Started GET "/assets/ckeditor/plugins/sourcedialog/plugin.js" for 127.0.0.1 at 2014-06-07 15:34:21 -0400
|
62772
|
+
|
62773
|
+
|
62774
|
+
Started GET "/assets/ckeditor/contents.css" for 127.0.0.1 at 2014-06-07 15:34:21 -0400
|
62775
|
+
|
62776
|
+
|
62777
|
+
Started GET "/" for 127.0.0.1 at 2014-06-07 15:45:57 -0400
|
62778
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.7ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
62779
|
+
Processing by HomeController#index as HTML
|
62780
|
+
[1m[35m (12.5ms)[0m SELECT COUNT(*) FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Test'
|
62781
|
+
[1m[36mPolyblock::Block Load (0.3ms)[0m [1mSELECT "polyblock_blocks".* FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Test' ORDER BY "polyblock_blocks"."id" ASC LIMIT 1[0m
|
62782
|
+
[1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'DpMHNcwIhnVwYFyEtRpOpjqeSCfydCQUtkVMKmVLTAAEVhVDZN'
|
62783
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62784
|
+
[1m[35mSQL (50.7ms)[0m INSERT INTO "polyblock_blocks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 07 Jun 2014 19:45:58 UTC +00:00], ["name", "DpMHNcwIhnVwYFyEtRpOpjqeSCfydCQUtkVMKmVLTAAEVhVDZN"], ["updated_at", Sat, 07 Jun 2014 19:45:58 UTC +00:00]]
|
62785
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
62786
|
+
Rendered /Applications/XAMPP/xamppfiles/htdocs/polyblock/app/views/polyblock/_simple_fields_for.html.haml (39.8ms)
|
62787
|
+
Rendered home/index.html.haml within layouts/application (363.6ms)
|
62788
|
+
Completed 500 Internal Server Error in 517ms
|
62789
|
+
|
62790
|
+
ActionView::Template::Error (undefined method `fetch_or_initialize' for Polyblock:Module):
|
62791
|
+
10: = simple_form_for @event do |f|
|
62792
|
+
11: = f.input :title
|
62793
|
+
12: = simple_fields_for_polyblock :description, f, :label => true
|
62794
|
+
13: = simple_fields_for_polyblock "Random String", f, :label => true
|
62795
|
+
14: = f.submit "Save Event"
|
62796
|
+
app/views/home/index.html.haml:13:in `block in _app_views_home_index_html_haml__3011905492625166717_70092487667500'
|
62797
|
+
app/views/home/index.html.haml:10:in `_app_views_home_index_html_haml__3011905492625166717_70092487667500'
|
62798
|
+
|
62799
|
+
|
62800
|
+
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
|
62801
|
+
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (47.1ms)
|
62802
|
+
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (70.6ms)
|
62803
|
+
|
62804
|
+
|
62805
|
+
Started GET "/" for 127.0.0.1 at 2014-06-07 15:46:43 -0400
|
62806
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
62807
|
+
Processing by HomeController#index as HTML
|
62808
|
+
[1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Test'
|
62809
|
+
[1m[36mPolyblock::Block Load (0.7ms)[0m [1mSELECT "polyblock_blocks".* FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Test' ORDER BY "polyblock_blocks"."id" ASC LIMIT 1[0m
|
62810
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'SMPJTBDedpJKqsptBGkkFjemrJUKnGlNZpoJtJwOjKMbDCBKMU'
|
62811
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
62812
|
+
[1m[35mSQL (6.8ms)[0m INSERT INTO "polyblock_blocks" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 07 Jun 2014 19:46:43 UTC +00:00], ["name", "SMPJTBDedpJKqsptBGkkFjemrJUKnGlNZpoJtJwOjKMbDCBKMU"], ["updated_at", Sat, 07 Jun 2014 19:46:43 UTC +00:00]]
|
62813
|
+
[1m[36m (2.8ms)[0m [1mcommit transaction[0m
|
62814
|
+
Rendered /Applications/XAMPP/xamppfiles/htdocs/polyblock/app/views/polyblock/_simple_fields_for.html.haml (20.1ms)
|
62815
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Random String'
|
62816
|
+
Rendered /Applications/XAMPP/xamppfiles/htdocs/polyblock/app/views/polyblock/_simple_fields_for.html.haml (26.4ms)
|
62817
|
+
Rendered home/index.html.haml within layouts/application (243.8ms)
|
62818
|
+
Completed 500 Internal Server Error in 395ms
|
62819
|
+
|
62820
|
+
ActionView::Template::Error (undefined local variable or method `options_html' for #<#<Class:0x007f84358cf8f0>:0x007f84358d5548>):
|
62821
|
+
3: - if !options[:label]
|
62822
|
+
4: = ff.input_field :content, options[:input_html].merge({:as => :ckeditor})
|
62823
|
+
5: - else
|
62824
|
+
6: = ff.input :content, :as => :ckeditor, :label => options[:label].is_a?(String) ? options[:label] : name.to_s.titleize, :input_html => name.is_a?(String) ? options_html[:input_html].merge({:value => pb.content}) : options[:input_html]
|
62825
|
+
app/views/home/index.html.haml:13:in `block in _app_views_home_index_html_haml___1547292484661401363_70102892945960'
|
62826
|
+
app/views/home/index.html.haml:10:in `_app_views_home_index_html_haml___1547292484661401363_70102892945960'
|
62827
|
+
|
62828
|
+
|
62829
|
+
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_trace.erb (5.6ms)
|
62830
|
+
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (45.9ms)
|
62831
|
+
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (72.1ms)
|
62832
|
+
|
62833
|
+
|
62834
|
+
Started GET "/" for 127.0.0.1 at 2014-06-07 15:47:00 -0400
|
62835
|
+
Processing by HomeController#index as HTML
|
62836
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Test'[0m
|
62837
|
+
[1m[35mPolyblock::Block Load (0.4ms)[0m SELECT "polyblock_blocks".* FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Test' ORDER BY "polyblock_blocks"."id" ASC LIMIT 1
|
62838
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'iTxxupsUspVtzDsshlWCoiJgUpzqxkIbbZNTLlvQZXhCDzizhP'[0m
|
62839
|
+
[1m[35m (0.2ms)[0m begin transaction
|
62840
|
+
[1m[36mSQL (1.6ms)[0m [1mINSERT INTO "polyblock_blocks" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 07 Jun 2014 19:47:00 UTC +00:00], ["name", "iTxxupsUspVtzDsshlWCoiJgUpzqxkIbbZNTLlvQZXhCDzizhP"], ["updated_at", Sat, 07 Jun 2014 19:47:00 UTC +00:00]]
|
62841
|
+
[1m[35m (1.7ms)[0m commit transaction
|
62842
|
+
Rendered /Applications/XAMPP/xamppfiles/htdocs/polyblock/app/views/polyblock/_simple_fields_for.html.haml (30.6ms)
|
62843
|
+
[1m[36m (0.6ms)[0m [1mSELECT COUNT(*) FROM "polyblock_blocks" WHERE "polyblock_blocks"."name" = 'Random String'[0m
|
62844
|
+
Rendered /Applications/XAMPP/xamppfiles/htdocs/polyblock/app/views/polyblock/_simple_fields_for.html.haml (14.4ms)
|
62845
|
+
Rendered home/index.html.haml within layouts/application (111.2ms)
|
62846
|
+
Rendered /Applications/XAMPP/xamppfiles/htdocs/polyblock/app/views/polyblock/_editor_bar.html.erb (0.9ms)
|
62847
|
+
Completed 200 OK in 2835ms (Views: 2825.3ms | ActiveRecord: 5.2ms)
|
62848
|
+
|
62849
|
+
|
62850
|
+
Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62851
|
+
|
62852
|
+
|
62853
|
+
Started GET "/assets/events.css?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62854
|
+
|
62855
|
+
|
62856
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62857
|
+
|
62858
|
+
|
62859
|
+
Started GET "/assets/home.css?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62860
|
+
|
62861
|
+
|
62862
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62863
|
+
|
62864
|
+
|
62865
|
+
Started GET "/assets/jquery.ui.core.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62866
|
+
|
62867
|
+
|
62868
|
+
Started GET "/assets/jquery.ui.widget.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62869
|
+
|
62870
|
+
|
62871
|
+
Started GET "/assets/jquery.ui.accordion.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62872
|
+
|
62873
|
+
|
62874
|
+
Started GET "/assets/jquery.ui.position.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62875
|
+
|
62876
|
+
|
62877
|
+
Started GET "/assets/jquery.ui.menu.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62878
|
+
|
62879
|
+
|
62880
|
+
Started GET "/assets/jquery.ui.autocomplete.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62881
|
+
|
62882
|
+
|
62883
|
+
Started GET "/assets/jquery.ui.button.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62884
|
+
|
62885
|
+
|
62886
|
+
Started GET "/assets/jquery.ui.datepicker.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62887
|
+
|
62888
|
+
|
62889
|
+
Started GET "/assets/jquery.ui.mouse.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62890
|
+
|
62891
|
+
|
62892
|
+
Started GET "/assets/jquery.ui.draggable.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62893
|
+
|
62894
|
+
|
62895
|
+
Started GET "/assets/jquery.ui.resizable.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62896
|
+
|
62897
|
+
|
62898
|
+
Started GET "/assets/jquery.ui.dialog.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:03 -0400
|
62899
|
+
|
62900
|
+
|
62901
|
+
Started GET "/assets/jquery.ui.droppable.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62902
|
+
|
62903
|
+
|
62904
|
+
Started GET "/assets/jquery.ui.effect.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62905
|
+
|
62906
|
+
|
62907
|
+
Started GET "/assets/jquery.ui.effect-blind.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62908
|
+
|
62909
|
+
|
62910
|
+
Started GET "/assets/jquery.ui.effect-bounce.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62911
|
+
|
62912
|
+
|
62913
|
+
Started GET "/assets/jquery.ui.effect-clip.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62914
|
+
|
62915
|
+
|
62916
|
+
Started GET "/assets/jquery.ui.effect-drop.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62917
|
+
|
62918
|
+
|
62919
|
+
Started GET "/assets/jquery.ui.effect-explode.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62920
|
+
|
62921
|
+
|
62922
|
+
Started GET "/assets/jquery.ui.effect-fade.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62923
|
+
|
62924
|
+
|
62925
|
+
Started GET "/assets/jquery.ui.effect-fold.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62926
|
+
|
62927
|
+
|
62928
|
+
Started GET "/assets/jquery.ui.effect-highlight.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62929
|
+
|
62930
|
+
|
62931
|
+
Started GET "/assets/jquery.ui.effect-pulsate.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62932
|
+
|
62933
|
+
|
62934
|
+
Started GET "/assets/jquery.ui.effect-scale.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62935
|
+
|
62936
|
+
|
62937
|
+
Started GET "/assets/jquery.ui.effect-shake.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62938
|
+
|
62939
|
+
|
62940
|
+
Started GET "/assets/jquery.ui.effect-slide.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62941
|
+
|
62942
|
+
|
62943
|
+
Started GET "/assets/jquery.ui.effect-transfer.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62944
|
+
|
62945
|
+
|
62946
|
+
Started GET "/assets/jquery.ui.progressbar.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62947
|
+
|
62948
|
+
|
62949
|
+
Started GET "/assets/jquery.ui.selectable.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62950
|
+
|
62951
|
+
|
62952
|
+
Started GET "/assets/jquery.ui.slider.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62953
|
+
|
62954
|
+
|
62955
|
+
Started GET "/assets/jquery.ui.sortable.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62956
|
+
|
62957
|
+
|
62958
|
+
Started GET "/assets/jquery.ui.spinner.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62959
|
+
|
62960
|
+
|
62961
|
+
Started GET "/assets/jquery.ui.tabs.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62962
|
+
|
62963
|
+
|
62964
|
+
Started GET "/assets/jquery.ui.tooltip.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62965
|
+
|
62966
|
+
|
62967
|
+
Started GET "/assets/jquery.ui.all.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:04 -0400
|
62968
|
+
|
62969
|
+
|
62970
|
+
Started GET "/assets/underscore.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:05 -0400
|
62971
|
+
|
62972
|
+
|
62973
|
+
Started GET "/assets/underscore.string.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:05 -0400
|
62974
|
+
|
62975
|
+
|
62976
|
+
Started GET "/assets/beautify.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:05 -0400
|
62977
|
+
|
62978
|
+
|
62979
|
+
Started GET "/assets/beautify-css.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:05 -0400
|
62980
|
+
|
62981
|
+
|
62982
|
+
Started GET "/assets/beautify-html.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:05 -0400
|
62983
|
+
|
62984
|
+
|
62985
|
+
Started GET "/assets/clientside-haml.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:05 -0400
|
62986
|
+
|
62987
|
+
|
62988
|
+
Started GET "/assets/ckeditor/override.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:05 -0400
|
62989
|
+
|
62990
|
+
|
62991
|
+
Started GET "/assets/ckeditor/init.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:05 -0400
|
62992
|
+
|
62993
|
+
|
62994
|
+
Started GET "/assets/ckeditor/ckeditor.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:05 -0400
|
62995
|
+
|
62996
|
+
|
62997
|
+
Started GET "/assets/transit.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:05 -0400
|
62998
|
+
|
62999
|
+
|
63000
|
+
Started GET "/assets/polyblock/polyblock.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:05 -0400
|
63001
|
+
|
63002
|
+
|
63003
|
+
Started GET "/assets/polyblock/init.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:05 -0400
|
63004
|
+
|
63005
|
+
|
63006
|
+
Started GET "/assets/events.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:06 -0400
|
63007
|
+
|
63008
|
+
|
63009
|
+
Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:06 -0400
|
63010
|
+
|
63011
|
+
|
63012
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-07 15:47:06 -0400
|
63013
|
+
|
63014
|
+
|
63015
|
+
Started GET "/assets/haml.map" for 127.0.0.1 at 2014-06-07 15:47:06 -0400
|
63016
|
+
|
63017
|
+
|
63018
|
+
Started GET "/assets/ckeditor/config.js" for 127.0.0.1 at 2014-06-07 15:47:06 -0400
|
63019
|
+
|
63020
|
+
|
63021
|
+
Started GET "/assets/ckeditor/lang/en.js" for 127.0.0.1 at 2014-06-07 15:47:07 -0400
|
63022
|
+
|
63023
|
+
|
63024
|
+
Started GET "/assets/ckeditor/styles.js" for 127.0.0.1 at 2014-06-07 15:47:07 -0400
|
63025
|
+
|
63026
|
+
|
63027
|
+
Started GET "/assets/ckeditor/plugins/sourcedialog/plugin.js" for 127.0.0.1 at 2014-06-07 15:47:07 -0400
|
63028
|
+
|
63029
|
+
|
63030
|
+
Started GET "/assets/ckeditor/contents.css" for 127.0.0.1 at 2014-06-07 15:47:07 -0400
|
63031
|
+
|
63032
|
+
|
63033
|
+
Started POST "/events" for 127.0.0.1 at 2014-06-07 15:47:16 -0400
|
63034
|
+
|
63035
|
+
AbstractController::ActionNotFound (The action 'create' could not be found for EventsController):
|
63036
|
+
actionpack (4.0.4) lib/abstract_controller/base.rb:131:in `process'
|
63037
|
+
actionpack (4.0.4) lib/abstract_controller/rendering.rb:44:in `process'
|
63038
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:195:in `dispatch'
|
63039
|
+
actionpack (4.0.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
|
63040
|
+
actionpack (4.0.4) lib/action_controller/metal.rb:231:in `block in action'
|
63041
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `call'
|
63042
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
|
63043
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:48:in `call'
|
63044
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:71:in `block in call'
|
63045
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `each'
|
63046
|
+
actionpack (4.0.4) lib/action_dispatch/journey/router.rb:59:in `call'
|
63047
|
+
actionpack (4.0.4) lib/action_dispatch/routing/route_set.rb:674:in `call'
|
63048
|
+
rack (1.5.2) lib/rack/etag.rb:23:in `call'
|
63049
|
+
rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
|
63050
|
+
rack (1.5.2) lib/rack/head.rb:11:in `call'
|
63051
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
|
63052
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/flash.rb:241:in `call'
|
63053
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
|
63054
|
+
rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
|
63055
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/cookies.rb:486:in `call'
|
63056
|
+
activerecord (4.0.4) lib/active_record/query_cache.rb:36:in `call'
|
63057
|
+
activerecord (4.0.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
|
63058
|
+
activerecord (4.0.4) lib/active_record/migration.rb:373:in `call'
|
63059
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
|
63060
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:373:in `_run__2566511721531514567__call__callbacks'
|
63061
|
+
activesupport (4.0.4) lib/active_support/callbacks.rb:80:in `run_callbacks'
|
63062
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
|
63063
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/reloader.rb:64:in `call'
|
63064
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
|
63065
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
|
63066
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
63067
|
+
railties (4.0.4) lib/rails/rack/logger.rb:38:in `call_app'
|
63068
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `block in call'
|
63069
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
63070
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
63071
|
+
activesupport (4.0.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
63072
|
+
railties (4.0.4) lib/rails/rack/logger.rb:20:in `call'
|
63073
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
63074
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
63075
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
63076
|
+
activesupport (4.0.4) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
63077
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
63078
|
+
actionpack (4.0.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
63079
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
63080
|
+
railties (4.0.4) lib/rails/engine.rb:511:in `call'
|
63081
|
+
railties (4.0.4) lib/rails/application.rb:97:in `call'
|
63082
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
63083
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
63084
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
63085
|
+
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
|
63086
|
+
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
|
63087
|
+
/Users/smit1625/.rvm/rubies/ruby-2.0.0-p353/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
|
63088
|
+
|
63089
|
+
|
63090
|
+
Rendered /Users/smit1625/.rvm/gems/ruby-2.0.0-p353/gems/actionpack-4.0.4/lib/action_dispatch/middleware/templates/rescues/unknown_action.erb within rescues/layout (1.1ms)
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
36572
|