revelry_content 0.0.1 → 0.0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 830867e74bccfaedb121caa8eb50834cdfe0ac3f
4
- data.tar.gz: 6e72cba8c5a34636bf5c2749eb51511b968e0194
3
+ metadata.gz: bef437f3c11d55256e157563635ffc4310b268c1
4
+ data.tar.gz: 53f2dd0abaf1fe847a88b7647b6530b9bbf858ec
5
5
  SHA512:
6
- metadata.gz: b61dc71cfb12d9bada0ff92a6aed69f171d7f919a186e8c3b9c741045d492acfaafe60a56259d697a970b98909049e3fe1a8d09e3333e9d9f6175e64afd0ba6e
7
- data.tar.gz: 01722e991c6198cde3568cc3f9e07507ca765be7f143d51e9e2f81c915880fb8605813382cbf24881f8cd5f1068b6cdf34a8d307f143abf97a65d3b81756635c
6
+ metadata.gz: 79e9d46095a0c15a7d0d919180da3fb20d2f400e065c0e9faf86fa4c87d32ff14a9dcadb686182cf7960badba8676d4260d2c83443a018da268d2233165953d0
7
+ data.tar.gz: fe731925368b398e67ee3822d51ea4f0907bddb7117197335777321980a1bda58e4656e1b844770f9d0f0090daa958d3eb3b43a23a6108c6f532bdcec332482d
data/README.md CHANGED
@@ -90,33 +90,29 @@ Add the `revelry_content/contents/menus` partial to the page to place the edit b
90
90
  ### Editable text
91
91
 
92
92
  ```erb
93
- <%= editable_text(lookup, t, user) %>
93
+ <%= revelry_content_text('home.title', default: 'Hello, World!') %>
94
94
  ```
95
95
 
96
96
  `lookup` is a lookup hash of the available content. If you have included `RevelryContent::WithRevelryContent` in your controller, `@revelry_content_contents` is the default lookup with all content.
97
97
 
98
- `t` is the content key of the content, which is just a unique string for each piece of changeable content.
98
+ In this case `'home.headline'` is the content key of the content, which is just a unique string for each piece of changeable content.
99
99
 
100
- `user` is the user to give to the authorization policy. With devise, this is often `current_user`.
101
-
102
- So for, an editable homepage headline, with the standard lookup and
103
- `current_user` as the user, you would invoke the helper like this:
104
-
105
- ```erb
106
- <%= editable_text(@revelry_contents_content, 'home.headline', current_user, default_text: 'Lorem ipsum') %>
107
- ```
100
+ The `default` param is what is shown if know one has set any content yet.
101
+ (Think brand-new sites.)
108
102
 
109
103
  ### Editable images
110
104
 
111
105
  Editable images work in a similar manner to editable text:
112
106
 
113
107
  ```erb
114
- <%= editable_image(@revelry_contents_content, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
108
+ <%= revelry_content_image('home.image', default: 'http://placehold.it/200x200') %>
115
109
  ```
116
110
 
117
- # Using in javascript (including React)
111
+ Here, `home.image` is the content key for the image to display, and `default` provides a placeholder image URL.
112
+
113
+ # Using in JavaScript (including React)
118
114
 
119
- ## Making content available to javascript
115
+ ## Making content available to JavaScript
120
116
 
121
117
  You can configure RevelryContent to export all of your content into javascript.
122
118
 
@@ -144,7 +140,7 @@ and access it like this:
144
140
  RevelryContent.Content.home.headline
145
141
  ```
146
142
 
147
- The javascript export will automatically update whenever content is updated.
143
+ The JavaScript export will automatically update whenever content is updated.
148
144
 
149
145
  ## Adding Editable Sections with React
150
146
 
@@ -1,23 +1,47 @@
1
1
  module RevelryContent::ContentsHelper
2
- def editable_text(lookup, t, user, default_text: '')
3
- if lookup.present? && lookup.has_key?(t)
4
- content = lookup[t]
2
+
3
+ def revelry_content_text(key, default: "")
4
+ lookup = @revelry_content_contents
5
+
6
+ if lookup.present? && lookup.has_key?(key)
7
+ content = lookup[key]
5
8
  else
6
- content = { key: t, content: default_text, html_content: default_text }
9
+ content = {
10
+ key: key,
11
+ content: default,
12
+ html_content: default
13
+ }
7
14
  end
8
15
  content = HashWithIndifferentAccess.new(content)
9
- props = { content: content, canEdit: RevelryContent.config.authorization_policy.call(user) }.to_json
16
+
17
+ props = {
18
+ content: content,
19
+ canEdit: RevelryContent.config.authorize(controller)
20
+ }.to_json
21
+
10
22
  content_tag :span, 'data-react-class' => 'RevelryContent.EditableText', 'data-react-props' => props do
11
23
  content[:html_content].html_safe
12
24
  end
13
25
  end
14
26
 
15
- def editable_image(lookup, t, user, default_url: nil)
16
- content = lookup[t] || { src: default_url }
27
+ def revelry_content_image(key, default: nil)
28
+ lookup = @revelry_content_contents
29
+
30
+ if lookup.present? && lookup.has_key?(key)
31
+ content = lookup[key]
32
+ else
33
+ content = {
34
+ key: key,
35
+ src: default
36
+ }
37
+ end
17
38
  content = HashWithIndifferentAccess.new(content)
18
39
 
19
- if RevelryContent.config.authorization_policy.call(user)
20
- props = { content: { key: t, src: content["src"] || default_url }, canEdit: true }.to_json
40
+ if RevelryContent.config.authorize(controller)
41
+ props = {
42
+ content: content,
43
+ canEdit: true
44
+ }.to_json
21
45
 
22
46
  content_tag :span, 'data-react-class' => 'RevelryContent.EditableImage', 'data-react-props' => props do
23
47
  image_tag content["src"]
@@ -43,6 +43,11 @@ class RevelryContent::Configuration
43
43
  end
44
44
  end
45
45
 
46
+ def authorize(controller)
47
+ user = user_for_content.call(controller)
48
+ authorization_policy.call(user)
49
+ end
50
+
46
51
  def markdown_renderer
47
52
  @markdown_renderer || default_markdown_renderer
48
53
  end
@@ -6,6 +6,6 @@ module RevelryContent::ControllerAuthorization
6
6
  end
7
7
 
8
8
  def check_authorization
9
- throw "Unauthorized" unless RevelryContent.config.authorization_policy.call(RevelryContent.config.user_for_content.call(self))
9
+ throw "Unauthorized" unless RevelryContent.config.authorize(self)
10
10
  end
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module RevelryContent
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.1.1"
3
3
  end
@@ -4,12 +4,12 @@
4
4
  }
5
5
  </style>
6
6
 
7
- <h1><%= editable_text(@revelry_content_contents, 'home.headline', current_user, default_text: 'Cool Default Headline') %></h1>
7
+ <h1><%= revelry_content_text('home.headline', default: 'Cool Default Headline') %></h1>
8
8
 
9
- <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
9
+ <%= revelry_content_image('home.image', default: 'http://placehold.it/200x200') %>
10
10
 
11
11
  <div>
12
- <%= editable_text(@revelry_content_contents, 'home.paragraph', current_user, default_text: <<-IPSUM
12
+ <%= revelry_content_text('home.paragraph', default: <<-IPSUM
13
13
  long-chain hydrocarbons vinyl urban modem sub-orbital order-flow free-market Kowloon decay futurity A.I. military-grade construct tattoo vinyl carbon. camera paranoid semiotics ablative DIY rifle Chiba urban human uplink carbon assault motion human rebar math-. singularity sentient shrine apophenia receding chrome Kowloon cartel denim sub-orbital wristwatch tiger-team neon geodesic military-grade tanto. A.I. sunglasses receding market lights futurity chrome sentient smart- numinous boat bomb faded towards lights carbon. physical range-rover silent silent hacker sentient advert uplink boat Kowloon monofilament computer tattoo cartel -ware order-flow. vinyl voodoo god Kowloon free-market cyber- stimulate Legba pen denim claymore mine bridge pre- office sub-orbital physical free-market. receding corporation katana physical realism singularity free-market katana nodality hacker advert wonton soup decay fluidity voodoo god Kowloon.
14
14
  IPSUM
15
15
  ) %>
Binary file
@@ -1413,3 +1413,1578 @@ Completed 200 OK in 6ms (Views: 1.9ms | ActiveRecord: 0.5ms)
1413
1413
 
1414
1414
 
1415
1415
  Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-27 17:06:01 -0500
1416
+
1417
+
1418
+ Started GET "/revelry_contentcontents" for 127.0.0.1 at 2015-04-27 17:32:43 -0500
1419
+ Processing by RevelryContent::ContentsController#index as HTML
1420
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1421
+
1422
+ You can opt into the new behavior and remove this warning by setting:
1423
+
1424
+ config.active_record.raise_in_transactional_callbacks = true
1425
+
1426
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1427
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1428
+
1429
+ You can opt into the new behavior and remove this warning by setting:
1430
+
1431
+ config.active_record.raise_in_transactional_callbacks = true
1432
+
1433
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1434
+ RevelryContent::Content Load (1.0ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1435
+ Rendered /Users/joel/src/revelry_content/app/views/revelry_content/contents/index.html.erb within layouts/revelry_content/application (0.5ms)
1436
+ Completed 200 OK in 144ms (Views: 92.2ms | ActiveRecord: 1.8ms)
1437
+
1438
+
1439
+ Started GET "/assets/revelry_content/application.self.css?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1440
+
1441
+
1442
+ Started GET "/assets/revelry_content/utilities.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1443
+
1444
+
1445
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1446
+
1447
+
1448
+ Started GET "/assets/underscore.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1449
+
1450
+
1451
+ Started GET "/assets/revelry_content/config.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1452
+
1453
+
1454
+ Started GET "/assets/vendor/react_ujs.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1455
+
1456
+
1457
+ Started GET "/assets/backbone.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1458
+
1459
+
1460
+ Started GET "/assets/moment.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1461
+
1462
+
1463
+ Started GET "/assets/moment-timezone-with-data-2010-2020.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1464
+
1465
+
1466
+ Started GET "/assets/revelry_content/mixins/EditModeListener.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1467
+
1468
+
1469
+ Started GET "/assets/revelry_content/models/Content.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1470
+
1471
+
1472
+ Started GET "/assets/revelry_content/models/Version.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1473
+
1474
+
1475
+ Started GET "/assets/revelry_content/components/Admin.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1476
+
1477
+
1478
+ Started GET "/assets/revelry_content/components/EditModeButton.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1479
+
1480
+
1481
+ Started GET "/assets/revelry_content/components/Loader.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1482
+
1483
+
1484
+ Started GET "/assets/revelry_content/components/Time.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1485
+
1486
+
1487
+ Started GET "/assets/revelry_content/components/TopBar.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1488
+
1489
+
1490
+ Started GET "/assets/revelry_content/components/editor.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1491
+
1492
+
1493
+ Started GET "/assets/revelry_content.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1494
+
1495
+
1496
+ Started GET "/assets/revelry_content/components/versions.self.js?body=1" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1497
+
1498
+
1499
+ Started GET "/revelry_content/versions/" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1500
+ Processing by RevelryContent::VersionsController#index as JSON
1501
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1502
+ RevelryContent::ContentVersion Load (0.3ms) SELECT "revelry_content_content_versions".* FROM "revelry_content_content_versions"
1503
+ Completed 200 OK in 17ms (Views: 4.4ms | ActiveRecord: 1.5ms)
1504
+
1505
+
1506
+ Started GET "/assets/icomoon.woff?r2fa9x" for 127.0.0.1 at 2015-04-27 17:32:44 -0500
1507
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1508
+
1509
+ You can opt into the new behavior and remove this warning by setting:
1510
+
1511
+ config.active_record.raise_in_transactional_callbacks = true
1512
+
1513
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1514
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1515
+
1516
+ You can opt into the new behavior and remove this warning by setting:
1517
+
1518
+ config.active_record.raise_in_transactional_callbacks = true
1519
+
1520
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1521
+ RevelryContent::Content Load (0.4ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1522
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1523
+
1524
+
1525
+ Started GET "/" for 127.0.0.1 at 2015-04-27 22:14:25 -0500
1526
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1527
+ Processing by HomeController#index as HTML
1528
+ RevelryContent::Content Load (0.3ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1529
+ Rendered home/index.html.erb within layouts/application (4.7ms)
1530
+ Rendered /Users/joel/src/revelry_content/app/views/revelry_content/contents/_menus.html.erb (0.3ms)
1531
+ Completed 200 OK in 732ms (Views: 727.1ms | ActiveRecord: 0.3ms)
1532
+
1533
+
1534
+ Started GET "/assets/revelry_content/config.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1535
+
1536
+
1537
+ Started GET "/assets/revelry_content/utilities.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1538
+
1539
+
1540
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1541
+
1542
+
1543
+ Started GET "/assets/underscore.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1544
+
1545
+
1546
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1547
+
1548
+
1549
+ Started GET "/assets/backbone.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1550
+
1551
+
1552
+ Started GET "/assets/vendor/react_ujs.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1553
+
1554
+
1555
+ Started GET "/assets/revelry_content/mixins/EditModeListener.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1556
+
1557
+
1558
+ Started GET "/assets/moment.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1559
+
1560
+
1561
+ Started GET "/assets/revelry_content/models/Content.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1562
+
1563
+
1564
+ Started GET "/assets/revelry_content/components/Admin.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1565
+
1566
+
1567
+ Started GET "/assets/revelry_content/components/Loader.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1568
+
1569
+
1570
+ Started GET "/assets/revelry_content/components/EditModeButton.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1571
+
1572
+
1573
+ Started GET "/assets/revelry_content/components/TopBar.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1574
+
1575
+
1576
+ Started GET "/assets/revelry_content/components/editor.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1577
+
1578
+
1579
+ Started GET "/assets/revelry_content/models/Version.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1580
+
1581
+
1582
+ Started GET "/assets/revelry_content.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1583
+
1584
+
1585
+ Started GET "/assets/moment-timezone-with-data-2010-2020.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1586
+
1587
+
1588
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1589
+
1590
+
1591
+ Started GET "/assets/revelry_content/components/versions.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1592
+
1593
+
1594
+ Started GET "/assets/revelry_content/components/Time.self.js?body=1" for 127.0.0.1 at 2015-04-27 22:14:26 -0500
1595
+
1596
+
1597
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-27 22:14:47 -0500
1598
+
1599
+
1600
+ Started GET "/assets/icomoon.woff?r2fa9x" for 127.0.0.1 at 2015-04-27 22:18:35 -0500
1601
+
1602
+
1603
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-04-27 22:19:39 -0500
1604
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1605
+
1606
+ You can opt into the new behavior and remove this warning by setting:
1607
+
1608
+ config.active_record.raise_in_transactional_callbacks = true
1609
+
1610
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1611
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1612
+
1613
+ You can opt into the new behavior and remove this warning by setting:
1614
+
1615
+ config.active_record.raise_in_transactional_callbacks = true
1616
+
1617
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1618
+ RevelryContent::Content Load (0.5ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1619
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1620
+
1621
+
1622
+ Started GET "/" for 127.0.0.1 at 2015-05-04 14:45:39 -0500
1623
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1624
+ Processing by HomeController#index as HTML
1625
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1626
+
1627
+ You can opt into the new behavior and remove this warning by setting:
1628
+
1629
+ config.active_record.raise_in_transactional_callbacks = true
1630
+
1631
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1632
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1633
+
1634
+ You can opt into the new behavior and remove this warning by setting:
1635
+
1636
+ config.active_record.raise_in_transactional_callbacks = true
1637
+
1638
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1639
+ RevelryContent::Content Load (0.5ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1640
+ Rendered home/index.html.erb within layouts/application (6.0ms)
1641
+ Rendered /Users/joel/src/revelry_content/app/views/revelry_content/contents/_menus.html.erb (0.4ms)
1642
+ Completed 200 OK in 796ms (Views: 766.3ms | ActiveRecord: 0.9ms)
1643
+
1644
+
1645
+ Started GET "/assets/vendor/react_ujs.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1646
+
1647
+
1648
+ Started GET "/assets/moment.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1649
+
1650
+
1651
+ Started GET "/assets/revelry_content/config.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1652
+
1653
+
1654
+ Started GET "/assets/revelry_content/utilities.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1655
+
1656
+
1657
+ Started GET "/assets/revelry_content/mixins/EditModeListener.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1658
+
1659
+
1660
+ Started GET "/assets/moment-timezone-with-data-2010-2020.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1661
+
1662
+
1663
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1664
+
1665
+
1666
+ Started GET "/assets/revelry_content/models/Content.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1667
+
1668
+
1669
+ Started GET "/assets/revelry_content/models/Version.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1670
+
1671
+
1672
+ Started GET "/assets/revelry_content/components/Admin.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1673
+
1674
+
1675
+ Started GET "/assets/revelry_content/components/EditModeButton.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1676
+
1677
+
1678
+ Started GET "/assets/revelry_content/components/Loader.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1679
+
1680
+
1681
+ Started GET "/assets/revelry_content/components/Time.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1682
+
1683
+
1684
+ Started GET "/assets/revelry_content/components/TopBar.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1685
+
1686
+
1687
+ Started GET "/assets/revelry_content/components/editor.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1688
+
1689
+
1690
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1691
+
1692
+
1693
+ Started GET "/assets/underscore.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1694
+
1695
+
1696
+ Started GET "/assets/backbone.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1697
+
1698
+
1699
+ Started GET "/assets/revelry_content/components/versions.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1700
+
1701
+
1702
+ Started GET "/assets/revelry_content.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1703
+
1704
+
1705
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:45:40 -0500
1706
+
1707
+
1708
+ Started GET "/assets/icomoon.woff?r2fa9x" for 127.0.0.1 at 2015-05-04 14:52:24 -0500
1709
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1710
+
1711
+ You can opt into the new behavior and remove this warning by setting:
1712
+
1713
+ config.active_record.raise_in_transactional_callbacks = true
1714
+
1715
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1716
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1717
+
1718
+ You can opt into the new behavior and remove this warning by setting:
1719
+
1720
+ config.active_record.raise_in_transactional_callbacks = true
1721
+
1722
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1723
+ RevelryContent::Content Load (0.5ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1724
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1725
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1726
+
1727
+ You can opt into the new behavior and remove this warning by setting:
1728
+
1729
+ config.active_record.raise_in_transactional_callbacks = true
1730
+
1731
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1732
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1733
+
1734
+ You can opt into the new behavior and remove this warning by setting:
1735
+
1736
+ config.active_record.raise_in_transactional_callbacks = true
1737
+
1738
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1739
+ RevelryContent::Content Load (0.6ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1740
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1741
+
1742
+
1743
+ Started GET "/" for 127.0.0.1 at 2015-05-04 14:56:03 -0500
1744
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
1745
+ Processing by HomeController#index as HTML
1746
+ RevelryContent::Content Load (0.5ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1747
+ Rendered home/index.html.erb within layouts/application (4.6ms)
1748
+ Rendered /Users/joel/src/revelry_content/app/views/revelry_content/contents/_menus.html.erb (0.4ms)
1749
+ Completed 200 OK in 697ms (Views: 692.7ms | ActiveRecord: 0.5ms)
1750
+
1751
+
1752
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1753
+
1754
+
1755
+ Started GET "/assets/revelry_content/utilities.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1756
+
1757
+
1758
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1759
+
1760
+
1761
+ Started GET "/assets/vendor/react_ujs.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1762
+
1763
+
1764
+ Started GET "/assets/revelry_content/config.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1765
+
1766
+
1767
+ Started GET "/assets/underscore.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1768
+
1769
+
1770
+ Started GET "/assets/moment.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1771
+
1772
+
1773
+ Started GET "/assets/moment-timezone-with-data-2010-2020.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1774
+
1775
+
1776
+ Started GET "/assets/backbone.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1777
+
1778
+
1779
+ Started GET "/assets/revelry_content/mixins/EditModeListener.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1780
+
1781
+
1782
+ Started GET "/assets/revelry_content/models/Content.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1783
+
1784
+
1785
+ Started GET "/assets/revelry_content/models/Version.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1786
+
1787
+
1788
+ Started GET "/assets/revelry_content/components/Admin.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1789
+
1790
+
1791
+ Started GET "/assets/revelry_content/components/EditModeButton.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1792
+
1793
+
1794
+ Started GET "/assets/revelry_content/components/Time.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1795
+
1796
+
1797
+ Started GET "/assets/revelry_content/components/Loader.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1798
+
1799
+
1800
+ Started GET "/assets/revelry_content/components/TopBar.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1801
+
1802
+
1803
+ Started GET "/assets/revelry_content/components/editor.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1804
+
1805
+
1806
+ Started GET "/assets/revelry_content/components/versions.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1807
+
1808
+
1809
+ Started GET "/assets/revelry_content.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1810
+
1811
+
1812
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-04 14:56:04 -0500
1813
+
1814
+
1815
+ Started GET "/assets/icomoon.woff?r2fa9x" for 127.0.0.1 at 2015-05-04 14:56:09 -0500
1816
+
1817
+
1818
+ Started POST "/revelry_content/contents" for 127.0.0.1 at 2015-05-04 14:56:18 -0500
1819
+ Processing by RevelryContent::ContentsController#create as JSON
1820
+ Parameters: {"authenticity_token"=>"iH6bdg2bnRLI818zC0bWHjxlgBOandjMXbCoKNr6KvabMlBAB4GIqO5O2B13I/SoakcxpR48XHenVYGDL8AWxQ==", "content"=>{"key"=>"home.headline", "content"=>"Very Cool Default Headline!!!"}}
1821
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1822
+ Unpermitted parameter: content
1823
+ RevelryContent::Content Load (0.3ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents" WHERE "revelry_content_contents"."key" = ? LIMIT 1 [["key", "home.headline"]]
1824
+ Unpermitted parameter: key
1825
+  (0.1ms) begin transaction
1826
+ RevelryContent::Content Exists (0.1ms) SELECT 1 AS one FROM "revelry_content_contents" WHERE ("revelry_content_contents"."key" = 'home.headline' AND "revelry_content_contents"."id" != 1) LIMIT 1
1827
+ DEPRECATION WARNING: `serialized_attributes` is deprecated without replacement, and will be removed in Rails 5.0. (called from create at /Users/joel/src/revelry_content/app/controllers/revelry_content/contents_controller.rb:17)
1828
+ SQL (0.6ms) UPDATE "revelry_content_contents" SET "last_whodunnit" = ?, "content" = ?, "updated_at" = ? WHERE "revelry_content_contents"."id" = ? [["last_whodunnit", "#<FakeUser:0x007fed0d1c3f48>"], ["content", "Very Cool Default Headline!!!"], ["updated_at", "2015-05-04 19:56:18.959318"], ["id", 1]]
1829
+ SQL (0.6ms) INSERT INTO "revelry_content_content_versions" ("event", "object", "whodunnit", "item_id", "item_type", "created_at") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\ntype: \nkey: home.headline\ncontent: Very Cool Default Headline\nsrc: \nlast_whodunnit: \"#<FakeUser:0x007fa7cf1c43e0>\"\ncreated_at: 2015-04-27 22:04:24.508036000 Z\nupdated_at: 2015-04-27 22:04:24.508036000 Z\n"], ["whodunnit", "#<FakeUser:0x007fed0e98eba0>"], ["item_id", 1], ["item_type", "RevelryContent::Content"], ["created_at", "2015-05-04 19:56:18.983305"]]
1830
+  (0.6ms) commit transaction
1831
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1832
+ Completed 200 OK in 55ms (Views: 0.8ms | ActiveRecord: 3.1ms)
1833
+
1834
+
1835
+ Started GET "/" for 127.0.0.1 at 2015-05-04 14:57:10 -0500
1836
+ Processing by HomeController#index as HTML
1837
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1838
+ Rendered home/index.html.erb within layouts/application (3.4ms)
1839
+ Completed 500 Internal Server Error in 6ms (ActiveRecord: 0.1ms)
1840
+
1841
+ ActionView::Template::Error (wrong number of arguments (2 for 1)):
1842
+ 4: }
1843
+ 5: </style>
1844
+ 6:
1845
+ 7: <h1><%= revelry_text('home.headline', 'Cool Default Headline') %></h1>
1846
+ 8:
1847
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
1848
+ 10:
1849
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb__2990725619634283766_70328052771400'
1850
+
1851
+
1852
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms)
1853
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
1854
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
1855
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.8ms)
1856
+
1857
+
1858
+ Started GET "/" for 127.0.0.1 at 2015-05-04 14:57:54 -0500
1859
+ Processing by HomeController#index as HTML
1860
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1861
+
1862
+ You can opt into the new behavior and remove this warning by setting:
1863
+
1864
+ config.active_record.raise_in_transactional_callbacks = true
1865
+
1866
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1867
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1868
+
1869
+ You can opt into the new behavior and remove this warning by setting:
1870
+
1871
+ config.active_record.raise_in_transactional_callbacks = true
1872
+
1873
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1874
+ RevelryContent::Content Load (0.5ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1875
+ Rendered home/index.html.erb within layouts/application (1.9ms)
1876
+ Completed 500 Internal Server Error in 26ms (ActiveRecord: 1.2ms)
1877
+
1878
+ ActionView::Template::Error (wrong number of arguments (1 for 0)):
1879
+ 4: }
1880
+ 5: </style>
1881
+ 6:
1882
+ 7: <h1><%= revelry_text('home.headline', default: 'Cool Default Headline') %></h1>
1883
+ 8:
1884
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
1885
+ 10:
1886
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb__2990725619634283766_70328121105320'
1887
+
1888
+
1889
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms)
1890
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
1891
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms)
1892
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (21.2ms)
1893
+
1894
+
1895
+ Started GET "/" for 127.0.0.1 at 2015-05-04 14:58:22 -0500
1896
+ Processing by HomeController#index as HTML
1897
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1898
+ Rendered home/index.html.erb within layouts/application (0.6ms)
1899
+ Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.2ms)
1900
+
1901
+ ActionView::Template::Error (wrong number of arguments (1 for 0)):
1902
+ 4: }
1903
+ 5: </style>
1904
+ 6:
1905
+ 7: <h1><%= revelry_text('home.headline', default: 'Cool Default Headline') %></h1>
1906
+ 8:
1907
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
1908
+ 10:
1909
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb__2990725619634283766_70328121105320'
1910
+
1911
+
1912
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms)
1913
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
1914
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
1915
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.9ms)
1916
+
1917
+
1918
+ Started GET "/" for 127.0.0.1 at 2015-05-04 14:58:37 -0500
1919
+ Processing by HomeController#index as HTML
1920
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1921
+ Rendered home/index.html.erb within layouts/application (1.9ms)
1922
+ Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.1ms)
1923
+
1924
+ ActionView::Template::Error (wrong number of arguments (1 for 0)):
1925
+ 4: }
1926
+ 5: </style>
1927
+ 6:
1928
+ 7: <h1><%= revelry_text('home.headline') %></h1>
1929
+ 8:
1930
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
1931
+ 10:
1932
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb__2990725619634283766_70328084449040'
1933
+
1934
+
1935
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.7ms)
1936
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
1937
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
1938
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.5ms)
1939
+
1940
+
1941
+ Started GET "/" for 127.0.0.1 at 2015-05-04 14:58:57 -0500
1942
+ Processing by HomeController#index as HTML
1943
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1944
+
1945
+ You can opt into the new behavior and remove this warning by setting:
1946
+
1947
+ config.active_record.raise_in_transactional_callbacks = true
1948
+
1949
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1950
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1951
+
1952
+ You can opt into the new behavior and remove this warning by setting:
1953
+
1954
+ config.active_record.raise_in_transactional_callbacks = true
1955
+
1956
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1957
+ RevelryContent::Content Load (0.4ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1958
+ Rendered home/index.html.erb within layouts/application (0.6ms)
1959
+ Completed 500 Internal Server Error in 15ms (ActiveRecord: 0.8ms)
1960
+
1961
+ ActionView::Template::Error (wrong number of arguments (1 for 0)):
1962
+ 4: }
1963
+ 5: </style>
1964
+ 6:
1965
+ 7: <h1><%= revelry_text('home.headline') %></h1>
1966
+ 8:
1967
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
1968
+ 10:
1969
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb__2990725619634283766_70328084449040'
1970
+
1971
+
1972
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.2ms)
1973
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.9ms)
1974
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
1975
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.4ms)
1976
+
1977
+
1978
+ Started GET "/" for 127.0.0.1 at 2015-05-04 14:59:49 -0500
1979
+ Processing by HomeController#index as HTML
1980
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1981
+
1982
+ You can opt into the new behavior and remove this warning by setting:
1983
+
1984
+ config.active_record.raise_in_transactional_callbacks = true
1985
+
1986
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1987
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
1988
+
1989
+ You can opt into the new behavior and remove this warning by setting:
1990
+
1991
+ config.active_record.raise_in_transactional_callbacks = true
1992
+
1993
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
1994
+ RevelryContent::Content Load (0.3ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
1995
+ Rendered home/index.html.erb within layouts/application (1.4ms)
1996
+ Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.5ms)
1997
+
1998
+ ActionView::Template::Error (wrong number of arguments (1 for 0)):
1999
+ 4: }
2000
+ 5: </style>
2001
+ 6:
2002
+ 7: <h1><%= revelry_text('home.headline', default: 'Cool Default Headline') %></h1>
2003
+ 8:
2004
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
2005
+ 10:
2006
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb__2990725619634283766_70328110591840'
2007
+
2008
+
2009
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.8ms)
2010
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
2011
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
2012
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.2ms)
2013
+
2014
+
2015
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:01:08 -0500
2016
+ Processing by HomeController#index as HTML
2017
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2018
+
2019
+ You can opt into the new behavior and remove this warning by setting:
2020
+
2021
+ config.active_record.raise_in_transactional_callbacks = true
2022
+
2023
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2024
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2025
+
2026
+ You can opt into the new behavior and remove this warning by setting:
2027
+
2028
+ config.active_record.raise_in_transactional_callbacks = true
2029
+
2030
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2031
+ RevelryContent::Content Load (0.5ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2032
+ Rendered home/index.html.erb within layouts/application (0.9ms)
2033
+ Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.8ms)
2034
+
2035
+ ActionView::Template::Error (wrong number of arguments (1 for 0)):
2036
+ 4: }
2037
+ 5: </style>
2038
+ 6:
2039
+ 7: <h1><%= revelry_text('home.headline', default: 'Cool Default Headline') %></h1>
2040
+ 8:
2041
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
2042
+ 10:
2043
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb__2990725619634283766_70328110591840'
2044
+
2045
+
2046
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms)
2047
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
2048
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.4ms)
2049
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.8ms)
2050
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2051
+
2052
+ You can opt into the new behavior and remove this warning by setting:
2053
+
2054
+ config.active_record.raise_in_transactional_callbacks = true
2055
+
2056
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2057
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2058
+
2059
+ You can opt into the new behavior and remove this warning by setting:
2060
+
2061
+ config.active_record.raise_in_transactional_callbacks = true
2062
+
2063
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2064
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2065
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2066
+
2067
+
2068
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:01:20 -0500
2069
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2070
+ Processing by HomeController#index as HTML
2071
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2072
+ Rendered home/index.html.erb within layouts/application (4.0ms)
2073
+ Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.2ms)
2074
+
2075
+ ActionView::Template::Error (wrong number of arguments (0 for 2)):
2076
+ 4: }
2077
+ 5: </style>
2078
+ 6:
2079
+ 7: <h1><%= revelry_text('home.headline', default: 'Cool Default Headline') %></h1>
2080
+ 8:
2081
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
2082
+ 10:
2083
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb___1337303404733941588_70340265603860'
2084
+
2085
+
2086
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (6.1ms)
2087
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
2088
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.5ms)
2089
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.1ms)
2090
+
2091
+
2092
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:01:40 -0500
2093
+ Processing by HomeController#index as HTML
2094
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2095
+ Rendered home/index.html.erb within layouts/application (0.5ms)
2096
+ Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.1ms)
2097
+
2098
+ ActionView::Template::Error (wrong number of arguments (0 for 2)):
2099
+ 4: }
2100
+ 5: </style>
2101
+ 6:
2102
+ 7: <h1><%= revelry_text('home.headline', default: 'Cool Default Headline') %></h1>
2103
+ 8:
2104
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
2105
+ 10:
2106
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb___1337303404733941588_70340265603860'
2107
+
2108
+
2109
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.3ms)
2110
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms)
2111
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.8ms)
2112
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.8ms)
2113
+
2114
+
2115
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:01:42 -0500
2116
+ Processing by HomeController#index as HTML
2117
+ RevelryContent::Content Load (0.6ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2118
+ Rendered home/index.html.erb within layouts/application (1.0ms)
2119
+ Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.6ms)
2120
+
2121
+ ActionView::Template::Error (wrong number of arguments (0 for 2)):
2122
+ 4: }
2123
+ 5: </style>
2124
+ 6:
2125
+ 7: <h1><%= revelry_text('home.headline', default: 'Cool Default Headline') %></h1>
2126
+ 8:
2127
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
2128
+ 10:
2129
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb___1337303404733941588_70340265603860'
2130
+
2131
+
2132
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms)
2133
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
2134
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
2135
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.5ms)
2136
+
2137
+
2138
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:02:03 -0500
2139
+ Processing by HomeController#index as HTML
2140
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2141
+
2142
+ You can opt into the new behavior and remove this warning by setting:
2143
+
2144
+ config.active_record.raise_in_transactional_callbacks = true
2145
+
2146
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2147
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2148
+
2149
+ You can opt into the new behavior and remove this warning by setting:
2150
+
2151
+ config.active_record.raise_in_transactional_callbacks = true
2152
+
2153
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2154
+ RevelryContent::Content Load (0.3ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2155
+ Rendered home/index.html.erb within layouts/application (1.0ms)
2156
+ Completed 500 Internal Server Error in 28ms (ActiveRecord: 0.5ms)
2157
+
2158
+ ActionView::Template::Error (wrong number of arguments (0 for 2)):
2159
+ 4: }
2160
+ 5: </style>
2161
+ 6:
2162
+ 7: <h1><%= revelry_text('home.headline', default: 'Cool Default Headline') %></h1>
2163
+ 8:
2164
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
2165
+ 10:
2166
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb___1337303404733941588_70340265603860'
2167
+
2168
+
2169
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms)
2170
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
2171
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
2172
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.3ms)
2173
+
2174
+
2175
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:02:04 -0500
2176
+ Processing by HomeController#index as HTML
2177
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2178
+ Rendered home/index.html.erb within layouts/application (0.6ms)
2179
+ Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.2ms)
2180
+
2181
+ ActionView::Template::Error (wrong number of arguments (0 for 2)):
2182
+ 4: }
2183
+ 5: </style>
2184
+ 6:
2185
+ 7: <h1><%= revelry_text('home.headline', default: 'Cool Default Headline') %></h1>
2186
+ 8:
2187
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
2188
+ 10:
2189
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb___1337303404733941588_70340265603860'
2190
+
2191
+
2192
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms)
2193
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
2194
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
2195
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (16.9ms)
2196
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2197
+
2198
+ You can opt into the new behavior and remove this warning by setting:
2199
+
2200
+ config.active_record.raise_in_transactional_callbacks = true
2201
+
2202
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2203
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2204
+
2205
+ You can opt into the new behavior and remove this warning by setting:
2206
+
2207
+ config.active_record.raise_in_transactional_callbacks = true
2208
+
2209
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2210
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2211
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2212
+
2213
+
2214
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:02:18 -0500
2215
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2216
+ Processing by HomeController#index as HTML
2217
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2218
+ Rendered home/index.html.erb within layouts/application (4.3ms)
2219
+ Completed 500 Internal Server Error in 13ms (ActiveRecord: 0.1ms)
2220
+
2221
+ ActionView::Template::Error (wrong number of arguments (2 for 1)):
2222
+ 4: }
2223
+ 5: </style>
2224
+ 6:
2225
+ 7: <h1><%= revelry_text('home.headline', default: 'Cool Default Headline') %></h1>
2226
+ 8:
2227
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
2228
+ 10:
2229
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb__1670287767257472976_70179698515680'
2230
+
2231
+
2232
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.7ms)
2233
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
2234
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.9ms)
2235
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.8ms)
2236
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2237
+
2238
+ You can opt into the new behavior and remove this warning by setting:
2239
+
2240
+ config.active_record.raise_in_transactional_callbacks = true
2241
+
2242
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2243
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2244
+
2245
+ You can opt into the new behavior and remove this warning by setting:
2246
+
2247
+ config.active_record.raise_in_transactional_callbacks = true
2248
+
2249
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2250
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2251
+ RevelryContent::Content Load (0.3ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2252
+
2253
+
2254
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:02:49 -0500
2255
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2256
+ Processing by HomeController#index as HTML
2257
+ RevelryContent::Content Load (0.3ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2258
+ Rendered home/index.html.erb within layouts/application (3.9ms)
2259
+ Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.3ms)
2260
+
2261
+ ActionView::Template::Error (wrong number of arguments (1 for 2)):
2262
+ 6:
2263
+ 7: <h1><%= revelry_text('home.headline', default: 'Cool Default Headline') %></h1>
2264
+ 8:
2265
+ 9: <%= editable_image(@revelry_content_contents, 'home.image', current_user, default_url: 'http://placehold.it/200x200') %>
2266
+ 10:
2267
+ 11: <div>
2268
+ 12: <%= editable_text(@revelry_content_contents, 'home.paragraph', current_user, default_text: <<-IPSUM
2269
+ app/views/home/index.html.erb:9:in `_app_views_home_index_html_erb___3896413630115490879_70241154780300'
2270
+
2271
+
2272
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.2ms)
2273
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
2274
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (9.9ms)
2275
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (29.9ms)
2276
+
2277
+
2278
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:12:34 -0500
2279
+ Processing by HomeController#index as HTML
2280
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2281
+
2282
+ You can opt into the new behavior and remove this warning by setting:
2283
+
2284
+ config.active_record.raise_in_transactional_callbacks = true
2285
+
2286
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2287
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2288
+
2289
+ You can opt into the new behavior and remove this warning by setting:
2290
+
2291
+ config.active_record.raise_in_transactional_callbacks = true
2292
+
2293
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2294
+ RevelryContent::Content Load (0.3ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2295
+ Rendered home/index.html.erb within layouts/application (8.5ms)
2296
+ Completed 500 Internal Server Error in 28ms (ActiveRecord: 0.6ms)
2297
+
2298
+ ActionView::Template::Error (undefined method `revelry_image' for #<#<Class:0x007fc493a83298>:0x007fc493a828e8>):
2299
+ 6:
2300
+ 7: <h1><%= revelry_text('home.headline', default: 'Cool Default Headline') %></h1>
2301
+ 8:
2302
+ 9: <%= revelry_image('home.image', default: 'http://placehold.it/200x200') %>
2303
+ 10:
2304
+ 11: <div>
2305
+ 12: <%= revelry_text('home.paragraph', default: <<-IPSUM
2306
+ app/views/home/index.html.erb:9:in `_app_views_home_index_html_erb___3896413630115490879_70241133792120'
2307
+
2308
+
2309
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.5ms)
2310
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
2311
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
2312
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (20.0ms)
2313
+
2314
+
2315
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:12:50 -0500
2316
+ Processing by HomeController#index as HTML
2317
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2318
+ Rendered home/index.html.erb within layouts/application (10.9ms)
2319
+ Completed 500 Internal Server Error in 14ms (ActiveRecord: 0.2ms)
2320
+
2321
+ ActionView::Template::Error (undefined method `revelry_content_text' for #<#<Class:0x007fc493a83298>:0x007fc497507f90>):
2322
+ 4: }
2323
+ 5: </style>
2324
+ 6:
2325
+ 7: <h1><%= revelry_content_text('home.headline', default: 'Cool Default Headline') %></h1>
2326
+ 8:
2327
+ 9: <%= revelry_content_image('home.image', default: 'http://placehold.it/200x200') %>
2328
+ 10:
2329
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb___3896413630115490879_70241164474080'
2330
+
2331
+
2332
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.6ms)
2333
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.5ms)
2334
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
2335
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (19.4ms)
2336
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2337
+
2338
+ You can opt into the new behavior and remove this warning by setting:
2339
+
2340
+ config.active_record.raise_in_transactional_callbacks = true
2341
+
2342
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2343
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2344
+
2345
+ You can opt into the new behavior and remove this warning by setting:
2346
+
2347
+ config.active_record.raise_in_transactional_callbacks = true
2348
+
2349
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2350
+ RevelryContent::Content Load (0.3ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2351
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2352
+
2353
+
2354
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:13:05 -0500
2355
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
2356
+ Processing by HomeController#index as HTML
2357
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2358
+ Rendered home/index.html.erb within layouts/application (3.3ms)
2359
+ Rendered /Users/joel/src/revelry_content/app/views/revelry_content/contents/_menus.html.erb (0.4ms)
2360
+ Completed 200 OK in 694ms (Views: 690.1ms | ActiveRecord: 0.2ms)
2361
+
2362
+
2363
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2364
+
2365
+
2366
+ Started GET "/assets/revelry_content/utilities.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2367
+
2368
+
2369
+ Started GET "/assets/backbone.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2370
+
2371
+
2372
+ Started GET "/assets/revelry_content/config.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2373
+
2374
+
2375
+ Started GET "/assets/vendor/react_ujs.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2376
+
2377
+
2378
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2379
+
2380
+
2381
+ Started GET "/assets/underscore.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2382
+
2383
+
2384
+ Started GET "/assets/moment.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2385
+
2386
+
2387
+ Started GET "/assets/moment-timezone-with-data-2010-2020.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2388
+
2389
+
2390
+ Started GET "/assets/revelry_content/mixins/EditModeListener.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2391
+
2392
+
2393
+ Started GET "/assets/revelry_content/models/Content.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2394
+
2395
+
2396
+ Started GET "/assets/revelry_content/models/Version.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2397
+
2398
+
2399
+ Started GET "/assets/revelry_content/components/Admin.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2400
+
2401
+
2402
+ Started GET "/assets/revelry_content/components/EditModeButton.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2403
+
2404
+
2405
+ Started GET "/assets/revelry_content/components/Loader.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2406
+
2407
+
2408
+ Started GET "/assets/revelry_content/components/Time.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2409
+
2410
+
2411
+ Started GET "/assets/revelry_content/components/TopBar.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2412
+
2413
+
2414
+ Started GET "/assets/revelry_content/components/editor.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2415
+
2416
+
2417
+ Started GET "/assets/revelry_content/components/versions.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2418
+
2419
+
2420
+ Started GET "/assets/revelry_content.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2421
+
2422
+
2423
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:13:06 -0500
2424
+
2425
+
2426
+ Started GET "/assets/icomoon.woff?r2fa9x" for 127.0.0.1 at 2015-05-04 15:13:10 -0500
2427
+
2428
+
2429
+ Started POST "/revelry_content/contents" for 127.0.0.1 at 2015-05-04 15:13:18 -0500
2430
+ Processing by RevelryContent::ContentsController#create as JSON
2431
+ Parameters: {"authenticity_token"=>"BzvNFn6F41YOF7saZ/pZwbFIV5JU1dh9FTKDuiEWOzwUdwYgdJ/27CiqPDQbn3t352rmJNB0XMbv16oR1CwHDw==", "content"=>{"key"=>"home.paragraph", "content"=>" dsafdsafdsafsafas long-chain hydrocarbons vinyl urban modem sub-orbital order-flow free-market Kowloon decay futurity A.I. military-grade construct tattoo vinyl carbon. camera paranoid semiotics ablative DIY rifle Chiba urban human uplink carbon assault motion human rebar math-. singularity sentient shrine apophenia receding chrome Kowloon cartel denim sub-orbital wristwatch tiger-team neon geodesic military-grade tanto. A.I. sunglasses receding market lights futurity chrome sentient smart- numinous boat bomb faded towards lights carbon. physical range-rover silent silent hacker sentient advert uplink boat Kowloon monofilament computer tattoo cartel -ware order-flow. vinyl voodoo god Kowloon free-market cyber- stimulate Legba pen denim claymore mine bridge pre- office sub-orbital physical free-market. receding corporation katana physical realism singularity free-market katana nodality hacker advert wonton soup decay fluidity voodoo god Kowloon.\n"}}
2432
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2433
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.2ms)
2434
+
2435
+ ArgumentError (wrong number of arguments (1 for 2)):
2436
+ /Users/joel/src/revelry_content/lib/revelry_content/configuration.rb:34:in `block in default_authorization_policy'
2437
+ /Users/joel/src/revelry_content/lib/revelry_content/controller_concern.rb:9:in `call'
2438
+ /Users/joel/src/revelry_content/lib/revelry_content/controller_concern.rb:9:in `check_authorization'
2439
+ activesupport (4.2.1) lib/active_support/callbacks.rb:432:in `block in make_lambda'
2440
+ activesupport (4.2.1) lib/active_support/callbacks.rb:164:in `call'
2441
+ activesupport (4.2.1) lib/active_support/callbacks.rb:164:in `block in halting'
2442
+ activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call'
2443
+ activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `block in call'
2444
+ activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `each'
2445
+ activesupport (4.2.1) lib/active_support/callbacks.rb:504:in `call'
2446
+ activesupport (4.2.1) lib/active_support/callbacks.rb:92:in `_run_callbacks'
2447
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_process_action_callbacks'
2448
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
2449
+ actionpack (4.2.1) lib/abstract_controller/callbacks.rb:19:in `process_action'
2450
+ actionpack (4.2.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
2451
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
2452
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `block in instrument'
2453
+ activesupport (4.2.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2454
+ activesupport (4.2.1) lib/active_support/notifications.rb:164:in `instrument'
2455
+ actionpack (4.2.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2456
+ actionpack (4.2.1) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2457
+ activerecord (4.2.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2458
+ actionpack (4.2.1) lib/abstract_controller/base.rb:137:in `process'
2459
+ actionview (4.2.1) lib/action_view/rendering.rb:30:in `process'
2460
+ actionpack (4.2.1) lib/action_controller/metal.rb:196:in `dispatch'
2461
+ actionpack (4.2.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2462
+ actionpack (4.2.1) lib/action_controller/metal.rb:237:in `block in action'
2463
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `call'
2464
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:74:in `dispatch'
2465
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:43:in `serve'
2466
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2467
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
2468
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
2469
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
2470
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
2471
+ railties (4.2.1) lib/rails/railtie.rb:194:in `public_send'
2472
+ railties (4.2.1) lib/rails/railtie.rb:194:in `method_missing'
2473
+ actionpack (4.2.1) lib/action_dispatch/routing/mapper.rb:51:in `serve'
2474
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2475
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `each'
2476
+ actionpack (4.2.1) lib/action_dispatch/journey/router.rb:30:in `serve'
2477
+ actionpack (4.2.1) lib/action_dispatch/routing/route_set.rb:819:in `call'
2478
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
2479
+ rack (1.6.0) lib/rack/conditionalget.rb:38:in `call'
2480
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
2481
+ actionpack (4.2.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2482
+ actionpack (4.2.1) lib/action_dispatch/middleware/flash.rb:260:in `call'
2483
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
2484
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
2485
+ actionpack (4.2.1) lib/action_dispatch/middleware/cookies.rb:560:in `call'
2486
+ activerecord (4.2.1) lib/active_record/query_cache.rb:36:in `call'
2487
+ activerecord (4.2.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:649:in `call'
2488
+ activerecord (4.2.1) lib/active_record/migration.rb:378:in `call'
2489
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2490
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `call'
2491
+ activesupport (4.2.1) lib/active_support/callbacks.rb:88:in `_run_callbacks'
2492
+ activesupport (4.2.1) lib/active_support/callbacks.rb:776:in `_run_call_callbacks'
2493
+ activesupport (4.2.1) lib/active_support/callbacks.rb:81:in `run_callbacks'
2494
+ actionpack (4.2.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2495
+ actionpack (4.2.1) lib/action_dispatch/middleware/reloader.rb:73:in `call'
2496
+ actionpack (4.2.1) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2497
+ actionpack (4.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2498
+ actionpack (4.2.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2499
+ railties (4.2.1) lib/rails/rack/logger.rb:38:in `call_app'
2500
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `block in call'
2501
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2502
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:26:in `tagged'
2503
+ activesupport (4.2.1) lib/active_support/tagged_logging.rb:68:in `tagged'
2504
+ railties (4.2.1) lib/rails/rack/logger.rb:20:in `call'
2505
+ actionpack (4.2.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2506
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
2507
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
2508
+ activesupport (4.2.1) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2509
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2510
+ actionpack (4.2.1) lib/action_dispatch/middleware/static.rb:113:in `call'
2511
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
2512
+ railties (4.2.1) lib/rails/engine.rb:518:in `call'
2513
+ railties (4.2.1) lib/rails/application.rb:164:in `call'
2514
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2515
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
2516
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
2517
+ /opt/rubies/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
2518
+ /opt/rubies/2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
2519
+ /opt/rubies/2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
2520
+
2521
+
2522
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (2.2ms)
2523
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.5ms)
2524
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (0.6ms)
2525
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (12.0ms)
2526
+
2527
+
2528
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-04 15:13:26 -0500
2529
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2530
+
2531
+ You can opt into the new behavior and remove this warning by setting:
2532
+
2533
+ config.active_record.raise_in_transactional_callbacks = true
2534
+
2535
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2536
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2537
+
2538
+ You can opt into the new behavior and remove this warning by setting:
2539
+
2540
+ config.active_record.raise_in_transactional_callbacks = true
2541
+
2542
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2543
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2544
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2545
+
2546
+
2547
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:16:56 -0500
2548
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2549
+ Processing by HomeController#index as HTML
2550
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2551
+ Rendered home/index.html.erb within layouts/application (4.3ms)
2552
+ Completed 500 Internal Server Error in 18ms (ActiveRecord: 0.2ms)
2553
+
2554
+ ActionView::Template::Error (wrong number of arguments (1 for 2)):
2555
+ 4: }
2556
+ 5: </style>
2557
+ 6:
2558
+ 7: <h1><%= revelry_content_text('home.headline', default: 'Cool Default Headline') %></h1>
2559
+ 8:
2560
+ 9: <%= revelry_content_image('home.image', default: 'http://placehold.it/200x200') %>
2561
+ 10:
2562
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb__403112639835675945_70340678398660'
2563
+
2564
+
2565
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.9ms)
2566
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms)
2567
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.4ms)
2568
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (35.6ms)
2569
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2570
+
2571
+ You can opt into the new behavior and remove this warning by setting:
2572
+
2573
+ config.active_record.raise_in_transactional_callbacks = true
2574
+
2575
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2576
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2577
+
2578
+ You can opt into the new behavior and remove this warning by setting:
2579
+
2580
+ config.active_record.raise_in_transactional_callbacks = true
2581
+
2582
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2583
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2584
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2585
+
2586
+
2587
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:18:06 -0500
2588
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2589
+ Processing by HomeController#index as HTML
2590
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2591
+ Rendered home/index.html.erb within layouts/application (3.7ms)
2592
+ Completed 500 Internal Server Error in 12ms (ActiveRecord: 0.2ms)
2593
+
2594
+ ActionView::Template::Error (wrong number of arguments (1 for 2)):
2595
+ 4: }
2596
+ 5: </style>
2597
+ 6:
2598
+ 7: <h1><%= revelry_content_text('home.headline', default: 'Cool Default Headline') %></h1>
2599
+ 8:
2600
+ 9: <%= revelry_content_image('home.image', default: 'http://placehold.it/200x200') %>
2601
+ 10:
2602
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb___454698122058979035_70249203350380'
2603
+
2604
+
2605
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.4ms)
2606
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
2607
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (8.9ms)
2608
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (25.9ms)
2609
+
2610
+
2611
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:18:09 -0500
2612
+ Processing by HomeController#index as HTML
2613
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2614
+ Rendered home/index.html.erb within layouts/application (0.6ms)
2615
+ Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.2ms)
2616
+
2617
+ ActionView::Template::Error (wrong number of arguments (1 for 2)):
2618
+ 4: }
2619
+ 5: </style>
2620
+ 6:
2621
+ 7: <h1><%= revelry_content_text('home.headline', default: 'Cool Default Headline') %></h1>
2622
+ 8:
2623
+ 9: <%= revelry_content_image('home.image', default: 'http://placehold.it/200x200') %>
2624
+ 10:
2625
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb___454698122058979035_70249203350380'
2626
+
2627
+
2628
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.0ms)
2629
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.1ms)
2630
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
2631
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.9ms)
2632
+
2633
+
2634
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:18:13 -0500
2635
+ Processing by HomeController#index as HTML
2636
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2637
+ Rendered home/index.html.erb within layouts/application (0.8ms)
2638
+ Completed 500 Internal Server Error in 4ms (ActiveRecord: 0.2ms)
2639
+
2640
+ ActionView::Template::Error (wrong number of arguments (1 for 2)):
2641
+ 4: }
2642
+ 5: </style>
2643
+ 6:
2644
+ 7: <h1><%= revelry_content_text('home.headline', default: 'Cool Default Headline') %></h1>
2645
+ 8:
2646
+ 9: <%= revelry_content_image('home.image', default: 'http://placehold.it/200x200') %>
2647
+ 10:
2648
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb___454698122058979035_70249203350380'
2649
+
2650
+
2651
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (4.9ms)
2652
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
2653
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
2654
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (18.4ms)
2655
+
2656
+
2657
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:19:02 -0500
2658
+ Processing by HomeController#index as HTML
2659
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2660
+
2661
+ You can opt into the new behavior and remove this warning by setting:
2662
+
2663
+ config.active_record.raise_in_transactional_callbacks = true
2664
+
2665
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2666
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2667
+
2668
+ You can opt into the new behavior and remove this warning by setting:
2669
+
2670
+ config.active_record.raise_in_transactional_callbacks = true
2671
+
2672
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2673
+ RevelryContent::Content Load (0.3ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2674
+ Rendered home/index.html.erb within layouts/application (0.6ms)
2675
+ Completed 500 Internal Server Error in 24ms (ActiveRecord: 0.6ms)
2676
+
2677
+ ActionView::Template::Error (wrong number of arguments (1 for 2)):
2678
+ 4: }
2679
+ 5: </style>
2680
+ 6:
2681
+ 7: <h1><%= revelry_content_text('home.headline', default: 'Cool Default Headline') %></h1>
2682
+ 8:
2683
+ 9: <%= revelry_content_image('home.image', default: 'http://placehold.it/200x200') %>
2684
+ 10:
2685
+ app/views/home/index.html.erb:7:in `_app_views_home_index_html_erb___454698122058979035_70249203350380'
2686
+
2687
+
2688
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.2ms)
2689
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.0ms)
2690
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
2691
+ Rendered /opt/rubies/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.2.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (17.2ms)
2692
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2693
+
2694
+ You can opt into the new behavior and remove this warning by setting:
2695
+
2696
+ config.active_record.raise_in_transactional_callbacks = true
2697
+
2698
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2699
+ DEPRECATION WARNING: Currently, Active Record suppresses errors raised within `after_rollback`/`after_commit` callbacks and only print them to the logs. In the next version, these errors will no longer be suppressed. Instead, the errors will propagate normally just like in other Active Record callbacks.
2700
+
2701
+ You can opt into the new behavior and remove this warning by setting:
2702
+
2703
+ config.active_record.raise_in_transactional_callbacks = true
2704
+
2705
+ (called from <class:Content> at /Users/joel/src/revelry_content/app/models/revelry_content/content.rb:39)
2706
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2707
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2708
+
2709
+
2710
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:19:54 -0500
2711
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2712
+ Processing by HomeController#index as HTML
2713
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2714
+ Rendered home/index.html.erb within layouts/application (1.9ms)
2715
+ Rendered /Users/joel/src/revelry_content/app/views/revelry_content/contents/_menus.html.erb (0.6ms)
2716
+ Completed 200 OK in 664ms (Views: 660.3ms | ActiveRecord: 0.1ms)
2717
+
2718
+
2719
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2720
+
2721
+
2722
+ Started GET "/assets/revelry_content/config.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2723
+
2724
+
2725
+ Started GET "/assets/revelry_content/utilities.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2726
+
2727
+
2728
+ Started GET "/assets/vendor/react_ujs.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2729
+
2730
+
2731
+ Started GET "/assets/underscore.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2732
+
2733
+
2734
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2735
+
2736
+
2737
+ Started GET "/assets/moment.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2738
+
2739
+
2740
+ Started GET "/assets/moment-timezone-with-data-2010-2020.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2741
+
2742
+
2743
+ Started GET "/assets/backbone.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2744
+
2745
+
2746
+ Started GET "/assets/revelry_content/mixins/EditModeListener.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2747
+
2748
+
2749
+ Started GET "/assets/revelry_content/models/Content.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2750
+
2751
+
2752
+ Started GET "/assets/revelry_content/models/Version.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2753
+
2754
+
2755
+ Started GET "/assets/revelry_content/components/Admin.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2756
+
2757
+
2758
+ Started GET "/assets/revelry_content/components/EditModeButton.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2759
+
2760
+
2761
+ Started GET "/assets/revelry_content/components/Loader.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2762
+
2763
+
2764
+ Started GET "/assets/revelry_content/components/Time.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2765
+
2766
+
2767
+ Started GET "/assets/revelry_content/components/TopBar.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2768
+
2769
+
2770
+ Started GET "/assets/revelry_content/components/editor.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2771
+
2772
+
2773
+ Started GET "/assets/revelry_content/components/versions.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2774
+
2775
+
2776
+ Started GET "/assets/revelry_content.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2777
+
2778
+
2779
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:19:55 -0500
2780
+
2781
+
2782
+ Started GET "/assets/icomoon.woff?r2fa9x" for 127.0.0.1 at 2015-05-04 15:19:58 -0500
2783
+
2784
+
2785
+ Started POST "/revelry_content/contents" for 127.0.0.1 at 2015-05-04 15:20:04 -0500
2786
+ Processing by RevelryContent::ContentsController#create as JSON
2787
+ Parameters: {"authenticity_token"=>"1BkKwdiFWub90XjSlggAAIaxkLc789DOOQWgDF3+9ArHVcH30p9PXNts//zqbSK20JMhAb9SVHXD4ImnqMTIOQ==", "content"=>{"key"=>"home.headline", "content"=>"Very Cool Default Headline!"}}
2788
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2789
+ Unpermitted parameter: content
2790
+ RevelryContent::Content Load (0.3ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents" WHERE "revelry_content_contents"."key" = ? LIMIT 1 [["key", "home.headline"]]
2791
+ Unpermitted parameter: key
2792
+  (0.1ms) begin transaction
2793
+ RevelryContent::Content Exists (0.1ms) SELECT 1 AS one FROM "revelry_content_contents" WHERE ("revelry_content_contents"."key" = 'home.headline' AND "revelry_content_contents"."id" != 1) LIMIT 1
2794
+ DEPRECATION WARNING: `serialized_attributes` is deprecated without replacement, and will be removed in Rails 5.0. (called from create at /Users/joel/src/revelry_content/app/controllers/revelry_content/contents_controller.rb:17)
2795
+ SQL (0.4ms) UPDATE "revelry_content_contents" SET "last_whodunnit" = ?, "content" = ?, "updated_at" = ? WHERE "revelry_content_contents"."id" = ? [["last_whodunnit", "#<FakeUser:0x007ff314b9ca80>"], ["content", "Very Cool Default Headline!"], ["updated_at", "2015-05-04 20:20:04.723218"], ["id", 1]]
2796
+ SQL (0.3ms) INSERT INTO "revelry_content_content_versions" ("event", "object", "whodunnit", "item_id", "item_type", "created_at") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 1\ntype: \nkey: home.headline\ncontent: Very Cool Default Headline!!!\nsrc: \nlast_whodunnit: \"#<FakeUser:0x007fed0d1c3f48>\"\ncreated_at: 2015-04-27 22:04:24.508036000 Z\nupdated_at: 2015-05-04 19:56:18.959318000 Z\n"], ["whodunnit", "#<FakeUser:0x007ff31a0489a8>"], ["item_id", 1], ["item_type", "RevelryContent::Content"], ["created_at", "2015-05-04 20:20:04.747769"]]
2797
+  (0.8ms) commit transaction
2798
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2799
+ Completed 200 OK in 58ms (Views: 0.8ms | ActiveRecord: 2.8ms)
2800
+
2801
+
2802
+ Started POST "/revelry_content/contents" for 127.0.0.1 at 2015-05-04 15:20:21 -0500
2803
+ Processing by RevelryContent::ContentsController#create as JSON
2804
+ Parameters: {"authenticity_token"=>"1BkKwdiFWub90XjSlggAAIaxkLc789DOOQWgDF3+9ArHVcH30p9PXNts//zqbSK20JMhAb9SVHXD4ImnqMTIOQ==", "content"=>{"key"=>"home.paragraph", "content"=>"fdadfasfsaf long-chain hydrocarbons vinyl urban modem sub-orbital order-flow free-market Kowloon decay futurity A.I. military-grade construct tattoo vinyl carbon. camera paranoid semiotics ablative DIY rifle Chiba urban human uplink carbon assault motion human rebar math-. singularity sentient shrine apophenia receding chrome Kowloon cartel denim sub-orbital wristwatch tiger-team neon geodesic military-grade tanto. A.I. sunglasses receding market lights futurity chrome sentient smart- numinous boat bomb faded towards lights carbon. physical range-rover silent silent hacker sentient advert uplink boat Kowloon monofilament computer tattoo cartel -ware order-flow. vinyl voodoo god Kowloon free-market cyber- stimulate Legba pen denim claymore mine bridge pre- office sub-orbital physical free-market. receding corporation katana physical realism singularity free-market katana nodality hacker advert wonton soup decay fluidity voodoo god Kowloon.\n"}}
2805
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2806
+ Unpermitted parameter: content
2807
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents" WHERE "revelry_content_contents"."key" = ? LIMIT 1 [["key", "home.paragraph"]]
2808
+ Unpermitted parameter: key
2809
+  (0.1ms) begin transaction
2810
+ RevelryContent::Content Exists (0.3ms) SELECT 1 AS one FROM "revelry_content_contents" WHERE "revelry_content_contents"."key" = 'home.paragraph' LIMIT 1
2811
+ SQL (1.1ms) INSERT INTO "revelry_content_contents" ("key", "last_whodunnit", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["key", "home.paragraph"], ["last_whodunnit", "#<FakeUser:0x007ff31a332c90>"], ["content", "fdadfasfsaf long-chain hydrocarbons vinyl urban modem sub-orbital order-flow free-market Kowloon decay futurity A.I. military-grade construct tattoo vinyl carbon. camera paranoid semiotics ablative DIY rifle Chiba urban human uplink carbon assault motion human rebar math-. singularity sentient shrine apophenia receding chrome Kowloon cartel denim sub-orbital wristwatch tiger-team neon geodesic military-grade tanto. A.I. sunglasses receding market lights futurity chrome sentient smart- numinous boat bomb faded towards lights carbon. physical range-rover silent silent hacker sentient advert uplink boat Kowloon monofilament computer tattoo cartel -ware order-flow. vinyl voodoo god Kowloon free-market cyber- stimulate Legba pen denim claymore mine bridge pre- office sub-orbital physical free-market. receding corporation katana physical realism singularity free-market katana nodality hacker advert wonton soup decay fluidity voodoo god Kowloon.\n"], ["created_at", "2015-05-04 20:20:21.497700"], ["updated_at", "2015-05-04 20:20:21.497700"]]
2812
+ SQL (0.2ms) INSERT INTO "revelry_content_content_versions" ("event", "whodunnit", "item_id", "item_type", "created_at") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "#<FakeUser:0x007ff31a319e70>"], ["item_id", 2], ["item_type", "RevelryContent::Content"], ["created_at", "2015-05-04 20:20:21.503336"]]
2813
+  (1.4ms) commit transaction
2814
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2815
+ Completed 200 OK in 20ms (Views: 1.7ms | ActiveRecord: 3.4ms)
2816
+
2817
+
2818
+ Started POST "/revelry_content/contents" for 127.0.0.1 at 2015-05-04 15:20:33 -0500
2819
+ Processing by RevelryContent::ContentsController#create as JSON
2820
+ Parameters: {"authenticity_token"=>"1BkKwdiFWub90XjSlggAAIaxkLc789DOOQWgDF3+9ArHVcH30p9PXNts//zqbSK20JMhAb9SVHXD4ImnqMTIOQ==", "content"=>{"key"=>"home.paragraph", "content"=>"fdadfasfsaf long-chain **hydrocarbons** vinyl urban modem sub-orbital order-flow free-market Kowloon decay futurity A.I. military-grade construct tattoo vinyl carbon. camera paranoid semiotics ablative DIY rifle Chiba urban human uplink carbon assault motion human rebar math-. singularity sentient shrine apophenia receding chrome Kowloon cartel denim sub-orbital wristwatch tiger-team neon geodesic military-grade tanto. A.I. sunglasses receding market lights futurity chrome sentient smart- numinous boat bomb faded towards lights carbon. physical range-rover silent silent hacker sentient advert uplink boat Kowloon monofilament computer tattoo cartel -ware order-flow. vinyl voodoo god Kowloon free-market cyber- stimulate Legba pen denim claymore mine bridge pre- office sub-orbital physical free-market. receding corporation katana physical realism singularity free-market katana nodality hacker advert wonton soup decay fluidity voodoo god Kowloon.\n"}}
2821
+ RevelryContent::Content Load (0.7ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2822
+ Unpermitted parameter: content
2823
+ RevelryContent::Content Load (0.1ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents" WHERE "revelry_content_contents"."key" = ? LIMIT 1 [["key", "home.paragraph"]]
2824
+ Unpermitted parameter: key
2825
+  (0.0ms) begin transaction
2826
+ RevelryContent::Content Exists (0.1ms) SELECT 1 AS one FROM "revelry_content_contents" WHERE ("revelry_content_contents"."key" = 'home.paragraph' AND "revelry_content_contents"."id" != 2) LIMIT 1
2827
+ DEPRECATION WARNING: `serialized_attributes` is deprecated without replacement, and will be removed in Rails 5.0. (called from create at /Users/joel/src/revelry_content/app/controllers/revelry_content/contents_controller.rb:17)
2828
+ SQL (0.2ms) UPDATE "revelry_content_contents" SET "last_whodunnit" = ?, "content" = ?, "updated_at" = ? WHERE "revelry_content_contents"."id" = ? [["last_whodunnit", "#<FakeUser:0x007ff31a392280>"], ["content", "fdadfasfsaf long-chain **hydrocarbons** vinyl urban modem sub-orbital order-flow free-market Kowloon decay futurity A.I. military-grade construct tattoo vinyl carbon. camera paranoid semiotics ablative DIY rifle Chiba urban human uplink carbon assault motion human rebar math-. singularity sentient shrine apophenia receding chrome Kowloon cartel denim sub-orbital wristwatch tiger-team neon geodesic military-grade tanto. A.I. sunglasses receding market lights futurity chrome sentient smart- numinous boat bomb faded towards lights carbon. physical range-rover silent silent hacker sentient advert uplink boat Kowloon monofilament computer tattoo cartel -ware order-flow. vinyl voodoo god Kowloon free-market cyber- stimulate Legba pen denim claymore mine bridge pre- office sub-orbital physical free-market. receding corporation katana physical realism singularity free-market katana nodality hacker advert wonton soup decay fluidity voodoo god Kowloon.\n"], ["updated_at", "2015-05-04 20:20:33.897404"], ["id", 2]]
2829
+ SQL (0.1ms) INSERT INTO "revelry_content_content_versions" ("event", "object", "whodunnit", "item_id", "item_type", "created_at") VALUES (?, ?, ?, ?, ?, ?) [["event", "update"], ["object", "---\nid: 2\ntype: \nkey: home.paragraph\ncontent: |\n fdadfasfsaf long-chain hydrocarbons vinyl urban modem sub-orbital order-flow free-market Kowloon decay futurity A.I. military-grade construct tattoo vinyl carbon. camera paranoid semiotics ablative DIY rifle Chiba urban human uplink carbon assault motion human rebar math-. singularity sentient shrine apophenia receding chrome Kowloon cartel denim sub-orbital wristwatch tiger-team neon geodesic military-grade tanto. A.I. sunglasses receding market lights futurity chrome sentient smart- numinous boat bomb faded towards lights carbon. physical range-rover silent silent hacker sentient advert uplink boat Kowloon monofilament computer tattoo cartel -ware order-flow. vinyl voodoo god Kowloon free-market cyber- stimulate Legba pen denim claymore mine bridge pre- office sub-orbital physical free-market. receding corporation katana physical realism singularity free-market katana nodality hacker advert wonton soup decay fluidity voodoo god Kowloon.\nsrc: \nlast_whodunnit: \"#<FakeUser:0x007ff31a332c90>\"\ncreated_at: 2015-05-04 20:20:21.497700000 Z\nupdated_at: 2015-05-04 20:20:21.497700000 Z\n"], ["whodunnit", "#<FakeUser:0x007ff31a374d48>"], ["item_id", 2], ["item_type", "RevelryContent::Content"], ["created_at", "2015-05-04 20:20:33.902331"]]
2830
+  (1.2ms) commit transaction
2831
+ RevelryContent::Content Load (0.5ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2832
+ Completed 200 OK in 21ms (Views: 1.3ms | ActiveRecord: 3.0ms)
2833
+
2834
+
2835
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2836
+ Processing by HomeController#index as HTML
2837
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2838
+ Rendered home/index.html.erb within layouts/application (0.7ms)
2839
+ Rendered /Users/joel/src/revelry_content/app/views/revelry_content/contents/_menus.html.erb (0.0ms)
2840
+ Completed 200 OK in 52ms (Views: 49.9ms | ActiveRecord: 0.1ms)
2841
+
2842
+
2843
+ Started GET "/assets/revelry_content/utilities.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2844
+
2845
+
2846
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2847
+
2848
+
2849
+ Started GET "/assets/revelry_content/config.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2850
+
2851
+
2852
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2853
+
2854
+
2855
+ Started GET "/assets/vendor/react_ujs.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2856
+
2857
+
2858
+ Started GET "/assets/underscore.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2859
+
2860
+
2861
+ Started GET "/assets/backbone.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2862
+
2863
+
2864
+ Started GET "/assets/moment.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2865
+
2866
+
2867
+ Started GET "/assets/moment-timezone-with-data-2010-2020.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2868
+
2869
+
2870
+ Started GET "/assets/revelry_content/mixins/EditModeListener.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2871
+
2872
+
2873
+ Started GET "/assets/revelry_content/models/Content.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2874
+
2875
+
2876
+ Started GET "/assets/revelry_content/models/Version.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2877
+
2878
+
2879
+ Started GET "/assets/revelry_content/components/Admin.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2880
+
2881
+
2882
+ Started GET "/assets/revelry_content/components/Loader.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2883
+
2884
+
2885
+ Started GET "/assets/revelry_content/components/EditModeButton.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2886
+
2887
+
2888
+ Started GET "/assets/revelry_content/components/Time.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2889
+
2890
+
2891
+ Started GET "/assets/revelry_content/components/TopBar.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2892
+
2893
+
2894
+ Started GET "/assets/revelry_content/components/editor.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2895
+
2896
+
2897
+ Started GET "/assets/revelry_content/components/versions.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2898
+
2899
+
2900
+ Started GET "/assets/revelry_content.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2901
+
2902
+
2903
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:20:41 -0500
2904
+
2905
+
2906
+ Started POST "/revelry_content/contents" for 127.0.0.1 at 2015-05-04 15:20:55 -0500
2907
+ Processing by RevelryContent::ContentsController#create as JSON
2908
+ Parameters: {"content"=>{"src"=>#<ActionDispatch::Http::UploadedFile:0x007ff31c97af10 @tempfile=#<Tempfile:/var/folders/q0/ym9_d8zd24n22kg594gvmw3m0000gn/T/RackMultipart20150504-68157-6a92r.png>, @original_filename="Screen Shot 2015-05-04 at 9.50.48 AM.png", @content_type="image/png", @headers="Content-Disposition: form-data; name=\"content[src]\"; filename=\"Screen Shot 2015-05-04 at 9.50.48 AM.png\"\r\nContent-Type: image/png\r\n">, "key"=>"home.image"}, "authenticity_token"=>"5tszgUQv7W/8i53LEvcVV4N73NDvYV7gZuQsYZsp9u/1l/i3TjX41do2GuVukjfh1VltZmvA2lucAQXKbhPK3A=="}
2909
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2910
+ Unpermitted parameter: src
2911
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents" WHERE "revelry_content_contents"."key" = ? LIMIT 1 [["key", "home.image"]]
2912
+ Unpermitted parameter: key
2913
+  (0.1ms) begin transaction
2914
+ RevelryContent::Content Exists (0.1ms) SELECT 1 AS one FROM "revelry_content_contents" WHERE "revelry_content_contents"."key" = 'home.image' LIMIT 1
2915
+ SQL (0.4ms) INSERT INTO "revelry_content_contents" ("key", "last_whodunnit", "src", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?) [["key", "home.image"], ["last_whodunnit", "#<FakeUser:0x007ff31a9642d0>"], ["src", "Screen_Shot_2015-05-04_at_9.50.48_AM.png"], ["created_at", "2015-05-04 20:20:55.713872"], ["updated_at", "2015-05-04 20:20:55.713872"]]
2916
+ SQL (0.4ms) INSERT INTO "revelry_content_content_versions" ("event", "whodunnit", "item_id", "item_type", "created_at") VALUES (?, ?, ?, ?, ?) [["event", "create"], ["whodunnit", "#<FakeUser:0x007ff31a71f8a8>"], ["item_id", 3], ["item_type", "RevelryContent::Content"], ["created_at", "2015-05-04 20:20:55.716864"]]
2917
+  (0.7ms) commit transaction
2918
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2919
+ Completed 200 OK in 32ms (Views: 0.5ms | ActiveRecord: 2.3ms)
2920
+
2921
+
2922
+ Started GET "/" for 127.0.0.1 at 2015-05-04 15:21:23 -0500
2923
+ Processing by HomeController#index as HTML
2924
+ RevelryContent::Content Load (0.2ms) SELECT "revelry_content_contents".* FROM "revelry_content_contents"
2925
+ Rendered home/index.html.erb within layouts/application (0.8ms)
2926
+ Rendered /Users/joel/src/revelry_content/app/views/revelry_content/contents/_menus.html.erb (0.1ms)
2927
+ Completed 200 OK in 61ms (Views: 57.7ms | ActiveRecord: 0.2ms)
2928
+
2929
+
2930
+ Started GET "/assets/application.self.css?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2931
+
2932
+
2933
+ Started GET "/assets/revelry_content/config.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2934
+
2935
+
2936
+ Started GET "/assets/revelry_content/utilities.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2937
+
2938
+
2939
+ Started GET "/assets/vendor/react_ujs.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2940
+
2941
+
2942
+ Started GET "/assets/jquery.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2943
+
2944
+
2945
+ Started GET "/assets/underscore.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2946
+
2947
+
2948
+ Started GET "/assets/backbone.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2949
+
2950
+
2951
+ Started GET "/assets/moment.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2952
+
2953
+
2954
+ Started GET "/assets/moment-timezone-with-data-2010-2020.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2955
+
2956
+
2957
+ Started GET "/assets/revelry_content/mixins/EditModeListener.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2958
+
2959
+
2960
+ Started GET "/assets/revelry_content/models/Content.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2961
+
2962
+
2963
+ Started GET "/assets/revelry_content/models/Version.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2964
+
2965
+
2966
+ Started GET "/assets/revelry_content/components/EditModeButton.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2967
+
2968
+
2969
+ Started GET "/assets/revelry_content/components/Loader.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2970
+
2971
+
2972
+ Started GET "/assets/revelry_content/components/Admin.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2973
+
2974
+
2975
+ Started GET "/assets/revelry_content/components/Time.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2976
+
2977
+
2978
+ Started GET "/assets/revelry_content/components/TopBar.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2979
+
2980
+
2981
+ Started GET "/assets/revelry_content/components/editor.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2982
+
2983
+
2984
+ Started GET "/assets/revelry_content/components/versions.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2985
+
2986
+
2987
+ Started GET "/assets/revelry_content.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500
2988
+
2989
+
2990
+ Started GET "/assets/application.self.js?body=1" for 127.0.0.1 at 2015-05-04 15:21:24 -0500