spec/dummy/log/development.log in themes_on_rails-0.2.2 vs spec/dummy/log/development.log in themes_on_rails-0.3.0
- old
+ new
@@ -2111,5 +2111,280 @@
Started GET "/posts?theme=theme_c" for 127.0.0.1 at 2014-08-28 10:36:02 +0700
Processing by PostsController#index as HTML
Parameters: {"theme"=>"theme_c"}
Rendered app/themes/theme_c/views/posts/index.liquid within layouts/theme_c (2593.2ms)
Completed 200 OK in 2597ms (Views: 2595.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/posts?theme=theme_b" for 127.0.0.1 at 2014-08-31 10:44:44 +0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by PostsController#index as HTML
+ Parameters: {"theme"=>"theme_b"}
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+ Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (8.7ms)
+Completed 200 OK in 42ms (Views: 39.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/posts?theme=theme_b" for 127.0.0.1 at 2014-08-31 10:44:56 +0700
+Processing by PostsController#index as HTML
+ Parameters: {"theme"=>"theme_b"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+ Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (2.4ms)
+Completed 200 OK in 8ms (Views: 6.8ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/posts?theme=theme_b" for 127.0.0.1 at 2014-08-31 10:45:06 +0700
+Processing by PostsController#index as HTML
+ Parameters: {"theme"=>"theme_b"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
+ Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (35633.6ms)
+Completed 200 OK in 35640ms (Views: 35637.8ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/posts?theme=theme_b" for 127.0.0.1 at 2014-08-31 10:49:52 +0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by PostsController#index as HTML
+ Parameters: {"theme"=>"theme_b"}
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+ Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (2248.7ms)
+Completed 200 OK in 2272ms (Views: 2270.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/posts?theme=theme_b" for 127.0.0.1 at 2014-08-31 10:50:23 +0700
+Processing by PostsController#index as HTML
+ Parameters: {"theme"=>"theme_b"}
+ [1m[36mPost Load (0.3ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+ Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (11.8ms)
+Completed 500 Internal Server Error in 15ms
+
+ActionView::Template::Error (undefined method `layout' for #<PostsController:0x00000109011418>):
+ 1: <% layout "alternate_theme_b" %>
+ 2: <h1>Listing posts: theme_b</h1>
+ 3:
+ 4: <table>
+ app/helpers/application_helper.rb:4:in `layout'
+ app/themes/theme_b/views/posts/index.html.erb:1:in `_app_themes_theme_b_views_posts_index_html_erb___3132814655389985418_2218899260'
+
+
+ Rendered /Users/chamnapchhorn/.rvm/gems/ruby-2.1.1@themes_on_rails/gems/actionpack-4.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
+ Rendered /Users/chamnapchhorn/.rvm/gems/ruby-2.1.1@themes_on_rails/gems/actionpack-4.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
+ Rendered /Users/chamnapchhorn/.rvm/gems/ruby-2.1.1@themes_on_rails/gems/actionpack-4.0.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (14.9ms)
+
+
+Started GET "/posts?theme=theme_b" for 127.0.0.1 at 2014-08-31 10:50:40 +0700
+Processing by PostsController#index as HTML
+ Parameters: {"theme"=>"theme_b"}
+ [1m[35mPost Load (0.3ms)[0m SELECT "posts".* FROM "posts"
+ Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (6.7ms)
+Completed 200 OK in 12ms (Views: 10.3ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/posts?theme=theme_b" for 127.0.0.1 at 2014-08-31 20:37:07 +0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by PostsController#index as HTML
+ Parameters: {"theme"=>"theme_b"}
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+ Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (12.8ms)
+Completed 500 Internal Server Error in 22ms
+
+ActionView::Template::Error (Missing template /alternate_theme_b with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :liquid, :haml]}. Searched in:
+ * "/Users/chamnapchhorn/workspace/me/themes_on_rails/spec/dummy/app/themes/theme_b/views"
+ * "/Users/chamnapchhorn/workspace/me/themes_on_rails/spec/dummy/app/views"
+):
+ 28:
+ 29: <%= link_to 'New Post', new_post_path %>
+ 30:
+ 31: <% render template: 'alternate_theme_b' %>
+ app/themes/theme_b/views/posts/index.html.erb:31:in `_app_themes_theme_b_views_posts_index_html_erb___3478413334651172396_2169167160'
+
+
+ Rendered /Users/chamnapchhorn/.rvm/gems/ruby-2.1.2@themes_on_rails/gems/actionpack-4.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
+ Rendered /Users/chamnapchhorn/.rvm/gems/ruby-2.1.2@themes_on_rails/gems/actionpack-4.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (12.7ms)
+ Rendered /Users/chamnapchhorn/.rvm/gems/ruby-2.1.2@themes_on_rails/gems/actionpack-4.0.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (26.2ms)
+
+
+Started GET "/posts?theme=theme_b" for 127.0.0.1 at 2014-08-31 20:37:24 +0700
+Processing by PostsController#index as HTML
+ Parameters: {"theme"=>"theme_b"}
+ [1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+ Rendered app/themes/theme_b/views/layouts/alternate_theme_b.html.haml (12.3ms)
+ Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (15.3ms)
+Completed 200 OK in 20ms (Views: 19.6ms | ActiveRecord: 0.1ms)
+
+
+Started GET "/posts?theme=theme_b" for 127.0.0.1 at 2014-08-31 20:39:08 +0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by PostsController#index as HTML
+ Parameters: {"theme"=>"theme_b"}
+ [1m[35mPost Load (0.2ms)[0m SELECT "posts".* FROM "posts"
+ Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (10.6ms)
+Completed 500 Internal Server Error in 18ms
+
+ActionView::Template::Error (You invoked render but did not give any of :partial, :template, :inline, :file or :text option.):
+ 28:
+ 29: <%= link_to 'New Post', new_post_path %>
+ 30:
+ 31: <% render layout: 'layouts/alternate_theme_b' %>
+ app/themes/theme_b/views/posts/index.html.erb:31:in `_app_themes_theme_b_views_posts_index_html_erb__3282318022896452278_2159088780'
+
+
+ Rendered /Users/chamnapchhorn/.rvm/gems/ruby-2.1.2@themes_on_rails/gems/actionpack-4.0.9/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
+ Rendered /Users/chamnapchhorn/.rvm/gems/ruby-2.1.2@themes_on_rails/gems/actionpack-4.0.9/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (8.9ms)
+ Rendered /Users/chamnapchhorn/.rvm/gems/ruby-2.1.2@themes_on_rails/gems/actionpack-4.0.9/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.5ms)
+
+
+Started GET "/posts?theme=theme_b" for 127.0.0.1 at 2014-08-31 20:43:11 +0700
+Processing by PostsController#index as HTML
+ Parameters: {"theme"=>"theme_b"}
+ [1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts"[0m
+ Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (972762.2ms)
+Completed 200 OK in 972778ms (Views: 972777.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/posts?theme=theme_b" for 127.0.0.1 at 2014-09-01 16:22:17 +0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by PostsController#index as HTML
+ Parameters: {"theme"=>"theme_b"}
+ [1m[35mPost Load (0.4ms)[0m SELECT "posts".* FROM "posts"
+ Rendered app/themes/theme_b/views/posts/index.html.erb within layouts/theme_b (43969.3ms)
+Completed 200 OK in 44007ms (Views: 44003.9ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/posts?theme=theme_a" for 127.0.0.1 at 2014-10-01 13:23:16 +0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by PostsController#index as HTML
+ Parameters: {"theme"=>"theme_a"}
+ [1m[35mPost Load (0.4ms)[0m SELECT "posts".* FROM "posts"
+ Rendered app/themes/theme_a/views/posts/index.html.erb within layouts/theme_a (7.2ms)
+Completed 200 OK in 37ms (Views: 35.2ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/posts/new?theme=theme_a" for 127.0.0.1 at 2014-10-01 13:23:19 +0700
+Processing by PostsController#new as HTML
+ Parameters: {"theme"=>"theme_a"}
+Completed 500 Internal Server Error in 8ms
+
+ActionView::MissingTemplate (Missing template layouts/theme_a with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :liquid, :haml]}. Searched in:
+ * "/Users/chamnapchhorn/workspace/me/themes_on_rails/spec/dummy/app/views"
+):
+ actionpack (4.0.9) lib/action_view/path_set.rb:46:in `find'
+ actionpack (4.0.9) lib/action_view/lookup_context.rb:122:in `find'
+ actionpack (4.0.9) lib/action_view/renderer/abstract_renderer.rb:18:in `find_template'
+ actionpack (4.0.9) lib/action_view/renderer/template_renderer.rb:81:in `resolve_layout'
+ actionpack (4.0.9) lib/action_view/renderer/template_renderer.rb:88:in `resolve_layout'
+ actionpack (4.0.9) lib/action_view/renderer/template_renderer.rb:71:in `block in find_layout'
+ actionpack (4.0.9) lib/action_view/lookup_context.rb:235:in `with_layout_format'
+ actionpack (4.0.9) lib/action_view/renderer/abstract_renderer.rb:18:in `with_layout_format'
+ actionpack (4.0.9) lib/action_view/renderer/template_renderer.rb:71:in `find_layout'
+ actionpack (4.0.9) lib/action_view/renderer/template_renderer.rb:55:in `render_with_layout'
+ actionpack (4.0.9) lib/action_view/renderer/template_renderer.rb:47:in `render_template'
+ actionpack (4.0.9) lib/action_view/renderer/template_renderer.rb:17:in `render'
+ actionpack (4.0.9) lib/action_view/renderer/renderer.rb:42:in `render_template'
+ actionpack (4.0.9) lib/action_view/renderer/renderer.rb:23:in `render'
+ actionpack (4.0.9) lib/abstract_controller/rendering.rb:127:in `_render_template'
+ actionpack (4.0.9) lib/action_controller/metal/streaming.rb:219:in `_render_template'
+ actionpack (4.0.9) lib/abstract_controller/rendering.rb:120:in `render_to_body'
+ actionpack (4.0.9) lib/action_controller/metal/rendering.rb:33:in `render_to_body'
+ actionpack (4.0.9) lib/action_controller/metal/renderers.rb:26:in `render_to_body'
+ actionpack (4.0.9) lib/abstract_controller/rendering.rb:97:in `render'
+ actionpack (4.0.9) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (4.0.9) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
+ activesupport (4.0.9) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
+ /Users/chamnapchhorn/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
+ activesupport (4.0.9) lib/active_support/core_ext/benchmark.rb:12:in `ms'
+ actionpack (4.0.9) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
+ actionpack (4.0.9) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
+ activerecord (4.0.9) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
+ actionpack (4.0.9) lib/action_controller/metal/instrumentation.rb:40:in `render'
+ actionpack (4.0.9) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (4.0.9) lib/action_controller/metal/implicit_render.rb:5:in `send_action'
+ actionpack (4.0.9) lib/abstract_controller/base.rb:189:in `process_action'
+ actionpack (4.0.9) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (4.0.9) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (4.0.9) lib/active_support/callbacks.rb:403:in `_run__3116017932879232968__process_action__callbacks'
+ activesupport (4.0.9) lib/active_support/callbacks.rb:80:in `run_callbacks'
+ actionpack (4.0.9) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (4.0.9) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (4.0.9) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
+ activesupport (4.0.9) lib/active_support/notifications.rb:159:in `block in instrument'
+ activesupport (4.0.9) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.0.9) lib/active_support/notifications.rb:159:in `instrument'
+ actionpack (4.0.9) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (4.0.9) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
+ activerecord (4.0.9) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (4.0.9) lib/abstract_controller/base.rb:136:in `process'
+ actionpack (4.0.9) lib/abstract_controller/rendering.rb:44:in `process'
+ actionpack (4.0.9) lib/action_controller/metal.rb:195:in `dispatch'
+ actionpack (4.0.9) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
+ actionpack (4.0.9) lib/action_controller/metal.rb:231:in `block in action'
+ actionpack (4.0.9) lib/action_dispatch/routing/route_set.rb:82:in `call'
+ actionpack (4.0.9) lib/action_dispatch/routing/route_set.rb:82:in `dispatch'
+ actionpack (4.0.9) lib/action_dispatch/routing/route_set.rb:50:in `call'
+ actionpack (4.0.9) lib/action_dispatch/journey/router.rb:71:in `block in call'
+ actionpack (4.0.9) lib/action_dispatch/journey/router.rb:59:in `each'
+ actionpack (4.0.9) lib/action_dispatch/journey/router.rb:59:in `call'
+ actionpack (4.0.9) lib/action_dispatch/routing/route_set.rb:676:in `call'
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
+ rack (1.5.2) lib/rack/conditionalget.rb:25:in `call'
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
+ actionpack (4.0.9) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
+ actionpack (4.0.9) lib/action_dispatch/middleware/flash.rb:241:in `call'
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
+ actionpack (4.0.9) lib/action_dispatch/middleware/cookies.rb:486:in `call'
+ activerecord (4.0.9) lib/active_record/query_cache.rb:36:in `call'
+ activerecord (4.0.9) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
+ activerecord (4.0.9) lib/active_record/migration.rb:373:in `call'
+ actionpack (4.0.9) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.0.9) lib/active_support/callbacks.rb:373:in `_run__1116644284162641061__call__callbacks'
+ activesupport (4.0.9) lib/active_support/callbacks.rb:80:in `run_callbacks'
+ actionpack (4.0.9) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.0.9) lib/action_dispatch/middleware/reloader.rb:64:in `call'
+ actionpack (4.0.9) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
+ actionpack (4.0.9) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.0.9) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.0.9) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.0.9) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.0.9) lib/active_support/tagged_logging.rb:68:in `block in tagged'
+ activesupport (4.0.9) lib/active_support/tagged_logging.rb:26:in `tagged'
+ activesupport (4.0.9) lib/active_support/tagged_logging.rb:68:in `tagged'
+ railties (4.0.9) lib/rails/rack/logger.rb:20:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (4.0.9) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
+ activesupport (4.0.9) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ actionpack (4.0.9) lib/action_dispatch/middleware/static.rb:64:in `call'
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
+ railties (4.0.9) lib/rails/engine.rb:511:in `call'
+ railties (4.0.9) lib/rails/application.rb:97:in `call'
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `catch'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run_machine'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.5.2) lib/rack/handler/thin.rb:16:in `run'
+ rack (1.5.2) lib/rack/server.rb:264:in `start'
+ railties (4.0.9) lib/rails/commands/server.rb:84:in `start'
+ railties (4.0.9) lib/rails/commands.rb:76:in `block in <top (required)>'
+ railties (4.0.9) lib/rails/commands.rb:71:in `tap'
+ railties (4.0.9) lib/rails/commands.rb:71:in `<top (required)>'
+ bin/rails:4:in `require'
+ bin/rails:4:in `<main>'
+
+
+ Rendered /Users/chamnapchhorn/.rvm/gems/ruby-2.1.2@themes_on_rails/gems/actionpack-4.0.9/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.6ms)
+
+
+Started GET "/posts/new?theme=theme_a" for 127.0.0.1 at 2014-10-01 13:25:01 +0700
+ [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by PostsController#new as HTML
+ Parameters: {"theme"=>"theme_a"}
+ Rendered posts/_form.html.erb (31.9ms)
+ Rendered posts/new.html.erb within layouts/application (39.8ms)
+Completed 200 OK in 78ms (Views: 76.2ms | ActiveRecord: 0.2ms)