modulate 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -14,7 +14,7 @@ class Modulate::DocumentsController < Modulate::ApplicationController
14
14
 
15
15
  def show
16
16
  @doc = Modulate::Document.find(params[:id])
17
- @file = Modulate::DocumentUploader.new.retrieve_from_store!(@doc.key)
18
- redirect_to :back
17
+ @file = @doc.attachment.read
18
+ send_data(@file, filename: @doc.filename)
19
19
  end
20
20
  end
@@ -1,3 +1,3 @@
1
1
  module Modulate
2
- VERSION = "0.0.12"
2
+ VERSION = "0.0.13"
3
3
  end
@@ -3986,3 +3986,4 @@ Served asset /jquery_ujs.js - 200 OK (4ms)
3986
3986
 
3987
3987
  Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-04-09 15:35:50 -0400
3988
3988
  Served asset /application.js - 200 OK (44ms)
3989
+ Connecting to database specified by database.yml
@@ -1464,3 +1464,3344 @@ Processing by AccountsController#index as HTML
1464
1464
  Rendered accounts/index.html.haml within layouts/application (0.1ms)
1465
1465
  Completed 200 OK in 14ms (Views: 3.0ms | ActiveRecord: 0.3ms)
1466
1466
  Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
1467
+ Connecting to database specified by database.yml
1468
+  (0.1ms) BEGIN
1469
+ SQL (3.6ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-29 12:27:04', 'test_account', '2013-05-29 12:27:04')
1470
+  (0.4ms) COMMIT
1471
+ Started GET "/accounts/80" for 127.0.0.1 at 2013-05-29 08:27:04 -0400
1472
+ Processing by AccountsController#show as HTML
1473
+ Parameters: {"id"=>"80"}
1474
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 80 LIMIT 1
1475
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 80 AND `modulate_documents`.`attachable_type` = 'Account'
1476
+ Rendered accounts/_modulate_account_documents.html.haml (187.9ms)
1477
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 80 AND `modulate_documents`.`attachable_type` = 'Account'
1478
+ Rendered accounts/_modulate_attachments.html.haml (423.1ms)
1479
+ Rendered accounts/show.html.erb within layouts/application (435.5ms)
1480
+ Completed 200 OK in 499ms (Views: 452.6ms | ActiveRecord: 29.1ms)
1481
+ Started PUT "/accounts/80" for 127.0.0.1 at 2013-05-29 08:27:05 -0400
1482
+ Processing by AccountsController#update as HTML
1483
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fc874a038b0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130529-7743-f788ng>>}]}, "button"=>"", "id"=>"80"}
1484
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 80 LIMIT 1
1485
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 80 AND `modulate_documents`.`attachable_type` = 'Account'
1486
+  (0.1ms) BEGIN
1487
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '80-1369830425-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1488
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (80, 'Account', NULL, '80-1369830425-test.txt', 'Dummy::Account', 'text/plain', '2013-05-29 12:27:05', 'test.txt', '80-1369830425-test.txt', 'Test', 0, '2013-05-29 12:27:05')
1489
+  (0.4ms) COMMIT
1490
+ Redirected to http://www.example.com/accounts
1491
+ Completed 302 Found in 354ms (ActiveRecord: 1.7ms)
1492
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-29 08:27:05 -0400
1493
+ Processing by AccountsController#index as HTML
1494
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` 
1495
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
1496
+ Completed 200 OK in 16ms (Views: 4.7ms | ActiveRecord: 0.3ms)
1497
+  (0.2ms) BEGIN
1498
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-29 12:27:05', 'test_account', '2013-05-29 12:27:05')
1499
+  (0.4ms) COMMIT
1500
+ Started GET "/accounts/81" for 127.0.0.1 at 2013-05-29 08:27:05 -0400
1501
+ Processing by AccountsController#show as HTML
1502
+ Parameters: {"id"=>"81"}
1503
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 81 LIMIT 1
1504
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 81 AND `modulate_documents`.`attachable_type` = 'Account'
1505
+ Rendered accounts/_modulate_account_documents.html.haml (2.7ms)
1506
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 81 AND `modulate_documents`.`attachable_type` = 'Account'
1507
+ Rendered accounts/_modulate_attachments.html.haml (37.2ms)
1508
+ Rendered accounts/show.html.erb within layouts/application (37.7ms)
1509
+ Completed 200 OK in 43ms (Views: 40.1ms | ActiveRecord: 0.9ms)
1510
+ Started PUT "/accounts/81" for 127.0.0.1 at 2013-05-29 08:27:05 -0400
1511
+ Processing by AccountsController#update as HTML
1512
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fc8763d7d68 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130529-7743-awsnwa>>}]}, "button"=>"", "id"=>"81"}
1513
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 81 LIMIT 1
1514
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 81 AND `modulate_documents`.`attachable_type` = 'Account'
1515
+  (0.1ms) BEGIN
1516
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '81-1369830425-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1517
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (81, 'Account', NULL, '81-1369830425-test.txt', 'Dummy::Account', 'text/plain', '2013-05-29 12:27:05', 'test.txt', '81-1369830425-test.txt', 'Test', 0, '2013-05-29 12:27:05')
1518
+  (0.4ms) COMMIT
1519
+ Redirected to http://www.example.com/accounts
1520
+ Completed 302 Found in 32ms (ActiveRecord: 1.7ms)
1521
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-29 08:27:06 -0400
1522
+ Processing by AccountsController#index as HTML
1523
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts`
1524
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
1525
+ Completed 200 OK in 14ms (Views: 3.3ms | ActiveRecord: 0.3ms)
1526
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
1527
+ Connecting to database specified by database.yml
1528
+  (0.1ms) BEGIN
1529
+ SQL (17.4ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:31:02', 'test_account', '2013-05-30 16:31:02')
1530
+  (1.9ms) COMMIT
1531
+ Started GET "/accounts/82" for 127.0.0.1 at 2013-05-30 12:31:03 -0400
1532
+ Processing by AccountsController#show as HTML
1533
+ Parameters: {"id"=>"82"}
1534
+ Account Load (0.9ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 82 LIMIT 1
1535
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 82 AND `modulate_documents`.`attachable_type` = 'Account'
1536
+ Rendered accounts/_modulate_account_documents.html.haml (572.4ms)
1537
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 82 AND `modulate_documents`.`attachable_type` = 'Account'
1538
+ Rendered accounts/_modulate_attachments.html.haml (1789.3ms)
1539
+ Rendered accounts/show.html.erb within layouts/application (1822.1ms)
1540
+ Completed 200 OK in 1978ms (Views: 1907.7ms | ActiveRecord: 47.3ms)
1541
+ Started PUT "/accounts/82" for 127.0.0.1 at 2013-05-30 12:31:06 -0400
1542
+ Processing by AccountsController#update as HTML
1543
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f93a95dd3a8 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-10369-e4lcnv>>}]}, "button"=>"", "id"=>"82"}
1544
+ Account Load (19.1ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 82 LIMIT 1
1545
+ Modulate::Document Load (0.9ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 82 AND `modulate_documents`.`attachable_type` = 'Account'
1546
+  (0.2ms) BEGIN
1547
+ Modulate::Document Exists (3.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '82-1369931466-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1548
+ SQL (1.1ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (82, 'Account', NULL, '82-1369931466-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:31:06', 'test.txt', '82-1369931466-test.txt', 'Test', 0, '2013-05-30 16:31:06')
1549
+  (2.9ms) COMMIT
1550
+ Redirected to http://www.example.com/accounts
1551
+ Completed 302 Found in 1368ms (ActiveRecord: 27.4ms)
1552
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:31:08 -0400
1553
+ Processing by AccountsController#index as HTML
1554
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
1555
+ Rendered accounts/index.html.haml within layouts/application (3.0ms)
1556
+ Completed 200 OK in 27ms (Views: 9.5ms | ActiveRecord: 0.4ms)
1557
+  (0.3ms) BEGIN
1558
+ SQL (0.4ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:31:08', 'test_account', '2013-05-30 16:31:08')
1559
+  (0.4ms) COMMIT
1560
+ Started GET "/accounts/83" for 127.0.0.1 at 2013-05-30 12:31:08 -0400
1561
+ Processing by AccountsController#show as HTML
1562
+ Parameters: {"id"=>"83"}
1563
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 83 LIMIT 1
1564
+  (4.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 83 AND `modulate_documents`.`attachable_type` = 'Account'
1565
+ Rendered accounts/_modulate_account_documents.html.haml (7.9ms)
1566
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 83 AND `modulate_documents`.`attachable_type` = 'Account'
1567
+ Rendered accounts/_modulate_attachments.html.haml (135.3ms)
1568
+ Rendered accounts/show.html.erb within layouts/application (137.9ms)
1569
+ Completed 200 OK in 144ms (Views: 136.2ms | ActiveRecord: 5.2ms)
1570
+ Started PUT "/accounts/83" for 127.0.0.1 at 2013-05-30 12:31:08 -0400
1571
+ Processing by AccountsController#update as HTML
1572
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f93a98bc8a8 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-10369-t7dw2f>>}]}, "button"=>"", "id"=>"83"}
1573
+ Account Load (0.7ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 83 LIMIT 1
1574
+ Modulate::Document Load (2.2ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 83 AND `modulate_documents`.`attachable_type` = 'Account'
1575
+  (0.2ms) BEGIN
1576
+ Modulate::Document Exists (1.2ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '83-1369931468-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1577
+ SQL (1.8ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (83, 'Account', NULL, '83-1369931468-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:31:08', 'test.txt', '83-1369931468-test.txt', 'Test', 0, '2013-05-30 16:31:08')
1578
+  (0.6ms) COMMIT
1579
+ Redirected to http://www.example.com/accounts
1580
+ Completed 302 Found in 151ms (ActiveRecord: 6.6ms)
1581
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:31:08 -0400
1582
+ Processing by AccountsController#index as HTML
1583
+ Account Load (0.8ms) SELECT `accounts`.* FROM `accounts`
1584
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
1585
+ Completed 200 OK in 20ms (Views: 4.0ms | ActiveRecord: 0.8ms)
1586
+ Modulate::Document Load (0.7ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
1587
+ Connecting to database specified by database.yml
1588
+  (0.2ms) BEGIN
1589
+ SQL (90.7ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:34:33', 'test_account', '2013-05-30 16:34:33')
1590
+  (64.7ms) COMMIT
1591
+ Started GET "/accounts/84" for 127.0.0.1 at 2013-05-30 12:34:34 -0400
1592
+ Processing by AccountsController#show as HTML
1593
+ Parameters: {"id"=>"84"}
1594
+ Account Load (15.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 84 LIMIT 1
1595
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 84 AND `modulate_documents`.`attachable_type` = 'Account'
1596
+ Rendered accounts/_modulate_account_documents.html.haml (401.0ms)
1597
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 84 AND `modulate_documents`.`attachable_type` = 'Account'
1598
+ Rendered accounts/_modulate_attachments.html.haml (1074.1ms)
1599
+ Rendered accounts/show.html.erb within layouts/application (1143.0ms)
1600
+ Completed 200 OK in 1315ms (Views: 1213.7ms | ActiveRecord: 44.0ms)
1601
+ Started PUT "/accounts/84" for 127.0.0.1 at 2013-05-30 12:34:36 -0400
1602
+ Processing by AccountsController#update as HTML
1603
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fc11d28d760 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-10754-179df5e>>}]}, "button"=>"", "id"=>"84"}
1604
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 84 LIMIT 1
1605
+ Modulate::Document Load (1.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 84 AND `modulate_documents`.`attachable_type` = 'Account'
1606
+  (2.0ms) BEGIN
1607
+ Modulate::Document Exists (0.5ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '84-1369931676-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1608
+ SQL (0.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (84, 'Account', NULL, '84-1369931676-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:34:36', 'test.txt', '84-1369931676-test.txt', 'Test', 0, '2013-05-30 16:34:36')
1609
+  (0.6ms) COMMIT
1610
+ Redirected to http://www.example.com/accounts
1611
+ Completed 302 Found in 2254ms (ActiveRecord: 5.4ms)
1612
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:34:38 -0400
1613
+ Processing by AccountsController#index as HTML
1614
+ Account Load (0.7ms) SELECT `accounts`.* FROM `accounts` 
1615
+ Rendered accounts/index.html.haml within layouts/application (1.5ms)
1616
+ Completed 200 OK in 21ms (Views: 6.8ms | ActiveRecord: 0.7ms)
1617
+  (0.2ms) BEGIN
1618
+ SQL (0.7ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:34:38', 'test_account', '2013-05-30 16:34:38')
1619
+  (1.5ms) COMMIT
1620
+ Started GET "/accounts/85" for 127.0.0.1 at 2013-05-30 12:34:38 -0400
1621
+ Processing by AccountsController#show as HTML
1622
+ Parameters: {"id"=>"85"}
1623
+ Account Load (0.8ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 85 LIMIT 1
1624
+  (0.8ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 85 AND `modulate_documents`.`attachable_type` = 'Account'
1625
+ Rendered accounts/_modulate_account_documents.html.haml (4.6ms)
1626
+ Modulate::Document Load (0.9ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 85 AND `modulate_documents`.`attachable_type` = 'Account'
1627
+ Rendered accounts/_modulate_attachments.html.haml (49.0ms)
1628
+ Rendered accounts/show.html.erb within layouts/application (49.6ms)
1629
+ Completed 200 OK in 57ms (Views: 51.4ms | ActiveRecord: 2.6ms)
1630
+ Started PUT "/accounts/85" for 127.0.0.1 at 2013-05-30 12:34:38 -0400
1631
+ Processing by AccountsController#update as HTML
1632
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fc11d33aed8 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-10754-1fdf8mo>>}]}, "button"=>"", "id"=>"85"}
1633
+ Account Load (0.7ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 85 LIMIT 1
1634
+ Modulate::Document Load (0.8ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 85 AND `modulate_documents`.`attachable_type` = 'Account'
1635
+  (0.1ms) BEGIN
1636
+ Modulate::Document Exists (2.1ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '85-1369931678-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1637
+ SQL (15.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (85, 'Account', NULL, '85-1369931678-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:34:38', 'test.txt', '85-1369931678-test.txt', 'Test', 0, '2013-05-30 16:34:38')
1638
+  (63.0ms) COMMIT
1639
+ Redirected to http://www.example.com/accounts
1640
+ Completed 302 Found in 245ms (ActiveRecord: 82.1ms)
1641
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:34:39 -0400
1642
+ Processing by AccountsController#index as HTML
1643
+ Account Load (3.1ms) SELECT `accounts`.* FROM `accounts`
1644
+ Rendered accounts/index.html.haml within layouts/application (0.2ms)
1645
+ Completed 200 OK in 20ms (Views: 4.2ms | ActiveRecord: 3.1ms)
1646
+ Modulate::Document Load (6.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
1647
+ Connecting to database specified by database.yml
1648
+  (0.2ms) BEGIN
1649
+ SQL (45.4ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:36:11', 'test_account', '2013-05-30 16:36:11')
1650
+  (38.7ms) COMMIT
1651
+ Started GET "/accounts/86" for 127.0.0.1 at 2013-05-30 12:36:12 -0400
1652
+ Processing by AccountsController#show as HTML
1653
+ Parameters: {"id"=>"86"}
1654
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 86 LIMIT 1
1655
+  (1.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 86 AND `modulate_documents`.`attachable_type` = 'Account'
1656
+ Rendered accounts/_modulate_account_documents.html.haml (452.1ms)
1657
+ Modulate::Document Load (0.7ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 86 AND `modulate_documents`.`attachable_type` = 'Account'
1658
+ Rendered accounts/_modulate_attachments.html.haml (1694.8ms)
1659
+ Rendered accounts/show.html.erb within layouts/application (1779.2ms)
1660
+ Completed 200 OK in 2025ms (Views: 1922.1ms | ActiveRecord: 8.8ms)
1661
+ Started PUT "/accounts/86" for 127.0.0.1 at 2013-05-30 12:36:16 -0400
1662
+ Processing by AccountsController#update as HTML
1663
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f9c21596a40 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-11041-epyvdm>>}]}, "button"=>"", "id"=>"86"}
1664
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 86 LIMIT 1
1665
+ Modulate::Document Load (1.9ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 86 AND `modulate_documents`.`attachable_type` = 'Account'
1666
+  (0.8ms) BEGIN
1667
+ Modulate::Document Exists (1.5ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '86-1369931776-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1668
+ SQL (0.6ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (86, 'Account', NULL, '86-1369931776-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:36:16', 'test.txt', '86-1369931776-test.txt', 'Test', 0, '2013-05-30 16:36:16')
1669
+  (1.2ms) COMMIT
1670
+ Redirected to http://www.example.com/accounts
1671
+ Completed 302 Found in 628ms (ActiveRecord: 6.4ms)
1672
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:36:16 -0400
1673
+ Processing by AccountsController#index as HTML
1674
+ Account Load (0.6ms) SELECT `accounts`.* FROM `accounts` 
1675
+ Rendered accounts/index.html.haml within layouts/application (7.5ms)
1676
+ Completed 200 OK in 26ms (Views: 13.3ms | ActiveRecord: 0.6ms)
1677
+  (1.8ms) BEGIN
1678
+ SQL (0.7ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:36:16', 'test_account', '2013-05-30 16:36:16')
1679
+  (10.0ms) COMMIT
1680
+ Started GET "/accounts/87" for 127.0.0.1 at 2013-05-30 12:36:16 -0400
1681
+ Processing by AccountsController#show as HTML
1682
+ Parameters: {"id"=>"87"}
1683
+ Account Load (2.7ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 87 LIMIT 1
1684
+  (0.9ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 87 AND `modulate_documents`.`attachable_type` = 'Account'
1685
+ Rendered accounts/_modulate_account_documents.html.haml (3.7ms)
1686
+ Modulate::Document Load (3.2ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 87 AND `modulate_documents`.`attachable_type` = 'Account'
1687
+ Rendered accounts/_modulate_attachments.html.haml (123.6ms)
1688
+ Rendered accounts/show.html.erb within layouts/application (189.3ms)
1689
+ Completed 200 OK in 200ms (Views: 191.4ms | ActiveRecord: 6.8ms)
1690
+ Started PUT "/accounts/87" for 127.0.0.1 at 2013-05-30 12:36:17 -0400
1691
+ Processing by AccountsController#update as HTML
1692
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f9c23b7a3d8 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-11041-1y34nol>>}]}, "button"=>"", "id"=>"87"}
1693
+ Account Load (0.6ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 87 LIMIT 1
1694
+ Modulate::Document Load (2.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 87 AND `modulate_documents`.`attachable_type` = 'Account'
1695
+  (1.5ms) BEGIN
1696
+ Modulate::Document Exists (0.4ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '87-1369931777-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1697
+ SQL (0.7ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (87, 'Account', NULL, '87-1369931777-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:36:17', 'test.txt', '87-1369931777-test.txt', 'Test', 0, '2013-05-30 16:36:17')
1698
+  (19.7ms) COMMIT
1699
+ Redirected to http://www.example.com/accounts
1700
+ Completed 302 Found in 303ms (ActiveRecord: 25.6ms)
1701
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:36:17 -0400
1702
+ Processing by AccountsController#index as HTML
1703
+ Account Load (1.1ms) SELECT `accounts`.* FROM `accounts`
1704
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
1705
+ Completed 200 OK in 39ms (Views: 3.7ms | ActiveRecord: 1.1ms)
1706
+ Modulate::Document Load (7.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
1707
+ Connecting to database specified by database.yml
1708
+  (1.7ms) BEGIN
1709
+ SQL (24.4ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:38:43', 'test_account', '2013-05-30 16:38:43')
1710
+  (35.0ms) COMMIT
1711
+ Started GET "/accounts/88" for 127.0.0.1 at 2013-05-30 12:38:44 -0400
1712
+ Processing by AccountsController#show as HTML
1713
+ Parameters: {"id"=>"88"}
1714
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 88 LIMIT 1
1715
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 88 AND `modulate_documents`.`attachable_type` = 'Account'
1716
+ Rendered accounts/_modulate_account_documents.html.haml (196.5ms)
1717
+ Modulate::Document Load (3.8ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 88 AND `modulate_documents`.`attachable_type` = 'Account'
1718
+ Rendered accounts/_modulate_attachments.html.haml (1320.5ms)
1719
+ Rendered accounts/show.html.erb within layouts/application (1378.4ms)
1720
+ Completed 200 OK in 1738ms (Views: 1676.9ms | ActiveRecord: 11.9ms)
1721
+ Started PUT "/accounts/88" for 127.0.0.1 at 2013-05-30 12:38:47 -0400
1722
+ Processing by AccountsController#update as HTML
1723
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fee4af79c30 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-11419-1cv9fy5>>}]}, "button"=>"", "id"=>"88"}
1724
+ Account Load (1.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 88 LIMIT 1
1725
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 88 AND `modulate_documents`.`attachable_type` = 'Account'
1726
+  (0.2ms) BEGIN
1727
+ Modulate::Document Exists (39.5ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '88-1369931927-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1728
+ SQL (6.8ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (88, 'Account', NULL, '88-1369931927-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:38:47', 'test.txt', '88-1369931927-test.txt', 'Test', 0, '2013-05-30 16:38:47')
1729
+  (0.5ms) COMMIT
1730
+ Redirected to http://www.example.com/accounts
1731
+ Completed 302 Found in 1517ms (ActiveRecord: 48.7ms)
1732
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:38:48 -0400
1733
+ Processing by AccountsController#index as HTML
1734
+ Account Load (0.7ms) SELECT `accounts`.* FROM `accounts` 
1735
+ Rendered accounts/index.html.haml within layouts/application (1.4ms)
1736
+ Completed 200 OK in 162ms (Views: 31.6ms | ActiveRecord: 0.7ms)
1737
+  (10.1ms) BEGIN
1738
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:38:49', 'test_account', '2013-05-30 16:38:49')
1739
+  (38.4ms) COMMIT
1740
+ Started GET "/accounts/89" for 127.0.0.1 at 2013-05-30 12:38:49 -0400
1741
+ Processing by AccountsController#show as HTML
1742
+ Parameters: {"id"=>"89"}
1743
+ Account Load (5.9ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 89 LIMIT 1
1744
+  (1.7ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 89 AND `modulate_documents`.`attachable_type` = 'Account'
1745
+ Rendered accounts/_modulate_account_documents.html.haml (5.8ms)
1746
+ Modulate::Document Load (2.2ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 89 AND `modulate_documents`.`attachable_type` = 'Account'
1747
+ Rendered accounts/_modulate_attachments.html.haml (138.4ms)
1748
+ Rendered accounts/show.html.erb within layouts/application (139.1ms)
1749
+ Completed 200 OK in 204ms (Views: 180.8ms | ActiveRecord: 9.9ms)
1750
+ Started PUT "/accounts/89" for 127.0.0.1 at 2013-05-30 12:38:49 -0400
1751
+ Processing by AccountsController#update as HTML
1752
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fee4d18f8b0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-11419-dfgx78>>}]}, "button"=>"", "id"=>"89"}
1753
+ Account Load (5.7ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 89 LIMIT 1
1754
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 89 AND `modulate_documents`.`attachable_type` = 'Account'
1755
+  (0.1ms) BEGIN
1756
+ Modulate::Document Exists (0.9ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '89-1369931929-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1757
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (89, 'Account', NULL, '89-1369931929-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:38:49', 'test.txt', '89-1369931929-test.txt', 'Test', 0, '2013-05-30 16:38:49')
1758
+  (33.1ms) COMMIT
1759
+ Redirected to http://www.example.com/accounts
1760
+ Completed 302 Found in 410ms (ActiveRecord: 40.6ms)
1761
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:38:49 -0400
1762
+ Processing by AccountsController#index as HTML
1763
+ Account Load (1.5ms) SELECT `accounts`.* FROM `accounts`
1764
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
1765
+ Completed 200 OK in 19ms (Views: 3.8ms | ActiveRecord: 1.5ms)
1766
+ Modulate::Document Load (0.8ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
1767
+ Connecting to database specified by database.yml
1768
+  (0.4ms) BEGIN
1769
+ SQL (278.5ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:43:05', 'test_account', '2013-05-30 16:43:05')
1770
+  (111.5ms) COMMIT
1771
+ Started GET "/accounts/90" for 127.0.0.1 at 2013-05-30 12:43:05 -0400
1772
+ Processing by AccountsController#show as HTML
1773
+ Parameters: {"id"=>"90"}
1774
+ Account Load (0.6ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 90 LIMIT 1
1775
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 90 AND `modulate_documents`.`attachable_type` = 'Account'
1776
+ Rendered accounts/_modulate_account_documents.html.haml (471.5ms)
1777
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 90 AND `modulate_documents`.`attachable_type` = 'Account'
1778
+ Rendered accounts/_modulate_attachments.html.haml (1833.8ms)
1779
+ Rendered accounts/show.html.erb within layouts/application (2035.5ms)
1780
+ Completed 200 OK in 2588ms (Views: 2516.0ms | ActiveRecord: 18.4ms)
1781
+ Started PUT "/accounts/90" for 127.0.0.1 at 2013-05-30 12:43:09 -0400
1782
+ Processing by AccountsController#update as HTML
1783
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe4917e8830 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-11806-b3895f>>}]}, "button"=>"", "id"=>"90"}
1784
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 90 LIMIT 1
1785
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 90 AND `modulate_documents`.`attachable_type` = 'Account'
1786
+  (0.2ms) BEGIN
1787
+ Modulate::Document Exists (3.7ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '90-1369932189-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1788
+ SQL (0.8ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (90, 'Account', NULL, '90-1369932189-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:43:09', 'test.txt', '90-1369932189-test.txt', 'Test', 0, '2013-05-30 16:43:09')
1789
+  (0.9ms) COMMIT
1790
+ Redirected to http://www.example.com/accounts
1791
+ Completed 302 Found in 901ms (ActiveRecord: 6.5ms)
1792
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:43:10 -0400
1793
+ Processing by AccountsController#index as HTML
1794
+ Account Load (0.6ms) SELECT `accounts`.* FROM `accounts` 
1795
+ Rendered accounts/index.html.haml within layouts/application (1.7ms)
1796
+ Completed 200 OK in 57ms (Views: 6.7ms | ActiveRecord: 0.6ms)
1797
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
1798
+  (0.5ms) BEGIN
1799
+ SQL (0.4ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:43:10', 'test_account', '2013-05-30 16:43:10')
1800
+  (0.4ms) COMMIT
1801
+ Started GET "/accounts/91" for 127.0.0.1 at 2013-05-30 12:43:10 -0400
1802
+ Processing by AccountsController#show as HTML
1803
+ Parameters: {"id"=>"91"}
1804
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 91 LIMIT 1
1805
+  (0.7ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 91 AND `modulate_documents`.`attachable_type` = 'Account'
1806
+ Rendered accounts/_modulate_account_documents.html.haml (12.7ms)
1807
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 91 AND `modulate_documents`.`attachable_type` = 'Account'
1808
+ Rendered accounts/_modulate_attachments.html.haml (128.2ms)
1809
+ Rendered accounts/show.html.erb within layouts/application (128.7ms)
1810
+ Completed 200 OK in 144ms (Views: 139.7ms | ActiveRecord: 1.6ms)
1811
+ Started PUT "/accounts/91" for 127.0.0.1 at 2013-05-30 12:43:10 -0400
1812
+ Processing by AccountsController#update as HTML
1813
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe495481260 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-11806-1tpkw3o>>}]}, "button"=>"", "id"=>"91"}
1814
+ Account Load (11.7ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 91 LIMIT 1
1815
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 91 AND `modulate_documents`.`attachable_type` = 'Account'
1816
+  (0.1ms) BEGIN
1817
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '91-1369932190-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1818
+ SQL (0.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (91, 'Account', NULL, '91-1369932190-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:43:10', 'test.txt', '91-1369932190-test.txt', 'Test', 0, '2013-05-30 16:43:10')
1819
+  (22.2ms) COMMIT
1820
+ Redirected to http://www.example.com/accounts
1821
+ Completed 302 Found in 307ms (ActiveRecord: 35.1ms)
1822
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:43:10 -0400
1823
+ Processing by AccountsController#index as HTML
1824
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` 
1825
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
1826
+ Completed 200 OK in 18ms (Views: 3.7ms | ActiveRecord: 0.5ms)
1827
+ Connecting to database specified by database.yml
1828
+  (0.1ms) BEGIN
1829
+ SQL (75.7ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:43:57', 'test_account', '2013-05-30 16:43:57')
1830
+  (24.1ms) COMMIT
1831
+ Started GET "/accounts/92" for 127.0.0.1 at 2013-05-30 12:43:58 -0400
1832
+ Processing by AccountsController#show as HTML
1833
+ Parameters: {"id"=>"92"}
1834
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 92 LIMIT 1
1835
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 92 AND `modulate_documents`.`attachable_type` = 'Account'
1836
+ Rendered accounts/_modulate_account_documents.html.haml (88.6ms)
1837
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 92 AND `modulate_documents`.`attachable_type` = 'Account'
1838
+ Rendered accounts/_modulate_attachments.html.haml (539.5ms)
1839
+ Rendered accounts/show.html.erb within layouts/application (627.0ms)
1840
+ Completed 200 OK in 704ms (Views: 677.4ms | ActiveRecord: 5.4ms)
1841
+  (0.1ms) BEGIN
1842
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:43:59', 'test_account', '2013-05-30 16:43:59')
1843
+  (0.4ms) COMMIT
1844
+ Started GET "/accounts/93" for 127.0.0.1 at 2013-05-30 12:43:59 -0400
1845
+ Processing by AccountsController#show as HTML
1846
+ Parameters: {"id"=>"93"}
1847
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 93 LIMIT 1
1848
+  (0.5ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 93 AND `modulate_documents`.`attachable_type` = 'Account'
1849
+ Rendered accounts/_modulate_account_documents.html.haml (3.7ms)
1850
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 93 AND `modulate_documents`.`attachable_type` = 'Account'
1851
+ Rendered accounts/_modulate_attachments.html.haml (104.5ms)
1852
+ Rendered accounts/show.html.erb within layouts/application (105.0ms)
1853
+ Completed 200 OK in 111ms (Views: 107.8ms | ActiveRecord: 1.1ms)
1854
+ Started PUT "/accounts/93" for 127.0.0.1 at 2013-05-30 12:43:59 -0400
1855
+ Processing by AccountsController#update as HTML
1856
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f8e37d988d0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-12093-1v0ke1k>>}]}, "button"=>"", "id"=>"93"}
1857
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 93 LIMIT 1
1858
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 93 AND `modulate_documents`.`attachable_type` = 'Account'
1859
+  (0.1ms) BEGIN
1860
+ Modulate::Document Exists (0.4ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '93-1369932239-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1861
+ SQL (0.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (93, 'Account', NULL, '93-1369932239-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:43:59', 'test.txt', '93-1369932239-test.txt', 'Test', 0, '2013-05-30 16:43:59')
1862
+  (0.5ms) COMMIT
1863
+ Redirected to http://www.example.com/accounts
1864
+ Completed 302 Found in 347ms (ActiveRecord: 2.2ms)
1865
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:43:59 -0400
1866
+ Processing by AccountsController#index as HTML
1867
+ Account Load (1.4ms) SELECT `accounts`.* FROM `accounts` 
1868
+ Rendered accounts/index.html.haml within layouts/application (60.3ms)
1869
+ Completed 200 OK in 82ms (Views: 64.9ms | ActiveRecord: 1.4ms)
1870
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
1871
+  (0.1ms) BEGIN
1872
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:43:59', 'test_account', '2013-05-30 16:43:59')
1873
+  (0.4ms) COMMIT
1874
+ Started GET "/accounts/94" for 127.0.0.1 at 2013-05-30 12:43:59 -0400
1875
+ Processing by AccountsController#show as HTML
1876
+ Parameters: {"id"=>"94"}
1877
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 94 LIMIT 1
1878
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 94 AND `modulate_documents`.`attachable_type` = 'Account'
1879
+ Rendered accounts/_modulate_account_documents.html.haml (3.1ms)
1880
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 94 AND `modulate_documents`.`attachable_type` = 'Account'
1881
+ Rendered accounts/_modulate_attachments.html.haml (50.7ms)
1882
+ Rendered accounts/show.html.erb within layouts/application (51.7ms)
1883
+ Completed 200 OK in 58ms (Views: 54.6ms | ActiveRecord: 1.2ms)
1884
+ Started PUT "/accounts/94" for 127.0.0.1 at 2013-05-30 12:44:00 -0400
1885
+ Processing by AccountsController#update as HTML
1886
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f8e33e5ae98 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-12093-rsgrqb>>}]}, "button"=>"", "id"=>"94"}
1887
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 94 LIMIT 1
1888
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 94 AND `modulate_documents`.`attachable_type` = 'Account'
1889
+  (0.1ms) BEGIN
1890
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '94-1369932240-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1891
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (94, 'Account', NULL, '94-1369932240-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:44:00', 'test.txt', '94-1369932240-test.txt', 'Test', 0, '2013-05-30 16:44:00')
1892
+  (0.5ms) COMMIT
1893
+ Redirected to http://www.example.com/accounts
1894
+ Completed 302 Found in 38ms (ActiveRecord: 2.0ms)
1895
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:44:00 -0400
1896
+ Processing by AccountsController#index as HTML
1897
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
1898
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
1899
+ Completed 200 OK in 18ms (Views: 3.0ms | ActiveRecord: 0.4ms)
1900
+ Connecting to database specified by database.yml
1901
+  (0.4ms) BEGIN
1902
+ SQL (3.0ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:45:23', 'test_account', '2013-05-30 16:45:23')
1903
+  (0.4ms) COMMIT
1904
+ Started GET "/accounts/95" for 127.0.0.1 at 2013-05-30 12:45:23 -0400
1905
+ Processing by AccountsController#show as HTML
1906
+ Parameters: {"id"=>"95"}
1907
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 95 LIMIT 1
1908
+  (0.2ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 95 AND `modulate_documents`.`attachable_type` = 'Account'
1909
+ Rendered accounts/_modulate_account_documents.html.haml (121.9ms)
1910
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 95 AND `modulate_documents`.`attachable_type` = 'Account'
1911
+ Rendered accounts/_modulate_attachments.html.haml (331.7ms)
1912
+ Rendered accounts/show.html.erb within layouts/application (342.7ms)
1913
+ Completed 200 OK in 374ms (Views: 362.8ms | ActiveRecord: 3.3ms)
1914
+  (0.1ms) BEGIN
1915
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:45:23', 'test_account', '2013-05-30 16:45:23')
1916
+  (0.3ms) COMMIT
1917
+ Started GET "/accounts/96" for 127.0.0.1 at 2013-05-30 12:45:23 -0400
1918
+ Processing by AccountsController#show as HTML
1919
+ Parameters: {"id"=>"96"}
1920
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 96 LIMIT 1
1921
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 96 AND `modulate_documents`.`attachable_type` = 'Account'
1922
+ Rendered accounts/_modulate_account_documents.html.haml (2.8ms)
1923
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 96 AND `modulate_documents`.`attachable_type` = 'Account'
1924
+ Rendered accounts/_modulate_attachments.html.haml (51.3ms)
1925
+ Rendered accounts/show.html.erb within layouts/application (51.8ms)
1926
+ Completed 200 OK in 56ms (Views: 53.7ms | ActiveRecord: 1.0ms)
1927
+ Started PUT "/accounts/96" for 127.0.0.1 at 2013-05-30 12:45:24 -0400
1928
+ Processing by AccountsController#update as HTML
1929
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007ff1ba0890e0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-12358-12jy8ov>>}]}, "button"=>"", "id"=>"96"}
1930
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 96 LIMIT 1
1931
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 96 AND `modulate_documents`.`attachable_type` = 'Account'
1932
+  (0.1ms) BEGIN
1933
+ Modulate::Document Exists (0.6ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '96-1369932324-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1934
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (96, 'Account', NULL, '96-1369932324-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:45:24', 'test.txt', '96-1369932324-test.txt', 'Test', 0, '2013-05-30 16:45:24')
1935
+  (18.7ms) COMMIT
1936
+ Redirected to http://www.example.com/accounts
1937
+ Completed 302 Found in 214ms (ActiveRecord: 20.3ms)
1938
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:45:24 -0400
1939
+ Processing by AccountsController#index as HTML
1940
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
1941
+ Rendered accounts/index.html.haml within layouts/application (1.3ms)
1942
+ Completed 200 OK in 19ms (Views: 5.3ms | ActiveRecord: 0.4ms)
1943
+ Modulate::Document Load (0.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
1944
+  (0.1ms) BEGIN
1945
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:45:24', 'test_account', '2013-05-30 16:45:24')
1946
+  (0.4ms) COMMIT
1947
+ Started GET "/accounts/97" for 127.0.0.1 at 2013-05-30 12:45:24 -0400
1948
+ Processing by AccountsController#show as HTML
1949
+ Parameters: {"id"=>"97"}
1950
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 97 LIMIT 1
1951
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 97 AND `modulate_documents`.`attachable_type` = 'Account'
1952
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
1953
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 97 AND `modulate_documents`.`attachable_type` = 'Account'
1954
+ Rendered accounts/_modulate_attachments.html.haml (42.0ms)
1955
+ Rendered accounts/show.html.erb within layouts/application (42.4ms)
1956
+ Completed 200 OK in 47ms (Views: 44.6ms | ActiveRecord: 0.9ms)
1957
+ Started PUT "/accounts/97" for 127.0.0.1 at 2013-05-30 12:45:24 -0400
1958
+ Processing by AccountsController#update as HTML
1959
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007ff1bd8371b8 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-12358-1dcdehg>>}]}, "button"=>"", "id"=>"97"}
1960
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 97 LIMIT 1
1961
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 97 AND `modulate_documents`.`attachable_type` = 'Account'
1962
+  (0.1ms) BEGIN
1963
+ Modulate::Document Exists (0.8ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '97-1369932324-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1964
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (97, 'Account', NULL, '97-1369932324-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:45:24', 'test.txt', '97-1369932324-test.txt', 'Test', 0, '2013-05-30 16:45:24')
1965
+  (0.4ms) COMMIT
1966
+ Redirected to http://www.example.com/accounts
1967
+ Completed 302 Found in 35ms (ActiveRecord: 2.1ms)
1968
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:45:24 -0400
1969
+ Processing by AccountsController#index as HTML
1970
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
1971
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
1972
+ Completed 200 OK in 16ms (Views: 3.0ms | ActiveRecord: 0.4ms)
1973
+ Connecting to database specified by database.yml
1974
+  (0.1ms) BEGIN
1975
+ SQL (9.6ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:47:21', 'test_account', '2013-05-30 16:47:21')
1976
+  (0.4ms) COMMIT
1977
+ Started GET "/accounts/98" for 127.0.0.1 at 2013-05-30 12:47:21 -0400
1978
+ Processing by AccountsController#show as HTML
1979
+ Parameters: {"id"=>"98"}
1980
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 98 LIMIT 1
1981
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 98 AND `modulate_documents`.`attachable_type` = 'Account'
1982
+ Rendered accounts/_modulate_account_documents.html.haml (66.8ms)
1983
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 98 AND `modulate_documents`.`attachable_type` = 'Account'
1984
+ Rendered accounts/_modulate_attachments.html.haml (325.4ms)
1985
+ Rendered accounts/show.html.erb within layouts/application (337.7ms)
1986
+ Completed 200 OK in 427ms (Views: 415.4ms | ActiveRecord: 4.2ms)
1987
+ Started PUT "/accounts/98" for 127.0.0.1 at 2013-05-30 12:47:22 -0400
1988
+ Processing by AccountsController#update as HTML
1989
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fa442cc7a70 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-12630-15j666j>>}]}, "button"=>"", "id"=>"98"}
1990
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 98 LIMIT 1
1991
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 98 AND `modulate_documents`.`attachable_type` = 'Account'
1992
+  (0.1ms) BEGIN
1993
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '98-1369932442-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
1994
+ SQL (0.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (98, 'Account', NULL, '98-1369932442-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:47:22', 'test.txt', '98-1369932442-test.txt', 'Test', 0, '2013-05-30 16:47:22')
1995
+  (0.6ms) COMMIT
1996
+ Redirected to http://www.example.com/accounts
1997
+ Completed 302 Found in 258ms (ActiveRecord: 2.1ms)
1998
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:47:22 -0400
1999
+ Processing by AccountsController#index as HTML
2000
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` 
2001
+ Rendered accounts/index.html.haml within layouts/application (1.3ms)
2002
+ Completed 200 OK in 19ms (Views: 5.1ms | ActiveRecord: 0.5ms)
2003
+  (0.2ms) BEGIN
2004
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:47:22', 'test_account', '2013-05-30 16:47:22')
2005
+  (0.4ms) COMMIT
2006
+ Started GET "/accounts/99" for 127.0.0.1 at 2013-05-30 12:47:22 -0400
2007
+ Processing by AccountsController#show as HTML
2008
+ Parameters: {"id"=>"99"}
2009
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 99 LIMIT 1
2010
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 99 AND `modulate_documents`.`attachable_type` = 'Account'
2011
+ Rendered accounts/_modulate_account_documents.html.haml (3.2ms)
2012
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 99 AND `modulate_documents`.`attachable_type` = 'Account'
2013
+ Rendered accounts/_modulate_attachments.html.haml (41.6ms)
2014
+ Rendered accounts/show.html.erb within layouts/application (42.1ms)
2015
+ Completed 200 OK in 47ms (Views: 44.0ms | ActiveRecord: 1.0ms)
2016
+ Started PUT "/accounts/99" for 127.0.0.1 at 2013-05-30 12:47:22 -0400
2017
+ Processing by AccountsController#update as HTML
2018
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fa442ece490 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-12630-1bwrtpd>>}]}, "button"=>"", "id"=>"99"}
2019
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 99 LIMIT 1
2020
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 99 AND `modulate_documents`.`attachable_type` = 'Account'
2021
+  (0.1ms) BEGIN
2022
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '99-1369932442-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2023
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (99, 'Account', NULL, '99-1369932442-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:47:22', 'test.txt', '99-1369932442-test.txt', 'Test', 0, '2013-05-30 16:47:22')
2024
+  (0.7ms) COMMIT
2025
+ Redirected to http://www.example.com/accounts
2026
+ Completed 302 Found in 36ms (ActiveRecord: 2.0ms)
2027
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:47:22 -0400
2028
+ Processing by AccountsController#index as HTML
2029
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts`
2030
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
2031
+ Completed 200 OK in 18ms (Views: 3.0ms | ActiveRecord: 0.5ms)
2032
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
2033
+  (0.1ms) BEGIN
2034
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:47:22', 'test_account', '2013-05-30 16:47:22')
2035
+  (0.4ms) COMMIT
2036
+ Started GET "/accounts/100" for 127.0.0.1 at 2013-05-30 12:47:22 -0400
2037
+ Processing by AccountsController#show as HTML
2038
+ Parameters: {"id"=>"100"}
2039
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 100 LIMIT 1
2040
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 100 AND `modulate_documents`.`attachable_type` = 'Account'
2041
+ Rendered accounts/_modulate_account_documents.html.haml (4.0ms)
2042
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 100 AND `modulate_documents`.`attachable_type` = 'Account'
2043
+ Rendered accounts/_modulate_attachments.html.haml (41.9ms)
2044
+ Rendered accounts/show.html.erb within layouts/application (42.4ms)
2045
+ Completed 200 OK in 47ms (Views: 44.1ms | ActiveRecord: 1.3ms)
2046
+ Connecting to database specified by database.yml
2047
+  (0.3ms) BEGIN
2048
+ SQL (6.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:48:04', 'test_account', '2013-05-30 16:48:04')
2049
+  (0.5ms) COMMIT
2050
+ Started GET "/accounts/101" for 127.0.0.1 at 2013-05-30 12:48:04 -0400
2051
+ Processing by AccountsController#show as HTML
2052
+ Parameters: {"id"=>"101"}
2053
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 101 LIMIT 1
2054
+  (0.7ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 101 AND `modulate_documents`.`attachable_type` = 'Account'
2055
+ Rendered accounts/_modulate_account_documents.html.haml (74.5ms)
2056
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 101 AND `modulate_documents`.`attachable_type` = 'Account'
2057
+ Rendered accounts/_modulate_attachments.html.haml (410.4ms)
2058
+ Rendered accounts/show.html.erb within layouts/application (423.1ms)
2059
+ Completed 200 OK in 523ms (Views: 510.7ms | ActiveRecord: 4.5ms)
2060
+ Started PUT "/accounts/101" for 127.0.0.1 at 2013-05-30 12:48:05 -0400
2061
+ Processing by AccountsController#update as HTML
2062
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f9ef1e4d148 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-12879-l1qow8>>}]}, "button"=>"", "id"=>"101"}
2063
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 101 LIMIT 1
2064
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 101 AND `modulate_documents`.`attachable_type` = 'Account'
2065
+  (0.1ms) BEGIN
2066
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '101-1369932485-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2067
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (101, 'Account', NULL, '101-1369932485-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:48:05', 'test.txt', '101-1369932485-test.txt', 'Test', 0, '2013-05-30 16:48:05')
2068
+  (0.5ms) COMMIT
2069
+ Redirected to http://www.example.com/accounts
2070
+ Completed 302 Found in 268ms (ActiveRecord: 1.8ms)
2071
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:48:05 -0400
2072
+ Processing by AccountsController#index as HTML
2073
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
2074
+ Rendered accounts/index.html.haml within layouts/application (1.6ms)
2075
+ Completed 200 OK in 25ms (Views: 6.2ms | ActiveRecord: 0.4ms)
2076
+  (0.1ms) BEGIN
2077
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:48:05', 'test_account', '2013-05-30 16:48:05')
2078
+  (0.3ms) COMMIT
2079
+ Started GET "/accounts/102" for 127.0.0.1 at 2013-05-30 12:48:05 -0400
2080
+ Processing by AccountsController#show as HTML
2081
+ Parameters: {"id"=>"102"}
2082
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 102 LIMIT 1
2083
+  (0.6ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 102 AND `modulate_documents`.`attachable_type` = 'Account'
2084
+ Rendered accounts/_modulate_account_documents.html.haml (3.5ms)
2085
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 102 AND `modulate_documents`.`attachable_type` = 'Account'
2086
+ Rendered accounts/_modulate_attachments.html.haml (44.9ms)
2087
+ Rendered accounts/show.html.erb within layouts/application (45.4ms)
2088
+ Completed 200 OK in 50ms (Views: 47.1ms | ActiveRecord: 1.2ms)
2089
+ Started PUT "/accounts/102" for 127.0.0.1 at 2013-05-30 12:48:05 -0400
2090
+ Processing by AccountsController#update as HTML
2091
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f9ef4e6a498 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-12879-zoi8xn>>}]}, "button"=>"", "id"=>"102"}
2092
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 102 LIMIT 1
2093
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 102 AND `modulate_documents`.`attachable_type` = 'Account'
2094
+  (0.1ms) BEGIN
2095
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '102-1369932486-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2096
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (102, 'Account', NULL, '102-1369932486-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:48:06', 'test.txt', '102-1369932486-test.txt', 'Test', 0, '2013-05-30 16:48:06')
2097
+  (0.4ms) COMMIT
2098
+ Redirected to http://www.example.com/accounts
2099
+ Completed 302 Found in 36ms (ActiveRecord: 1.8ms)
2100
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:48:06 -0400
2101
+ Processing by AccountsController#index as HTML
2102
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
2103
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
2104
+ Completed 200 OK in 17ms (Views: 3.4ms | ActiveRecord: 0.4ms)
2105
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
2106
+  (0.1ms) BEGIN
2107
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:48:06', 'test_account', '2013-05-30 16:48:06')
2108
+  (0.4ms) COMMIT
2109
+ Started GET "/accounts/103" for 127.0.0.1 at 2013-05-30 12:48:06 -0400
2110
+ Processing by AccountsController#show as HTML
2111
+ Parameters: {"id"=>"103"}
2112
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 103 LIMIT 1
2113
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 103 AND `modulate_documents`.`attachable_type` = 'Account'
2114
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
2115
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 103 AND `modulate_documents`.`attachable_type` = 'Account'
2116
+ Rendered accounts/_modulate_attachments.html.haml (47.6ms)
2117
+ Rendered accounts/show.html.erb within layouts/application (48.3ms)
2118
+ Completed 200 OK in 55ms (Views: 51.8ms | ActiveRecord: 1.0ms)
2119
+ Connecting to database specified by database.yml
2120
+  (0.2ms) BEGIN
2121
+ SQL (2.4ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:48:35', 'test_account', '2013-05-30 16:48:35')
2122
+  (0.4ms) COMMIT
2123
+ Started GET "/accounts/104" for 127.0.0.1 at 2013-05-30 12:48:35 -0400
2124
+ Processing by AccountsController#show as HTML
2125
+ Parameters: {"id"=>"104"}
2126
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 104 LIMIT 1
2127
+  (0.2ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 104 AND `modulate_documents`.`attachable_type` = 'Account'
2128
+ Rendered accounts/_modulate_account_documents.html.haml (56.9ms)
2129
+ Modulate::Document Load (0.7ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 104 AND `modulate_documents`.`attachable_type` = 'Account'
2130
+ Rendered accounts/_modulate_attachments.html.haml (356.1ms)
2131
+ Rendered accounts/show.html.erb within layouts/application (365.6ms)
2132
+ Completed 200 OK in 452ms (Views: 441.4ms | ActiveRecord: 3.7ms)
2133
+ Started PUT "/accounts/104" for 127.0.0.1 at 2013-05-30 12:48:36 -0400
2134
+ Processing by AccountsController#update as HTML
2135
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f9272e18190 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-13126-3zer4u>>}]}, "button"=>"", "id"=>"104"}
2136
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 104 LIMIT 1
2137
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 104 AND `modulate_documents`.`attachable_type` = 'Account'
2138
+  (0.1ms) BEGIN
2139
+ Modulate::Document Exists (0.4ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '104-1369932516-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2140
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (104, 'Account', NULL, '104-1369932516-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:48:36', 'test.txt', '104-1369932516-test.txt', 'Test', 0, '2013-05-30 16:48:36')
2141
+  (0.4ms) COMMIT
2142
+ Redirected to http://www.example.com/accounts
2143
+ Completed 302 Found in 251ms (ActiveRecord: 2.0ms)
2144
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:48:36 -0400
2145
+ Processing by AccountsController#index as HTML
2146
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` 
2147
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
2148
+ Completed 200 OK in 19ms (Views: 5.1ms | ActiveRecord: 0.5ms)
2149
+  (0.1ms) BEGIN
2150
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:48:36', 'test_account', '2013-05-30 16:48:36')
2151
+  (0.4ms) COMMIT
2152
+ Started GET "/accounts/105" for 127.0.0.1 at 2013-05-30 12:48:36 -0400
2153
+ Processing by AccountsController#show as HTML
2154
+ Parameters: {"id"=>"105"}
2155
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 105 LIMIT 1
2156
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 105 AND `modulate_documents`.`attachable_type` = 'Account'
2157
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
2158
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 105 AND `modulate_documents`.`attachable_type` = 'Account'
2159
+ Rendered accounts/_modulate_attachments.html.haml (40.7ms)
2160
+ Rendered accounts/show.html.erb within layouts/application (41.1ms)
2161
+ Completed 200 OK in 46ms (Views: 43.0ms | ActiveRecord: 0.9ms)
2162
+ Started PUT "/accounts/105" for 127.0.0.1 at 2013-05-30 12:48:36 -0400
2163
+ Processing by AccountsController#update as HTML
2164
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f92737c2330 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-13126-ha890v>>}]}, "button"=>"", "id"=>"105"}
2165
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 105 LIMIT 1
2166
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 105 AND `modulate_documents`.`attachable_type` = 'Account'
2167
+  (0.1ms) BEGIN
2168
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '105-1369932516-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2169
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (105, 'Account', NULL, '105-1369932516-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:48:36', 'test.txt', '105-1369932516-test.txt', 'Test', 0, '2013-05-30 16:48:36')
2170
+  (0.4ms) COMMIT
2171
+ Redirected to http://www.example.com/accounts
2172
+ Completed 302 Found in 36ms (ActiveRecord: 1.7ms)
2173
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:48:36 -0400
2174
+ Processing by AccountsController#index as HTML
2175
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
2176
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
2177
+ Completed 200 OK in 16ms (Views: 2.9ms | ActiveRecord: 0.4ms)
2178
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
2179
+  (0.1ms) BEGIN
2180
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:48:36', 'test_account', '2013-05-30 16:48:36')
2181
+  (0.3ms) COMMIT
2182
+ Started GET "/accounts/106" for 127.0.0.1 at 2013-05-30 12:48:36 -0400
2183
+ Processing by AccountsController#show as HTML
2184
+ Parameters: {"id"=>"106"}
2185
+ Account Load (2.0ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 106 LIMIT 1
2186
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 106 AND `modulate_documents`.`attachable_type` = 'Account'
2187
+ Rendered accounts/_modulate_account_documents.html.haml (3.0ms)
2188
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 106 AND `modulate_documents`.`attachable_type` = 'Account'
2189
+ Rendered accounts/_modulate_attachments.html.haml (40.8ms)
2190
+ Rendered accounts/show.html.erb within layouts/application (41.3ms)
2191
+ Completed 200 OK in 49ms (Views: 43.6ms | ActiveRecord: 2.7ms)
2192
+ Connecting to database specified by database.yml
2193
+  (0.2ms) BEGIN
2194
+ SQL (14.0ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:50:08', 'test_account', '2013-05-30 16:50:08')
2195
+  (0.4ms) COMMIT
2196
+ Started GET "/accounts/107" for 127.0.0.1 at 2013-05-30 12:50:09 -0400
2197
+ Processing by AccountsController#show as HTML
2198
+ Parameters: {"id"=>"107"}
2199
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 107 LIMIT 1
2200
+  (0.2ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 107 AND `modulate_documents`.`attachable_type` = 'Account'
2201
+ Rendered accounts/_modulate_account_documents.html.haml (71.0ms)
2202
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 107 AND `modulate_documents`.`attachable_type` = 'Account'
2203
+ Rendered accounts/_modulate_attachments.html.haml (330.7ms)
2204
+ Rendered accounts/show.html.erb within layouts/application (343.6ms)
2205
+ Completed 200 OK in 434ms (Views: 424.1ms | ActiveRecord: 3.4ms)
2206
+ Started PUT "/accounts/107" for 127.0.0.1 at 2013-05-30 12:50:09 -0400
2207
+ Processing by AccountsController#update as HTML
2208
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fec4dd535e0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-13384-13njfln>>}]}, "button"=>"", "id"=>"107"}
2209
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 107 LIMIT 1
2210
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 107 AND `modulate_documents`.`attachable_type` = 'Account'
2211
+  (0.1ms) BEGIN
2212
+ Modulate::Document Exists (0.7ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '107-1369932609-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2213
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (107, 'Account', NULL, '107-1369932609-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:50:09', 'test.txt', '107-1369932609-test.txt', 'Test', 0, '2013-05-30 16:50:09')
2214
+  (0.4ms) COMMIT
2215
+ Redirected to http://www.example.com/accounts
2216
+ Completed 302 Found in 248ms (ActiveRecord: 2.1ms)
2217
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:50:10 -0400
2218
+ Processing by AccountsController#index as HTML
2219
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
2220
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
2221
+ Completed 200 OK in 19ms (Views: 4.9ms | ActiveRecord: 0.4ms)
2222
+  (0.2ms) BEGIN
2223
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:50:10', 'test_account', '2013-05-30 16:50:10')
2224
+  (0.4ms) COMMIT
2225
+ Started GET "/accounts/108" for 127.0.0.1 at 2013-05-30 12:50:10 -0400
2226
+ Processing by AccountsController#show as HTML
2227
+ Parameters: {"id"=>"108"}
2228
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 108 LIMIT 1
2229
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 108 AND `modulate_documents`.`attachable_type` = 'Account'
2230
+ Rendered accounts/_modulate_account_documents.html.haml (2.8ms)
2231
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 108 AND `modulate_documents`.`attachable_type` = 'Account'
2232
+ Rendered accounts/_modulate_attachments.html.haml (40.6ms)
2233
+ Rendered accounts/show.html.erb within layouts/application (41.1ms)
2234
+ Completed 200 OK in 46ms (Views: 43.1ms | ActiveRecord: 1.1ms)
2235
+ Started PUT "/accounts/108" for 127.0.0.1 at 2013-05-30 12:50:10 -0400
2236
+ Processing by AccountsController#update as HTML
2237
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fec4e39d838 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-13384-hcyk7z>>}]}, "button"=>"", "id"=>"108"}
2238
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 108 LIMIT 1
2239
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 108 AND `modulate_documents`.`attachable_type` = 'Account'
2240
+  (0.1ms) BEGIN
2241
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '108-1369932610-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2242
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (108, 'Account', NULL, '108-1369932610-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:50:10', 'test.txt', '108-1369932610-test.txt', 'Test', 0, '2013-05-30 16:50:10')
2243
+  (18.3ms) COMMIT
2244
+ Redirected to http://www.example.com/accounts
2245
+ Completed 302 Found in 55ms (ActiveRecord: 19.6ms)
2246
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:50:10 -0400
2247
+ Processing by AccountsController#index as HTML
2248
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts`
2249
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
2250
+ Completed 200 OK in 17ms (Views: 2.9ms | ActiveRecord: 0.5ms)
2251
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
2252
+  (0.1ms) BEGIN
2253
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:50:10', 'test_account', '2013-05-30 16:50:10')
2254
+  (0.4ms) COMMIT
2255
+ Started GET "/accounts/109" for 127.0.0.1 at 2013-05-30 12:50:10 -0400
2256
+ Processing by AccountsController#show as HTML
2257
+ Parameters: {"id"=>"109"}
2258
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 109 LIMIT 1
2259
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 109 AND `modulate_documents`.`attachable_type` = 'Account'
2260
+ Rendered accounts/_modulate_account_documents.html.haml (2.7ms)
2261
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 109 AND `modulate_documents`.`attachable_type` = 'Account'
2262
+ Rendered accounts/_modulate_attachments.html.haml (42.9ms)
2263
+ Rendered accounts/show.html.erb within layouts/application (43.4ms)
2264
+ Completed 200 OK in 48ms (Views: 45.4ms | ActiveRecord: 1.0ms)
2265
+ Connecting to database specified by database.yml
2266
+  (0.1ms) BEGIN
2267
+ SQL (3.1ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:50:45', 'test_account', '2013-05-30 16:50:45')
2268
+  (2.2ms) COMMIT
2269
+ Started GET "/accounts/110" for 127.0.0.1 at 2013-05-30 12:50:46 -0400
2270
+ Processing by AccountsController#show as HTML
2271
+ Parameters: {"id"=>"110"}
2272
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 110 LIMIT 1
2273
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 110 AND `modulate_documents`.`attachable_type` = 'Account'
2274
+ Rendered accounts/_modulate_account_documents.html.haml (75.8ms)
2275
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 110 AND `modulate_documents`.`attachable_type` = 'Account'
2276
+ Rendered accounts/_modulate_attachments.html.haml (340.8ms)
2277
+ Rendered accounts/show.html.erb within layouts/application (351.6ms)
2278
+ Completed 200 OK in 442ms (Views: 410.8ms | ActiveRecord: 21.7ms)
2279
+ Started PUT "/accounts/110" for 127.0.0.1 at 2013-05-30 12:50:46 -0400
2280
+ Processing by AccountsController#update as HTML
2281
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe9e6b3c8b0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-13634-1xvlzlt>>}]}, "button"=>"", "id"=>"110"}
2282
+ Account Load (1.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 110 LIMIT 1
2283
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 110 AND `modulate_documents`.`attachable_type` = 'Account'
2284
+  (0.3ms) BEGIN
2285
+ Modulate::Document Exists (1.1ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '110-1369932646-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2286
+ SQL (0.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (110, 'Account', NULL, '110-1369932646-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:50:46', 'test.txt', '110-1369932646-test.txt', 'Test', 0, '2013-05-30 16:50:46')
2287
+  (0.5ms) COMMIT
2288
+ Redirected to http://www.example.com/accounts
2289
+ Completed 302 Found in 288ms (ActiveRecord: 4.2ms)
2290
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:50:47 -0400
2291
+ Processing by AccountsController#index as HTML
2292
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
2293
+ Rendered accounts/index.html.haml within layouts/application (1.3ms)
2294
+ Completed 200 OK in 21ms (Views: 5.3ms | ActiveRecord: 0.4ms)
2295
+  (0.1ms) BEGIN
2296
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:50:47', 'test_account', '2013-05-30 16:50:47')
2297
+  (0.4ms) COMMIT
2298
+ Started GET "/accounts/111" for 127.0.0.1 at 2013-05-30 12:50:47 -0400
2299
+ Processing by AccountsController#show as HTML
2300
+ Parameters: {"id"=>"111"}
2301
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 111 LIMIT 1
2302
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 111 AND `modulate_documents`.`attachable_type` = 'Account'
2303
+ Rendered accounts/_modulate_account_documents.html.haml (3.1ms)
2304
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 111 AND `modulate_documents`.`attachable_type` = 'Account'
2305
+ Rendered accounts/_modulate_attachments.html.haml (40.2ms)
2306
+ Rendered accounts/show.html.erb within layouts/application (40.7ms)
2307
+ Completed 200 OK in 46ms (Views: 43.0ms | ActiveRecord: 1.0ms)
2308
+ Started PUT "/accounts/111" for 127.0.0.1 at 2013-05-30 12:50:47 -0400
2309
+ Processing by AccountsController#update as HTML
2310
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe9e6955e98 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-13634-1tvikru>>}]}, "button"=>"", "id"=>"111"}
2311
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 111 LIMIT 1
2312
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 111 AND `modulate_documents`.`attachable_type` = 'Account'
2313
+  (0.1ms) BEGIN
2314
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '111-1369932647-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2315
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (111, 'Account', NULL, '111-1369932647-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:50:47', 'test.txt', '111-1369932647-test.txt', 'Test', 0, '2013-05-30 16:50:47')
2316
+  (0.4ms) COMMIT
2317
+ Redirected to http://www.example.com/accounts
2318
+ Completed 302 Found in 34ms (ActiveRecord: 1.8ms)
2319
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:50:47 -0400
2320
+ Processing by AccountsController#index as HTML
2321
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
2322
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
2323
+ Completed 200 OK in 19ms (Views: 3.9ms | ActiveRecord: 0.4ms)
2324
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
2325
+  (0.1ms) BEGIN
2326
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:50:47', 'test_account', '2013-05-30 16:50:47')
2327
+  (49.5ms) COMMIT
2328
+ Started GET "/accounts/112" for 127.0.0.1 at 2013-05-30 12:50:47 -0400
2329
+ Processing by AccountsController#show as HTML
2330
+ Parameters: {"id"=>"112"}
2331
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 112 LIMIT 1
2332
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 112 AND `modulate_documents`.`attachable_type` = 'Account'
2333
+ Rendered accounts/_modulate_account_documents.html.haml (2.9ms)
2334
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 112 AND `modulate_documents`.`attachable_type` = 'Account'
2335
+ Rendered accounts/_modulate_attachments.html.haml (48.7ms)
2336
+ Rendered accounts/show.html.erb within layouts/application (49.2ms)
2337
+ Completed 200 OK in 54ms (Views: 51.2ms | ActiveRecord: 1.2ms)
2338
+ Started PUT "/accounts/112" for 127.0.0.1 at 2013-05-30 12:50:47 -0400
2339
+ Processing by AccountsController#update as HTML
2340
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe9e37c16e8 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-13634-1r30edl>>}]}, "button"=>"", "id"=>"112"}
2341
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 112 LIMIT 1
2342
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 112 AND `modulate_documents`.`attachable_type` = 'Account'
2343
+  (0.1ms) BEGIN
2344
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '112-1369932647-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2345
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (112, 'Account', NULL, '112-1369932647-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:50:47', 'test.txt', '112-1369932647-test.txt', 'Test', 0, '2013-05-30 16:50:47')
2346
+  (8.8ms) COMMIT
2347
+ Redirected to http://www.example.com/accounts
2348
+ Completed 302 Found in 49ms (ActiveRecord: 10.1ms)
2349
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:50:47 -0400
2350
+ Processing by AccountsController#index as HTML
2351
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
2352
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
2353
+ Completed 200 OK in 18ms (Views: 3.4ms | ActiveRecord: 0.4ms)
2354
+ Started GET "/accounts/112" for 127.0.0.1 at 2013-05-30 12:50:47 -0400
2355
+ Processing by AccountsController#show as HTML
2356
+ Parameters: {"id"=>"112"}
2357
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 112 LIMIT 1
2358
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 112 AND `modulate_documents`.`attachable_type` = 'Account'
2359
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 112 AND `modulate_documents`.`attachable_type` = 'Account'
2360
+ Rendered accounts/_modulate_account_documents.html.haml (9.3ms)
2361
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 112 AND `modulate_documents`.`attachable_type` = 'Account'
2362
+ Rendered accounts/_modulate_attachments.html.haml (327.0ms)
2363
+ Rendered accounts/show.html.erb within layouts/application (327.6ms)
2364
+ Completed 200 OK in 336ms (Views: 331.1ms | ActiveRecord: 1.0ms)
2365
+ Started GET "/modulate/documents/84" for 127.0.0.1 at 2013-05-30 12:50:47 -0400
2366
+ Processing by Modulate::DocumentsController#show as HTML
2367
+ Parameters: {"id"=>"84"}
2368
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 84 LIMIT 1
2369
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 112 LIMIT 1
2370
+ Completed 500 Internal Server Error in 9ms
2371
+ Connecting to database specified by database.yml
2372
+  (0.1ms) BEGIN
2373
+ SQL (2.4ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:51:32', 'test_account', '2013-05-30 16:51:32')
2374
+  (0.7ms) COMMIT
2375
+ Started GET "/accounts/113" for 127.0.0.1 at 2013-05-30 12:51:32 -0400
2376
+ Processing by AccountsController#show as HTML
2377
+ Parameters: {"id"=>"113"}
2378
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 113 LIMIT 1
2379
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 113 AND `modulate_documents`.`attachable_type` = 'Account'
2380
+ Rendered accounts/_modulate_account_documents.html.haml (59.4ms)
2381
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 113 AND `modulate_documents`.`attachable_type` = 'Account'
2382
+ Rendered accounts/_modulate_attachments.html.haml (297.3ms)
2383
+ Rendered accounts/show.html.erb within layouts/application (307.7ms)
2384
+ Completed 200 OK in 390ms (Views: 378.0ms | ActiveRecord: 3.8ms)
2385
+ Started PUT "/accounts/113" for 127.0.0.1 at 2013-05-30 12:51:33 -0400
2386
+ Processing by AccountsController#update as HTML
2387
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fedbe689e18 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-13896-d1zof4>>}]}, "button"=>"", "id"=>"113"}
2388
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 113 LIMIT 1
2389
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 113 AND `modulate_documents`.`attachable_type` = 'Account'
2390
+  (0.1ms) BEGIN
2391
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '113-1369932693-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2392
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (113, 'Account', NULL, '113-1369932693-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:51:33', 'test.txt', '113-1369932693-test.txt', 'Test', 0, '2013-05-30 16:51:33')
2393
+  (159.8ms) COMMIT
2394
+ Redirected to http://www.example.com/accounts
2395
+ Completed 302 Found in 415ms (ActiveRecord: 161.2ms)
2396
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:51:33 -0400
2397
+ Processing by AccountsController#index as HTML
2398
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
2399
+ Rendered accounts/index.html.haml within layouts/application (1.8ms)
2400
+ Completed 200 OK in 26ms (Views: 6.1ms | ActiveRecord: 0.4ms)
2401
+  (0.1ms) BEGIN
2402
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:51:33', 'test_account', '2013-05-30 16:51:33')
2403
+  (253.3ms) COMMIT
2404
+ Started GET "/accounts/114" for 127.0.0.1 at 2013-05-30 12:51:33 -0400
2405
+ Processing by AccountsController#show as HTML
2406
+ Parameters: {"id"=>"114"}
2407
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 114 LIMIT 1
2408
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 114 AND `modulate_documents`.`attachable_type` = 'Account'
2409
+ Rendered accounts/_modulate_account_documents.html.haml (3.1ms)
2410
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 114 AND `modulate_documents`.`attachable_type` = 'Account'
2411
+ Rendered accounts/_modulate_attachments.html.haml (38.9ms)
2412
+ Rendered accounts/show.html.erb within layouts/application (39.3ms)
2413
+ Completed 200 OK in 44ms (Views: 41.3ms | ActiveRecord: 1.0ms)
2414
+ Started PUT "/accounts/114" for 127.0.0.1 at 2013-05-30 12:51:34 -0400
2415
+ Processing by AccountsController#update as HTML
2416
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fedbe2ffa40 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-13896-12ucpkc>>}]}, "button"=>"", "id"=>"114"}
2417
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 114 LIMIT 1
2418
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 114 AND `modulate_documents`.`attachable_type` = 'Account'
2419
+  (0.1ms) BEGIN
2420
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '114-1369932694-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2421
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (114, 'Account', NULL, '114-1369932694-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:51:34', 'test.txt', '114-1369932694-test.txt', 'Test', 0, '2013-05-30 16:51:34')
2422
+  (21.6ms) COMMIT
2423
+ Redirected to http://www.example.com/accounts
2424
+ Completed 302 Found in 342ms (ActiveRecord: 23.0ms)
2425
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:51:34 -0400
2426
+ Processing by AccountsController#index as HTML
2427
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts`
2428
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
2429
+ Completed 200 OK in 20ms (Views: 3.0ms | ActiveRecord: 0.5ms)
2430
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
2431
+  (0.1ms) BEGIN
2432
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:51:34', 'test_account', '2013-05-30 16:51:34')
2433
+  (21.4ms) COMMIT
2434
+ Started GET "/accounts/115" for 127.0.0.1 at 2013-05-30 12:51:34 -0400
2435
+ Processing by AccountsController#show as HTML
2436
+ Parameters: {"id"=>"115"}
2437
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 115 LIMIT 1
2438
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 115 AND `modulate_documents`.`attachable_type` = 'Account'
2439
+ Rendered accounts/_modulate_account_documents.html.haml (3.3ms)
2440
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 115 AND `modulate_documents`.`attachable_type` = 'Account'
2441
+ Rendered accounts/_modulate_attachments.html.haml (41.4ms)
2442
+ Rendered accounts/show.html.erb within layouts/application (42.0ms)
2443
+ Completed 200 OK in 48ms (Views: 44.1ms | ActiveRecord: 1.3ms)
2444
+ Started PUT "/accounts/115" for 127.0.0.1 at 2013-05-30 12:51:34 -0400
2445
+ Processing by AccountsController#update as HTML
2446
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fedbd35d088 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-13896-xaxinh>>}]}, "button"=>"", "id"=>"115"}
2447
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 115 LIMIT 1
2448
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 115 AND `modulate_documents`.`attachable_type` = 'Account'
2449
+  (0.1ms) BEGIN
2450
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '115-1369932694-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
2451
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (115, 'Account', NULL, '115-1369932694-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:51:34', 'test.txt', '115-1369932694-test.txt', 'Test', 0, '2013-05-30 16:51:34')
2452
+  (4.1ms) COMMIT
2453
+ Redirected to http://www.example.com/accounts
2454
+ Completed 302 Found in 78ms (ActiveRecord: 5.6ms)
2455
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:51:34 -0400
2456
+ Processing by AccountsController#index as HTML
2457
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
2458
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
2459
+ Completed 200 OK in 18ms (Views: 3.4ms | ActiveRecord: 0.4ms)
2460
+ Started GET "/accounts/115" for 127.0.0.1 at 2013-05-30 12:51:34 -0400
2461
+ Processing by AccountsController#show as HTML
2462
+ Parameters: {"id"=>"115"}
2463
+ Account Load (0.7ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 115 LIMIT 1
2464
+  (0.6ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 115 AND `modulate_documents`.`attachable_type` = 'Account'
2465
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 115 AND `modulate_documents`.`attachable_type` = 'Account'
2466
+ Rendered accounts/_modulate_account_documents.html.haml (11.3ms)
2467
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 115 AND `modulate_documents`.`attachable_type` = 'Account'
2468
+ Rendered accounts/_modulate_attachments.html.haml (343.9ms)
2469
+ Rendered accounts/show.html.erb within layouts/application (344.6ms)
2470
+ Completed 200 OK in 350ms (Views: 346.6ms | ActiveRecord: 1.7ms)
2471
+ Started GET "/modulate/documents/87" for 127.0.0.1 at 2013-05-30 12:51:35 -0400
2472
+ Processing by Modulate::DocumentsController#show as HTML
2473
+ Parameters: {"id"=>"87"}
2474
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 87 LIMIT 1
2475
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 115 LIMIT 1
2476
+ Completed 500 Internal Server Error in 10ms
2477
+ Connecting to database specified by database.yml
2478
+  (0.1ms) BEGIN
2479
+ SQL (3.1ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:53:58', 'test_account', '2013-05-30 16:53:58')
2480
+  (8.0ms) COMMIT
2481
+ Started GET "/accounts/116" for 127.0.0.1 at 2013-05-30 12:53:59 -0400
2482
+ Processing by AccountsController#show as HTML
2483
+ Parameters: {"id"=>"116"}
2484
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 116 LIMIT 1
2485
+ ERROR: compiling _app_views_accounts__modulate_account_documents_html_haml__2089920388285924_70352428719740 RAISED /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: unknown regexp options - tabl
2486
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected $undefined
2487
+ ....buffer << "</tbody>\n</table>\n";::Haml::Util.html_safe(_er...
2488
+ ... ^
2489
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: unterminated string meets end of file
2490
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected $end, expecting keyword_end
2491
+ Function body: def _app_views_accounts__modulate_account_documents_html_haml__2089920388285924_70352428719740(local_assigns, output_buffer)
2492
+ _old_virtual_path, @virtual_path = @virtual_path, "accounts/_modulate_account_documents";_old_output_buffer = @output_buffer;f = local_assigns[:f];modulate_account_documents = local_assigns[:modulate_account_documents];;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>true, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true, :hyphenate_data_attrs=>true, :cdata=>false});_erbout = _hamlout.buffer;@output_buffer = output_buffer ||= ActionView::OutputBuffer.new rescue nil;;_hamlout.buffer << "<table class='table table-bordered table-compressed'>\n<thead>\n<tr>\n<th>Label</th>\n<th>File Name</th>\n<th>Content Type</th>\n<th>Uploaded At</th>\n<th>Public</th>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n";
2493
+
2494
+
2495
+
2496
+
2497
+
2498
+
2499
+
2500
+
2501
+
2502
+
2503
+ if @account.modulate_documents.any?
2504
+ @account.modulate_documents.each do |document|
2505
+ next unless document.persisted?
2506
+ haml_temp = f.fields_for :modulate_documents, document do |d|
2507
+ _hamlout.buffer << "<tr>\n<td>#{
2508
+ _hamlout.format_script_false_true_false_true_false_true_true((d.text_field :label
2509
+ ));}</td>\n<td>#{_hamlout.format_script_false_true_false_true_false_true_true((document.filename
2510
+ ));}</td>\n<td>#{_hamlout.format_script_false_true_false_true_false_true_true((document.content_type
2511
+ ));}</td>\n<td>#{_hamlout.format_script_false_true_false_true_false_true_true((I18n.l document.created_at
2512
+ ));}</td>\n<td>#{_hamlout.format_script_false_true_false_true_false_true_true((d.check_box :public
2513
+ ));}</td>\n<td>\n#{
2514
+ _hamlout.format_script_false_false_false_true_false_true_true(( link_to modulate_document_path(document), rel: 'tooltip', title: 'Download' do
2515
+ ));}\n</td>\n<td>\n#{
2516
+ _hamlout.format_script_false_false_false_true_false_true_true(( link_to modulate_document_path(document), data: {method: :delete, confirm: "Are you sure?"}, rel: 'tooltip', title: 'Delete' do
2517
+ ));}\n</td>\n</tr>\n";end;_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_true(haml_temp);end; else
2518
+ _hamlout.buffer << "<tr>\n<td#{
2519
+ _hamlout.attributes({}, nil, colspan: 7)}>\n<div class='no-results'>There are no documents.</div>\n</td>\n</tr>\n";end;_hamlout.buffer << "</tbody>\n</table>\n";::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper if @haml_buffer;end;
2520
+ ensure
2521
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
2522
+ end
2523
+
2524
+ Backtrace: /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:297:in `module_eval'
2525
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:297:in `compile'
2526
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:244:in `block in compile!'
2527
+ <internal:prelude>:10:in `synchronize'
2528
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:232:in `compile!'
2529
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:144:in `block in render'
2530
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in `instrument'
2531
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:143:in `render'
2532
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
2533
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
2534
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
2535
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
2536
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2537
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
2538
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
2539
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:237:in `render'
2540
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:41:in `render_partial'
2541
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/rendering_helper.rb:27:in `render'
2542
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
2543
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers.rb:89:in `non_haml'
2544
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
2545
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_attachments.html.haml:2:in `block in _app_views_accounts__modulate_attachments_html_haml___708893512190705944_70352410006140'
2546
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:144:in `call'
2547
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:144:in `block (2 levels) in form_for_with_haml'
2548
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers.rb:278:in `with_tabs'
2549
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:144:in `block in form_for_with_haml'
2550
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
2551
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
2552
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
2553
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/capture_helper.rb:40:in `capture'
2554
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:59:in `capture_with_haml'
2555
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/form_helper.rb:378:in `form_for'
2556
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:146:in `form_for_with_haml'
2557
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
2558
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/formtastic-2.2.1/lib/formtastic/helpers/form_helper.rb:161:in `block in semantic_form_for'
2559
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/formtastic-2.2.1/lib/formtastic/helpers/form_helper.rb:192:in `with_custom_field_error_proc'
2560
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/formtastic-2.2.1/lib/formtastic/helpers/form_helper.rb:160:in `semantic_form_for'
2561
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_attachments.html.haml:1:in `_app_views_accounts__modulate_attachments_html_haml___708893512190705944_70352410006140'
2562
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:145:in `block in render'
2563
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in `instrument'
2564
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:143:in `render'
2565
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
2566
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
2567
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
2568
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
2569
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2570
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
2571
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
2572
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:237:in `render'
2573
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:41:in `render_partial'
2574
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/rendering_helper.rb:27:in `render'
2575
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
2576
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/show.html.erb:1:in `_app_views_accounts_show_html_erb___4320741887099711818_70352411296380'
2577
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:145:in `block in render'
2578
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in `instrument'
2579
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:143:in `render'
2580
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
2581
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
2582
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
2583
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2584
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
2585
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
2586
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
2587
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
2588
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
2589
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:18:in `render'
2590
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:36:in `render_template'
2591
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:17:in `render'
2592
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:110:in `_render_template'
2593
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/streaming.rb:225:in `_render_template'
2594
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:103:in `render_to_body'
2595
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
2596
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
2597
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:88:in `render'
2598
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:16:in `render'
2599
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
2600
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
2601
+ /Users/zachcolon/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2602
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5:in `ms'
2603
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
2604
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
2605
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
2606
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:39:in `render'
2607
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2608
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
2609
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:167:in `process_action'
2610
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:10:in `process_action'
2611
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2612
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:414:in `_run__1216953200111809899__process_action__2322662229452780556__callbacks'
2613
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
2614
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2615
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
2616
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:17:in `process_action'
2617
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/rescue.rb:29:in `process_action'
2618
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2619
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
2620
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2621
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
2622
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2623
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
2624
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2625
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:121:in `process'
2626
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:45:in `process'
2627
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal.rb:203:in `dispatch'
2628
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2629
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal.rb:246:in `block in action'
2630
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in `call'
2631
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2632
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:36:in `call'
2633
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
2634
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
2635
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
2636
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:612:in `call'
2637
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2638
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
2639
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
2640
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/head.rb:14:in `call'
2641
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2642
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/flash.rb:242:in `call'
2643
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
2644
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
2645
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/cookies.rb:341:in `call'
2646
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:64:in `call'
2647
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
2648
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2649
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `_run__1879283203603992767__call__143346287902614391__callbacks'
2650
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
2651
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2652
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
2653
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2654
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2655
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2656
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2657
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/rack/logger.rb:32:in `call_app'
2658
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in `block in call'
2659
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/tagged_logging.rb:22:in `tagged'
2660
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in `call'
2661
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2662
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2663
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2664
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2665
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2666
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/static.rb:63:in `call'
2667
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/engine.rb:479:in `call'
2668
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/application.rb:223:in `call'
2669
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/builder.rb:134:in `call'
2670
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/urlmap.rb:64:in `block in call'
2671
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `each'
2672
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `call'
2673
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-test-0.6.2/lib/rack/mock_session.rb:30:in `request'
2674
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-test-0.6.2/lib/rack/test.rb:230:in `process_request'
2675
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-test-0.6.2/lib/rack/test.rb:57:in `get'
2676
+ /Users/zachcolon/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/forwardable.rb:201:in `get'
2677
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/rack_test/browser.rb:59:in `process'
2678
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/rack_test/browser.rb:35:in `process_and_follow_redirects'
2679
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/rack_test/browser.rb:21:in `visit'
2680
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/rack_test/driver.rb:42:in `visit'
2681
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/session.rb:183:in `visit'
2682
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
2683
+ /Users/zachcolon/Projects/modulate/spec/features/modulate_spec.rb:10:in `block (3 levels) in <top (required)>'
2684
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:237:in `instance_eval'
2685
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:237:in `instance_eval'
2686
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:21:in `run'
2687
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:66:in `block in run'
2688
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:66:in `each'
2689
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:66:in `run'
2690
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:418:in `run_hook'
2691
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:334:in `run_before_each_hooks'
2692
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:300:in `run_before_each'
2693
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:113:in `block in run'
2694
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:254:in `with_around_each_hooks'
2695
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:111:in `run'
2696
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:390:in `block in run_examples'
2697
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:386:in `map'
2698
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:386:in `run_examples'
2699
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:371:in `run'
2700
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:372:in `block in run'
2701
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:372:in `map'
2702
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:372:in `run'
2703
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
2704
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `map'
2705
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `block in run'
2706
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:34:in `report'
2707
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:25:in `run'
2708
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in `run'
2709
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in `block in autorun'
2710
+ Rendered accounts/_modulate_account_documents.html.haml (37.3ms)
2711
+ Rendered accounts/_modulate_attachments.html.haml (47.3ms)
2712
+ Rendered accounts/show.html.erb within layouts/application (58.9ms)
2713
+ Completed 500 Internal Server Error in 84ms
2714
+  (0.1ms) BEGIN
2715
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:53:59', 'test_account', '2013-05-30 16:53:59')
2716
+  (0.4ms) COMMIT
2717
+ Started GET "/accounts/117" for 127.0.0.1 at 2013-05-30 12:53:59 -0400
2718
+ Processing by AccountsController#show as HTML
2719
+ Parameters: {"id"=>"117"}
2720
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 117 LIMIT 1
2721
+ ERROR: compiling _app_views_accounts__modulate_account_documents_html_haml__2089920388285924_70352428719740 RAISED /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:24: syntax error, unexpected ')'
2722
+ ));}\n</td>\n<td>\n#{
2723
+ ^
2724
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:26: syntax error, unexpected ')'
2725
+ ));}\n</td>\n</tr>\n";end;_ham...
2726
+ ^
2727
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:26: unknown regexp options - tr
2728
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:26: syntax error, unexpected $undefined
2729
+ ));}\n</td>\n</tr>\n";end;_hamlout.buffer << _ha...
2730
+ ^
2731
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:27: syntax error, unexpected $undefined
2732
+ _hamlout.buffer << "<tr>\n<td#{
2733
+ ^
2734
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected '}', expecting keyword_end
2735
+ ...ttributes({}, nil, colspan: 7)}>\n<div class='no-results'>Th...
2736
+ ... ^
2737
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected keyword_class, expecting keyword_do or '{' or '('
2738
+ ... nil, colspan: 7)}>\n<div class='no-results'>There are no do...
2739
+ ... ^
2740
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
2741
+ ...iv class='no-results'>There are no documents.</div>\n</td>\n...
2742
+ ... ^
2743
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected $undefined
2744
+ ...>There are no documents.</div>\n</td>\n</tr>\n";end;_hamlout...
2745
+ ... ^
2746
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: unknown regexp options - tr
2747
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected $undefined
2748
+ ...documents.</div>\n</td>\n</tr>\n";end;_hamlout.buffer << "</...
2749
+ ... ^
2750
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: unknown regexp options - tabl
2751
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected $undefined
2752
+ ....buffer << "</tbody>\n</table>\n";::Haml::Util.html_safe(_er...
2753
+ ... ^
2754
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: unterminated string meets end of file
2755
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected $end, expecting keyword_end
2756
+ Function body: def _app_views_accounts__modulate_account_documents_html_haml__2089920388285924_70352428719740(local_assigns, output_buffer)
2757
+ _old_virtual_path, @virtual_path = @virtual_path, "accounts/_modulate_account_documents";_old_output_buffer = @output_buffer;f = local_assigns[:f];modulate_account_documents = local_assigns[:modulate_account_documents];;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>true, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true, :hyphenate_data_attrs=>true, :cdata=>false});_erbout = _hamlout.buffer;@output_buffer = output_buffer ||= ActionView::OutputBuffer.new rescue nil;;_hamlout.buffer << "<table class='table table-bordered table-compressed'>\n<thead>\n<tr>\n<th>Label</th>\n<th>File Name</th>\n<th>Content Type</th>\n<th>Uploaded At</th>\n<th>Public</th>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n";
2758
+
2759
+
2760
+
2761
+
2762
+
2763
+
2764
+
2765
+
2766
+
2767
+
2768
+ if @account.modulate_documents.any?
2769
+ @account.modulate_documents.each do |document|
2770
+ next unless document.persisted?
2771
+ haml_temp = f.fields_for :modulate_documents, document do |d|
2772
+ _hamlout.buffer << "<tr>\n<td>#{
2773
+ _hamlout.format_script_false_true_false_true_false_true_true((d.text_field :label
2774
+ ));}</td>\n<td>#{_hamlout.format_script_false_true_false_true_false_true_true((document.filename
2775
+ ));}</td>\n<td>#{_hamlout.format_script_false_true_false_true_false_true_true((document.content_type
2776
+ ));}</td>\n<td>#{_hamlout.format_script_false_true_false_true_false_true_true((I18n.l document.created_at
2777
+ ));}</td>\n<td>#{_hamlout.format_script_false_true_false_true_false_true_true((d.check_box :public
2778
+ ));}</td>\n<td>\n#{
2779
+ _hamlout.format_script_false_false_false_true_false_true_true(( link_to modulate_document_path(document), rel: 'tooltip', title: 'Download' do
2780
+ ));}\n</td>\n<td>\n#{
2781
+ _hamlout.format_script_false_false_false_true_false_true_true(( link_to modulate_document_path(document), data: {method: :delete, confirm: "Are you sure?"}, rel: 'tooltip', title: 'Delete' do
2782
+ ));}\n</td>\n</tr>\n";end;_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_true(haml_temp);end; else
2783
+ _hamlout.buffer << "<tr>\n<td#{
2784
+ _hamlout.attributes({}, nil, colspan: 7)}>\n<div class='no-results'>There are no documents.</div>\n</td>\n</tr>\n";end;_hamlout.buffer << "</tbody>\n</table>\n";::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper if @haml_buffer;end;
2785
+ ensure
2786
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
2787
+ end
2788
+
2789
+ Backtrace: /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:297:in `module_eval'
2790
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:297:in `compile'
2791
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:244:in `block in compile!'
2792
+ <internal:prelude>:10:in `synchronize'
2793
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:232:in `compile!'
2794
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:144:in `block in render'
2795
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in `instrument'
2796
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:143:in `render'
2797
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
2798
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
2799
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
2800
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
2801
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2802
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
2803
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
2804
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:237:in `render'
2805
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:41:in `render_partial'
2806
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/rendering_helper.rb:27:in `render'
2807
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
2808
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers.rb:89:in `non_haml'
2809
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
2810
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_attachments.html.haml:2:in `block in _app_views_accounts__modulate_attachments_html_haml___708893512190705944_70352410006140'
2811
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:144:in `call'
2812
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:144:in `block (2 levels) in form_for_with_haml'
2813
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers.rb:278:in `with_tabs'
2814
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:144:in `block in form_for_with_haml'
2815
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
2816
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
2817
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
2818
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/capture_helper.rb:40:in `capture'
2819
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:59:in `capture_with_haml'
2820
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/form_helper.rb:378:in `form_for'
2821
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:146:in `form_for_with_haml'
2822
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
2823
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/formtastic-2.2.1/lib/formtastic/helpers/form_helper.rb:161:in `block in semantic_form_for'
2824
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/formtastic-2.2.1/lib/formtastic/helpers/form_helper.rb:192:in `with_custom_field_error_proc'
2825
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/formtastic-2.2.1/lib/formtastic/helpers/form_helper.rb:160:in `semantic_form_for'
2826
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_attachments.html.haml:1:in `_app_views_accounts__modulate_attachments_html_haml___708893512190705944_70352410006140'
2827
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:145:in `block in render'
2828
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in `instrument'
2829
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:143:in `render'
2830
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
2831
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
2832
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
2833
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
2834
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2835
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
2836
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
2837
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:237:in `render'
2838
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:41:in `render_partial'
2839
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/rendering_helper.rb:27:in `render'
2840
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
2841
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/show.html.erb:1:in `_app_views_accounts_show_html_erb___4320741887099711818_70352411296380'
2842
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:145:in `block in render'
2843
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in `instrument'
2844
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:143:in `render'
2845
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
2846
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
2847
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
2848
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2849
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
2850
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
2851
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
2852
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
2853
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
2854
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:18:in `render'
2855
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:36:in `render_template'
2856
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:17:in `render'
2857
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:110:in `_render_template'
2858
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/streaming.rb:225:in `_render_template'
2859
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:103:in `render_to_body'
2860
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
2861
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
2862
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:88:in `render'
2863
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:16:in `render'
2864
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
2865
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
2866
+ /Users/zachcolon/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
2867
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5:in `ms'
2868
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
2869
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
2870
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
2871
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:39:in `render'
2872
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
2873
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
2874
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:167:in `process_action'
2875
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:10:in `process_action'
2876
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
2877
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:414:in `_run__1216953200111809899__process_action__2322662229452780556__callbacks'
2878
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
2879
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
2880
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
2881
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:17:in `process_action'
2882
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/rescue.rb:29:in `process_action'
2883
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
2884
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
2885
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2886
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
2887
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
2888
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
2889
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2890
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:121:in `process'
2891
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:45:in `process'
2892
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal.rb:203:in `dispatch'
2893
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
2894
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal.rb:246:in `block in action'
2895
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in `call'
2896
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2897
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:36:in `call'
2898
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
2899
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
2900
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
2901
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:612:in `call'
2902
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
2903
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
2904
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
2905
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/head.rb:14:in `call'
2906
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
2907
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/flash.rb:242:in `call'
2908
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
2909
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
2910
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/cookies.rb:341:in `call'
2911
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:64:in `call'
2912
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
2913
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
2914
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `_run__1879283203603992767__call__143346287902614391__callbacks'
2915
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
2916
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
2917
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
2918
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2919
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
2920
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
2921
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
2922
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/rack/logger.rb:32:in `call_app'
2923
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in `block in call'
2924
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/tagged_logging.rb:22:in `tagged'
2925
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in `call'
2926
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/request_id.rb:22:in `call'
2927
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
2928
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
2929
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
2930
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
2931
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/static.rb:63:in `call'
2932
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/engine.rb:479:in `call'
2933
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/application.rb:223:in `call'
2934
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/builder.rb:134:in `call'
2935
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/urlmap.rb:64:in `block in call'
2936
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `each'
2937
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `call'
2938
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-test-0.6.2/lib/rack/mock_session.rb:30:in `request'
2939
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-test-0.6.2/lib/rack/test.rb:230:in `process_request'
2940
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-test-0.6.2/lib/rack/test.rb:57:in `get'
2941
+ /Users/zachcolon/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/forwardable.rb:201:in `get'
2942
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/rack_test/browser.rb:59:in `process'
2943
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/rack_test/browser.rb:35:in `process_and_follow_redirects'
2944
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/rack_test/browser.rb:21:in `visit'
2945
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/rack_test/driver.rb:42:in `visit'
2946
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/session.rb:183:in `visit'
2947
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
2948
+ /Users/zachcolon/Projects/modulate/spec/features/modulate_spec.rb:10:in `block (3 levels) in <top (required)>'
2949
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:237:in `instance_eval'
2950
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:237:in `instance_eval'
2951
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:21:in `run'
2952
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:66:in `block in run'
2953
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:66:in `each'
2954
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:66:in `run'
2955
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:418:in `run_hook'
2956
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:334:in `run_before_each_hooks'
2957
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:300:in `run_before_each'
2958
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:113:in `block in run'
2959
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:254:in `with_around_each_hooks'
2960
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:111:in `run'
2961
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:390:in `block in run_examples'
2962
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:386:in `map'
2963
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:386:in `run_examples'
2964
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:371:in `run'
2965
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:372:in `block in run'
2966
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:372:in `map'
2967
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:372:in `run'
2968
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
2969
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `map'
2970
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `block in run'
2971
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:34:in `report'
2972
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:25:in `run'
2973
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in `run'
2974
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in `block in autorun'
2975
+ Rendered accounts/_modulate_account_documents.html.haml (11.1ms)
2976
+ Rendered accounts/_modulate_attachments.html.haml (13.4ms)
2977
+ Rendered accounts/show.html.erb within layouts/application (13.8ms)
2978
+ Completed 500 Internal Server Error in 17ms
2979
+  (0.3ms) BEGIN
2980
+ SQL (10.6ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:53:59', 'test_account', '2013-05-30 16:53:59')
2981
+  (0.4ms) COMMIT
2982
+ Started GET "/accounts/118" for 127.0.0.1 at 2013-05-30 12:53:59 -0400
2983
+ Processing by AccountsController#show as HTML
2984
+ Parameters: {"id"=>"118"}
2985
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 118 LIMIT 1
2986
+ ERROR: compiling _app_views_accounts__modulate_account_documents_html_haml__2089920388285924_70352428719740 RAISED /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:24: syntax error, unexpected ')'
2987
+ ));}\n</td>\n<td>\n#{
2988
+ ^
2989
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:26: syntax error, unexpected ')'
2990
+ ));}\n</td>\n</tr>\n";end;_ham...
2991
+ ^
2992
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:26: unknown regexp options - tr
2993
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:26: syntax error, unexpected $undefined
2994
+ ));}\n</td>\n</tr>\n";end;_hamlout.buffer << _ha...
2995
+ ^
2996
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:27: syntax error, unexpected $undefined
2997
+ _hamlout.buffer << "<tr>\n<td#{
2998
+ ^
2999
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected '}', expecting keyword_end
3000
+ ...ttributes({}, nil, colspan: 7)}>\n<div class='no-results'>Th...
3001
+ ... ^
3002
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected keyword_class, expecting keyword_do or '{' or '('
3003
+ ... nil, colspan: 7)}>\n<div class='no-results'>There are no do...
3004
+ ... ^
3005
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
3006
+ ...iv class='no-results'>There are no documents.</div>\n</td>\n...
3007
+ ... ^
3008
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected $undefined
3009
+ ...>There are no documents.</div>\n</td>\n</tr>\n";end;_hamlout...
3010
+ ... ^
3011
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: unknown regexp options - tr
3012
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected $undefined
3013
+ ...documents.</div>\n</td>\n</tr>\n";end;_hamlout.buffer << "</...
3014
+ ... ^
3015
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: unknown regexp options - tabl
3016
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected $undefined
3017
+ ....buffer << "</tbody>\n</table>\n";::Haml::Util.html_safe(_er...
3018
+ ... ^
3019
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: unterminated string meets end of file
3020
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_account_documents.html.haml:28: syntax error, unexpected $end, expecting keyword_end
3021
+ Function body: def _app_views_accounts__modulate_account_documents_html_haml__2089920388285924_70352428719740(local_assigns, output_buffer)
3022
+ _old_virtual_path, @virtual_path = @virtual_path, "accounts/_modulate_account_documents";_old_output_buffer = @output_buffer;f = local_assigns[:f];modulate_account_documents = local_assigns[:modulate_account_documents];;begin;extend Haml::Helpers;_hamlout = @haml_buffer = Haml::Buffer.new(haml_buffer, {:autoclose=>["meta", "img", "link", "br", "hr", "input", "area", "param", "col", "base"], :preserve=>["textarea", "pre", "code"], :attr_wrapper=>"'", :ugly=>true, :format=>:html5, :encoding=>"UTF-8", :escape_html=>true, :escape_attrs=>true, :hyphenate_data_attrs=>true, :cdata=>false});_erbout = _hamlout.buffer;@output_buffer = output_buffer ||= ActionView::OutputBuffer.new rescue nil;;_hamlout.buffer << "<table class='table table-bordered table-compressed'>\n<thead>\n<tr>\n<th>Label</th>\n<th>File Name</th>\n<th>Content Type</th>\n<th>Uploaded At</th>\n<th>Public</th>\n<th></th>\n<th></th>\n</tr>\n</thead>\n<tbody>\n";
3023
+
3024
+
3025
+
3026
+
3027
+
3028
+
3029
+
3030
+
3031
+
3032
+
3033
+ if @account.modulate_documents.any?
3034
+ @account.modulate_documents.each do |document|
3035
+ next unless document.persisted?
3036
+ haml_temp = f.fields_for :modulate_documents, document do |d|
3037
+ _hamlout.buffer << "<tr>\n<td>#{
3038
+ _hamlout.format_script_false_true_false_true_false_true_true((d.text_field :label
3039
+ ));}</td>\n<td>#{_hamlout.format_script_false_true_false_true_false_true_true((document.filename
3040
+ ));}</td>\n<td>#{_hamlout.format_script_false_true_false_true_false_true_true((document.content_type
3041
+ ));}</td>\n<td>#{_hamlout.format_script_false_true_false_true_false_true_true((I18n.l document.created_at
3042
+ ));}</td>\n<td>#{_hamlout.format_script_false_true_false_true_false_true_true((d.check_box :public
3043
+ ));}</td>\n<td>\n#{
3044
+ _hamlout.format_script_false_false_false_true_false_true_true(( link_to modulate_document_path(document), rel: 'tooltip', title: 'Download' do
3045
+ ));}\n</td>\n<td>\n#{
3046
+ _hamlout.format_script_false_false_false_true_false_true_true(( link_to modulate_document_path(document), data: {method: :delete, confirm: "Are you sure?"}, rel: 'tooltip', title: 'Delete' do
3047
+ ));}\n</td>\n</tr>\n";end;_hamlout.buffer << _hamlout.format_script_false_false_false_true_false_false_true(haml_temp);end; else
3048
+ _hamlout.buffer << "<tr>\n<td#{
3049
+ _hamlout.attributes({}, nil, colspan: 7)}>\n<div class='no-results'>There are no documents.</div>\n</td>\n</tr>\n";end;_hamlout.buffer << "</tbody>\n</table>\n";::Haml::Util.html_safe(_erbout);ensure;@haml_buffer = @haml_buffer.upper if @haml_buffer;end;
3050
+ ensure
3051
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
3052
+ end
3053
+
3054
+ Backtrace: /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:297:in `module_eval'
3055
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:297:in `compile'
3056
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:244:in `block in compile!'
3057
+ <internal:prelude>:10:in `synchronize'
3058
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:232:in `compile!'
3059
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:144:in `block in render'
3060
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in `instrument'
3061
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:143:in `render'
3062
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
3063
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
3064
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
3065
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
3066
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
3067
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
3068
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
3069
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:237:in `render'
3070
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:41:in `render_partial'
3071
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/rendering_helper.rb:27:in `render'
3072
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:10:in `block in render_with_haml'
3073
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers.rb:89:in `non_haml'
3074
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:10:in `render_with_haml'
3075
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_attachments.html.haml:2:in `block in _app_views_accounts__modulate_attachments_html_haml___708893512190705944_70352410006140'
3076
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:144:in `call'
3077
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:144:in `block (2 levels) in form_for_with_haml'
3078
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers.rb:278:in `with_tabs'
3079
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:144:in `block in form_for_with_haml'
3080
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
3081
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
3082
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_xss_mods.rb:5:in `with_output_buffer_with_haml_xss'
3083
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/capture_helper.rb:40:in `capture'
3084
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:59:in `capture_with_haml'
3085
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/form_helper.rb:378:in `form_for'
3086
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:146:in `form_for_with_haml'
3087
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_xss_mods.rb:28:in `form_for_with_haml_xss'
3088
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/formtastic-2.2.1/lib/formtastic/helpers/form_helper.rb:161:in `block in semantic_form_for'
3089
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/formtastic-2.2.1/lib/formtastic/helpers/form_helper.rb:192:in `with_custom_field_error_proc'
3090
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/formtastic-2.2.1/lib/formtastic/helpers/form_helper.rb:160:in `semantic_form_for'
3091
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/_modulate_attachments.html.haml:1:in `_app_views_accounts__modulate_attachments_html_haml___708893512190705944_70352410006140'
3092
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:145:in `block in render'
3093
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in `instrument'
3094
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:143:in `render'
3095
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
3096
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
3097
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
3098
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
3099
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
3100
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
3101
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
3102
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/partial_renderer.rb:237:in `render'
3103
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:41:in `render_partial'
3104
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/helpers/rendering_helper.rb:27:in `render'
3105
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/haml-4.0.1/lib/haml/helpers/action_view_mods.rb:12:in `render_with_haml'
3106
+ /Users/zachcolon/Projects/modulate/spec/dummy/app/views/accounts/show.html.erb:1:in `_app_views_accounts_show_html_erb___4320741887099711818_70352411296380'
3107
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:145:in `block in render'
3108
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:125:in `instrument'
3109
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/template.rb:143:in `render'
3110
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
3111
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
3112
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
3113
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
3114
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
3115
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
3116
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
3117
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
3118
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
3119
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/template_renderer.rb:18:in `render'
3120
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:36:in `render_template'
3121
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_view/renderer/renderer.rb:17:in `render'
3122
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:110:in `_render_template'
3123
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/streaming.rb:225:in `_render_template'
3124
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:103:in `render_to_body'
3125
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
3126
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
3127
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:88:in `render'
3128
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:16:in `render'
3129
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
3130
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
3131
+ /Users/zachcolon/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
3132
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/core_ext/benchmark.rb:5:in `ms'
3133
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
3134
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
3135
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
3136
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:39:in `render'
3137
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
3138
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/implicit_render.rb:5:in `send_action'
3139
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:167:in `process_action'
3140
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/rendering.rb:10:in `process_action'
3141
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
3142
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:414:in `_run__1216953200111809899__process_action__2322662229452780556__callbacks'
3143
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
3144
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
3145
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
3146
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/callbacks.rb:17:in `process_action'
3147
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/rescue.rb:29:in `process_action'
3148
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
3149
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `block in instrument'
3150
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
3151
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/notifications.rb:123:in `instrument'
3152
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
3153
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
3154
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activerecord-3.2.13/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
3155
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/base.rb:121:in `process'
3156
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/abstract_controller/rendering.rb:45:in `process'
3157
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal.rb:203:in `dispatch'
3158
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
3159
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_controller/metal.rb:246:in `block in action'
3160
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in `call'
3161
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
3162
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:36:in `call'
3163
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
3164
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
3165
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
3166
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/routing/route_set.rb:612:in `call'
3167
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
3168
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
3169
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
3170
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/head.rb:14:in `call'
3171
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
3172
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/flash.rb:242:in `call'
3173
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
3174
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
3175
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/cookies.rb:341:in `call'
3176
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activerecord-3.2.13/lib/active_record/query_cache.rb:64:in `call'
3177
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
3178
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
3179
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `_run__1879283203603992767__call__143346287902614391__callbacks'
3180
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:405:in `__run_callback'
3181
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
3182
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/callbacks.rb:81:in `run_callbacks'
3183
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3184
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
3185
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
3186
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
3187
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/rack/logger.rb:32:in `call_app'
3188
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in `block in call'
3189
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/tagged_logging.rb:22:in `tagged'
3190
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/rack/logger.rb:16:in `call'
3191
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/request_id.rb:22:in `call'
3192
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
3193
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
3194
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/activesupport-3.2.13/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
3195
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
3196
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/actionpack-3.2.13/lib/action_dispatch/middleware/static.rb:63:in `call'
3197
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/engine.rb:479:in `call'
3198
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/railties-3.2.13/lib/rails/application.rb:223:in `call'
3199
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/builder.rb:134:in `call'
3200
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/urlmap.rb:64:in `block in call'
3201
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `each'
3202
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-1.4.5/lib/rack/urlmap.rb:49:in `call'
3203
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-test-0.6.2/lib/rack/mock_session.rb:30:in `request'
3204
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-test-0.6.2/lib/rack/test.rb:230:in `process_request'
3205
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rack-test-0.6.2/lib/rack/test.rb:57:in `get'
3206
+ /Users/zachcolon/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/forwardable.rb:201:in `get'
3207
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/rack_test/browser.rb:59:in `process'
3208
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/rack_test/browser.rb:35:in `process_and_follow_redirects'
3209
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/rack_test/browser.rb:21:in `visit'
3210
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/rack_test/driver.rb:42:in `visit'
3211
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/session.rb:183:in `visit'
3212
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/capybara-2.0.2/lib/capybara/dsl.rb:51:in `block (2 levels) in <module:DSL>'
3213
+ /Users/zachcolon/Projects/modulate/spec/features/modulate_spec.rb:28:in `block (3 levels) in <top (required)>'
3214
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:237:in `instance_eval'
3215
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:237:in `instance_eval'
3216
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:21:in `run'
3217
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:66:in `block in run'
3218
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:66:in `each'
3219
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:66:in `run'
3220
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/hooks.rb:418:in `run_hook'
3221
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:334:in `run_before_each_hooks'
3222
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:300:in `run_before_each'
3223
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:113:in `block in run'
3224
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:254:in `with_around_each_hooks'
3225
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example.rb:111:in `run'
3226
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:390:in `block in run_examples'
3227
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:386:in `map'
3228
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:386:in `run_examples'
3229
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:371:in `run'
3230
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:372:in `block in run'
3231
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:372:in `map'
3232
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/example_group.rb:372:in `run'
3233
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `block (2 levels) in run'
3234
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `map'
3235
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:28:in `block in run'
3236
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/reporter.rb:34:in `report'
3237
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/command_line.rb:25:in `run'
3238
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:80:in `run'
3239
+ /Users/zachcolon/.rvm/gems/ruby-1.9.3-p194@modulate/gems/rspec-core-2.13.1/lib/rspec/core/runner.rb:17:in `block in autorun'
3240
+ Rendered accounts/_modulate_account_documents.html.haml (65.8ms)
3241
+ Rendered accounts/_modulate_attachments.html.haml (68.4ms)
3242
+ Rendered accounts/show.html.erb within layouts/application (68.7ms)
3243
+ Completed 500 Internal Server Error in 72ms
3244
+ Connecting to database specified by database.yml
3245
+  (0.2ms) BEGIN
3246
+ SQL (3.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:54:29', 'test_account', '2013-05-30 16:54:29')
3247
+  (8.2ms) COMMIT
3248
+ Started GET "/accounts/119" for 127.0.0.1 at 2013-05-30 12:54:29 -0400
3249
+ Processing by AccountsController#show as HTML
3250
+ Parameters: {"id"=>"119"}
3251
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 119 LIMIT 1
3252
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 119 AND `modulate_documents`.`attachable_type` = 'Account'
3253
+ Rendered accounts/_modulate_account_documents.html.haml (59.8ms)
3254
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 119 AND `modulate_documents`.`attachable_type` = 'Account'
3255
+ Rendered accounts/_modulate_attachments.html.haml (306.3ms)
3256
+ Rendered accounts/show.html.erb within layouts/application (319.8ms)
3257
+ Completed 200 OK in 408ms (Views: 397.5ms | ActiveRecord: 3.3ms)
3258
+ Started PUT "/accounts/119" for 127.0.0.1 at 2013-05-30 12:54:30 -0400
3259
+ Processing by AccountsController#update as HTML
3260
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe491549b88 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-15262-zj72rk>>}]}, "button"=>"", "id"=>"119"}
3261
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 119 LIMIT 1
3262
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 119 AND `modulate_documents`.`attachable_type` = 'Account'
3263
+  (0.1ms) BEGIN
3264
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '119-1369932870-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3265
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (119, 'Account', NULL, '119-1369932870-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:54:30', 'test.txt', '119-1369932870-test.txt', 'Test', 0, '2013-05-30 16:54:30')
3266
+  (0.5ms) COMMIT
3267
+ Redirected to http://www.example.com/accounts
3268
+ Completed 302 Found in 222ms (ActiveRecord: 2.0ms)
3269
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:54:30 -0400
3270
+ Processing by AccountsController#index as HTML
3271
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
3272
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
3273
+ Completed 200 OK in 20ms (Views: 4.7ms | ActiveRecord: 0.4ms)
3274
+  (0.1ms) BEGIN
3275
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:54:30', 'test_account', '2013-05-30 16:54:30')
3276
+  (0.4ms) COMMIT
3277
+ Started GET "/accounts/120" for 127.0.0.1 at 2013-05-30 12:54:30 -0400
3278
+ Processing by AccountsController#show as HTML
3279
+ Parameters: {"id"=>"120"}
3280
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 120 LIMIT 1
3281
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 120 AND `modulate_documents`.`attachable_type` = 'Account'
3282
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
3283
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 120 AND `modulate_documents`.`attachable_type` = 'Account'
3284
+ Rendered accounts/_modulate_attachments.html.haml (37.5ms)
3285
+ Rendered accounts/show.html.erb within layouts/application (38.0ms)
3286
+ Completed 200 OK in 42ms (Views: 39.8ms | ActiveRecord: 1.0ms)
3287
+ Started PUT "/accounts/120" for 127.0.0.1 at 2013-05-30 12:54:30 -0400
3288
+ Processing by AccountsController#update as HTML
3289
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe494c1a590 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-15262-1hfrnop>>}]}, "button"=>"", "id"=>"120"}
3290
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 120 LIMIT 1
3291
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 120 AND `modulate_documents`.`attachable_type` = 'Account'
3292
+  (0.1ms) BEGIN
3293
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '120-1369932870-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3294
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (120, 'Account', NULL, '120-1369932870-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:54:30', 'test.txt', '120-1369932870-test.txt', 'Test', 0, '2013-05-30 16:54:30')
3295
+  (0.4ms) COMMIT
3296
+ Redirected to http://www.example.com/accounts
3297
+ Completed 302 Found in 32ms (ActiveRecord: 1.7ms)
3298
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:54:30 -0400
3299
+ Processing by AccountsController#index as HTML
3300
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
3301
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
3302
+ Completed 200 OK in 18ms (Views: 2.9ms | ActiveRecord: 0.4ms)
3303
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
3304
+  (0.1ms) BEGIN
3305
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:54:30', 'test_account', '2013-05-30 16:54:30')
3306
+  (0.4ms) COMMIT
3307
+ Started GET "/accounts/121" for 127.0.0.1 at 2013-05-30 12:54:30 -0400
3308
+ Processing by AccountsController#show as HTML
3309
+ Parameters: {"id"=>"121"}
3310
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 121 LIMIT 1
3311
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 121 AND `modulate_documents`.`attachable_type` = 'Account'
3312
+ Rendered accounts/_modulate_account_documents.html.haml (2.7ms)
3313
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 121 AND `modulate_documents`.`attachable_type` = 'Account'
3314
+ Rendered accounts/_modulate_attachments.html.haml (38.4ms)
3315
+ Rendered accounts/show.html.erb within layouts/application (38.9ms)
3316
+ Completed 200 OK in 43ms (Views: 40.7ms | ActiveRecord: 1.1ms)
3317
+ Started PUT "/accounts/121" for 127.0.0.1 at 2013-05-30 12:54:30 -0400
3318
+ Processing by AccountsController#update as HTML
3319
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe494be5228 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-15262-1too6ku>>}]}, "button"=>"", "id"=>"121"}
3320
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 121 LIMIT 1
3321
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 121 AND `modulate_documents`.`attachable_type` = 'Account'
3322
+  (0.1ms) BEGIN
3323
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '121-1369932870-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3324
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (121, 'Account', NULL, '121-1369932870-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:54:30', 'test.txt', '121-1369932870-test.txt', 'Test', 0, '2013-05-30 16:54:30')
3325
+  (0.4ms) COMMIT
3326
+ Redirected to http://www.example.com/accounts
3327
+ Completed 302 Found in 32ms (ActiveRecord: 1.7ms)
3328
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:54:30 -0400
3329
+ Processing by AccountsController#index as HTML
3330
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
3331
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
3332
+ Completed 200 OK in 18ms (Views: 2.9ms | ActiveRecord: 0.4ms)
3333
+ Started GET "/accounts/121" for 127.0.0.1 at 2013-05-30 12:54:31 -0400
3334
+ Processing by AccountsController#show as HTML
3335
+ Parameters: {"id"=>"121"}
3336
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 121 LIMIT 1
3337
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 121 AND `modulate_documents`.`attachable_type` = 'Account'
3338
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 121 AND `modulate_documents`.`attachable_type` = 'Account'
3339
+ Rendered accounts/_modulate_account_documents.html.haml (8.3ms)
3340
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 121 AND `modulate_documents`.`attachable_type` = 'Account'
3341
+ Rendered accounts/_modulate_attachments.html.haml (99.7ms)
3342
+ Rendered accounts/show.html.erb within layouts/application (100.1ms)
3343
+ Completed 200 OK in 105ms (Views: 102.1ms | ActiveRecord: 0.9ms)
3344
+ Started GET "/modulate/documents/90" for 127.0.0.1 at 2013-05-30 12:54:31 -0400
3345
+ Processing by Modulate::DocumentsController#show as HTML
3346
+ Parameters: {"id"=>"90"}
3347
+ Modulate::Document Load (0.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 90 LIMIT 1
3348
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 121 LIMIT 1
3349
+ Completed 500 Internal Server Error in 12ms
3350
+ Connecting to database specified by database.yml
3351
+  (0.1ms) BEGIN
3352
+ SQL (3.4ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:56:19', 'test_account', '2013-05-30 16:56:19')
3353
+  (0.4ms) COMMIT
3354
+ Started GET "/accounts/122" for 127.0.0.1 at 2013-05-30 12:56:20 -0400
3355
+ Processing by AccountsController#show as HTML
3356
+ Parameters: {"id"=>"122"}
3357
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 122 LIMIT 1
3358
+  (0.2ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 122 AND `modulate_documents`.`attachable_type` = 'Account'
3359
+ Rendered accounts/_modulate_account_documents.html.haml (55.4ms)
3360
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 122 AND `modulate_documents`.`attachable_type` = 'Account'
3361
+ Rendered accounts/_modulate_attachments.html.haml (293.5ms)
3362
+ Rendered accounts/show.html.erb within layouts/application (302.7ms)
3363
+ Completed 200 OK in 378ms (Views: 368.0ms | ActiveRecord: 3.4ms)
3364
+ Started PUT "/accounts/122" for 127.0.0.1 at 2013-05-30 12:56:20 -0400
3365
+ Processing by AccountsController#update as HTML
3366
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe86c6ddbf0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-15533-1y6v2cx>>}]}, "button"=>"", "id"=>"122"}
3367
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 122 LIMIT 1
3368
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 122 AND `modulate_documents`.`attachable_type` = 'Account'
3369
+  (0.1ms) BEGIN
3370
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '122-1369932980-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3371
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (122, 'Account', NULL, '122-1369932980-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:56:20', 'test.txt', '122-1369932980-test.txt', 'Test', 0, '2013-05-30 16:56:20')
3372
+  (0.5ms) COMMIT
3373
+ Redirected to http://www.example.com/accounts
3374
+ Completed 302 Found in 219ms (ActiveRecord: 1.9ms)
3375
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:56:20 -0400
3376
+ Processing by AccountsController#index as HTML
3377
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
3378
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
3379
+ Completed 200 OK in 21ms (Views: 4.7ms | ActiveRecord: 0.4ms)
3380
+  (0.1ms) BEGIN
3381
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:56:20', 'test_account', '2013-05-30 16:56:20')
3382
+  (0.4ms) COMMIT
3383
+ Started GET "/accounts/123" for 127.0.0.1 at 2013-05-30 12:56:20 -0400
3384
+ Processing by AccountsController#show as HTML
3385
+ Parameters: {"id"=>"123"}
3386
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 123 LIMIT 1
3387
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 123 AND `modulate_documents`.`attachable_type` = 'Account'
3388
+ Rendered accounts/_modulate_account_documents.html.haml (2.9ms)
3389
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 123 AND `modulate_documents`.`attachable_type` = 'Account'
3390
+ Rendered accounts/_modulate_attachments.html.haml (38.1ms)
3391
+ Rendered accounts/show.html.erb within layouts/application (38.6ms)
3392
+ Completed 200 OK in 43ms (Views: 40.5ms | ActiveRecord: 1.0ms)
3393
+ Started PUT "/accounts/123" for 127.0.0.1 at 2013-05-30 12:56:20 -0400
3394
+ Processing by AccountsController#update as HTML
3395
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe86e31c9b0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-15533-s5l9y>>}]}, "button"=>"", "id"=>"123"}
3396
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 123 LIMIT 1
3397
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 123 AND `modulate_documents`.`attachable_type` = 'Account'
3398
+  (0.1ms) BEGIN
3399
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '123-1369932980-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3400
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (123, 'Account', NULL, '123-1369932980-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:56:20', 'test.txt', '123-1369932980-test.txt', 'Test', 0, '2013-05-30 16:56:20')
3401
+  (0.4ms) COMMIT
3402
+ Redirected to http://www.example.com/accounts
3403
+ Completed 302 Found in 32ms (ActiveRecord: 1.7ms)
3404
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:56:20 -0400
3405
+ Processing by AccountsController#index as HTML
3406
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
3407
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
3408
+ Completed 200 OK in 19ms (Views: 2.9ms | ActiveRecord: 0.4ms)
3409
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
3410
+  (0.1ms) BEGIN
3411
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:56:20', 'test_account', '2013-05-30 16:56:20')
3412
+  (0.4ms) COMMIT
3413
+ Started GET "/accounts/124" for 127.0.0.1 at 2013-05-30 12:56:20 -0400
3414
+ Processing by AccountsController#show as HTML
3415
+ Parameters: {"id"=>"124"}
3416
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 124 LIMIT 1
3417
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 124 AND `modulate_documents`.`attachable_type` = 'Account'
3418
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
3419
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 124 AND `modulate_documents`.`attachable_type` = 'Account'
3420
+ Rendered accounts/_modulate_attachments.html.haml (38.1ms)
3421
+ Rendered accounts/show.html.erb within layouts/application (38.5ms)
3422
+ Completed 200 OK in 43ms (Views: 40.5ms | ActiveRecord: 1.0ms)
3423
+ Started PUT "/accounts/124" for 127.0.0.1 at 2013-05-30 12:56:20 -0400
3424
+ Processing by AccountsController#update as HTML
3425
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe86f160260 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-15533-c0ltsw>>}]}, "button"=>"", "id"=>"124"}
3426
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 124 LIMIT 1
3427
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 124 AND `modulate_documents`.`attachable_type` = 'Account'
3428
+  (0.1ms) BEGIN
3429
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '124-1369932980-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3430
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (124, 'Account', NULL, '124-1369932980-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:56:21', 'test.txt', '124-1369932980-test.txt', 'Test', 0, '2013-05-30 16:56:21')
3431
+  (0.4ms) COMMIT
3432
+ Redirected to http://www.example.com/accounts
3433
+ Completed 302 Found in 32ms (ActiveRecord: 1.7ms)
3434
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:56:21 -0400
3435
+ Processing by AccountsController#index as HTML
3436
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
3437
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
3438
+ Completed 200 OK in 19ms (Views: 2.9ms | ActiveRecord: 0.4ms)
3439
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
3440
+ Started GET "/accounts/124" for 127.0.0.1 at 2013-05-30 12:56:21 -0400
3441
+ Processing by AccountsController#show as HTML
3442
+ Parameters: {"id"=>"124"}
3443
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 124 LIMIT 1
3444
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 124 AND `modulate_documents`.`attachable_type` = 'Account'
3445
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 124 AND `modulate_documents`.`attachable_type` = 'Account'
3446
+ Rendered accounts/_modulate_account_documents.html.haml (8.4ms)
3447
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 124 AND `modulate_documents`.`attachable_type` = 'Account'
3448
+ Rendered accounts/_modulate_attachments.html.haml (100.0ms)
3449
+ Rendered accounts/show.html.erb within layouts/application (100.5ms)
3450
+ Completed 200 OK in 105ms (Views: 102.4ms | ActiveRecord: 0.9ms)
3451
+ Connecting to database specified by database.yml
3452
+  (0.1ms) BEGIN
3453
+ SQL (3.1ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:56:54', 'test_account', '2013-05-30 16:56:54')
3454
+  (0.4ms) COMMIT
3455
+ Started GET "/accounts/125" for 127.0.0.1 at 2013-05-30 12:56:54 -0400
3456
+ Processing by AccountsController#show as HTML
3457
+ Parameters: {"id"=>"125"}
3458
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 125 LIMIT 1
3459
+  (0.2ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 125 AND `modulate_documents`.`attachable_type` = 'Account'
3460
+ Rendered accounts/_modulate_account_documents.html.haml (55.9ms)
3461
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 125 AND `modulate_documents`.`attachable_type` = 'Account'
3462
+ Rendered accounts/_modulate_attachments.html.haml (294.2ms)
3463
+ Rendered accounts/show.html.erb within layouts/application (303.3ms)
3464
+ Completed 200 OK in 381ms (Views: 370.5ms | ActiveRecord: 3.3ms)
3465
+ Started PUT "/accounts/125" for 127.0.0.1 at 2013-05-30 12:56:55 -0400
3466
+ Processing by AccountsController#update as HTML
3467
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe613e0f690 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-15779-1c1bhpj>>}]}, "button"=>"", "id"=>"125"}
3468
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 125 LIMIT 1
3469
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 125 AND `modulate_documents`.`attachable_type` = 'Account'
3470
+  (0.1ms) BEGIN
3471
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '125-1369933015-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3472
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (125, 'Account', NULL, '125-1369933015-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:56:55', 'test.txt', '125-1369933015-test.txt', 'Test', 0, '2013-05-30 16:56:55')
3473
+  (0.4ms) COMMIT
3474
+ Redirected to http://www.example.com/accounts
3475
+ Completed 302 Found in 212ms (ActiveRecord: 1.8ms)
3476
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:56:55 -0400
3477
+ Processing by AccountsController#index as HTML
3478
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
3479
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
3480
+ Completed 200 OK in 21ms (Views: 4.7ms | ActiveRecord: 0.4ms)
3481
+  (0.1ms) BEGIN
3482
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:56:55', 'test_account', '2013-05-30 16:56:55')
3483
+  (0.4ms) COMMIT
3484
+ Started GET "/accounts/126" for 127.0.0.1 at 2013-05-30 12:56:55 -0400
3485
+ Processing by AccountsController#show as HTML
3486
+ Parameters: {"id"=>"126"}
3487
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 126 LIMIT 1
3488
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 126 AND `modulate_documents`.`attachable_type` = 'Account'
3489
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
3490
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 126 AND `modulate_documents`.`attachable_type` = 'Account'
3491
+ Rendered accounts/_modulate_attachments.html.haml (38.0ms)
3492
+ Rendered accounts/show.html.erb within layouts/application (38.4ms)
3493
+ Completed 200 OK in 43ms (Views: 40.4ms | ActiveRecord: 1.0ms)
3494
+ Started PUT "/accounts/126" for 127.0.0.1 at 2013-05-30 12:56:55 -0400
3495
+ Processing by AccountsController#update as HTML
3496
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe612d7cb98 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-15779-19akfm1>>}]}, "button"=>"", "id"=>"126"}
3497
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 126 LIMIT 1
3498
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 126 AND `modulate_documents`.`attachable_type` = 'Account'
3499
+  (0.1ms) BEGIN
3500
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '126-1369933015-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3501
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (126, 'Account', NULL, '126-1369933015-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:56:55', 'test.txt', '126-1369933015-test.txt', 'Test', 0, '2013-05-30 16:56:55')
3502
+  (0.4ms) COMMIT
3503
+ Redirected to http://www.example.com/accounts
3504
+ Completed 302 Found in 32ms (ActiveRecord: 1.7ms)
3505
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:56:55 -0400
3506
+ Processing by AccountsController#index as HTML
3507
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
3508
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
3509
+ Completed 200 OK in 18ms (Views: 2.9ms | ActiveRecord: 0.4ms)
3510
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
3511
+  (0.1ms) BEGIN
3512
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 16:56:55', 'test_account', '2013-05-30 16:56:55')
3513
+  (0.4ms) COMMIT
3514
+ Started GET "/accounts/127" for 127.0.0.1 at 2013-05-30 12:56:55 -0400
3515
+ Processing by AccountsController#show as HTML
3516
+ Parameters: {"id"=>"127"}
3517
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 127 LIMIT 1
3518
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 127 AND `modulate_documents`.`attachable_type` = 'Account'
3519
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
3520
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 127 AND `modulate_documents`.`attachable_type` = 'Account'
3521
+ Rendered accounts/_modulate_attachments.html.haml (38.1ms)
3522
+ Rendered accounts/show.html.erb within layouts/application (38.6ms)
3523
+ Completed 200 OK in 43ms (Views: 40.4ms | ActiveRecord: 1.0ms)
3524
+ Started PUT "/accounts/127" for 127.0.0.1 at 2013-05-30 12:56:55 -0400
3525
+ Processing by AccountsController#update as HTML
3526
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe6116abd88 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-15779-5y8iqe>>}]}, "button"=>"", "id"=>"127"}
3527
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 127 LIMIT 1
3528
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 127 AND `modulate_documents`.`attachable_type` = 'Account'
3529
+  (0.1ms) BEGIN
3530
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '127-1369933015-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3531
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (127, 'Account', NULL, '127-1369933015-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 16:56:55', 'test.txt', '127-1369933015-test.txt', 'Test', 0, '2013-05-30 16:56:55')
3532
+  (0.4ms) COMMIT
3533
+ Redirected to http://www.example.com/accounts
3534
+ Completed 302 Found in 32ms (ActiveRecord: 1.7ms)
3535
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 12:56:55 -0400
3536
+ Processing by AccountsController#index as HTML
3537
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
3538
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
3539
+ Completed 200 OK in 19ms (Views: 2.9ms | ActiveRecord: 0.4ms)
3540
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
3541
+ Started GET "/accounts/127" for 127.0.0.1 at 2013-05-30 12:56:55 -0400
3542
+ Processing by AccountsController#show as HTML
3543
+ Parameters: {"id"=>"127"}
3544
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 127 LIMIT 1
3545
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 127 AND `modulate_documents`.`attachable_type` = 'Account'
3546
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 127 AND `modulate_documents`.`attachable_type` = 'Account'
3547
+ Rendered accounts/_modulate_account_documents.html.haml (8.5ms)
3548
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 127 AND `modulate_documents`.`attachable_type` = 'Account'
3549
+ Rendered accounts/_modulate_attachments.html.haml (99.4ms)
3550
+ Rendered accounts/show.html.erb within layouts/application (99.9ms)
3551
+ Completed 200 OK in 104ms (Views: 101.6ms | ActiveRecord: 1.1ms)
3552
+ Started GET "/modulate/documents/96" for 127.0.0.1 at 2013-05-30 12:56:55 -0400
3553
+ Processing by Modulate::DocumentsController#show as HTML
3554
+ Parameters: {"id"=>"96"}
3555
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 96 LIMIT 1
3556
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 127 LIMIT 1
3557
+ Completed 500 Internal Server Error in 6ms
3558
+ Connecting to database specified by database.yml
3559
+  (0.1ms) BEGIN
3560
+ SQL (2.4ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:28:11', 'test_account', '2013-05-30 17:28:11')
3561
+  (0.4ms) COMMIT
3562
+ Started GET "/accounts/128" for 127.0.0.1 at 2013-05-30 13:28:11 -0400
3563
+ Processing by AccountsController#show as HTML
3564
+ Parameters: {"id"=>"128"}
3565
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 128 LIMIT 1
3566
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 128 AND `modulate_documents`.`attachable_type` = 'Account'
3567
+ Rendered accounts/_modulate_account_documents.html.haml (65.7ms)
3568
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 128 AND `modulate_documents`.`attachable_type` = 'Account'
3569
+ Rendered accounts/_modulate_attachments.html.haml (336.7ms)
3570
+ Rendered accounts/show.html.erb within layouts/application (406.8ms)
3571
+ Completed 200 OK in 438ms (Views: 426.2ms | ActiveRecord: 4.0ms)
3572
+ Started PUT "/accounts/128" for 127.0.0.1 at 2013-05-30 13:28:12 -0400
3573
+ Processing by AccountsController#update as HTML
3574
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fbff4dd5958 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-18378-6v6nzs>>}]}, "button"=>"", "id"=>"128"}
3575
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 128 LIMIT 1
3576
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 128 AND `modulate_documents`.`attachable_type` = 'Account'
3577
+  (0.1ms) BEGIN
3578
+ Modulate::Document Exists (0.4ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '128-1369934892-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3579
+  (0.2ms) ROLLBACK
3580
+ Completed 500 Internal Server Error in 47ms
3581
+  (0.1ms) BEGIN
3582
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:28:12', 'test_account', '2013-05-30 17:28:12')
3583
+  (0.4ms) COMMIT
3584
+ Started GET "/accounts/129" for 127.0.0.1 at 2013-05-30 13:28:12 -0400
3585
+ Processing by AccountsController#show as HTML
3586
+ Parameters: {"id"=>"129"}
3587
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 129 LIMIT 1
3588
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 129 AND `modulate_documents`.`attachable_type` = 'Account'
3589
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
3590
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 129 AND `modulate_documents`.`attachable_type` = 'Account'
3591
+ Rendered accounts/_modulate_attachments.html.haml (38.1ms)
3592
+ Rendered accounts/show.html.erb within layouts/application (38.6ms)
3593
+ Completed 200 OK in 43ms (Views: 40.5ms | ActiveRecord: 1.0ms)
3594
+ Started PUT "/accounts/129" for 127.0.0.1 at 2013-05-30 13:28:12 -0400
3595
+ Processing by AccountsController#update as HTML
3596
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fbff6062da0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-18378-1je2v9e>>}]}, "button"=>"", "id"=>"129"}
3597
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 129 LIMIT 1
3598
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 129 AND `modulate_documents`.`attachable_type` = 'Account'
3599
+  (0.1ms) BEGIN
3600
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '129-1369934892-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3601
+  (0.1ms) ROLLBACK
3602
+ Completed 500 Internal Server Error in 16ms
3603
+  (0.1ms) BEGIN
3604
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:28:12', 'test_account', '2013-05-30 17:28:12')
3605
+  (0.4ms) COMMIT
3606
+ Started GET "/accounts/130" for 127.0.0.1 at 2013-05-30 13:28:12 -0400
3607
+ Processing by AccountsController#show as HTML
3608
+ Parameters: {"id"=>"130"}
3609
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 130 LIMIT 1
3610
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 130 AND `modulate_documents`.`attachable_type` = 'Account'
3611
+ Rendered accounts/_modulate_account_documents.html.haml (2.9ms)
3612
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 130 AND `modulate_documents`.`attachable_type` = 'Account'
3613
+ Rendered accounts/_modulate_attachments.html.haml (91.9ms)
3614
+ Rendered accounts/show.html.erb within layouts/application (92.4ms)
3615
+ Completed 200 OK in 97ms (Views: 94.4ms | ActiveRecord: 1.0ms)
3616
+ Started PUT "/accounts/130" for 127.0.0.1 at 2013-05-30 13:28:12 -0400
3617
+ Processing by AccountsController#update as HTML
3618
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fbff33ddc58 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-18378-17rbwt4>>}]}, "button"=>"", "id"=>"130"}
3619
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 130 LIMIT 1
3620
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 130 AND `modulate_documents`.`attachable_type` = 'Account'
3621
+  (0.1ms) BEGIN
3622
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '130-1369934892-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3623
+  (0.1ms) ROLLBACK
3624
+ Completed 500 Internal Server Error in 16ms
3625
+ Connecting to database specified by database.yml
3626
+  (0.1ms) BEGIN
3627
+ SQL (2.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:28:56', 'test_account', '2013-05-30 17:28:56')
3628
+  (0.4ms) COMMIT
3629
+ Started GET "/accounts/131" for 127.0.0.1 at 2013-05-30 13:28:56 -0400
3630
+ Processing by AccountsController#show as HTML
3631
+ Parameters: {"id"=>"131"}
3632
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 131 LIMIT 1
3633
+  (0.2ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 131 AND `modulate_documents`.`attachable_type` = 'Account'
3634
+ Rendered accounts/_modulate_account_documents.html.haml (103.3ms)
3635
+ Modulate::Document Load (0.7ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 131 AND `modulate_documents`.`attachable_type` = 'Account'
3636
+ Rendered accounts/_modulate_attachments.html.haml (288.2ms)
3637
+ Rendered accounts/show.html.erb within layouts/application (298.0ms)
3638
+ Completed 200 OK in 325ms (Views: 314.9ms | ActiveRecord: 3.8ms)
3639
+ Started PUT "/accounts/131" for 127.0.0.1 at 2013-05-30 13:28:57 -0400
3640
+ Processing by AccountsController#update as HTML
3641
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fd3ebe4ba30 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-18625-b36493>>}]}, "button"=>"", "id"=>"131"}
3642
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 131 LIMIT 1
3643
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 131 AND `modulate_documents`.`attachable_type` = 'Account'
3644
+  (0.1ms) BEGIN
3645
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '131-1369934937-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3646
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (131, 'Account', NULL, '131-1369934937-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:28:57', 'test.txt', '131-1369934937-test.txt', 'Test', 0, '2013-05-30 17:28:57')
3647
+  (0.5ms) COMMIT
3648
+ Redirected to http://www.example.com/accounts
3649
+ Completed 302 Found in 174ms (ActiveRecord: 1.8ms)
3650
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:28:57 -0400
3651
+ Processing by AccountsController#index as HTML
3652
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` 
3653
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
3654
+ Completed 200 OK in 22ms (Views: 4.8ms | ActiveRecord: 0.5ms)
3655
+  (0.1ms) BEGIN
3656
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:28:57', 'test_account', '2013-05-30 17:28:57')
3657
+  (0.4ms) COMMIT
3658
+ Started GET "/accounts/132" for 127.0.0.1 at 2013-05-30 13:28:57 -0400
3659
+ Processing by AccountsController#show as HTML
3660
+ Parameters: {"id"=>"132"}
3661
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 132 LIMIT 1
3662
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 132 AND `modulate_documents`.`attachable_type` = 'Account'
3663
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
3664
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 132 AND `modulate_documents`.`attachable_type` = 'Account'
3665
+ Rendered accounts/_modulate_attachments.html.haml (38.5ms)
3666
+ Rendered accounts/show.html.erb within layouts/application (38.9ms)
3667
+ Completed 200 OK in 43ms (Views: 40.8ms | ActiveRecord: 1.0ms)
3668
+ Started PUT "/accounts/132" for 127.0.0.1 at 2013-05-30 13:28:57 -0400
3669
+ Processing by AccountsController#update as HTML
3670
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fd3ed8ca938 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-18625-kzb86e>>}]}, "button"=>"", "id"=>"132"}
3671
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 132 LIMIT 1
3672
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 132 AND `modulate_documents`.`attachable_type` = 'Account'
3673
+  (0.1ms) BEGIN
3674
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '132-1369934937-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3675
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (132, 'Account', NULL, '132-1369934937-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:28:57', 'test.txt', '132-1369934937-test.txt', 'Test', 0, '2013-05-30 17:28:57')
3676
+  (0.5ms) COMMIT
3677
+ Redirected to http://www.example.com/accounts
3678
+ Completed 302 Found in 87ms (ActiveRecord: 1.8ms)
3679
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:28:57 -0400
3680
+ Processing by AccountsController#index as HTML
3681
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts`
3682
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
3683
+ Completed 200 OK in 20ms (Views: 2.9ms | ActiveRecord: 0.5ms)
3684
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
3685
+  (0.1ms) BEGIN
3686
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:28:57', 'test_account', '2013-05-30 17:28:57')
3687
+  (0.4ms) COMMIT
3688
+ Started GET "/accounts/133" for 127.0.0.1 at 2013-05-30 13:28:57 -0400
3689
+ Processing by AccountsController#show as HTML
3690
+ Parameters: {"id"=>"133"}
3691
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 133 LIMIT 1
3692
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 133 AND `modulate_documents`.`attachable_type` = 'Account'
3693
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
3694
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 133 AND `modulate_documents`.`attachable_type` = 'Account'
3695
+ Rendered accounts/_modulate_attachments.html.haml (38.5ms)
3696
+ Rendered accounts/show.html.erb within layouts/application (39.0ms)
3697
+ Completed 200 OK in 44ms (Views: 40.9ms | ActiveRecord: 1.0ms)
3698
+ Started PUT "/accounts/133" for 127.0.0.1 at 2013-05-30 13:28:57 -0400
3699
+ Processing by AccountsController#update as HTML
3700
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fd3ed8aca28 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-18625-16nhnkf>>}]}, "button"=>"", "id"=>"133"}
3701
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 133 LIMIT 1
3702
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 133 AND `modulate_documents`.`attachable_type` = 'Account'
3703
+  (0.1ms) BEGIN
3704
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '133-1369934937-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3705
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (133, 'Account', NULL, '133-1369934937-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:28:57', 'test.txt', '133-1369934937-test.txt', 'Test', 0, '2013-05-30 17:28:57')
3706
+  (0.4ms) COMMIT
3707
+ Redirected to http://www.example.com/accounts
3708
+ Completed 302 Found in 32ms (ActiveRecord: 1.7ms)
3709
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:28:57 -0400
3710
+ Processing by AccountsController#index as HTML
3711
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
3712
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
3713
+ Completed 200 OK in 20ms (Views: 3.0ms | ActiveRecord: 0.4ms)
3714
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
3715
+ Started GET "/accounts/133" for 127.0.0.1 at 2013-05-30 13:28:57 -0400
3716
+ Processing by AccountsController#show as HTML
3717
+ Parameters: {"id"=>"133"}
3718
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 133 LIMIT 1
3719
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 133 AND `modulate_documents`.`attachable_type` = 'Account'
3720
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 133 AND `modulate_documents`.`attachable_type` = 'Account'
3721
+ Rendered accounts/_modulate_account_documents.html.haml (8.5ms)
3722
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 133 AND `modulate_documents`.`attachable_type` = 'Account'
3723
+ Rendered accounts/_modulate_attachments.html.haml (43.5ms)
3724
+ Rendered accounts/show.html.erb within layouts/application (43.9ms)
3725
+ Completed 200 OK in 49ms (Views: 46.0ms | ActiveRecord: 0.9ms)
3726
+ Started GET "/modulate/documents/99" for 127.0.0.1 at 2013-05-30 13:28:57 -0400
3727
+ Processing by Modulate::DocumentsController#show as HTML
3728
+ Parameters: {"id"=>"99"}
3729
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 99 LIMIT 1
3730
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 133 LIMIT 1
3731
+ Completed 500 Internal Server Error in 6ms
3732
+ Connecting to database specified by database.yml
3733
+  (0.1ms) BEGIN
3734
+ SQL (3.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:30:23', 'test_account', '2013-05-30 17:30:23')
3735
+  (0.4ms) COMMIT
3736
+ Started GET "/accounts/134" for 127.0.0.1 at 2013-05-30 13:30:23 -0400
3737
+ Processing by AccountsController#show as HTML
3738
+ Parameters: {"id"=>"134"}
3739
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 134 LIMIT 1
3740
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 134 AND `modulate_documents`.`attachable_type` = 'Account'
3741
+ Rendered accounts/_modulate_account_documents.html.haml (106.5ms)
3742
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 134 AND `modulate_documents`.`attachable_type` = 'Account'
3743
+ Rendered accounts/_modulate_attachments.html.haml (306.6ms)
3744
+ Rendered accounts/show.html.erb within layouts/application (316.9ms)
3745
+ Completed 200 OK in 396ms (Views: 332.9ms | ActiveRecord: 3.5ms)
3746
+ Started PUT "/accounts/134" for 127.0.0.1 at 2013-05-30 13:30:24 -0400
3747
+ Processing by AccountsController#update as HTML
3748
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fbd733a0948 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-18877-11u461i>>}]}, "button"=>"", "id"=>"134"}
3749
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 134 LIMIT 1
3750
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 134 AND `modulate_documents`.`attachable_type` = 'Account'
3751
+  (0.1ms) BEGIN
3752
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '134-1369935024-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3753
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (134, 'Account', NULL, '134-1369935024-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:30:24', 'test.txt', '134-1369935024-test.txt', 'Test', 0, '2013-05-30 17:30:24')
3754
+  (0.4ms) COMMIT
3755
+ Redirected to http://www.example.com/accounts
3756
+ Completed 302 Found in 219ms (ActiveRecord: 1.9ms)
3757
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:30:24 -0400
3758
+ Processing by AccountsController#index as HTML
3759
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
3760
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
3761
+ Completed 200 OK in 22ms (Views: 4.9ms | ActiveRecord: 0.4ms)
3762
+  (0.1ms) BEGIN
3763
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:30:24', 'test_account', '2013-05-30 17:30:24')
3764
+  (0.4ms) COMMIT
3765
+ Started GET "/accounts/135" for 127.0.0.1 at 2013-05-30 13:30:24 -0400
3766
+ Processing by AccountsController#show as HTML
3767
+ Parameters: {"id"=>"135"}
3768
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 135 LIMIT 1
3769
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 135 AND `modulate_documents`.`attachable_type` = 'Account'
3770
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
3771
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 135 AND `modulate_documents`.`attachable_type` = 'Account'
3772
+ Rendered accounts/_modulate_attachments.html.haml (37.9ms)
3773
+ Rendered accounts/show.html.erb within layouts/application (38.3ms)
3774
+ Completed 200 OK in 43ms (Views: 40.2ms | ActiveRecord: 1.0ms)
3775
+ Started PUT "/accounts/135" for 127.0.0.1 at 2013-05-30 13:30:24 -0400
3776
+ Processing by AccountsController#update as HTML
3777
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fbd7550f728 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-18877-vavww3>>}]}, "button"=>"", "id"=>"135"}
3778
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 135 LIMIT 1
3779
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 135 AND `modulate_documents`.`attachable_type` = 'Account'
3780
+  (0.1ms) BEGIN
3781
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '135-1369935024-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3782
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (135, 'Account', NULL, '135-1369935024-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:30:24', 'test.txt', '135-1369935024-test.txt', 'Test', 0, '2013-05-30 17:30:24')
3783
+  (15.1ms) COMMIT
3784
+ Redirected to http://www.example.com/accounts
3785
+ Completed 302 Found in 48ms (ActiveRecord: 16.3ms)
3786
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:30:24 -0400
3787
+ Processing by AccountsController#index as HTML
3788
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
3789
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
3790
+ Completed 200 OK in 20ms (Views: 3.1ms | ActiveRecord: 0.4ms)
3791
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
3792
+  (0.1ms) BEGIN
3793
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:30:24', 'test_account', '2013-05-30 17:30:24')
3794
+  (0.4ms) COMMIT
3795
+ Started GET "/accounts/136" for 127.0.0.1 at 2013-05-30 13:30:24 -0400
3796
+ Processing by AccountsController#show as HTML
3797
+ Parameters: {"id"=>"136"}
3798
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 136 LIMIT 1
3799
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 136 AND `modulate_documents`.`attachable_type` = 'Account'
3800
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
3801
+ Modulate::Document Load (0.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 136 AND `modulate_documents`.`attachable_type` = 'Account'
3802
+ Rendered accounts/_modulate_attachments.html.haml (39.0ms)
3803
+ Rendered accounts/show.html.erb within layouts/application (39.4ms)
3804
+ Completed 200 OK in 44ms (Views: 41.1ms | ActiveRecord: 1.2ms)
3805
+ Started PUT "/accounts/136" for 127.0.0.1 at 2013-05-30 13:30:24 -0400
3806
+ Processing by AccountsController#update as HTML
3807
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fbd76c9e4c0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-18877-cw4q4q>>}]}, "button"=>"", "id"=>"136"}
3808
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 136 LIMIT 1
3809
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 136 AND `modulate_documents`.`attachable_type` = 'Account'
3810
+  (0.1ms) BEGIN
3811
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '136-1369935024-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3812
+ SQL (0.5ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (136, 'Account', NULL, '136-1369935024-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:30:24', 'test.txt', '136-1369935024-test.txt', 'Test', 0, '2013-05-30 17:30:24')
3813
+  (0.4ms) COMMIT
3814
+ Redirected to http://www.example.com/accounts
3815
+ Completed 302 Found in 89ms (ActiveRecord: 2.0ms)
3816
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:30:24 -0400
3817
+ Processing by AccountsController#index as HTML
3818
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
3819
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
3820
+ Completed 200 OK in 20ms (Views: 2.9ms | ActiveRecord: 0.4ms)
3821
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
3822
+ Started GET "/accounts/136" for 127.0.0.1 at 2013-05-30 13:30:24 -0400
3823
+ Processing by AccountsController#show as HTML
3824
+ Parameters: {"id"=>"136"}
3825
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 136 LIMIT 1
3826
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 136 AND `modulate_documents`.`attachable_type` = 'Account'
3827
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 136 AND `modulate_documents`.`attachable_type` = 'Account'
3828
+ Rendered accounts/_modulate_account_documents.html.haml (8.2ms)
3829
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 136 AND `modulate_documents`.`attachable_type` = 'Account'
3830
+ Rendered accounts/_modulate_attachments.html.haml (42.8ms)
3831
+ Rendered accounts/show.html.erb within layouts/application (43.3ms)
3832
+ Completed 200 OK in 48ms (Views: 45.3ms | ActiveRecord: 0.9ms)
3833
+ Started GET "/modulate/documents/102" for 127.0.0.1 at 2013-05-30 13:30:24 -0400
3834
+ Processing by Modulate::DocumentsController#show as HTML
3835
+ Parameters: {"id"=>"102"}
3836
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 102 LIMIT 1
3837
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 136 LIMIT 1
3838
+ Completed 500 Internal Server Error in 5ms
3839
+ Connecting to database specified by database.yml
3840
+  (0.1ms) BEGIN
3841
+ SQL (3.1ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:32:58', 'test_account', '2013-05-30 17:32:58')
3842
+  (0.4ms) COMMIT
3843
+ Started GET "/accounts/137" for 127.0.0.1 at 2013-05-30 13:32:58 -0400
3844
+ Processing by AccountsController#show as HTML
3845
+ Parameters: {"id"=>"137"}
3846
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 137 LIMIT 1
3847
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 137 AND `modulate_documents`.`attachable_type` = 'Account'
3848
+ Rendered accounts/_modulate_account_documents.html.haml (54.0ms)
3849
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 137 AND `modulate_documents`.`attachable_type` = 'Account'
3850
+ Rendered accounts/_modulate_attachments.html.haml (299.3ms)
3851
+ Rendered accounts/show.html.erb within layouts/application (308.8ms)
3852
+ Completed 200 OK in 386ms (Views: 376.1ms | ActiveRecord: 3.5ms)
3853
+ Started PUT "/accounts/137" for 127.0.0.1 at 2013-05-30 13:32:59 -0400
3854
+ Processing by AccountsController#update as HTML
3855
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007ffa26aadd90 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-19156-sc3hsy>>}]}, "button"=>"", "id"=>"137"}
3856
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 137 LIMIT 1
3857
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 137 AND `modulate_documents`.`attachable_type` = 'Account'
3858
+  (0.7ms) BEGIN
3859
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '137-1369935179-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3860
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (137, 'Account', NULL, '137-1369935179-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:32:59', 'test.txt', '137-1369935179-test.txt', 'Test', 0, '2013-05-30 17:32:59')
3861
+  (0.4ms) COMMIT
3862
+ Redirected to http://www.example.com/accounts
3863
+ Completed 302 Found in 226ms (ActiveRecord: 2.5ms)
3864
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:32:59 -0400
3865
+ Processing by AccountsController#index as HTML
3866
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` 
3867
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
3868
+ Completed 200 OK in 23ms (Views: 4.8ms | ActiveRecord: 0.5ms)
3869
+  (0.1ms) BEGIN
3870
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:32:59', 'test_account', '2013-05-30 17:32:59')
3871
+  (0.4ms) COMMIT
3872
+ Started GET "/accounts/138" for 127.0.0.1 at 2013-05-30 13:32:59 -0400
3873
+ Processing by AccountsController#show as HTML
3874
+ Parameters: {"id"=>"138"}
3875
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 138 LIMIT 1
3876
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 138 AND `modulate_documents`.`attachable_type` = 'Account'
3877
+ Rendered accounts/_modulate_account_documents.html.haml (2.7ms)
3878
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 138 AND `modulate_documents`.`attachable_type` = 'Account'
3879
+ Rendered accounts/_modulate_attachments.html.haml (38.5ms)
3880
+ Rendered accounts/show.html.erb within layouts/application (38.9ms)
3881
+ Completed 200 OK in 44ms (Views: 40.9ms | ActiveRecord: 1.1ms)
3882
+ Started PUT "/accounts/138" for 127.0.0.1 at 2013-05-30 13:32:59 -0400
3883
+ Processing by AccountsController#update as HTML
3884
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007ffa2688f5e0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-19156-z49igg>>}]}, "button"=>"", "id"=>"138"}
3885
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 138 LIMIT 1
3886
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 138 AND `modulate_documents`.`attachable_type` = 'Account'
3887
+  (0.1ms) BEGIN
3888
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '138-1369935179-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3889
+ SQL (0.2ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (138, 'Account', NULL, '138-1369935179-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:32:59', 'test.txt', '138-1369935179-test.txt', 'Test', 0, '2013-05-30 17:32:59')
3890
+  (0.4ms) COMMIT
3891
+ Redirected to http://www.example.com/accounts
3892
+ Completed 302 Found in 32ms (ActiveRecord: 1.7ms)
3893
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:32:59 -0400
3894
+ Processing by AccountsController#index as HTML
3895
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts`
3896
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
3897
+ Completed 200 OK in 21ms (Views: 3.0ms | ActiveRecord: 0.5ms)
3898
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
3899
+  (0.1ms) BEGIN
3900
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:32:59', 'test_account', '2013-05-30 17:32:59')
3901
+  (0.4ms) COMMIT
3902
+ Started GET "/accounts/139" for 127.0.0.1 at 2013-05-30 13:32:59 -0400
3903
+ Processing by AccountsController#show as HTML
3904
+ Parameters: {"id"=>"139"}
3905
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 139 LIMIT 1
3906
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 139 AND `modulate_documents`.`attachable_type` = 'Account'
3907
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
3908
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 139 AND `modulate_documents`.`attachable_type` = 'Account'
3909
+ Rendered accounts/_modulate_attachments.html.haml (38.8ms)
3910
+ Rendered accounts/show.html.erb within layouts/application (39.3ms)
3911
+ Completed 200 OK in 44ms (Views: 41.2ms | ActiveRecord: 1.0ms)
3912
+ Started PUT "/accounts/139" for 127.0.0.1 at 2013-05-30 13:32:59 -0400
3913
+ Processing by AccountsController#update as HTML
3914
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007ffa25c64298 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-19156-rqj6r6>>}]}, "button"=>"", "id"=>"139"}
3915
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 139 LIMIT 1
3916
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 139 AND `modulate_documents`.`attachable_type` = 'Account'
3917
+  (0.1ms) BEGIN
3918
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '139-1369935179-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3919
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (139, 'Account', NULL, '139-1369935179-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:32:59', 'test.txt', '139-1369935179-test.txt', 'Test', 0, '2013-05-30 17:32:59')
3920
+  (0.4ms) COMMIT
3921
+ Redirected to http://www.example.com/accounts
3922
+ Completed 302 Found in 33ms (ActiveRecord: 1.8ms)
3923
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:32:59 -0400
3924
+ Processing by AccountsController#index as HTML
3925
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
3926
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
3927
+ Completed 200 OK in 20ms (Views: 3.0ms | ActiveRecord: 0.4ms)
3928
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
3929
+ Started GET "/accounts/139" for 127.0.0.1 at 2013-05-30 13:32:59 -0400
3930
+ Processing by AccountsController#show as HTML
3931
+ Parameters: {"id"=>"139"}
3932
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 139 LIMIT 1
3933
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 139 AND `modulate_documents`.`attachable_type` = 'Account'
3934
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 139 AND `modulate_documents`.`attachable_type` = 'Account'
3935
+ Rendered accounts/_modulate_account_documents.html.haml (8.7ms)
3936
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 139 AND `modulate_documents`.`attachable_type` = 'Account'
3937
+ Rendered accounts/_modulate_attachments.html.haml (101.4ms)
3938
+ Rendered accounts/show.html.erb within layouts/application (101.9ms)
3939
+ Completed 200 OK in 106ms (Views: 103.9ms | ActiveRecord: 1.0ms)
3940
+ Started GET "/modulate/documents/105" for 127.0.0.1 at 2013-05-30 13:32:59 -0400
3941
+ Processing by Modulate::DocumentsController#show as HTML
3942
+ Parameters: {"id"=>"105"}
3943
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 105 LIMIT 1
3944
+ Completed 500 Internal Server Error in 3ms
3945
+ Connecting to database specified by database.yml
3946
+  (0.2ms) BEGIN
3947
+ SQL (2.5ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:33:43', 'test_account', '2013-05-30 17:33:43')
3948
+  (0.4ms) COMMIT
3949
+ Started GET "/accounts/140" for 127.0.0.1 at 2013-05-30 13:33:44 -0400
3950
+ Processing by AccountsController#show as HTML
3951
+ Parameters: {"id"=>"140"}
3952
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 140 LIMIT 1
3953
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 140 AND `modulate_documents`.`attachable_type` = 'Account'
3954
+ Rendered accounts/_modulate_account_documents.html.haml (54.8ms)
3955
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 140 AND `modulate_documents`.`attachable_type` = 'Account'
3956
+ Rendered accounts/_modulate_attachments.html.haml (302.4ms)
3957
+ Rendered accounts/show.html.erb within layouts/application (312.3ms)
3958
+ Completed 200 OK in 388ms (Views: 378.5ms | ActiveRecord: 3.6ms)
3959
+ Started PUT "/accounts/140" for 127.0.0.1 at 2013-05-30 13:33:44 -0400
3960
+ Processing by AccountsController#update as HTML
3961
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fcd9e003c00 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-19405-z8z00d>>}]}, "button"=>"", "id"=>"140"}
3962
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 140 LIMIT 1
3963
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 140 AND `modulate_documents`.`attachable_type` = 'Account'
3964
+  (0.1ms) BEGIN
3965
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '140-1369935224-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3966
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (140, 'Account', NULL, '140-1369935224-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:33:44', 'test.txt', '140-1369935224-test.txt', 'Test', 0, '2013-05-30 17:33:44')
3967
+  (0.5ms) COMMIT
3968
+ Redirected to http://www.example.com/accounts
3969
+ Completed 302 Found in 221ms (ActiveRecord: 2.0ms)
3970
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:33:44 -0400
3971
+ Processing by AccountsController#index as HTML
3972
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
3973
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
3974
+ Completed 200 OK in 24ms (Views: 4.8ms | ActiveRecord: 0.4ms)
3975
+  (0.1ms) BEGIN
3976
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:33:45', 'test_account', '2013-05-30 17:33:45')
3977
+  (0.4ms) COMMIT
3978
+ Started GET "/accounts/141" for 127.0.0.1 at 2013-05-30 13:33:45 -0400
3979
+ Processing by AccountsController#show as HTML
3980
+ Parameters: {"id"=>"141"}
3981
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 141 LIMIT 1
3982
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 141 AND `modulate_documents`.`attachable_type` = 'Account'
3983
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
3984
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 141 AND `modulate_documents`.`attachable_type` = 'Account'
3985
+ Rendered accounts/_modulate_attachments.html.haml (38.8ms)
3986
+ Rendered accounts/show.html.erb within layouts/application (39.3ms)
3987
+ Completed 200 OK in 44ms (Views: 41.3ms | ActiveRecord: 1.0ms)
3988
+ Started PUT "/accounts/141" for 127.0.0.1 at 2013-05-30 13:33:45 -0400
3989
+ Processing by AccountsController#update as HTML
3990
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fcd9e4dee28 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-19405-1q50wx8>>}]}, "button"=>"", "id"=>"141"}
3991
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 141 LIMIT 1
3992
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 141 AND `modulate_documents`.`attachable_type` = 'Account'
3993
+  (0.1ms) BEGIN
3994
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '141-1369935225-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
3995
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (141, 'Account', NULL, '141-1369935225-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:33:45', 'test.txt', '141-1369935225-test.txt', 'Test', 0, '2013-05-30 17:33:45')
3996
+  (0.4ms) COMMIT
3997
+ Redirected to http://www.example.com/accounts
3998
+ Completed 302 Found in 32ms (ActiveRecord: 1.8ms)
3999
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:33:45 -0400
4000
+ Processing by AccountsController#index as HTML
4001
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
4002
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
4003
+ Completed 200 OK in 21ms (Views: 2.9ms | ActiveRecord: 0.4ms)
4004
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4005
+  (0.1ms) BEGIN
4006
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:33:45', 'test_account', '2013-05-30 17:33:45')
4007
+  (0.4ms) COMMIT
4008
+ Started GET "/accounts/142" for 127.0.0.1 at 2013-05-30 13:33:45 -0400
4009
+ Processing by AccountsController#show as HTML
4010
+ Parameters: {"id"=>"142"}
4011
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 142 LIMIT 1
4012
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 142 AND `modulate_documents`.`attachable_type` = 'Account'
4013
+ Rendered accounts/_modulate_account_documents.html.haml (2.8ms)
4014
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 142 AND `modulate_documents`.`attachable_type` = 'Account'
4015
+ Rendered accounts/_modulate_attachments.html.haml (41.7ms)
4016
+ Rendered accounts/show.html.erb within layouts/application (42.2ms)
4017
+ Completed 200 OK in 47ms (Views: 44.1ms | ActiveRecord: 1.0ms)
4018
+ Started PUT "/accounts/142" for 127.0.0.1 at 2013-05-30 13:33:45 -0400
4019
+ Processing by AccountsController#update as HTML
4020
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fcd9e534df0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-19405-1v7p6n9>>}]}, "button"=>"", "id"=>"142"}
4021
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 142 LIMIT 1
4022
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 142 AND `modulate_documents`.`attachable_type` = 'Account'
4023
+  (0.1ms) BEGIN
4024
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '142-1369935225-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4025
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (142, 'Account', NULL, '142-1369935225-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:33:45', 'test.txt', '142-1369935225-test.txt', 'Test', 0, '2013-05-30 17:33:45')
4026
+  (0.4ms) COMMIT
4027
+ Redirected to http://www.example.com/accounts
4028
+ Completed 302 Found in 33ms (ActiveRecord: 1.8ms)
4029
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:33:45 -0400
4030
+ Processing by AccountsController#index as HTML
4031
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
4032
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
4033
+ Completed 200 OK in 21ms (Views: 3.0ms | ActiveRecord: 0.4ms)
4034
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4035
+ Started GET "/accounts/142" for 127.0.0.1 at 2013-05-30 13:33:45 -0400
4036
+ Processing by AccountsController#show as HTML
4037
+ Parameters: {"id"=>"142"}
4038
+ Account Load (0.2ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 142 LIMIT 1
4039
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 142 AND `modulate_documents`.`attachable_type` = 'Account'
4040
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 142 AND `modulate_documents`.`attachable_type` = 'Account'
4041
+ Rendered accounts/_modulate_account_documents.html.haml (8.4ms)
4042
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 142 AND `modulate_documents`.`attachable_type` = 'Account'
4043
+ Rendered accounts/_modulate_attachments.html.haml (101.1ms)
4044
+ Rendered accounts/show.html.erb within layouts/application (101.7ms)
4045
+ Completed 200 OK in 106ms (Views: 103.6ms | ActiveRecord: 0.9ms)
4046
+ Started GET "/modulate/documents/108" for 127.0.0.1 at 2013-05-30 13:33:45 -0400
4047
+ Processing by Modulate::DocumentsController#show as HTML
4048
+ Parameters: {"id"=>"108"}
4049
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 108 LIMIT 1
4050
+ Redirected to
4051
+ Completed 500 Internal Server Error in 13ms
4052
+ Connecting to database specified by database.yml
4053
+  (0.1ms) BEGIN
4054
+ SQL (2.7ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:34:14', 'test_account', '2013-05-30 17:34:14')
4055
+  (0.3ms) COMMIT
4056
+ Started GET "/accounts/143" for 127.0.0.1 at 2013-05-30 13:34:14 -0400
4057
+ Processing by AccountsController#show as HTML
4058
+ Parameters: {"id"=>"143"}
4059
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 143 LIMIT 1
4060
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 143 AND `modulate_documents`.`attachable_type` = 'Account'
4061
+ Rendered accounts/_modulate_account_documents.html.haml (57.5ms)
4062
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 143 AND `modulate_documents`.`attachable_type` = 'Account'
4063
+ Rendered accounts/_modulate_attachments.html.haml (305.9ms)
4064
+ Rendered accounts/show.html.erb within layouts/application (315.1ms)
4065
+ Completed 200 OK in 393ms (Views: 382.5ms | ActiveRecord: 3.5ms)
4066
+ Started PUT "/accounts/143" for 127.0.0.1 at 2013-05-30 13:34:15 -0400
4067
+ Processing by AccountsController#update as HTML
4068
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fae75f0f250 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-19647-y7sbo4>>}]}, "button"=>"", "id"=>"143"}
4069
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 143 LIMIT 1
4070
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 143 AND `modulate_documents`.`attachable_type` = 'Account'
4071
+  (0.1ms) BEGIN
4072
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '143-1369935255-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4073
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (143, 'Account', NULL, '143-1369935255-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:34:15', 'test.txt', '143-1369935255-test.txt', 'Test', 0, '2013-05-30 17:34:15')
4074
+  (0.6ms) COMMIT
4075
+ Redirected to http://www.example.com/accounts
4076
+ Completed 302 Found in 223ms (ActiveRecord: 2.0ms)
4077
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:34:15 -0400
4078
+ Processing by AccountsController#index as HTML
4079
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
4080
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
4081
+ Completed 200 OK in 24ms (Views: 5.0ms | ActiveRecord: 0.4ms)
4082
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4083
+ Started GET "/accounts/143" for 127.0.0.1 at 2013-05-30 13:34:15 -0400
4084
+ Processing by AccountsController#show as HTML
4085
+ Parameters: {"id"=>"143"}
4086
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 143 LIMIT 1
4087
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 143 AND `modulate_documents`.`attachable_type` = 'Account'
4088
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 143 AND `modulate_documents`.`attachable_type` = 'Account'
4089
+ Rendered accounts/_modulate_account_documents.html.haml (8.4ms)
4090
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 143 AND `modulate_documents`.`attachable_type` = 'Account'
4091
+ Rendered accounts/_modulate_attachments.html.haml (43.6ms)
4092
+ Rendered accounts/show.html.erb within layouts/application (44.0ms)
4093
+ Completed 200 OK in 49ms (Views: 45.9ms | ActiveRecord: 0.9ms)
4094
+ Started GET "/modulate/documents/109" for 127.0.0.1 at 2013-05-30 13:34:15 -0400
4095
+ Processing by Modulate::DocumentsController#show as HTML
4096
+ Parameters: {"id"=>"109"}
4097
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 109 LIMIT 1
4098
+ Rendered text template (0.0ms)
4099
+ Sent data (15.4ms)
4100
+ Completed 200 OK in 28ms (Views: 15.2ms | ActiveRecord: 0.3ms)
4101
+  (0.2ms) BEGIN
4102
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:34:15', 'test_account', '2013-05-30 17:34:15')
4103
+  (0.8ms) COMMIT
4104
+ Started GET "/accounts/144" for 127.0.0.1 at 2013-05-30 13:34:15 -0400
4105
+ Processing by AccountsController#show as HTML
4106
+ Parameters: {"id"=>"144"}
4107
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 144 LIMIT 1
4108
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 144 AND `modulate_documents`.`attachable_type` = 'Account'
4109
+ Rendered accounts/_modulate_account_documents.html.haml (3.6ms)
4110
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 144 AND `modulate_documents`.`attachable_type` = 'Account'
4111
+ Rendered accounts/_modulate_attachments.html.haml (47.2ms)
4112
+ Rendered accounts/show.html.erb within layouts/application (47.8ms)
4113
+ Completed 200 OK in 54ms (Views: 50.8ms | ActiveRecord: 1.1ms)
4114
+ Started PUT "/accounts/144" for 127.0.0.1 at 2013-05-30 13:34:15 -0400
4115
+ Processing by AccountsController#update as HTML
4116
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fae7539af50 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-19647-klcupg>>}]}, "button"=>"", "id"=>"144"}
4117
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 144 LIMIT 1
4118
+ Modulate::Document Load (1.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 144 AND `modulate_documents`.`attachable_type` = 'Account'
4119
+  (0.1ms) BEGIN
4120
+ Modulate::Document Exists (0.4ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '144-1369935255-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4121
+ SQL (0.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (144, 'Account', NULL, '144-1369935255-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:34:15', 'test.txt', '144-1369935255-test.txt', 'Test', 0, '2013-05-30 17:34:15')
4122
+  (2.5ms) COMMIT
4123
+ Redirected to http://www.example.com/accounts
4124
+ Completed 302 Found in 74ms (ActiveRecord: 4.7ms)
4125
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:34:15 -0400
4126
+ Processing by AccountsController#index as HTML
4127
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts`
4128
+ Rendered accounts/index.html.haml within layouts/application (0.2ms)
4129
+ Completed 200 OK in 28ms (Views: 5.0ms | ActiveRecord: 0.5ms)
4130
+ Modulate::Document Load (1.1ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4131
+  (0.2ms) BEGIN
4132
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:34:15', 'test_account', '2013-05-30 17:34:15')
4133
+  (0.6ms) COMMIT
4134
+ Started GET "/accounts/145" for 127.0.0.1 at 2013-05-30 13:34:15 -0400
4135
+ Processing by AccountsController#show as HTML
4136
+ Parameters: {"id"=>"145"}
4137
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 145 LIMIT 1
4138
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 145 AND `modulate_documents`.`attachable_type` = 'Account'
4139
+ Rendered accounts/_modulate_account_documents.html.haml (2.8ms)
4140
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 145 AND `modulate_documents`.`attachable_type` = 'Account'
4141
+ Rendered accounts/_modulate_attachments.html.haml (61.0ms)
4142
+ Rendered accounts/show.html.erb within layouts/application (61.4ms)
4143
+ Completed 200 OK in 66ms (Views: 63.2ms | ActiveRecord: 1.2ms)
4144
+ Started PUT "/accounts/145" for 127.0.0.1 at 2013-05-30 13:34:15 -0400
4145
+ Processing by AccountsController#update as HTML
4146
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fae7571d240 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-19647-nvyw7d>>}]}, "button"=>"", "id"=>"145"}
4147
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 145 LIMIT 1
4148
+ Modulate::Document Load (25.8ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 145 AND `modulate_documents`.`attachable_type` = 'Account'
4149
+  (3.1ms) BEGIN
4150
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '145-1369935255-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4151
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (145, 'Account', NULL, '145-1369935255-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:34:15', 'test.txt', '145-1369935255-test.txt', 'Test', 0, '2013-05-30 17:34:15')
4152
+  (16.1ms) COMMIT
4153
+ Redirected to http://www.example.com/accounts
4154
+ Completed 302 Found in 216ms (ActiveRecord: 46.2ms)
4155
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:34:16 -0400
4156
+ Processing by AccountsController#index as HTML
4157
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
4158
+ Rendered accounts/index.html.haml within layouts/application (0.2ms)
4159
+ Completed 200 OK in 24ms (Views: 4.2ms | ActiveRecord: 0.4ms)
4160
+ Connecting to database specified by database.yml
4161
+  (0.2ms) BEGIN
4162
+ SQL (2.4ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:35:58', 'test_account', '2013-05-30 17:35:58')
4163
+  (0.4ms) COMMIT
4164
+ Started GET "/accounts/146" for 127.0.0.1 at 2013-05-30 13:35:59 -0400
4165
+ Processing by AccountsController#show as HTML
4166
+ Parameters: {"id"=>"146"}
4167
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 146 LIMIT 1
4168
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 146 AND `modulate_documents`.`attachable_type` = 'Account'
4169
+ Rendered accounts/_modulate_account_documents.html.haml (55.0ms)
4170
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 146 AND `modulate_documents`.`attachable_type` = 'Account'
4171
+ Rendered accounts/_modulate_attachments.html.haml (299.4ms)
4172
+ Rendered accounts/show.html.erb within layouts/application (309.2ms)
4173
+ Completed 200 OK in 386ms (Views: 376.9ms | ActiveRecord: 3.5ms)
4174
+ Started PUT "/accounts/146" for 127.0.0.1 at 2013-05-30 13:35:59 -0400
4175
+ Processing by AccountsController#update as HTML
4176
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f9333c1afc0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-19916-7zw22t>>}]}, "button"=>"", "id"=>"146"}
4177
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 146 LIMIT 1
4178
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 146 AND `modulate_documents`.`attachable_type` = 'Account'
4179
+  (0.1ms) BEGIN
4180
+ Modulate::Document Exists (0.4ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '146-1369935359-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4181
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (146, 'Account', NULL, '146-1369935359-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:35:59', 'test.txt', '146-1369935359-test.txt', 'Test', 0, '2013-05-30 17:35:59')
4182
+  (0.4ms) COMMIT
4183
+ Redirected to http://www.example.com/accounts
4184
+ Completed 302 Found in 218ms (ActiveRecord: 1.9ms)
4185
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:35:59 -0400
4186
+ Processing by AccountsController#index as HTML
4187
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
4188
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
4189
+ Completed 200 OK in 24ms (Views: 4.7ms | ActiveRecord: 0.4ms)
4190
+  (0.1ms) BEGIN
4191
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:35:59', 'test_account', '2013-05-30 17:35:59')
4192
+  (0.4ms) COMMIT
4193
+ Started GET "/accounts/147" for 127.0.0.1 at 2013-05-30 13:35:59 -0400
4194
+ Processing by AccountsController#show as HTML
4195
+ Parameters: {"id"=>"147"}
4196
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 147 LIMIT 1
4197
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 147 AND `modulate_documents`.`attachable_type` = 'Account'
4198
+ Rendered accounts/_modulate_account_documents.html.haml (2.7ms)
4199
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 147 AND `modulate_documents`.`attachable_type` = 'Account'
4200
+ Rendered accounts/_modulate_attachments.html.haml (39.5ms)
4201
+ Rendered accounts/show.html.erb within layouts/application (39.9ms)
4202
+ Completed 200 OK in 45ms (Views: 41.8ms | ActiveRecord: 1.0ms)
4203
+ Started PUT "/accounts/147" for 127.0.0.1 at 2013-05-30 13:35:59 -0400
4204
+ Processing by AccountsController#update as HTML
4205
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f9336a1f998 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-19916-7jvk09>>}]}, "button"=>"", "id"=>"147"}
4206
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 147 LIMIT 1
4207
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 147 AND `modulate_documents`.`attachable_type` = 'Account'
4208
+  (0.1ms) BEGIN
4209
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '147-1369935359-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4210
+ SQL (0.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (147, 'Account', NULL, '147-1369935359-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:35:59', 'test.txt', '147-1369935359-test.txt', 'Test', 0, '2013-05-30 17:35:59')
4211
+  (0.4ms) COMMIT
4212
+ Redirected to http://www.example.com/accounts
4213
+ Completed 302 Found in 34ms (ActiveRecord: 1.9ms)
4214
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:35:59 -0400
4215
+ Processing by AccountsController#index as HTML
4216
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
4217
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
4218
+ Completed 200 OK in 21ms (Views: 3.2ms | ActiveRecord: 0.4ms)
4219
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4220
+  (0.1ms) BEGIN
4221
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:36:00', 'test_account', '2013-05-30 17:36:00')
4222
+  (0.4ms) COMMIT
4223
+ Started GET "/accounts/148" for 127.0.0.1 at 2013-05-30 13:36:00 -0400
4224
+ Processing by AccountsController#show as HTML
4225
+ Parameters: {"id"=>"148"}
4226
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 148 LIMIT 1
4227
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 148 AND `modulate_documents`.`attachable_type` = 'Account'
4228
+ Rendered accounts/_modulate_account_documents.html.haml (2.6ms)
4229
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 148 AND `modulate_documents`.`attachable_type` = 'Account'
4230
+ Rendered accounts/_modulate_attachments.html.haml (38.9ms)
4231
+ Rendered accounts/show.html.erb within layouts/application (39.4ms)
4232
+ Completed 200 OK in 44ms (Views: 41.2ms | ActiveRecord: 1.0ms)
4233
+ Started PUT "/accounts/148" for 127.0.0.1 at 2013-05-30 13:36:00 -0400
4234
+ Processing by AccountsController#update as HTML
4235
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007f9336a406c0 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-19916-1mg7vbv>>}]}, "button"=>"", "id"=>"148"}
4236
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 148 LIMIT 1
4237
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 148 AND `modulate_documents`.`attachable_type` = 'Account'
4238
+  (0.1ms) BEGIN
4239
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '148-1369935360-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4240
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (148, 'Account', NULL, '148-1369935360-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:36:00', 'test.txt', '148-1369935360-test.txt', 'Test', 0, '2013-05-30 17:36:00')
4241
+  (0.4ms) COMMIT
4242
+ Redirected to http://www.example.com/accounts
4243
+ Completed 302 Found in 33ms (ActiveRecord: 1.7ms)
4244
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:36:00 -0400
4245
+ Processing by AccountsController#index as HTML
4246
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
4247
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
4248
+ Completed 200 OK in 21ms (Views: 3.0ms | ActiveRecord: 0.4ms)
4249
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4250
+ Started GET "/accounts/148" for 127.0.0.1 at 2013-05-30 13:36:00 -0400
4251
+ Processing by AccountsController#show as HTML
4252
+ Parameters: {"id"=>"148"}
4253
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 148 LIMIT 1
4254
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 148 AND `modulate_documents`.`attachable_type` = 'Account'
4255
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 148 AND `modulate_documents`.`attachable_type` = 'Account'
4256
+ Rendered accounts/_modulate_account_documents.html.haml (8.6ms)
4257
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 148 AND `modulate_documents`.`attachable_type` = 'Account'
4258
+ Rendered accounts/_modulate_attachments.html.haml (102.0ms)
4259
+ Rendered accounts/show.html.erb within layouts/application (102.5ms)
4260
+ Completed 200 OK in 107ms (Views: 104.4ms | ActiveRecord: 0.9ms)
4261
+ Started GET "/modulate/documents/114" for 127.0.0.1 at 2013-05-30 13:36:00 -0400
4262
+ Processing by Modulate::DocumentsController#show as HTML
4263
+ Parameters: {"id"=>"114"}
4264
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 114 LIMIT 1
4265
+ Rendered text template (0.0ms)
4266
+ Sent data (4.2ms)
4267
+ Completed 200 OK in 18ms (Views: 4.0ms | ActiveRecord: 0.3ms)
4268
+ Connecting to database specified by database.yml
4269
+  (0.2ms) BEGIN
4270
+ SQL (2.5ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:36:46', 'test_account', '2013-05-30 17:36:46')
4271
+  (0.4ms) COMMIT
4272
+ Started GET "/accounts/149" for 127.0.0.1 at 2013-05-30 13:36:47 -0400
4273
+ Processing by AccountsController#show as HTML
4274
+ Parameters: {"id"=>"149"}
4275
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 149 LIMIT 1
4276
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 149 AND `modulate_documents`.`attachable_type` = 'Account'
4277
+ Rendered accounts/_modulate_account_documents.html.haml (56.5ms)
4278
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 149 AND `modulate_documents`.`attachable_type` = 'Account'
4279
+ Rendered accounts/_modulate_attachments.html.haml (299.8ms)
4280
+ Rendered accounts/show.html.erb within layouts/application (309.7ms)
4281
+ Completed 200 OK in 386ms (Views: 376.4ms | ActiveRecord: 3.3ms)
4282
+ Started PUT "/accounts/149" for 127.0.0.1 at 2013-05-30 13:36:47 -0400
4283
+ Processing by AccountsController#update as HTML
4284
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fc4aaef27b8 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-20169-61yucg>>}]}, "button"=>"", "id"=>"149"}
4285
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 149 LIMIT 1
4286
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 149 AND `modulate_documents`.`attachable_type` = 'Account'
4287
+  (0.1ms) BEGIN
4288
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '149-1369935407-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4289
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (149, 'Account', NULL, '149-1369935407-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:36:47', 'test.txt', '149-1369935407-test.txt', 'Test', 0, '2013-05-30 17:36:47')
4290
+  (50.0ms) COMMIT
4291
+ Redirected to http://www.example.com/accounts
4292
+ Completed 302 Found in 228ms (ActiveRecord: 51.4ms)
4293
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:36:47 -0400
4294
+ Processing by AccountsController#index as HTML
4295
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` 
4296
+ Rendered accounts/index.html.haml within layouts/application (1.2ms)
4297
+ Completed 200 OK in 24ms (Views: 5.0ms | ActiveRecord: 0.4ms)
4298
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4299
+ Started GET "/accounts/149" for 127.0.0.1 at 2013-05-30 13:36:47 -0400
4300
+ Processing by AccountsController#show as HTML
4301
+ Parameters: {"id"=>"149"}
4302
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 149 LIMIT 1
4303
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 149 AND `modulate_documents`.`attachable_type` = 'Account'
4304
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 149 AND `modulate_documents`.`attachable_type` = 'Account'
4305
+ Rendered accounts/_modulate_account_documents.html.haml (8.4ms)
4306
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 149 AND `modulate_documents`.`attachable_type` = 'Account'
4307
+ Rendered accounts/_modulate_attachments.html.haml (43.4ms)
4308
+ Rendered accounts/show.html.erb within layouts/application (43.9ms)
4309
+ Completed 200 OK in 49ms (Views: 45.9ms | ActiveRecord: 0.9ms)
4310
+ Started GET "/modulate/documents/115" for 127.0.0.1 at 2013-05-30 13:36:47 -0400
4311
+ Processing by Modulate::DocumentsController#show as HTML
4312
+ Parameters: {"id"=>"115"}
4313
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 115 LIMIT 1
4314
+ Rendered text template (0.0ms)
4315
+ Sent data (4.3ms)
4316
+ Completed 200 OK in 17ms (Views: 4.1ms | ActiveRecord: 0.3ms)
4317
+  (0.2ms) BEGIN
4318
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:36:47', 'test_account', '2013-05-30 17:36:47')
4319
+  (0.4ms) COMMIT
4320
+ Started GET "/accounts/150" for 127.0.0.1 at 2013-05-30 13:36:48 -0400
4321
+ Processing by AccountsController#show as HTML
4322
+ Parameters: {"id"=>"150"}
4323
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 150 LIMIT 1
4324
+  (0.6ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 150 AND `modulate_documents`.`attachable_type` = 'Account'
4325
+ Rendered accounts/_modulate_account_documents.html.haml (4.3ms)
4326
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 150 AND `modulate_documents`.`attachable_type` = 'Account'
4327
+ Rendered accounts/_modulate_attachments.html.haml (45.6ms)
4328
+ Rendered accounts/show.html.erb within layouts/application (46.2ms)
4329
+ Completed 200 OK in 53ms (Views: 49.0ms | ActiveRecord: 1.5ms)
4330
+ Started PUT "/accounts/150" for 127.0.0.1 at 2013-05-30 13:36:48 -0400
4331
+ Processing by AccountsController#update as HTML
4332
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fc4aa975b78 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-20169-og3ltx>>}]}, "button"=>"", "id"=>"150"}
4333
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 150 LIMIT 1
4334
+ Modulate::Document Load (0.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 150 AND `modulate_documents`.`attachable_type` = 'Account'
4335
+  (0.2ms) BEGIN
4336
+ Modulate::Document Exists (0.4ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '150-1369935408-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4337
+ SQL (0.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (150, 'Account', NULL, '150-1369935408-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:36:48', 'test.txt', '150-1369935408-test.txt', 'Test', 0, '2013-05-30 17:36:48')
4338
+  (0.4ms) COMMIT
4339
+ Redirected to http://www.example.com/accounts
4340
+ Completed 302 Found in 96ms (ActiveRecord: 2.4ms)
4341
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:36:48 -0400
4342
+ Processing by AccountsController#index as HTML
4343
+ Account Load (0.6ms) SELECT `accounts`.* FROM `accounts`
4344
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
4345
+ Completed 200 OK in 34ms (Views: 4.5ms | ActiveRecord: 0.6ms)
4346
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4347
+  (0.2ms) BEGIN
4348
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:36:48', 'test_account', '2013-05-30 17:36:48')
4349
+  (0.4ms) COMMIT
4350
+ Started GET "/accounts/151" for 127.0.0.1 at 2013-05-30 13:36:48 -0400
4351
+ Processing by AccountsController#show as HTML
4352
+ Parameters: {"id"=>"151"}
4353
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 151 LIMIT 1
4354
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 151 AND `modulate_documents`.`attachable_type` = 'Account'
4355
+ Rendered accounts/_modulate_account_documents.html.haml (3.0ms)
4356
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 151 AND `modulate_documents`.`attachable_type` = 'Account'
4357
+ Rendered accounts/_modulate_attachments.html.haml (82.1ms)
4358
+ Rendered accounts/show.html.erb within layouts/application (82.6ms)
4359
+ Completed 200 OK in 91ms (Views: 85.3ms | ActiveRecord: 1.1ms)
4360
+ Started PUT "/accounts/151" for 127.0.0.1 at 2013-05-30 13:36:48 -0400
4361
+ Processing by AccountsController#update as HTML
4362
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fc4aaf82b60 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-20169-s8r746>>}]}, "button"=>"", "id"=>"151"}
4363
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 151 LIMIT 1
4364
+ Modulate::Document Load (0.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 151 AND `modulate_documents`.`attachable_type` = 'Account'
4365
+  (0.1ms) BEGIN
4366
+ Modulate::Document Exists (0.4ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '151-1369935408-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4367
+ SQL (0.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (151, 'Account', NULL, '151-1369935408-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:36:48', 'test.txt', '151-1369935408-test.txt', 'Test', 0, '2013-05-30 17:36:48')
4368
+  (0.4ms) COMMIT
4369
+ Redirected to http://www.example.com/accounts
4370
+ Completed 302 Found in 149ms (ActiveRecord: 2.3ms)
4371
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:36:48 -0400
4372
+ Processing by AccountsController#index as HTML
4373
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts`
4374
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
4375
+ Completed 200 OK in 22ms (Views: 3.1ms | ActiveRecord: 0.4ms)
4376
+ Connecting to database specified by database.yml
4377
+  (0.2ms) BEGIN
4378
+ SQL (2.5ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:37:15', 'test_account', '2013-05-30 17:37:15')
4379
+  (0.4ms) COMMIT
4380
+ Started GET "/accounts/152" for 127.0.0.1 at 2013-05-30 13:37:15 -0400
4381
+ Processing by AccountsController#show as HTML
4382
+ Parameters: {"id"=>"152"}
4383
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 152 LIMIT 1
4384
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 152 AND `modulate_documents`.`attachable_type` = 'Account'
4385
+ Rendered accounts/_modulate_account_documents.html.haml (55.0ms)
4386
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 152 AND `modulate_documents`.`attachable_type` = 'Account'
4387
+ Rendered accounts/_modulate_attachments.html.haml (299.1ms)
4388
+ Rendered accounts/show.html.erb within layouts/application (308.5ms)
4389
+ Completed 200 OK in 387ms (Views: 376.2ms | ActiveRecord: 3.5ms)
4390
+ Started PUT "/accounts/152" for 127.0.0.1 at 2013-05-30 13:37:15 -0400
4391
+ Processing by AccountsController#update as HTML
4392
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fbe2753fad8 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-20412-kw0oha>>}]}, "button"=>"", "id"=>"152"}
4393
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 152 LIMIT 1
4394
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 152 AND `modulate_documents`.`attachable_type` = 'Account'
4395
+  (0.1ms) BEGIN
4396
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '152-1369935435-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4397
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (152, 'Account', NULL, '152-1369935435-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:37:15', 'test.txt', '152-1369935435-test.txt', 'Test', 0, '2013-05-30 17:37:15')
4398
+  (0.4ms) COMMIT
4399
+ Redirected to http://www.example.com/accounts
4400
+ Completed 302 Found in 224ms (ActiveRecord: 1.9ms)
4401
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:37:16 -0400
4402
+ Processing by AccountsController#index as HTML
4403
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` 
4404
+ Rendered accounts/index.html.haml within layouts/application (1.3ms)
4405
+ Completed 200 OK in 24ms (Views: 5.0ms | ActiveRecord: 0.5ms)
4406
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4407
+ Started GET "/accounts/152" for 127.0.0.1 at 2013-05-30 13:37:16 -0400
4408
+ Processing by AccountsController#show as HTML
4409
+ Parameters: {"id"=>"152"}
4410
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 152 LIMIT 1
4411
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 152 AND `modulate_documents`.`attachable_type` = 'Account'
4412
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 152 AND `modulate_documents`.`attachable_type` = 'Account'
4413
+ Rendered accounts/_modulate_account_documents.html.haml (8.3ms)
4414
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 152 AND `modulate_documents`.`attachable_type` = 'Account'
4415
+ Rendered accounts/_modulate_attachments.html.haml (43.9ms)
4416
+ Rendered accounts/show.html.erb within layouts/application (44.4ms)
4417
+ Completed 200 OK in 49ms (Views: 46.4ms | ActiveRecord: 0.9ms)
4418
+ Started GET "/modulate/documents/118" for 127.0.0.1 at 2013-05-30 13:37:16 -0400
4419
+ Processing by Modulate::DocumentsController#show as HTML
4420
+ Parameters: {"id"=>"118"}
4421
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 118 LIMIT 1
4422
+ Rendered text template (0.0ms)
4423
+ Sent data (4.4ms)
4424
+ Completed 200 OK in 18ms (Views: 4.2ms | ActiveRecord: 0.3ms)
4425
+  (0.2ms) BEGIN
4426
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:37:16', 'test_account', '2013-05-30 17:37:16')
4427
+  (0.4ms) COMMIT
4428
+ Started GET "/accounts/153" for 127.0.0.1 at 2013-05-30 13:37:16 -0400
4429
+ Processing by AccountsController#show as HTML
4430
+ Parameters: {"id"=>"153"}
4431
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 153 LIMIT 1
4432
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 153 AND `modulate_documents`.`attachable_type` = 'Account'
4433
+ Rendered accounts/_modulate_account_documents.html.haml (3.4ms)
4434
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 153 AND `modulate_documents`.`attachable_type` = 'Account'
4435
+ Rendered accounts/_modulate_attachments.html.haml (46.7ms)
4436
+ Rendered accounts/show.html.erb within layouts/application (47.3ms)
4437
+ Completed 200 OK in 60ms (Views: 56.7ms | ActiveRecord: 1.2ms)
4438
+ Started PUT "/accounts/153" for 127.0.0.1 at 2013-05-30 13:37:16 -0400
4439
+ Processing by AccountsController#update as HTML
4440
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fbe27321030 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-20412-c251l>>}]}, "button"=>"", "id"=>"153"}
4441
+ Account Load (3.8ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 153 LIMIT 1
4442
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 153 AND `modulate_documents`.`attachable_type` = 'Account'
4443
+  (1.2ms) BEGIN
4444
+ Modulate::Document Exists (0.6ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '153-1369935436-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4445
+ SQL (0.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (153, 'Account', NULL, '153-1369935436-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:37:16', 'test.txt', '153-1369935436-test.txt', 'Test', 0, '2013-05-30 17:37:16')
4446
+  (0.4ms) COMMIT
4447
+ Redirected to http://www.example.com/accounts
4448
+ Completed 302 Found in 55ms (ActiveRecord: 6.9ms)
4449
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:37:16 -0400
4450
+ Processing by AccountsController#index as HTML
4451
+ Account Load (2.2ms) SELECT `accounts`.* FROM `accounts`
4452
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
4453
+ Completed 200 OK in 32ms (Views: 4.7ms | ActiveRecord: 2.2ms)
4454
+ Modulate::Document Load (0.7ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4455
+  (0.1ms) BEGIN
4456
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 17:37:16', 'test_account', '2013-05-30 17:37:16')
4457
+  (0.3ms) COMMIT
4458
+ Started GET "/accounts/154" for 127.0.0.1 at 2013-05-30 13:37:16 -0400
4459
+ Processing by AccountsController#show as HTML
4460
+ Parameters: {"id"=>"154"}
4461
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 154 LIMIT 1
4462
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 154 AND `modulate_documents`.`attachable_type` = 'Account'
4463
+ Rendered accounts/_modulate_account_documents.html.haml (5.3ms)
4464
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 154 AND `modulate_documents`.`attachable_type` = 'Account'
4465
+ Rendered accounts/_modulate_attachments.html.haml (69.9ms)
4466
+ Rendered accounts/show.html.erb within layouts/application (70.4ms)
4467
+ Completed 200 OK in 77ms (Views: 74.0ms | ActiveRecord: 1.1ms)
4468
+ Started PUT "/accounts/154" for 127.0.0.1 at 2013-05-30 13:37:16 -0400
4469
+ Processing by AccountsController#update as HTML
4470
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fbe24687e48 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-20412-dbokqc>>}]}, "button"=>"", "id"=>"154"}
4471
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 154 LIMIT 1
4472
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 154 AND `modulate_documents`.`attachable_type` = 'Account'
4473
+  (0.1ms) BEGIN
4474
+ Modulate::Document Exists (0.3ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '154-1369935436-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4475
+ SQL (0.3ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (154, 'Account', NULL, '154-1369935436-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 17:37:16', 'test.txt', '154-1369935436-test.txt', 'Test', 0, '2013-05-30 17:37:16')
4476
+  (10.7ms) COMMIT
4477
+ Redirected to http://www.example.com/accounts
4478
+ Completed 302 Found in 100ms (ActiveRecord: 12.0ms)
4479
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 13:37:16 -0400
4480
+ Processing by AccountsController#index as HTML
4481
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts`
4482
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
4483
+ Completed 200 OK in 22ms (Views: 3.1ms | ActiveRecord: 0.5ms)
4484
+ Connecting to database specified by database.yml
4485
+  (1.7ms) BEGIN
4486
+ SQL (3.0ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 18:06:05', 'test_account', '2013-05-30 18:06:05')
4487
+  (0.4ms) COMMIT
4488
+ Started GET "/accounts/155" for 127.0.0.1 at 2013-05-30 14:06:05 -0400
4489
+ Processing by AccountsController#show as HTML
4490
+ Parameters: {"id"=>"155"}
4491
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 155 LIMIT 1
4492
+  (0.3ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 155 AND `modulate_documents`.`attachable_type` = 'Account'
4493
+ Rendered accounts/_modulate_account_documents.html.haml (157.2ms)
4494
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 155 AND `modulate_documents`.`attachable_type` = 'Account'
4495
+ Rendered accounts/_modulate_attachments.html.haml (411.6ms)
4496
+ Rendered accounts/show.html.erb within layouts/application (424.9ms)
4497
+ Completed 200 OK in 465ms (Views: 448.0ms | ActiveRecord: 6.6ms)
4498
+ Started PUT "/accounts/155" for 127.0.0.1 at 2013-05-30 14:06:06 -0400
4499
+ Processing by AccountsController#update as HTML
4500
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fddb655f208 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-22170-1kolxc3>>}]}, "button"=>"", "id"=>"155"}
4501
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 155 LIMIT 1
4502
+ Modulate::Document Load (0.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 155 AND `modulate_documents`.`attachable_type` = 'Account'
4503
+  (0.1ms) BEGIN
4504
+ Modulate::Document Exists (0.8ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '155-1369937166-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4505
+ SQL (0.7ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (155, 'Account', NULL, '155-1369937166-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 18:06:06', 'test.txt', '155-1369937166-test.txt', 'Test', 0, '2013-05-30 18:06:06')
4506
+  (0.6ms) COMMIT
4507
+ Redirected to http://www.example.com/accounts
4508
+ Completed 302 Found in 308ms (ActiveRecord: 3.1ms)
4509
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 14:06:06 -0400
4510
+ Processing by AccountsController#index as HTML
4511
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` 
4512
+ Rendered accounts/index.html.haml within layouts/application (1.3ms)
4513
+ Completed 200 OK in 26ms (Views: 5.5ms | ActiveRecord: 0.5ms)
4514
+  (0.1ms) BEGIN
4515
+ SQL (0.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 18:06:06', 'test_account', '2013-05-30 18:06:06')
4516
+  (0.6ms) COMMIT
4517
+ Started GET "/accounts/156" for 127.0.0.1 at 2013-05-30 14:06:06 -0400
4518
+ Processing by AccountsController#show as HTML
4519
+ Parameters: {"id"=>"156"}
4520
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 156 LIMIT 1
4521
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 156 AND `modulate_documents`.`attachable_type` = 'Account'
4522
+ Rendered accounts/_modulate_account_documents.html.haml (3.3ms)
4523
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 156 AND `modulate_documents`.`attachable_type` = 'Account'
4524
+ Rendered accounts/_modulate_attachments.html.haml (42.6ms)
4525
+ Rendered accounts/show.html.erb within layouts/application (43.2ms)
4526
+ Completed 200 OK in 49ms (Views: 45.5ms | ActiveRecord: 1.3ms)
4527
+ Started PUT "/accounts/156" for 127.0.0.1 at 2013-05-30 14:06:06 -0400
4528
+ Processing by AccountsController#update as HTML
4529
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fddb5b8ed50 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-22170-1biubpe>>}]}, "button"=>"", "id"=>"156"}
4530
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 156 LIMIT 1
4531
+ Modulate::Document Load (1.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 156 AND `modulate_documents`.`attachable_type` = 'Account'
4532
+  (0.1ms) BEGIN
4533
+ Modulate::Document Exists (0.7ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '156-1369937166-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4534
+ SQL (0.9ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (156, 'Account', NULL, '156-1369937166-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 18:06:06', 'test.txt', '156-1369937166-test.txt', 'Test', 0, '2013-05-30 18:06:06')
4535
+  (0.5ms) COMMIT
4536
+ Redirected to http://www.example.com/accounts
4537
+ Completed 302 Found in 52ms (ActiveRecord: 3.6ms)
4538
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 14:06:06 -0400
4539
+ Processing by AccountsController#index as HTML
4540
+ Account Load (0.8ms) SELECT `accounts`.* FROM `accounts`
4541
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
4542
+ Completed 200 OK in 27ms (Views: 3.2ms | ActiveRecord: 0.8ms)
4543
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4544
+  (0.1ms) BEGIN
4545
+ SQL (0.2ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 18:06:06', 'test_account', '2013-05-30 18:06:06')
4546
+  (0.3ms) COMMIT
4547
+ Started GET "/accounts/157" for 127.0.0.1 at 2013-05-30 14:06:06 -0400
4548
+ Processing by AccountsController#show as HTML
4549
+ Parameters: {"id"=>"157"}
4550
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 157 LIMIT 1
4551
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 157 AND `modulate_documents`.`attachable_type` = 'Account'
4552
+ Rendered accounts/_modulate_account_documents.html.haml (2.9ms)
4553
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 157 AND `modulate_documents`.`attachable_type` = 'Account'
4554
+ Rendered accounts/_modulate_attachments.html.haml (118.6ms)
4555
+ Rendered accounts/show.html.erb within layouts/application (119.2ms)
4556
+ Completed 200 OK in 125ms (Views: 121.3ms | ActiveRecord: 1.1ms)
4557
+ Started PUT "/accounts/157" for 127.0.0.1 at 2013-05-30 14:06:06 -0400
4558
+ Processing by AccountsController#update as HTML
4559
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fddb4b2d330 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-22170-11rm2es>>}]}, "button"=>"", "id"=>"157"}
4560
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 157 LIMIT 1
4561
+ Modulate::Document Load (0.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 157 AND `modulate_documents`.`attachable_type` = 'Account'
4562
+  (0.1ms) BEGIN
4563
+ Modulate::Document Exists (0.5ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '157-1369937166-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4564
+ SQL (0.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (157, 'Account', NULL, '157-1369937166-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 18:06:06', 'test.txt', '157-1369937166-test.txt', 'Test', 0, '2013-05-30 18:06:06')
4565
+  (0.4ms) COMMIT
4566
+ Redirected to http://www.example.com/accounts
4567
+ Completed 302 Found in 58ms (ActiveRecord: 2.5ms)
4568
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 14:06:07 -0400
4569
+ Processing by AccountsController#index as HTML
4570
+ Account Load (0.6ms) SELECT `accounts`.* FROM `accounts`
4571
+ Rendered accounts/index.html.haml within layouts/application (0.2ms)
4572
+ Completed 200 OK in 26ms (Views: 4.7ms | ActiveRecord: 0.6ms)
4573
+ Modulate::Document Load (1.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4574
+ Started GET "/accounts/157" for 127.0.0.1 at 2013-05-30 14:06:07 -0400
4575
+ Processing by AccountsController#show as HTML
4576
+ Parameters: {"id"=>"157"}
4577
+ Account Load (0.7ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 157 LIMIT 1
4578
+  (1.0ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 157 AND `modulate_documents`.`attachable_type` = 'Account'
4579
+ Modulate::Document Load (1.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 157 AND `modulate_documents`.`attachable_type` = 'Account'
4580
+ Rendered accounts/_modulate_account_documents.html.haml (16.1ms)
4581
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 157 AND `modulate_documents`.`attachable_type` = 'Account'
4582
+ Rendered accounts/_modulate_attachments.html.haml (59.5ms)
4583
+ Rendered accounts/show.html.erb within layouts/application (60.1ms)
4584
+ Completed 200 OK in 67ms (Views: 60.5ms | ActiveRecord: 3.1ms)
4585
+ Started GET "/modulate/documents/123" for 127.0.0.1 at 2013-05-30 14:06:07 -0400
4586
+ Processing by Modulate::DocumentsController#show as HTML
4587
+ Parameters: {"id"=>"123"}
4588
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 123 LIMIT 1
4589
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 157 LIMIT 1
4590
+ Redirected to
4591
+ Completed 500 Internal Server Error in 7ms
4592
+ Connecting to database specified by database.yml
4593
+  (0.1ms) BEGIN
4594
+ SQL (5.3ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 18:06:49', 'test_account', '2013-05-30 18:06:49')
4595
+  (0.7ms) COMMIT
4596
+ Started GET "/accounts/158" for 127.0.0.1 at 2013-05-30 14:06:49 -0400
4597
+ Processing by AccountsController#show as HTML
4598
+ Parameters: {"id"=>"158"}
4599
+ Account Load (4.1ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 158 LIMIT 1
4600
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 158 AND `modulate_documents`.`attachable_type` = 'Account'
4601
+ Rendered accounts/_modulate_account_documents.html.haml (69.5ms)
4602
+ Modulate::Document Load (0.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 158 AND `modulate_documents`.`attachable_type` = 'Account'
4603
+ Rendered accounts/_modulate_attachments.html.haml (406.1ms)
4604
+ Rendered accounts/show.html.erb within layouts/application (419.0ms)
4605
+ Completed 200 OK in 565ms (Views: 543.1ms | ActiveRecord: 7.8ms)
4606
+ Started PUT "/accounts/158" for 127.0.0.1 at 2013-05-30 14:06:50 -0400
4607
+ Processing by AccountsController#update as HTML
4608
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe117e88f50 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-22417-19odezg>>}]}, "button"=>"", "id"=>"158"}
4609
+ Account Load (1.7ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 158 LIMIT 1
4610
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 158 AND `modulate_documents`.`attachable_type` = 'Account'
4611
+  (0.1ms) BEGIN
4612
+ Modulate::Document Exists (0.4ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '158-1369937210-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4613
+ SQL (0.4ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (158, 'Account', NULL, '158-1369937210-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 18:06:50', 'test.txt', '158-1369937210-test.txt', 'Test', 0, '2013-05-30 18:06:50')
4614
+  (0.4ms) COMMIT
4615
+ Redirected to http://www.example.com/accounts
4616
+ Completed 302 Found in 331ms (ActiveRecord: 3.5ms)
4617
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 14:06:50 -0400
4618
+ Processing by AccountsController#index as HTML
4619
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` 
4620
+ Rendered accounts/index.html.haml within layouts/application (1.5ms)
4621
+ Completed 200 OK in 28ms (Views: 5.5ms | ActiveRecord: 0.5ms)
4622
+ Modulate::Document Load (0.3ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4623
+ Started GET "/accounts/158" for 127.0.0.1 at 2013-05-30 14:06:51 -0400
4624
+ Processing by AccountsController#show as HTML
4625
+ Parameters: {"id"=>"158"}
4626
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 158 LIMIT 1
4627
+  (0.4ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 158 AND `modulate_documents`.`attachable_type` = 'Account'
4628
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 158 AND `modulate_documents`.`attachable_type` = 'Account'
4629
+ Rendered accounts/_modulate_account_documents.html.haml (10.4ms)
4630
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 158 AND `modulate_documents`.`attachable_type` = 'Account'
4631
+ Rendered accounts/_modulate_attachments.html.haml (51.7ms)
4632
+ Rendered accounts/show.html.erb within layouts/application (52.3ms)
4633
+ Completed 200 OK in 58ms (Views: 54.5ms | ActiveRecord: 1.4ms)
4634
+ Started GET "/modulate/documents/124" for 127.0.0.1 at 2013-05-30 14:06:51 -0400
4635
+ Processing by Modulate::DocumentsController#show as HTML
4636
+ Parameters: {"id"=>"124"}
4637
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 124 LIMIT 1
4638
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 158 LIMIT 1
4639
+ Completed 500 Internal Server Error in 19ms
4640
+  (0.1ms) BEGIN
4641
+ SQL (0.5ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 18:06:51', 'test_account', '2013-05-30 18:06:51')
4642
+  (0.4ms) COMMIT
4643
+ Started GET "/accounts/159" for 127.0.0.1 at 2013-05-30 14:06:51 -0400
4644
+ Processing by AccountsController#show as HTML
4645
+ Parameters: {"id"=>"159"}
4646
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 159 LIMIT 1
4647
+  (0.5ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 159 AND `modulate_documents`.`attachable_type` = 'Account'
4648
+ Rendered accounts/_modulate_account_documents.html.haml (3.5ms)
4649
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 159 AND `modulate_documents`.`attachable_type` = 'Account'
4650
+ Rendered accounts/_modulate_attachments.html.haml (48.8ms)
4651
+ Rendered accounts/show.html.erb within layouts/application (49.5ms)
4652
+ Completed 200 OK in 56ms (Views: 51.6ms | ActiveRecord: 1.4ms)
4653
+ Started PUT "/accounts/159" for 127.0.0.1 at 2013-05-30 14:06:51 -0400
4654
+ Processing by AccountsController#update as HTML
4655
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe117802410 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-22417-1a909ha>>}]}, "button"=>"", "id"=>"159"}
4656
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 159 LIMIT 1
4657
+ Modulate::Document Load (0.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 159 AND `modulate_documents`.`attachable_type` = 'Account'
4658
+  (0.1ms) BEGIN
4659
+ Modulate::Document Exists (0.4ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '159-1369937211-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4660
+ SQL (0.8ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (159, 'Account', NULL, '159-1369937211-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 18:06:51', 'test.txt', '159-1369937211-test.txt', 'Test', 0, '2013-05-30 18:06:51')
4661
+  (0.7ms) COMMIT
4662
+ Redirected to http://www.example.com/accounts
4663
+ Completed 302 Found in 43ms (ActiveRecord: 2.9ms)
4664
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 14:06:51 -0400
4665
+ Processing by AccountsController#index as HTML
4666
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` 
4667
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
4668
+ Completed 200 OK in 26ms (Views: 4.3ms | ActiveRecord: 0.5ms)
4669
+ Modulate::Document Load (0.7ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4670
+  (0.3ms) BEGIN
4671
+ SQL (0.6ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 18:06:51', 'test_account', '2013-05-30 18:06:51')
4672
+  (0.6ms) COMMIT
4673
+ Started GET "/accounts/160" for 127.0.0.1 at 2013-05-30 14:06:51 -0400
4674
+ Processing by AccountsController#show as HTML
4675
+ Parameters: {"id"=>"160"}
4676
+ Account Load (0.6ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 160 LIMIT 1
4677
+  (0.7ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 160 AND `modulate_documents`.`attachable_type` = 'Account'
4678
+ Rendered accounts/_modulate_account_documents.html.haml (8.0ms)
4679
+ Modulate::Document Load (0.9ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 160 AND `modulate_documents`.`attachable_type` = 'Account'
4680
+ Rendered accounts/_modulate_attachments.html.haml (142.7ms)
4681
+ Rendered accounts/show.html.erb within layouts/application (143.4ms)
4682
+ Completed 200 OK in 150ms (Views: 145.3ms | ActiveRecord: 2.2ms)
4683
+ Started PUT "/accounts/160" for 127.0.0.1 at 2013-05-30 14:06:51 -0400
4684
+ Processing by AccountsController#update as HTML
4685
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fe114ddca50 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-22417-2ew6fz>>}]}, "button"=>"", "id"=>"160"}
4686
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 160 LIMIT 1
4687
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 160 AND `modulate_documents`.`attachable_type` = 'Account'
4688
+  (0.1ms) BEGIN
4689
+ Modulate::Document Exists (0.5ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '160-1369937211-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4690
+ SQL (0.5ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (160, 'Account', NULL, '160-1369937211-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 18:06:51', 'test.txt', '160-1369937211-test.txt', 'Test', 0, '2013-05-30 18:06:51')
4691
+  (12.5ms) COMMIT
4692
+ Redirected to http://www.example.com/accounts
4693
+ Completed 302 Found in 56ms (ActiveRecord: 14.5ms)
4694
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 14:06:51 -0400
4695
+ Processing by AccountsController#index as HTML
4696
+ Account Load (0.7ms) SELECT `accounts`.* FROM `accounts` 
4697
+ Rendered accounts/index.html.haml within layouts/application (0.1ms)
4698
+ Completed 200 OK in 26ms (Views: 3.4ms | ActiveRecord: 0.7ms)
4699
+ Connecting to database specified by database.yml
4700
+  (0.3ms) BEGIN
4701
+ SQL (2.8ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 18:08:04', 'test_account', '2013-05-30 18:08:04')
4702
+  (0.3ms) COMMIT
4703
+ Started GET "/accounts/161" for 127.0.0.1 at 2013-05-30 14:08:04 -0400
4704
+ Processing by AccountsController#show as HTML
4705
+ Parameters: {"id"=>"161"}
4706
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 161 LIMIT 1
4707
+  (0.8ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 161 AND `modulate_documents`.`attachable_type` = 'Account'
4708
+ Rendered accounts/_modulate_account_documents.html.haml (88.2ms)
4709
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 161 AND `modulate_documents`.`attachable_type` = 'Account'
4710
+ Rendered accounts/_modulate_attachments.html.haml (419.4ms)
4711
+ Rendered accounts/show.html.erb within layouts/application (437.2ms)
4712
+ Completed 200 OK in 556ms (Views: 541.3ms | ActiveRecord: 5.3ms)
4713
+ Started PUT "/accounts/161" for 127.0.0.1 at 2013-05-30 14:08:05 -0400
4714
+ Processing by AccountsController#update as HTML
4715
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fef07f68c88 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-22676-1nojzb7>>}]}, "button"=>"", "id"=>"161"}
4716
+ Account Load (0.6ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 161 LIMIT 1
4717
+ Modulate::Document Load (0.9ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 161 AND `modulate_documents`.`attachable_type` = 'Account'
4718
+  (0.2ms) BEGIN
4719
+ Modulate::Document Exists (0.7ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '161-1369937285-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4720
+ SQL (0.7ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (161, 'Account', NULL, '161-1369937285-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 18:08:05', 'test.txt', '161-1369937285-test.txt', 'Test', 0, '2013-05-30 18:08:05')
4721
+  (0.4ms) COMMIT
4722
+ Redirected to http://www.example.com/accounts
4723
+ Completed 302 Found in 323ms (ActiveRecord: 3.5ms)
4724
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 14:08:05 -0400
4725
+ Processing by AccountsController#index as HTML
4726
+ Account Load (0.7ms) SELECT `accounts`.* FROM `accounts` 
4727
+ Rendered accounts/index.html.haml within layouts/application (1.7ms)
4728
+ Completed 200 OK in 31ms (Views: 8.1ms | ActiveRecord: 0.7ms)
4729
+  (0.2ms) BEGIN
4730
+ SQL (0.4ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 18:08:05', 'test_account', '2013-05-30 18:08:05')
4731
+  (0.4ms) COMMIT
4732
+ Started GET "/accounts/162" for 127.0.0.1 at 2013-05-30 14:08:05 -0400
4733
+ Processing by AccountsController#show as HTML
4734
+ Parameters: {"id"=>"162"}
4735
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 162 LIMIT 1
4736
+  (0.5ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 162 AND `modulate_documents`.`attachable_type` = 'Account'
4737
+ Rendered accounts/_modulate_account_documents.html.haml (3.6ms)
4738
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 162 AND `modulate_documents`.`attachable_type` = 'Account'
4739
+ Rendered accounts/_modulate_attachments.html.haml (46.5ms)
4740
+ Rendered accounts/show.html.erb within layouts/application (47.1ms)
4741
+ Completed 200 OK in 53ms (Views: 49.1ms | ActiveRecord: 1.4ms)
4742
+ Started PUT "/accounts/162" for 127.0.0.1 at 2013-05-30 14:08:05 -0400
4743
+ Processing by AccountsController#update as HTML
4744
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fef07d61750 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-22676-zcltbd>>}]}, "button"=>"", "id"=>"162"}
4745
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 162 LIMIT 1
4746
+ Modulate::Document Load (0.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 162 AND `modulate_documents`.`attachable_type` = 'Account'
4747
+  (0.1ms) BEGIN
4748
+ Modulate::Document Exists (2.2ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '162-1369937285-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4749
+ SQL (0.5ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (162, 'Account', NULL, '162-1369937285-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 18:08:05', 'test.txt', '162-1369937285-test.txt', 'Test', 0, '2013-05-30 18:08:05')
4750
+  (0.5ms) COMMIT
4751
+ Redirected to http://www.example.com/accounts
4752
+ Completed 302 Found in 47ms (ActiveRecord: 4.3ms)
4753
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 14:08:05 -0400
4754
+ Processing by AccountsController#index as HTML
4755
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts`
4756
+ Rendered accounts/index.html.haml within layouts/application (0.2ms)
4757
+ Completed 200 OK in 27ms (Views: 3.9ms | ActiveRecord: 0.5ms)
4758
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4759
+  (0.4ms) BEGIN
4760
+ SQL (0.4ms) INSERT INTO `accounts` (`created_at`, `name`, `updated_at`) VALUES ('2013-05-30 18:08:05', 'test_account', '2013-05-30 18:08:05')
4761
+  (0.4ms) COMMIT
4762
+ Started GET "/accounts/163" for 127.0.0.1 at 2013-05-30 14:08:05 -0400
4763
+ Processing by AccountsController#show as HTML
4764
+ Parameters: {"id"=>"163"}
4765
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 163 LIMIT 1
4766
+  (0.5ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 163 AND `modulate_documents`.`attachable_type` = 'Account'
4767
+ Rendered accounts/_modulate_account_documents.html.haml (4.0ms)
4768
+ Modulate::Document Load (0.5ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 163 AND `modulate_documents`.`attachable_type` = 'Account'
4769
+ Rendered accounts/_modulate_attachments.html.haml (51.0ms)
4770
+ Rendered accounts/show.html.erb within layouts/application (51.6ms)
4771
+ Completed 200 OK in 58ms (Views: 54.4ms | ActiveRecord: 1.4ms)
4772
+ Started PUT "/accounts/163" for 127.0.0.1 at 2013-05-30 14:08:05 -0400
4773
+ Processing by AccountsController#update as HTML
4774
+ Parameters: {"utf8"=>"✓", "account"=>{"modulate_uploads_attributes"=>[{"attachment"=>#<ActionDispatch::Http::UploadedFile:0x007fef055fad10 @original_filename="test.txt", @content_type="text/plain", @headers="Content-Disposition: form-data; name=\"account[modulate_uploads_attributes][][attachment]\"; filename=\"test.txt\"\r\nContent-Type: text/plain\r\nContent-Length: 25\r\n", @tempfile=#<File:/var/folders/lb/j1c12jc524zfb75l84v94qr40000gn/T/RackMultipart20130530-22676-hoeffb>>}]}, "button"=>"", "id"=>"163"}
4775
+ Account Load (0.4ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 163 LIMIT 1
4776
+ Modulate::Document Load (0.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 163 AND `modulate_documents`.`attachable_type` = 'Account'
4777
+  (0.1ms) BEGIN
4778
+ Modulate::Document Exists (0.4ms) SELECT 1 AS one FROM `modulate_documents` WHERE (`modulate_documents`.`key` = BINARY '163-1369937285-test.txt' AND `modulate_documents`.`bucket` = 'Dummy::Account') LIMIT 1
4779
+ SQL (0.7ms) INSERT INTO `modulate_documents` (`attachable_id`, `attachable_type`, `attached_by_id`, `attachment`, `bucket`, `content_type`, `created_at`, `filename`, `key`, `label`, `public`, `updated_at`) VALUES (163, 'Account', NULL, '163-1369937285-test.txt', 'Dummy::Account', 'text/plain', '2013-05-30 18:08:05', 'test.txt', '163-1369937285-test.txt', 'Test', 0, '2013-05-30 18:08:05')
4780
+  (0.8ms) COMMIT
4781
+ Redirected to http://www.example.com/accounts
4782
+ Completed 302 Found in 56ms (ActiveRecord: 3.0ms)
4783
+ Started GET "/accounts" for 127.0.0.1 at 2013-05-30 14:08:05 -0400
4784
+ Processing by AccountsController#index as HTML
4785
+ Account Load (0.7ms) SELECT `accounts`.* FROM `accounts`
4786
+ Rendered accounts/index.html.haml within layouts/application (0.2ms)
4787
+ Completed 200 OK in 33ms (Views: 5.3ms | ActiveRecord: 0.7ms)
4788
+ Modulate::Document Load (0.6ms) SELECT `modulate_documents`.* FROM `modulate_documents` ORDER BY `modulate_documents`.`id` DESC LIMIT 1
4789
+ Started GET "/accounts/163" for 127.0.0.1 at 2013-05-30 14:08:05 -0400
4790
+ Processing by AccountsController#show as HTML
4791
+ Parameters: {"id"=>"163"}
4792
+ Account Load (0.5ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 163 LIMIT 1
4793
+  (1.0ms) SELECT COUNT(*) FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 163 AND `modulate_documents`.`attachable_type` = 'Account'
4794
+ Modulate::Document Load (0.9ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 163 AND `modulate_documents`.`attachable_type` = 'Account'
4795
+ Rendered accounts/_modulate_account_documents.html.haml (15.7ms)
4796
+ CACHE (0.0ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`attachable_id` = 163 AND `modulate_documents`.`attachable_type` = 'Account'
4797
+ Rendered accounts/_modulate_attachments.html.haml (155.9ms)
4798
+ Rendered accounts/show.html.erb within layouts/application (156.7ms)
4799
+ Completed 200 OK in 164ms (Views: 157.8ms | ActiveRecord: 2.4ms)
4800
+ Started GET "/modulate/documents/129" for 127.0.0.1 at 2013-05-30 14:08:06 -0400
4801
+ Processing by Modulate::DocumentsController#show as HTML
4802
+ Parameters: {"id"=>"129"}
4803
+ Modulate::Document Load (0.4ms) SELECT `modulate_documents`.* FROM `modulate_documents` WHERE `modulate_documents`.`id` = 129 LIMIT 1
4804
+ Account Load (0.3ms) SELECT `accounts`.* FROM `accounts` WHERE `accounts`.`id` = 163 LIMIT 1
4805
+ Rendered text template (0.0ms)
4806
+ Sent data (5.6ms)
4807
+ Completed 200 OK in 13ms (Views: 5.4ms | ActiveRecord: 0.7ms)