unified_partials 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +57 -0
  3. data/app/views/attribute_presentation/_default.html.erb +1 -1
  4. data/lib/generators/erb/unified_partials/templates/_associated.html.erb +3 -0
  5. data/lib/generators/erb/unified_partials/templates/_default.html.erb +2 -0
  6. data/lib/generators/erb/unified_partials/templates/_heading.html.erb +1 -0
  7. data/lib/generators/erb/unified_partials/templates/_label.html.erb +1 -0
  8. data/lib/generators/erb/unified_partials/templates/_layout.html.erb +1 -0
  9. data/lib/generators/erb/unified_partials/unified_partials_generator.rb +43 -0
  10. data/lib/generators/haml/unified_partials/templates/_associated.html.haml +3 -0
  11. data/lib/generators/haml/unified_partials/templates/_default.html.haml +2 -0
  12. data/lib/generators/haml/unified_partials/templates/_heading.html.haml +1 -0
  13. data/lib/generators/haml/unified_partials/templates/_label.html.haml +1 -0
  14. data/lib/generators/haml/unified_partials/templates/_layout.html.haml +1 -0
  15. data/lib/generators/haml/unified_partials/unified_partials_generator.rb +16 -0
  16. data/lib/generators/unified_partials/install_generator.rb +9 -0
  17. data/lib/unified_partials/version.rb +1 -1
  18. data/test/dummy/db/development.sqlite3 +0 -0
  19. data/test/dummy/log/development.log +56 -248
  20. data/test/dummy/log/test.log +10 -342
  21. data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  22. data/test/dummy/tmp/cache/assets/development/sprockets/2afdbb3902a1be5d2f045cfc837903a3 +0 -0
  23. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  24. data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  25. data/test/dummy/tmp/cache/assets/development/sprockets/5a15e52e84502f9fceb7ea04020f65fc +0 -0
  26. data/test/dummy/tmp/cache/assets/development/sprockets/64db420a3a172209bf0b734312a4888a +0 -0
  27. data/test/dummy/tmp/cache/assets/development/sprockets/67ff5689dfcb845e86b74aa2d787edef +0 -0
  28. data/test/dummy/tmp/cache/assets/development/sprockets/787b6a4c2386b5edf98f90508b85cc3d +0 -0
  29. data/test/dummy/tmp/cache/assets/development/sprockets/b950c5d77d355ffc7f0edf748e04b138 +0 -0
  30. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  31. data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  32. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  33. data/test/haml-railtie.rb +19 -0
  34. data/test/throwaway/README.rdoc +28 -0
  35. data/test/throwaway/Rakefile +6 -0
  36. data/test/throwaway/app/assets/javascripts/application.js +13 -0
  37. data/test/throwaway/app/assets/javascripts/books.js +2 -0
  38. data/test/throwaway/app/assets/stylesheets/application.css +13 -0
  39. data/test/throwaway/app/assets/stylesheets/books.css +4 -0
  40. data/test/throwaway/app/controllers/application_controller.rb +5 -0
  41. data/test/throwaway/app/controllers/books_controller.rb +5 -0
  42. data/test/throwaway/app/helpers/application_helper.rb +2 -0
  43. data/test/throwaway/app/helpers/books_helper.rb +2 -0
  44. data/test/throwaway/app/models/book.rb +2 -0
  45. data/test/throwaway/app/views/attribute_presentation/_associated.html.erb +3 -0
  46. data/test/throwaway/app/views/attribute_presentation/_default.html.erb +2 -0
  47. data/test/throwaway/app/views/attribute_presentation/_heading.html.erb +1 -0
  48. data/test/throwaway/app/views/attribute_presentation/_label.html.erb +1 -0
  49. data/test/throwaway/app/views/attribute_presentation/_layout.html.erb +2 -0
  50. data/test/throwaway/app/views/books/index.html.erb +5 -0
  51. data/test/throwaway/app/views/layouts/application.html.erb +14 -0
  52. data/test/throwaway/bin/bundle +3 -0
  53. data/test/throwaway/bin/rails +4 -0
  54. data/test/throwaway/bin/rake +4 -0
  55. data/test/throwaway/config.ru +4 -0
  56. data/test/throwaway/config/application.rb +23 -0
  57. data/test/throwaway/config/boot.rb +5 -0
  58. data/test/throwaway/config/database.yml +25 -0
  59. data/test/throwaway/config/environment.rb +5 -0
  60. data/test/throwaway/config/environments/development.rb +29 -0
  61. data/test/throwaway/config/environments/production.rb +80 -0
  62. data/test/throwaway/config/environments/test.rb +36 -0
  63. data/test/throwaway/config/initializers/backtrace_silencers.rb +7 -0
  64. data/test/throwaway/config/initializers/filter_parameter_logging.rb +4 -0
  65. data/test/throwaway/config/initializers/inflections.rb +16 -0
  66. data/test/throwaway/config/initializers/mime_types.rb +5 -0
  67. data/test/throwaway/config/initializers/secret_token.rb +12 -0
  68. data/test/throwaway/config/initializers/session_store.rb +3 -0
  69. data/test/throwaway/config/initializers/wrap_parameters.rb +14 -0
  70. data/test/throwaway/config/locales/en.yml +23 -0
  71. data/test/throwaway/config/routes.rb +57 -0
  72. data/test/throwaway/db/development.sqlite3 +0 -0
  73. data/test/throwaway/db/migrate/20131014134500_create_books.rb +10 -0
  74. data/test/throwaway/db/schema.rb +23 -0
  75. data/test/throwaway/db/seeds.rb +1 -0
  76. data/test/throwaway/db/test.sqlite3 +0 -0
  77. data/test/throwaway/log/development.log +107 -0
  78. data/test/throwaway/log/test.log +15 -0
  79. data/test/throwaway/public/404.html +58 -0
  80. data/test/throwaway/public/422.html +58 -0
  81. data/test/throwaway/public/500.html +57 -0
  82. data/test/throwaway/public/favicon.ico +0 -0
  83. data/test/throwaway/test/fixtures/books.yml +9 -0
  84. data/test/throwaway/test/views/index.html.erb_test.rb +14 -0
  85. data/test/throwaway/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  86. data/test/throwaway/tmp/cache/assets/development/sprockets/2afdbb3902a1be5d2f045cfc837903a3 +0 -0
  87. data/test/throwaway/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  88. data/test/throwaway/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  89. data/test/throwaway/tmp/cache/assets/development/sprockets/5a15e52e84502f9fceb7ea04020f65fc +0 -0
  90. data/test/throwaway/tmp/cache/assets/development/sprockets/64db420a3a172209bf0b734312a4888a +0 -0
  91. data/test/throwaway/tmp/cache/assets/development/sprockets/67ff5689dfcb845e86b74aa2d787edef +0 -0
  92. data/test/throwaway/tmp/cache/assets/development/sprockets/787b6a4c2386b5edf98f90508b85cc3d +0 -0
  93. data/test/throwaway/tmp/cache/assets/development/sprockets/b950c5d77d355ffc7f0edf748e04b138 +0 -0
  94. data/test/throwaway/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  95. data/test/throwaway/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  96. data/test/throwaway/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  97. data/test/throwaway_haml/README.rdoc +28 -0
  98. data/test/throwaway_haml/Rakefile +6 -0
  99. data/test/throwaway_haml/app/assets/javascripts/application.js +13 -0
  100. data/test/throwaway_haml/app/assets/javascripts/books.js +2 -0
  101. data/test/throwaway_haml/app/assets/stylesheets/application.css +13 -0
  102. data/test/throwaway_haml/app/assets/stylesheets/books.css +4 -0
  103. data/test/throwaway_haml/app/controllers/application_controller.rb +5 -0
  104. data/test/throwaway_haml/app/controllers/books_controller.rb +5 -0
  105. data/test/throwaway_haml/app/helpers/application_helper.rb +2 -0
  106. data/test/throwaway_haml/app/helpers/books_helper.rb +2 -0
  107. data/test/throwaway_haml/app/models/book.rb +2 -0
  108. data/test/throwaway_haml/app/views/attribute_presentation/_associated.html.haml +3 -0
  109. data/test/throwaway_haml/app/views/attribute_presentation/_default.html.haml +2 -0
  110. data/test/throwaway_haml/app/views/attribute_presentation/_heading.html.haml +1 -0
  111. data/test/throwaway_haml/app/views/attribute_presentation/_label.html.haml +1 -0
  112. data/test/throwaway_haml/app/views/attribute_presentation/_layout.html.erb +2 -0
  113. data/test/throwaway_haml/app/views/attribute_presentation/_layout.html.haml +1 -0
  114. data/test/throwaway_haml/app/views/books/index.html.erb +5 -0
  115. data/test/throwaway_haml/app/views/layouts/application.html.erb +14 -0
  116. data/test/throwaway_haml/bin/bundle +3 -0
  117. data/test/throwaway_haml/bin/rails +4 -0
  118. data/test/throwaway_haml/bin/rake +4 -0
  119. data/test/throwaway_haml/config.ru +4 -0
  120. data/test/throwaway_haml/config/application.rb +23 -0
  121. data/test/throwaway_haml/config/boot.rb +5 -0
  122. data/test/throwaway_haml/config/database.yml +25 -0
  123. data/test/throwaway_haml/config/environment.rb +5 -0
  124. data/test/throwaway_haml/config/environments/development.rb +29 -0
  125. data/test/throwaway_haml/config/environments/production.rb +80 -0
  126. data/test/throwaway_haml/config/environments/test.rb +36 -0
  127. data/test/throwaway_haml/config/initializers/backtrace_silencers.rb +7 -0
  128. data/test/throwaway_haml/config/initializers/filter_parameter_logging.rb +4 -0
  129. data/test/throwaway_haml/config/initializers/haml-railtie.rb +19 -0
  130. data/test/throwaway_haml/config/initializers/inflections.rb +16 -0
  131. data/test/throwaway_haml/config/initializers/mime_types.rb +5 -0
  132. data/test/throwaway_haml/config/initializers/secret_token.rb +12 -0
  133. data/test/throwaway_haml/config/initializers/session_store.rb +3 -0
  134. data/test/throwaway_haml/config/initializers/wrap_parameters.rb +14 -0
  135. data/test/throwaway_haml/config/locales/en.yml +23 -0
  136. data/test/throwaway_haml/config/routes.rb +57 -0
  137. data/test/throwaway_haml/db/development.sqlite3 +0 -0
  138. data/test/throwaway_haml/db/migrate/20131014134500_create_books.rb +10 -0
  139. data/test/throwaway_haml/db/schema.rb +23 -0
  140. data/test/throwaway_haml/db/seeds.rb +1 -0
  141. data/test/throwaway_haml/db/test.sqlite3 +0 -0
  142. data/test/throwaway_haml/log/development.log +107 -0
  143. data/test/throwaway_haml/log/test.log +15 -0
  144. data/test/throwaway_haml/public/404.html +58 -0
  145. data/test/throwaway_haml/public/422.html +58 -0
  146. data/test/throwaway_haml/public/500.html +57 -0
  147. data/test/throwaway_haml/public/favicon.ico +0 -0
  148. data/test/throwaway_haml/test/fixtures/books.yml +9 -0
  149. data/test/throwaway_haml/test/views/index.html.erb_test.rb +14 -0
  150. data/test/throwaway_haml/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
  151. data/test/throwaway_haml/tmp/cache/assets/development/sprockets/2afdbb3902a1be5d2f045cfc837903a3 +0 -0
  152. data/test/throwaway_haml/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  153. data/test/throwaway_haml/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
  154. data/test/throwaway_haml/tmp/cache/assets/development/sprockets/5a15e52e84502f9fceb7ea04020f65fc +0 -0
  155. data/test/throwaway_haml/tmp/cache/assets/development/sprockets/64db420a3a172209bf0b734312a4888a +0 -0
  156. data/test/throwaway_haml/tmp/cache/assets/development/sprockets/67ff5689dfcb845e86b74aa2d787edef +0 -0
  157. data/test/throwaway_haml/tmp/cache/assets/development/sprockets/787b6a4c2386b5edf98f90508b85cc3d +0 -0
  158. data/test/throwaway_haml/tmp/cache/assets/development/sprockets/b950c5d77d355ffc7f0edf748e04b138 +0 -0
  159. data/test/throwaway_haml/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  160. data/test/throwaway_haml/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
  161. data/test/throwaway_haml/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  162. metadata +274 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e36ea783a8920d109daf78e18c7390909af97a7
4
- data.tar.gz: 53e3e227852e42cb5021f904747b00f5b64d7449
3
+ metadata.gz: 0c940328f29ebceaf29319d1e4dd286298d9b9c6
4
+ data.tar.gz: 7961037a5fc92e335d035a703a7476ab4d43459d
5
5
  SHA512:
6
- metadata.gz: 48ca06fba0b8f61601b6c7a67c20da4ad29273a9846bb8f8f98ae937a8853312cf04e6e9e67be9d0efc17cde93ab7c1633dbe45cd51dbfc36408b108a538424b
7
- data.tar.gz: 79b85caa7aa15e725138f8d67697ca3224c860d7970e8b1c5b2b877c0f0ff96d8a3d42eed6217954886bb43b492140068564ebc1fb97a03056e3751bd0c6b87e
6
+ metadata.gz: 9359429155e38b13105cf594601456fa811cf67b231c62449f357b40297f8f3d9ce9460c3c42fe1f99c9d574359afa99263b45fca02a2b0bcd461db536b2fc1e
7
+ data.tar.gz: 72a4633182083258e6b590c0e4534e6b90518bc46dc45213a657417f056ea5d4ca470ec02766d533bbfd09712804ddd982e35b0b1cb05c361bf909b91f1e1a09
data/Rakefile CHANGED
@@ -30,3 +30,60 @@ end
30
30
 
31
31
 
32
32
  task default: :test
33
+
34
+ def throwaway_path(name = "throwaway")
35
+ "test/#{name}"
36
+ end
37
+
38
+ def put_and_run(cmd)
39
+ puts "About to run: #{cmd}"
40
+ system cmd
41
+ end
42
+
43
+ def create_throwaway(name = "throwaway")
44
+ require "fileutils"
45
+ dummy_path = "test/dummy"
46
+ target_path = throwaway_path(name)
47
+ wait_seconds = 1
48
+ puts "About to reset #{target_path}"
49
+ if File.exists?(throwaway_path(name))
50
+ puts "Clearing old throwaway app in #{wait_seconds} seconds..."
51
+ sleep wait_seconds
52
+ FileUtils.rm_r Dir.glob("#{target_path}/*")
53
+ else
54
+ # when there isn't a throwaway_path available...
55
+ puts
56
+ puts "Generated a disposable app at #{target_path}!"
57
+ puts "Future runs will 'reset' the throwaway app by removing all files inside #{target_path}."
58
+ puts "(the directory isn't removed so terminal sessions don't get weird)"
59
+ puts
60
+ FileUtils.mkdir target_path
61
+ end
62
+ FileUtils.cp_r Dir.glob("#{dummy_path}/*"), target_path
63
+ FileUtils.cp_r Dir.glob("test/sample_data/*"), "#{target_path}/test/fixtures"
64
+ end
65
+
66
+ desc "Create/reset erb throwaway app"
67
+ task :generate_throwaway do
68
+ create_throwaway
69
+ Dir.chdir(throwaway_path) do
70
+ [
71
+ "rails generate unified_partials:install -s",
72
+ ].each {|cmd| put_and_run(cmd) }
73
+ puts "Done!"
74
+ end
75
+ end
76
+
77
+ desc "Create/reset haml throwaway app"
78
+ task :generate_throwaway_haml do
79
+ throwaway_haml = "throwaway_haml"
80
+ target = throwaway_path(throwaway_haml)
81
+ create_throwaway(throwaway_haml)
82
+ put_and_run("cp test/haml-railtie.rb #{target}/config/initializers/")
83
+ Dir.chdir(target) do
84
+ [
85
+ "rails generate unified_partials:install -s",
86
+ ].each {|cmd| put_and_run(cmd) }
87
+ puts "Done!"
88
+ end
89
+ end
@@ -1,2 +1,2 @@
1
1
  <%= label %>
2
- <%= value %>
2
+ <%= value %>
@@ -0,0 +1,3 @@
1
+ <%% associated_title_method ||= :name %>
2
+ <%%= label %>
3
+ <%%= link_to value.send(associated_title_method), value %>
@@ -0,0 +1,2 @@
1
+ <%%= label %>
2
+ <%%= value %>
@@ -0,0 +1 @@
1
+ <h1><%%= object.send(attribute) %></h1>
@@ -0,0 +1 @@
1
+ <strong><%%= "#{name.to_s.titleize}:" %></strong>
@@ -0,0 +1 @@
1
+ <div class="show-attribute"><%%= yield %></div>
@@ -0,0 +1,43 @@
1
+ require 'rails/generators/erb'
2
+
3
+ module Erb # :nodoc:
4
+ module Generators # :nodoc:
5
+ class UnifiedPartialsGenerator < Base # :nodoc:
6
+ source_root File.expand_path("../templates", __FILE__)
7
+ remove_argument :name
8
+ argument :template_path_prefix, optional: true
9
+
10
+ def create_root_folder
11
+ empty_directory File.join("app/views", partial_view_path)
12
+ end
13
+
14
+ def copy_view_files
15
+ override_template_path
16
+ available_views.each do |view|
17
+ filename = filename_with_extensions(view)
18
+ template "#{view}.html.#{handler}", File.join("app/views", partial_view_path, filename)
19
+ end
20
+ end
21
+
22
+ protected
23
+
24
+ def available_views
25
+ %w(_associated _default _heading _label _layout)
26
+ end
27
+
28
+ def assign_names!(*args)
29
+ # noop
30
+ end
31
+
32
+ def partial_view_path
33
+ "attribute_presentation"
34
+ end
35
+
36
+ def override_template_path
37
+ if template_path_prefix
38
+ source_paths.unshift "#{template_path_prefix}/#{handler}/unified_partials/templates/"
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
@@ -0,0 +1,3 @@
1
+ - associated_title_method ||= :name
2
+ = label
3
+ = link_to value.send(associated_title_method), value
@@ -0,0 +1 @@
1
+ %h1= object.send(attribute)
@@ -0,0 +1 @@
1
+ %strong= "#{name.to_s.titleize}:"
@@ -0,0 +1 @@
1
+ .show-attribute= yield
@@ -0,0 +1,16 @@
1
+ require_relative "../../erb/unified_partials/unified_partials_generator"
2
+
3
+ module Haml # :nodoc:
4
+ module Generators # :nodoc:
5
+ class UnifiedPartialsGenerator < Erb::Generators::UnifiedPartialsGenerator # :nodoc:
6
+ source_root File.expand_path("../templates", __FILE__)
7
+
8
+ protected
9
+
10
+ def handler
11
+ :haml
12
+ end
13
+
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,9 @@
1
+ require "fileutils"
2
+
3
+ module UnifiedPartials
4
+ class InstallGenerator < Rails::Generators::Base
5
+ source_root File.expand_path("../templates", __FILE__)
6
+ hook_for :template_engine, as: :unified_partials
7
+ argument :template_path_prefix, optional: true
8
+ end
9
+ end
@@ -1,3 +1,3 @@
1
1
  module UnifiedPartials
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
Binary file
@@ -1,299 +1,107 @@
1
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
-  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1
+  (56.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (15.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
4
  Migrating to CreateBooks (20131014134500)
5
-  (0.3ms) begin transaction
6
-  (0.4ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
5
+  (0.1ms) begin transaction
6
+  (1.1ms) CREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "author" varchar(255), "created_at" datetime, "updated_at" datetime) 
7
7
  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131014134500"]]
8
-  (1.5ms) commit transaction
8
+  (1.8ms) commit transaction
9
9
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
10
-  (0.1ms) begin transaction
11
- SQL (2.6ms) INSERT INTO "books" ("author", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["author", "God"], ["created_at", Mon, 14 Oct 2013 13:46:56 UTC +00:00], ["title", "The Bible"], ["updated_at", Mon, 14 Oct 2013 13:46:56 UTC +00:00]]
12
-  (1.2ms) commit transaction
13
-
14
-
15
- Started GET "/" for 127.0.0.1 at 2013-10-14 10:05:15 -0400
16
10
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
17
- Processing by Rails::WelcomeController#index as HTML
18
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/railties-4.0.0/lib/rails/templates/rails/welcome/index.html.erb (1.3ms)
19
- Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms)
20
-
21
-
22
- Started GET "/books/" for 127.0.0.1 at 2013-10-14 10:05:32 -0400
23
-
24
- ActionController::RoutingError (No route matches [GET] "/books"):
25
- actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
26
- actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
27
- railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
28
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
29
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
30
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
31
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
32
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
33
- actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
34
- rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
35
- rack (1.5.2) lib/rack/runtime.rb:17:in `call'
36
- activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
37
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
38
- actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
39
- railties (4.0.0) lib/rails/engine.rb:511:in `call'
40
- railties (4.0.0) lib/rails/application.rb:97:in `call'
41
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
42
- rack (1.5.2) lib/rack/content_length.rb:14:in `call'
43
- rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
44
- /Users/samsm/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
45
- /Users/samsm/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
46
- /Users/samsm/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
47
-
48
-
49
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
50
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
51
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (4.3ms)
52
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (19.4ms)
53
-
54
-
55
- Started GET "/books/index" for 127.0.0.1 at 2013-10-14 10:05:35 -0400
56
- Processing by BooksController#index as HTML
57
- Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
58
- Rendered books/index.html.erb within layouts/application (29.7ms)
59
- Completed 500 Internal Server Error in 48ms
60
-
61
- ActionView::Template::Error (undefined method `attribute_display' for #<#<Class:0x007f8a36b28d98>:0x007f8a36b28168>):
62
- 1: <h1>Books#index</h1>
63
- 2: <p>Find me in app/views/books/index.html.erb</p>
64
- 3:
65
- 4: <%= attribute_display(@book, :title, with: :heading) %>
66
- 5: <%= attribute_display(@book, :author) %>
67
- app/views/books/index.html.erb:4:in `_app_views_books_index_html_erb__1943258821798331801_70115799963780'
11
+  (0.1ms) begin transaction
12
+ SQL (6.5ms) INSERT INTO "books" ("author", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?) [["author", "God"], ["created_at", Mon, 14 Oct 2013 20:22:38 UTC +00:00], ["title", "The Bible"], ["updated_at", Mon, 14 Oct 2013 20:22:38 UTC +00:00]]
13
+  (1.2ms) commit transaction
68
14
 
69
15
 
70
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
71
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (18.1ms)
72
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (26.9ms)
73
-
74
-
75
- Started GET "/books/index" for 127.0.0.1 at 2013-10-14 10:51:33 -0400
16
+ Started GET "/books/index" for 127.0.0.1 at 2013-10-14 16:22:59 -0400
17
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
76
18
  Processing by BooksController#index as HTML
77
- Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
78
- Rendered books/index.html.erb within layouts/application (0.5ms)
79
- Completed 200 OK in 35ms (Views: 34.2ms | ActiveRecord: 0.2ms)
80
-
81
-
82
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-14 10:51:33 -0400
83
-
84
-
85
- Started GET "/assets/books.css?body=1" for 127.0.0.1 at 2013-10-14 10:51:33 -0400
86
-
19
+ Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
20
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.5ms)
21
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_heading.html.erb (1.2ms)
22
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.1ms)
23
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_default.html.erb (0.8ms)
24
+ Rendered books/index.html.erb within layouts/application (38.6ms)
25
+ Completed 200 OK in 105ms (Views: 91.7ms | ActiveRecord: 0.5ms)
87
26
 
88
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-14 10:51:33 -0400
89
27
 
28
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-14 16:22:59 -0400
90
29
 
91
- Started GET "/assets/books.js?body=1" for 127.0.0.1 at 2013-10-14 10:51:33 -0400
92
30
 
31
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-14 16:22:59 -0400
93
32
 
94
- Started GET "/books/index" for 127.0.0.1 at 2013-10-14 10:52:10 -0400
95
- Processing by BooksController#index as HTML
96
- Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
97
- Rendered books/index.html.erb within layouts/application (1.5ms)
98
- Completed 500 Internal Server Error in 4ms
99
33
 
100
- ActionView::Template::Error (Missing partial attribute_presentation/label with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
101
- * "/Users/samsm/Repositories/mine/unified_partials/test/dummy/app/views"
102
- ):
103
- 1: <h1>Books#index</h1>
104
- 2: <p>Find me in app/views/books/index.html.erb</p>
105
- 3:
106
- 4: <%= render "attribute_presentation/label", locals: {} %>
107
- 5:
108
- 6: <% if false %>
109
- 7: <%= attribute_display(@book, :title, with: :heading) %>
110
- app/views/books/index.html.erb:4:in `_app_views_books_index_html_erb__1943258821798331801_70115777794740'
34
+ Started GET "/assets/books.js?body=1" for 127.0.0.1 at 2013-10-14 16:22:59 -0400
111
35
 
112
36
 
113
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
114
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
115
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.3ms)
37
+ Started GET "/assets/books.css?body=1" for 127.0.0.1 at 2013-10-14 16:22:59 -0400
116
38
 
117
39
 
118
- Started GET "/books/index" for 127.0.0.1 at 2013-10-14 10:55:05 -0400
119
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
120
- Processing by BooksController#index as HTML
121
- Book Load (0.1ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
122
- Rendered books/index.html.erb within layouts/application (5.4ms)
123
- Completed 500 Internal Server Error in 27ms
124
-
125
- ActionView::Template::Error (Missing partial attribute_presentation/label with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
126
- * "/Users/samsm/Repositories/mine/unified_partials/test/dummy/app/views"
127
- * "/Users/samsm/Repositories/mine/unified_partials/app/views"
128
- ):
129
- 1: <h1>Books#index</h1>
130
- 2: <p>Find me in app/views/books/index.html.erb</p>
131
- 3:
132
- 4: <%= render "attribute_presentation/label", locals: {} %>
133
- 5:
134
- 6: <% if false %>
135
- 7: <%= attribute_display(@book, :title, with: :heading) %>
136
- app/views/books/index.html.erb:4:in `_app_views_books_index_html_erb___44167171928417914_70289191771240'
137
-
138
-
139
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
140
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (20.6ms)
141
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (28.8ms)
142
-
143
-
144
- Started GET "/books/index" for 127.0.0.1 at 2013-10-14 10:55:46 -0400
40
+ Started GET "/books/index" for 127.0.0.1 at 2013-10-14 16:25:09 -0400
145
41
  Processing by BooksController#index as HTML
146
42
  Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
147
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.4ms)
148
- Rendered books/index.html.erb within layouts/application (1.3ms)
149
- Completed 200 OK in 17ms (Views: 16.3ms | ActiveRecord: 0.2ms)
43
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.1ms)
44
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_heading.html.erb (1.0ms)
45
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.2ms)
46
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_default.html.erb (0.7ms)
47
+ Rendered books/index.html.erb within layouts/application (5.7ms)
48
+ Completed 200 OK in 11ms (Views: 9.4ms | ActiveRecord: 0.2ms)
150
49
 
151
50
 
152
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-14 10:55:46 -0400
51
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-14 16:25:09 -0400
153
52
 
154
53
 
155
- Started GET "/assets/books.css?body=1" for 127.0.0.1 at 2013-10-14 10:55:46 -0400
54
+ Started GET "/assets/books.css?body=1" for 127.0.0.1 at 2013-10-14 16:25:09 -0400
156
55
 
157
56
 
158
- Started GET "/assets/books.js?body=1" for 127.0.0.1 at 2013-10-14 10:55:46 -0400
57
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-14 16:25:09 -0400
159
58
 
160
59
 
161
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-14 10:55:46 -0400
60
+ Started GET "/assets/books.js?body=1" for 127.0.0.1 at 2013-10-14 16:25:09 -0400
162
61
 
163
62
 
164
- Started GET "/books/index" for 127.0.0.1 at 2013-10-14 10:56:13 -0400
165
- Processing by BooksController#index as HTML
166
- Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
167
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.1ms)
168
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.3ms)
169
- Rendered books/index.html.erb within layouts/application (3.9ms)
170
- Completed 500 Internal Server Error in 7ms
171
-
172
- ActionView::Template::Error (Missing partial attribute_presentation/heading with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
173
- * "/Users/samsm/Repositories/mine/unified_partials/test/dummy/app/views"
174
- * "/Users/samsm/Repositories/mine/unified_partials/app/views"
175
- ):
176
- 4: <%= render "attribute_presentation/label", locals: {} %>
177
- 5:
178
- 6: <% if true %>
179
- 7: <%= attribute_display(@book, :title, with: :heading) %>
180
- 8: <%= attribute_display(@book, :author) %>
181
- 9: <% end %>
182
- app/views/books/index.html.erb:7:in `_app_views_books_index_html_erb___44167171928417914_70289167774520'
183
-
184
-
185
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
186
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
187
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.9ms)
188
-
189
-
190
- Started GET "/books/index" for 127.0.0.1 at 2013-10-14 11:11:18 -0400
63
+ Started GET "/books/index" for 127.0.0.1 at 2013-10-14 16:25:18 -0400
64
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
191
65
  Processing by BooksController#index as HTML
192
- Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
193
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (6.8ms)
194
- Rendered books/index.html.erb within layouts/application (7.8ms)
195
- Completed 500 Internal Server Error in 10ms
66
+ Book Load (0.3ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
67
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.5ms)
68
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_heading.html.erb (1.2ms)
69
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.1ms)
70
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_default.html.erb (1.2ms)
71
+ Rendered books/index.html.erb within layouts/application (35.0ms)
72
+ Completed 200 OK in 83ms (Views: 68.0ms | ActiveRecord: 0.6ms)
196
73
 
197
- ActionView::Template::Error (undefined local variable or method `name' for #<#<Class:0x007fdaf4998398>:0x007fdaf4ac9690>):
198
- 1: <strong><%= "#{name.to_s.titleize}:" %>
199
- app/views/books/index.html.erb:4:in `_app_views_books_index_html_erb___44167171928417914_70289167774520'
200
74
 
75
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-14 16:25:19 -0400
201
76
 
202
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
203
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
204
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.1ms)
205
77
 
78
+ Started GET "/assets/books.js?body=1" for 127.0.0.1 at 2013-10-14 16:25:19 -0400
206
79
 
207
- Started GET "/books/index" for 127.0.0.1 at 2013-10-14 11:11:32 -0400
208
- Processing by BooksController#index as HTML
209
- Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
210
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (5.5ms)
211
- Rendered books/index.html.erb within layouts/application (6.9ms)
212
- Completed 500 Internal Server Error in 9ms
213
80
 
214
- ActionView::Template::Error (undefined local variable or method `name' for #<#<Class:0x007fdaf4998398>:0x007fdaf26442c0>):
215
- 1: <strong><%= "#{name.to_s.titleize}:" %>
216
- app/views/books/index.html.erb:4:in `_app_views_books_index_html_erb___44167171928417914_70289173147420'
81
+ Started GET "/assets/books.css?body=1" for 127.0.0.1 at 2013-10-14 16:25:19 -0400
217
82
 
218
83
 
219
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
220
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
221
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.1ms)
84
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-14 16:25:19 -0400
222
85
 
223
86
 
224
- Started GET "/books/index" for 127.0.0.1 at 2013-10-14 11:11:53 -0400
87
+ Started GET "/books/index" for 127.0.0.1 at 2013-10-14 16:29:02 -0400
225
88
  Processing by BooksController#index as HTML
226
89
  Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
227
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.5ms)
228
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.1ms)
229
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_heading.html.erb (0.7ms)
230
- Rendered books/index.html.erb within layouts/application (4.6ms)
231
- Completed 500 Internal Server Error in 7ms
232
-
233
- ActionView::Template::Error (Missing partial attribute_presentation/layout with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
234
- * "/Users/samsm/Repositories/mine/unified_partials/test/dummy/app/views"
235
- * "/Users/samsm/Repositories/mine/unified_partials/app/views"
236
- ):
237
- 4: <%= render "attribute_presentation/label", {name: "hi there"} %>
238
- 5:
239
- 6: <% if true %>
240
- 7: <%= attribute_display(@book, :title, with: :heading) %>
241
- 8: <%= attribute_display(@book, :author) %>
242
- 9: <% end %>
243
- app/views/books/index.html.erb:7:in `_app_views_books_index_html_erb___44167171928417914_70289192015800'
244
-
245
-
246
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
247
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
248
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.4ms)
249
-
250
-
251
- Started GET "/books/index" for 127.0.0.1 at 2013-10-14 11:12:38 -0400
252
- Processing by BooksController#index as HTML
253
- Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
254
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.2ms)
255
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.1ms)
256
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_heading.html.erb (1.3ms)
257
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.1ms)
90
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.2ms)
91
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_heading.html.erb (1.2ms)
92
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.1ms)
93
+ Rendered /opt/boxen/repositories/mine/unified_partials/app/views/attribute_presentation/_default.html.erb (0.4ms)
258
94
  Rendered books/index.html.erb within layouts/application (6.3ms)
259
- Completed 500 Internal Server Error in 9ms
260
-
261
- ActionView::Template::Error (Missing partial attribute_presentation/default with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in:
262
- * "/Users/samsm/Repositories/mine/unified_partials/test/dummy/app/views"
263
- * "/Users/samsm/Repositories/mine/unified_partials/app/views"
264
- ):
265
- 5:
266
- 6: <% if true %>
267
- 7: <%= attribute_display(@book, :title, with: :heading) %>
268
- 8: <%= attribute_display(@book, :author) %>
269
- 9: <% end %>
270
- app/views/books/index.html.erb:8:in `_app_views_books_index_html_erb___44167171928417914_70289192015800'
271
-
272
-
273
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (18.8ms)
274
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
275
- Rendered /Users/samsm/.rvm/gems/ruby-2.0.0-p247@unified_partials/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (27.0ms)
276
-
277
-
278
- Started GET "/books/index" for 127.0.0.1 at 2013-10-14 11:13:05 -0400
279
- Processing by BooksController#index as HTML
280
- Book Load (0.2ms) SELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1
281
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.2ms)
282
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.1ms)
283
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_heading.html.erb (0.8ms)
284
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_label.html.erb (0.1ms)
285
- Rendered /Users/samsm/Repositories/mine/unified_partials/app/views/attribute_presentation/_default.html.erb (1.1ms)
286
- Rendered books/index.html.erb within layouts/application (6.4ms)
287
- Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.2ms)
95
+ Completed 200 OK in 11ms (Views: 9.7ms | ActiveRecord: 0.2ms)
288
96
 
289
97
 
290
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-14 11:13:05 -0400
98
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-10-14 16:29:02 -0400
291
99
 
292
100
 
293
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-14 11:13:05 -0400
101
+ Started GET "/assets/books.css?body=1" for 127.0.0.1 at 2013-10-14 16:29:02 -0400
294
102
 
295
103
 
296
- Started GET "/assets/books.css?body=1" for 127.0.0.1 at 2013-10-14 11:13:05 -0400
104
+ Started GET "/assets/books.js?body=1" for 127.0.0.1 at 2013-10-14 16:29:02 -0400
297
105
 
298
106
 
299
- Started GET "/assets/books.js?body=1" for 127.0.0.1 at 2013-10-14 11:13:05 -0400
107
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-14 16:29:02 -0400