unified_partials 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +57 -0
- data/app/views/attribute_presentation/_default.html.erb +1 -1
- data/lib/generators/erb/unified_partials/templates/_associated.html.erb +3 -0
- data/lib/generators/erb/unified_partials/templates/_default.html.erb +2 -0
- data/lib/generators/erb/unified_partials/templates/_heading.html.erb +1 -0
- data/lib/generators/erb/unified_partials/templates/_label.html.erb +1 -0
- data/lib/generators/erb/unified_partials/templates/_layout.html.erb +1 -0
- data/lib/generators/erb/unified_partials/unified_partials_generator.rb +43 -0
- data/lib/generators/haml/unified_partials/templates/_associated.html.haml +3 -0
- data/lib/generators/haml/unified_partials/templates/_default.html.haml +2 -0
- data/lib/generators/haml/unified_partials/templates/_heading.html.haml +1 -0
- data/lib/generators/haml/unified_partials/templates/_label.html.haml +1 -0
- data/lib/generators/haml/unified_partials/templates/_layout.html.haml +1 -0
- data/lib/generators/haml/unified_partials/unified_partials_generator.rb +16 -0
- data/lib/generators/unified_partials/install_generator.rb +9 -0
- data/lib/unified_partials/version.rb +1 -1
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/log/development.log +56 -248
- data/test/dummy/log/test.log +10 -342
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2afdbb3902a1be5d2f045cfc837903a3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5a15e52e84502f9fceb7ea04020f65fc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/64db420a3a172209bf0b734312a4888a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/67ff5689dfcb845e86b74aa2d787edef +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/787b6a4c2386b5edf98f90508b85cc3d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b950c5d77d355ffc7f0edf748e04b138 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/haml-railtie.rb +19 -0
- data/test/throwaway/README.rdoc +28 -0
- data/test/throwaway/Rakefile +6 -0
- data/test/throwaway/app/assets/javascripts/application.js +13 -0
- data/test/throwaway/app/assets/javascripts/books.js +2 -0
- data/test/throwaway/app/assets/stylesheets/application.css +13 -0
- data/test/throwaway/app/assets/stylesheets/books.css +4 -0
- data/test/throwaway/app/controllers/application_controller.rb +5 -0
- data/test/throwaway/app/controllers/books_controller.rb +5 -0
- data/test/throwaway/app/helpers/application_helper.rb +2 -0
- data/test/throwaway/app/helpers/books_helper.rb +2 -0
- data/test/throwaway/app/models/book.rb +2 -0
- data/test/throwaway/app/views/attribute_presentation/_associated.html.erb +3 -0
- data/test/throwaway/app/views/attribute_presentation/_default.html.erb +2 -0
- data/test/throwaway/app/views/attribute_presentation/_heading.html.erb +1 -0
- data/test/throwaway/app/views/attribute_presentation/_label.html.erb +1 -0
- data/test/throwaway/app/views/attribute_presentation/_layout.html.erb +2 -0
- data/test/throwaway/app/views/books/index.html.erb +5 -0
- data/test/throwaway/app/views/layouts/application.html.erb +14 -0
- data/test/throwaway/bin/bundle +3 -0
- data/test/throwaway/bin/rails +4 -0
- data/test/throwaway/bin/rake +4 -0
- data/test/throwaway/config.ru +4 -0
- data/test/throwaway/config/application.rb +23 -0
- data/test/throwaway/config/boot.rb +5 -0
- data/test/throwaway/config/database.yml +25 -0
- data/test/throwaway/config/environment.rb +5 -0
- data/test/throwaway/config/environments/development.rb +29 -0
- data/test/throwaway/config/environments/production.rb +80 -0
- data/test/throwaway/config/environments/test.rb +36 -0
- data/test/throwaway/config/initializers/backtrace_silencers.rb +7 -0
- data/test/throwaway/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/throwaway/config/initializers/inflections.rb +16 -0
- data/test/throwaway/config/initializers/mime_types.rb +5 -0
- data/test/throwaway/config/initializers/secret_token.rb +12 -0
- data/test/throwaway/config/initializers/session_store.rb +3 -0
- data/test/throwaway/config/initializers/wrap_parameters.rb +14 -0
- data/test/throwaway/config/locales/en.yml +23 -0
- data/test/throwaway/config/routes.rb +57 -0
- data/test/throwaway/db/development.sqlite3 +0 -0
- data/test/throwaway/db/migrate/20131014134500_create_books.rb +10 -0
- data/test/throwaway/db/schema.rb +23 -0
- data/test/throwaway/db/seeds.rb +1 -0
- data/test/throwaway/db/test.sqlite3 +0 -0
- data/test/throwaway/log/development.log +107 -0
- data/test/throwaway/log/test.log +15 -0
- data/test/throwaway/public/404.html +58 -0
- data/test/throwaway/public/422.html +58 -0
- data/test/throwaway/public/500.html +57 -0
- data/test/throwaway/public/favicon.ico +0 -0
- data/test/throwaway/test/fixtures/books.yml +9 -0
- data/test/throwaway/test/views/index.html.erb_test.rb +14 -0
- data/test/throwaway/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/throwaway/tmp/cache/assets/development/sprockets/2afdbb3902a1be5d2f045cfc837903a3 +0 -0
- data/test/throwaway/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/throwaway/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/throwaway/tmp/cache/assets/development/sprockets/5a15e52e84502f9fceb7ea04020f65fc +0 -0
- data/test/throwaway/tmp/cache/assets/development/sprockets/64db420a3a172209bf0b734312a4888a +0 -0
- data/test/throwaway/tmp/cache/assets/development/sprockets/67ff5689dfcb845e86b74aa2d787edef +0 -0
- data/test/throwaway/tmp/cache/assets/development/sprockets/787b6a4c2386b5edf98f90508b85cc3d +0 -0
- data/test/throwaway/tmp/cache/assets/development/sprockets/b950c5d77d355ffc7f0edf748e04b138 +0 -0
- data/test/throwaway/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/throwaway/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/throwaway/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/throwaway_haml/README.rdoc +28 -0
- data/test/throwaway_haml/Rakefile +6 -0
- data/test/throwaway_haml/app/assets/javascripts/application.js +13 -0
- data/test/throwaway_haml/app/assets/javascripts/books.js +2 -0
- data/test/throwaway_haml/app/assets/stylesheets/application.css +13 -0
- data/test/throwaway_haml/app/assets/stylesheets/books.css +4 -0
- data/test/throwaway_haml/app/controllers/application_controller.rb +5 -0
- data/test/throwaway_haml/app/controllers/books_controller.rb +5 -0
- data/test/throwaway_haml/app/helpers/application_helper.rb +2 -0
- data/test/throwaway_haml/app/helpers/books_helper.rb +2 -0
- data/test/throwaway_haml/app/models/book.rb +2 -0
- data/test/throwaway_haml/app/views/attribute_presentation/_associated.html.haml +3 -0
- data/test/throwaway_haml/app/views/attribute_presentation/_default.html.haml +2 -0
- data/test/throwaway_haml/app/views/attribute_presentation/_heading.html.haml +1 -0
- data/test/throwaway_haml/app/views/attribute_presentation/_label.html.haml +1 -0
- data/test/throwaway_haml/app/views/attribute_presentation/_layout.html.erb +2 -0
- data/test/throwaway_haml/app/views/attribute_presentation/_layout.html.haml +1 -0
- data/test/throwaway_haml/app/views/books/index.html.erb +5 -0
- data/test/throwaway_haml/app/views/layouts/application.html.erb +14 -0
- data/test/throwaway_haml/bin/bundle +3 -0
- data/test/throwaway_haml/bin/rails +4 -0
- data/test/throwaway_haml/bin/rake +4 -0
- data/test/throwaway_haml/config.ru +4 -0
- data/test/throwaway_haml/config/application.rb +23 -0
- data/test/throwaway_haml/config/boot.rb +5 -0
- data/test/throwaway_haml/config/database.yml +25 -0
- data/test/throwaway_haml/config/environment.rb +5 -0
- data/test/throwaway_haml/config/environments/development.rb +29 -0
- data/test/throwaway_haml/config/environments/production.rb +80 -0
- data/test/throwaway_haml/config/environments/test.rb +36 -0
- data/test/throwaway_haml/config/initializers/backtrace_silencers.rb +7 -0
- data/test/throwaway_haml/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/throwaway_haml/config/initializers/haml-railtie.rb +19 -0
- data/test/throwaway_haml/config/initializers/inflections.rb +16 -0
- data/test/throwaway_haml/config/initializers/mime_types.rb +5 -0
- data/test/throwaway_haml/config/initializers/secret_token.rb +12 -0
- data/test/throwaway_haml/config/initializers/session_store.rb +3 -0
- data/test/throwaway_haml/config/initializers/wrap_parameters.rb +14 -0
- data/test/throwaway_haml/config/locales/en.yml +23 -0
- data/test/throwaway_haml/config/routes.rb +57 -0
- data/test/throwaway_haml/db/development.sqlite3 +0 -0
- data/test/throwaway_haml/db/migrate/20131014134500_create_books.rb +10 -0
- data/test/throwaway_haml/db/schema.rb +23 -0
- data/test/throwaway_haml/db/seeds.rb +1 -0
- data/test/throwaway_haml/db/test.sqlite3 +0 -0
- data/test/throwaway_haml/log/development.log +107 -0
- data/test/throwaway_haml/log/test.log +15 -0
- data/test/throwaway_haml/public/404.html +58 -0
- data/test/throwaway_haml/public/422.html +58 -0
- data/test/throwaway_haml/public/500.html +57 -0
- data/test/throwaway_haml/public/favicon.ico +0 -0
- data/test/throwaway_haml/test/fixtures/books.yml +9 -0
- data/test/throwaway_haml/test/views/index.html.erb_test.rb +14 -0
- data/test/throwaway_haml/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/throwaway_haml/tmp/cache/assets/development/sprockets/2afdbb3902a1be5d2f045cfc837903a3 +0 -0
- data/test/throwaway_haml/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/throwaway_haml/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/throwaway_haml/tmp/cache/assets/development/sprockets/5a15e52e84502f9fceb7ea04020f65fc +0 -0
- data/test/throwaway_haml/tmp/cache/assets/development/sprockets/64db420a3a172209bf0b734312a4888a +0 -0
- data/test/throwaway_haml/tmp/cache/assets/development/sprockets/67ff5689dfcb845e86b74aa2d787edef +0 -0
- data/test/throwaway_haml/tmp/cache/assets/development/sprockets/787b6a4c2386b5edf98f90508b85cc3d +0 -0
- data/test/throwaway_haml/tmp/cache/assets/development/sprockets/b950c5d77d355ffc7f0edf748e04b138 +0 -0
- data/test/throwaway_haml/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/throwaway_haml/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/throwaway_haml/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- metadata +274 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0c940328f29ebceaf29319d1e4dd286298d9b9c6
|
4
|
+
data.tar.gz: 7961037a5fc92e335d035a703a7476ab4d43459d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 @@
|
|
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 @@
|
|
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
|
Binary file
|
@@ -1,299 +1,107 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (
|
3
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.
|
1
|
+
[1m[36m (56.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[35m (15.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
4
|
Migrating to CreateBooks (20131014134500)
|
5
|
-
[1m[35m (0.
|
6
|
-
[1m[36m (
|
5
|
+
[1m[35m (0.1ms)[0m begin transaction
|
6
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "books" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "author" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
7
7
|
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131014134500"]]
|
8
|
-
[1m[36m (1.
|
8
|
+
[1m[36m (1.8ms)[0m [1mcommit transaction[0m
|
9
9
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
10
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
11
|
-
[1m[35mSQL (2.6ms)[0m 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
|
-
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
13
|
-
|
14
|
-
|
15
|
-
Started GET "/" for 127.0.0.1 at 2013-10-14 10:05:15 -0400
|
16
10
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
17
|
-
|
18
|
-
|
19
|
-
|
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
|
-
[1m[35mBook Load (0.1ms)[0m 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
|
+
[1m[35m (0.1ms)[0m begin transaction
|
12
|
+
[1m[36mSQL (6.5ms)[0m [1mINSERT INTO "books" ("author", "created_at", "title", "updated_at") VALUES (?, ?, ?, ?)[0m [["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
|
+
[1m[35m (1.2ms)[0m commit transaction
|
68
14
|
|
69
15
|
|
70
|
-
|
71
|
-
|
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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
76
18
|
Processing by BooksController#index as HTML
|
77
|
-
[1m[
|
78
|
-
Rendered
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
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
|
+
[1m[35mBook Load (0.2ms)[0m 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
|
-
[1m[35mBook Load (0.2ms)[0m 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
|
-
|
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
|
-
|
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
|
119
|
-
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
120
|
-
Processing by BooksController#index as HTML
|
121
|
-
[1m[35mBook Load (0.1ms)[0m 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
|
[1m[36mBook Load (0.2ms)[0m [1mSELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1[0m
|
147
|
-
Rendered /
|
148
|
-
Rendered
|
149
|
-
|
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
|
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
|
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/
|
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/
|
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
|
165
|
-
|
166
|
-
[1m[35mBook Load (0.2ms)[0m 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
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
191
65
|
Processing by BooksController#index as HTML
|
192
|
-
[1m[
|
193
|
-
Rendered /
|
194
|
-
Rendered
|
195
|
-
|
66
|
+
[1m[35mBook Load (0.3ms)[0m 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
|
-
[1m[35mBook Load (0.2ms)[0m 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
|
-
|
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
|
-
|
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
|
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
|
[1m[36mBook Load (0.2ms)[0m [1mSELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1[0m
|
227
|
-
Rendered /
|
228
|
-
Rendered /
|
229
|
-
Rendered /
|
230
|
-
Rendered
|
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
|
-
[1m[35mBook Load (0.2ms)[0m 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
|
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
|
-
[1m[36mBook Load (0.2ms)[0m [1mSELECT "books".* FROM "books" ORDER BY "books"."id" ASC LIMIT 1[0m
|
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
|
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/
|
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.
|
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/
|
107
|
+
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-10-14 16:29:02 -0400
|