sample/log/development.log in locale_rails-0.1.0 vs sample/log/development.log in locale_rails-2.0.0

- old
+ new

@@ -2,110 +2,63 @@ FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:30:25) [GET] +Processing SamplesController#index (for 127.0.0.1 at 2009-02-27 00:24:21) [GET] Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 Parameters: {"action"=>"index", "controller"=>"samples"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (10.9ms) -Completed in 37ms (View: 29, DB: 0) | 200 OK [http://localhost/samples] +Rendered samples/_part (118.5ms) +Completed in 125ms (View: 123, DB: 0) | 200 OK [http://localhost/] + SQL (0.4ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:30:31) [GET] +Processing SamplesController#index (for 127.0.0.1 at 2009-03-08 01:52:26) [GET] + Session ID: 7c7c35757d7f0c5474a654904987455e + Parameters: {"action"=>"index", "controller"=>"samples"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (9.9ms) +Completed in 122ms (View: 118, DB: 0) | 200 OK [http://localhost/] + + +Processing SamplesController#index (for 127.0.0.1 at 2009-03-08 01:52:31) [GET] Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} + Parameters: {"action"=>"index", "lang"=>"pt_BR", "controller"=>"samples"} Rendering template within layouts/samples Rendering samples/index +Rendered samples/_part (9.7ms) +Completed in 15ms (View: 13, DB: 0) | 200 OK [http://localhost/samples?lang=pt_BR] + SQL (0.4ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + -ActionView::TemplateError (You have a nil object when you didn't expect it! -The error occurred while evaluating nil.downcase) on line #66 of app/views/samples/_part.html.erb: -63: <ol> -64: <% (app_lang_tags - ["uz_UZ", "nl"]).each do |lang| -65: url = url_for(:controller => :samples, :action => :cached_action, :lang => lang) %> -66: <li><%= link_to h(url), {:action => :cached_action, :lang => lang} %> [<%= lang %>]</li> -67: <% end %> -68: </ol> +Processing ApplicationController#index (for 127.0.0.1 at 2009-03-09 02:34:24) [POST] + Session ID: 8d15261430ea3d7c9121d6ff20268404 + Parameters: {"article"=>{"title"=>"", "description"=>""}, "commit"=>"Create", "authenticity_token"=>"Tzdb2koGpxlpuBz5V4M1gEL1B8fNffr3XLRgDCspVcE="} - generated code (/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/route.rb:145):7:in `generate_raw' - generated code (/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/route.rb:154):2:in `generate' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/route_set.rb:364:in `__send__' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/route_set.rb:364:in `generate' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/route_set.rb:363:in `each' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/route_set.rb:363:in `generate' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/url_rewriter.rb:208:in `rewrite_path' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/url_rewriter.rb:187:in `rewrite_url' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/url_rewriter.rb:165:in `rewrite' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:635:in `url_for' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/helpers/url_helper.rb:85:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/helpers/url_helper.rb:85:in `url_for' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/helpers/url_helper.rb:228:in `link_to' - app/views/samples/_part.html.erb:66 - app/views/samples/_part.html.erb:64:in `each' - app/views/samples/_part.html.erb:64 - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/renderable.rb:34:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/renderable.rb:34:in `render' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/renderable_partial.rb:20:in `render' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:26:in `benchmark' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/core_ext/benchmark.rb:8:in `realtime' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:26:in `benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/renderable_partial.rb:19:in `render' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/template.rb:73:in `render_template' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/renderable_partial.rb:45:in `render_partial' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/partials.rb:152:in `render_partial' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/base.rb:252:in `render' - app/views/samples/index.html.erb:14 - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/renderable.rb:34:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/renderable.rb:34:in `render' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/template.rb:73:in `render_template' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/base.rb:250:in `render' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/base.rb:353:in `_render_with_layout' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_view/base.rb:248:in `render' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:1156:in `render_for_file' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:886:in `render_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:51:in `render' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/core_ext/benchmark.rb:8:in `realtime' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:51:in `render' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:858:in `render_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:51:in `render' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/core_ext/benchmark.rb:8:in `realtime' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:51:in `render' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:1208:in `default_render' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:1214:in `perform_action_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:617:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:638:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:189:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:189:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:635:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' + +ActionController::RoutingError (No route matches "/articles" with {:method=>:post}): + /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/route_set.rb:385:in `recognize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:179:in `handle_request' /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/rails.rb:74:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' @@ -123,2451 +76,1717 @@ /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' + /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' + /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (147.9ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.7ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - +Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (not_found) -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:31:27) [GET] +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:34:46) [GET] Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} -Rendering template within layouts/samples -Rendering samples/index -Rendered samples/_part (6.1ms) -Completed in 16ms (View: 13, DB: 0) | 200 OK [http://localhost/ja_JP/samples] - - -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:31:33) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 Parameters: {"action"=>"index", "controller"=>"samples"} Rendering template within layouts/samples Rendering samples/index Rendered samples/_part (8.5ms) -Completed in 29ms (View: 24, DB: 0) | 200 OK [http://localhost/samples] +Completed in 27ms (View: 23, DB: 0) | 200 OK [http://localhost/samples/] + SQL (0.3ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.2ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.2ms) select sqlite_version(*) + SQL (5.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  + SQL (3.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + SQL (0.2ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations + SQL (0.2ms) select sqlite_version(*) + SQL (0.2ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (3.6ms) CREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "description" text NOT NULL, "lastupdate" date)  + SQL (0.2ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (5.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  + SQL (6.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") + SQL (0.2ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM "schema_migrations" + SQL (4.5ms) INSERT INTO "schema_migrations" (version) VALUES ('1') + SQL (0.5ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:31:40) [GET] +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:39:39) [GET] Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} + Parameters: {"action"=>"index", "controller"=>"samples"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (4.7ms) -Completed in 11ms (View: 10, DB: 0) | 200 OK [http://localhost/samples?lang=ja_JP] - SQL (0.4ms)  SELECT name +Rendered samples/_part (7.3ms) +Completed in 177ms (View: 55, DB: 0) | 200 OK [http://localhost/samples/] + SQL (0.7ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.2ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:42:17) [GET] +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:40:30) [GET] Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (11.0ms) -Completed in 27ms (View: 23, DB: 0) | 200 OK [http://localhost/samples?lang=ja_JP] - SQL (0.6ms)  SELECT name +Rendered samples/_part (11.6ms) +Completed in 147ms (View: 144, DB: 0) | 200 OK [http://localhost/samples?lang=ja_JP] + SQL (0.5ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#set_cookie (for 127.0.0.1 at 2008-11-24 14:48:10) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiIENvb2tpZSBsYW5nIHZhbHVlIGlzOiBqYV9KUAY6CkB1c2VkewY7BkY=--c700c88b5042ff1a5c23292bb6d67abdaa8998c6 - Parameters: {"action"=>"set_cookie", "id"=>"ja_JP", "controller"=>"samples"} -Cookie set: lang=ja_JP; path=/ -Redirected to actionindex -Completed in 9ms (DB: 0) | 302 Found [http://localhost/samples/set_cookie/ja_JP] - - -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:48:10) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiIENvb2tpZSBsYW5nIHZhbHVlIGlzOiBqYV9KUAY6CkB1c2VkewY7BkY=--c700c88b5042ff1a5c23292bb6d67abdaa8998c6 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:41:47) [GET] + Parameters: {"lang"=>"ja_JP"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (10.1ms) -Completed in 25ms (View: 22, DB: 0) | 200 OK [http://localhost/samples] +ActionView::TemplateError (undefined method `cgi' for #<ActionController::Request:0x7f42ec6ea088>) on line #7 of app/views/samples/index.html.erb: +4: <h2>The values from Rails</h2> +5: <table border="1" cellspacing="0" cellpadding="2"> +6: <tr><th>Variables</th><th>Values</th></tr> +7: <tr><td>HTTP_ACCEPT_LANGUAGE</td><td> <%= request.cgi.accept_language %></td></tr> +8: <tr><td>HTTP_ACCEPT_CHARSET</td><td> <%= request.cgi.accept_charset %></td></tr> +9: <tr><td>QUERY_STRING</td><td> <%= request.cgi.query_string %></td></tr> +10: <tr><td>params[:lang]</td><td><%= params[:lang] %></td></tr> -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:48:20) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiIENvb2tpZSBsYW5nIHZhbHVlIGlzOiBqYV9KUAY6CkB1c2VkewY7BlQ=--c5ce8251c879f27b4a55e90c44caa7e811ec2e69 - Parameters: {"action"=>"index", "controller"=>"samples"} -Rendering template within layouts/samples -Rendering samples/index -Rendered samples/_part (8.6ms) -Completed in 21ms (View: 18, DB: 0) | 200 OK [http://localhost/samples] + app/views/samples/index.html.erb:7 + actionpack (2.3.0) lib/action_view/renderable.rb:35:in `send' + actionpack (2.3.0) lib/action_view/renderable.rb:35:in `render' + actionpack (2.3.0) lib/action_view/template.rb:182:in `render_template' + actionpack (2.3.0) lib/action_view/base.rb:247:in `render' + actionpack (2.3.0) lib/action_view/base.rb:318:in `_render_with_layout' + actionpack (2.3.0) lib/action_view/base.rb:244:in `render' + actionpack (2.3.0) lib/action_controller/base.rb:1180:in `render_for_file' + actionpack (2.3.0) lib/action_controller/base.rb:906:in `render_without_benchmark' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render' + actionpack (2.3.0) lib/action_controller/base.rb:1256:in `default_render' + actionpack (2.3.0) lib/action_controller/base.rb:1262:in `perform_action_without_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:617:in `call_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:638:in `run_before_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call' + actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call' + actionpack (2.3.0) lib/action_controller/filters.rb:635:in `run_before_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:615:in `call_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + actionpack (2.3.0) lib/action_controller/rescue.rb:154:in `perform_action_without_flash' + actionpack (2.3.0) lib/action_controller/flash.rb:141:in `perform_action' + actionpack (2.3.0) lib/action_controller/base.rb:523:in `send' + actionpack (2.3.0) lib/action_controller/base.rb:523:in `process_without_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:606:in `process' + actionpack (2.3.0) lib/action_controller/base.rb:391:in `process' + actionpack (2.3.0) lib/action_controller/base.rb:386:in `call' + actionpack (2.3.0) lib/action_controller/routing/route_set.rb:433:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call' + actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call' + actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call' + actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call' + rails (2.3.0) lib/rails/rack/static.rb:27:in `call' + rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call' + rails (2.3.0) lib/commands/server.rb:100 +Rendered rescues/_trace (152.8ms) +Rendered rescues/_request_and_response (0.7ms) +Rendering rescues/layout (internal_server_error) + SQL (0.5ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#set_cookie (for 127.0.0.1 at 2008-11-24 14:48:27) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"set_cookie", "id"=>"en_Latn_US_NYNORSK", "controller"=>"samples"} -Cookie set: lang=en_Latn_US_NYNORSK; path=/ -Redirected to actionindex -Completed in 6ms (DB: 0) | 302 Found [http://localhost/samples/set_cookie/en_Latn_US_NYNORSK] - -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:48:27) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiLUNvb2tpZSBsYW5nIHZhbHVlIGlzOiBlbl9MYXRuX1VTX05ZTk9SU0sGOgpAdXNlZHsGOwZG--2753210a6ec3a7c1c8ec882ebccb133e8c356c90 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:43:17) [GET] + Parameters: {"lang"=>"ja_JP"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (8.6ms) -Completed in 25ms (View: 22, DB: 0) | 200 OK [http://localhost/samples] - SQL (0.4ms)  SELECT name + +ActionView::TemplateError (undefined method `cgi' for #<ActionController::Request:0x7f25705f0f40>) on line #9 of app/views/samples/index.html.erb: +6: <tr><th>Variables</th><th>Values</th></tr> +7: <tr><td>HTTP_ACCEPT_LANGUAGE</td><td> <%= request.accept_language %></td></tr> +8: <tr><td>HTTP_ACCEPT_CHARSET</td><td> <%= request.accept_charset %></td></tr> +9: <tr><td>QUERY_STRING</td><td> <%= request.cgi.query_string %></td></tr> +10: <tr><td>params[:lang]</td><td><%= params[:lang] %></td></tr> +11: <tr><td>cookies[:lang]</td><td> <%= cookies[:lang] %></td></tr> +12: <tr><td>I18n.t :hello</td><td> <%= I18n.t :hello %></td></tr> + + app/views/samples/index.html.erb:9 + actionpack (2.3.0) lib/action_view/renderable.rb:35:in `send' + actionpack (2.3.0) lib/action_view/renderable.rb:35:in `render' + actionpack (2.3.0) lib/action_view/template.rb:182:in `render_template' + actionpack (2.3.0) lib/action_view/base.rb:247:in `render' + actionpack (2.3.0) lib/action_view/base.rb:318:in `_render_with_layout' + actionpack (2.3.0) lib/action_view/base.rb:244:in `render' + actionpack (2.3.0) lib/action_controller/base.rb:1180:in `render_for_file' + actionpack (2.3.0) lib/action_controller/base.rb:906:in `render_without_benchmark' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render' + actionpack (2.3.0) lib/action_controller/base.rb:1256:in `default_render' + actionpack (2.3.0) lib/action_controller/base.rb:1262:in `perform_action_without_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:617:in `call_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:638:in `run_before_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call' + actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call' + actionpack (2.3.0) lib/action_controller/filters.rb:635:in `run_before_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:615:in `call_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + actionpack (2.3.0) lib/action_controller/rescue.rb:154:in `perform_action_without_flash' + actionpack (2.3.0) lib/action_controller/flash.rb:141:in `perform_action' + actionpack (2.3.0) lib/action_controller/base.rb:523:in `send' + actionpack (2.3.0) lib/action_controller/base.rb:523:in `process_without_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:606:in `process' + actionpack (2.3.0) lib/action_controller/base.rb:391:in `process' + actionpack (2.3.0) lib/action_controller/base.rb:386:in `call' + actionpack (2.3.0) lib/action_controller/routing/route_set.rb:433:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call' + actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call' + actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call' + actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call' + rails (2.3.0) lib/rails/rack/static.rb:27:in `call' + rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call' + rails (2.3.0) lib/commands/server.rb:100 + +Rendered rescues/_trace (142.3ms) +Rendered rescues/_request_and_response (0.6ms) +Rendering rescues/layout (internal_server_error) + SQL (0.9ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.2ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:49:30) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiLUNvb2tpZSBsYW5nIHZhbHVlIGlzOiBlbl9MYXRuX1VTX05ZTk9SU0sGOgpAdXNlZHsGOwZU--70eb36578491cc5b635a199426122e49e6133135 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:43:38) [GET] + Parameters: {"lang"=>"ja_JP"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (11.2ms) -Completed in 34ms (View: 29, DB: 0) | 200 OK [http://localhost/samples] +Rendered samples/_part (11.4ms) +Completed in 27ms (View: 23, DB: 0) | 200 OK [http://localhost/samples?lang=ja_JP] -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:50:29) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"fr", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:43:45) [GET] + Parameters: {"lang"=>"ja"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (4.6ms) -Completed in 12ms (View: 10, DB: 0) | 200 OK [http://localhost/fr/samples] +Rendered samples/_part (4.8ms) +Completed in 8ms (View: 7, DB: 0) | 200 OK [http://localhost/samples?lang=ja] -Processing SamplesController#cached_action (for 127.0.0.1 at 2008-11-24 14:50:37) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"cached_action", "lang"=>"pt_BR", "controller"=>"samples"} -Cached fragment hit: views/localhost.3000/pt_BR/samples/cached_action_pt_BR (0.3ms) +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:43:48) [GET] + Parameters: {"lang"=>"en"} Rendering template within layouts/samples -Rendering samples/cached_action -Cached fragment miss: views/localhost.3000/pt_BR/samples/cached_action_pt_BR (2.3ms) -Completed in 9ms (View: 3, DB: 0) | 200 OK [http://localhost/pt_BR/samples/cached_action] - - -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:50:49) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "controller"=>"samples"} -Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (8.5ms) -Completed in 25ms (View: 23, DB: 0) | 200 OK [http://localhost/samples] +Rendered samples/_part (89.3ms) +Completed in 92ms (View: 92, DB: 0) | 200 OK [http://localhost/samples?lang=en] -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:50:55) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"uz_UZ", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:43:55) [GET] + Parameters: {"lang"=>"ar-Jo"} Rendering template within layouts/samples Rendering samples/index -Completed in 6ms (View: 4, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] +Rendered samples/_part (5.5ms) +Completed in 9ms (View: 8, DB: 0) | 200 OK [http://localhost/samples?lang=ar-Jo] -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 14:51:12) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:44:00) [GET] + Parameters: {"lang"=>"ja-JP"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (9.0ms) -Completed in 26ms (View: 23, DB: 0) | 200 OK [http://localhost/samples] - SQL (0.4ms)  SELECT name +Rendered samples/_part (5.6ms) +Completed in 9ms (View: 8, DB: 0) | 200 OK [http://localhost/samples?lang=ja-JP] + SQL (0.9ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.2ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 15:37:32) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:45:32) [GET] + Parameters: {"lang"=>"ja-JP"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (22.1ms) -Completed in 44ms (View: 39, DB: 0) | 200 OK [http://localhost/samples] +Rendered samples/_part (10.2ms) +Completed in 19ms (View: 15, DB: 0) | 200 OK [http://localhost/samples?lang=ja-JP] -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 15:37:42) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "LANG"=>"ko-KR", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:45:38) [GET] + Parameters: {"lang"=>"ja-JP"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (8.7ms) -Completed in 26ms (View: 24, DB: 0) | 200 OK [http://localhost/samples?LANG=ko-KR] +Rendered samples/_part (8.6ms) +Completed in 14ms (View: 13, DB: 0) | 200 OK [http://localhost/samples?lang=ja-JP] -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 15:37:51) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ko-KR", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:45:41) [GET] + Parameters: {"lang"=>"ja"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (8.8ms) -Completed in 21ms (View: 19, DB: 0) | 200 OK [http://localhost/samples?lang=ko-KR] - SQL (0.3ms)  SELECT name +Rendered samples/_part (5.0ms) +Completed in 8ms (View: 7, DB: 0) | 200 OK [http://localhost/samples?lang=ja] + SQL (0.6ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.2ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-11-24 15:44:02) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ko-KR", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:46:02) [GET] + Parameters: {"lang"=>"ja-JP"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (10.2ms) -Completed in 32ms (View: 24, DB: 0) | 200 OK [http://localhost/samples?lang=ko-KR] - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - - SQL (0.7ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - +Rendered samples/_part (6.2ms) +Completed in 16ms (View: 12, DB: 0) | 200 OK [http://localhost/samples?lang=ja-JP] -Processing SamplesController#index (for 127.0.0.1 at 2008-11-26 01:54:00) [GET] - Session ID: df1b65f077e03e52543cc3755f2e146e - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:47:08) [GET] + Parameters: {"lang"=>"ja"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (6.9ms) -Completed in 26ms (View: 21, DB: 0) | 200 OK [http://localhost/] +Rendered samples/_part (4.8ms) +Completed in 8ms (View: 7, DB: 0) | 200 OK [http://localhost/samples?lang=ja] -Processing SamplesController#set_cookie (for 127.0.0.1 at 2008-11-26 01:54:46) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"set_cookie", "id"=>"pt_BR", "controller"=>"samples"} -Cookie set: lang=pt_BR; path=/ -Redirected to actionindex -Completed in 7ms (DB: 0) | 302 Found [http://localhost/samples/set_cookie/pt_BR] +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:47:14) [GET] + Parameters: {"lang"=>"en"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (7.1ms) +Completed in 11ms (View: 10, DB: 0) | 200 OK [http://localhost/samples?lang=en] -Processing SamplesController#index (for 127.0.0.1 at 2008-11-26 01:54:46) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiIENvb2tpZSBsYW5nIHZhbHVlIGlzOiBwdF9CUgY6CkB1c2VkewY7BkY=--b4f8cce7beccfb502800a6f55b4af14fcacb20f4 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:47:18) [GET] + Parameters: {"lang"=>"ar-JO"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (5.1ms) -Completed in 21ms (View: 12, DB: 0) | 200 OK [http://localhost/samples] - SQL (0.5ms)  SELECT name +Rendered samples/_part (5.4ms) +Completed in 99ms (View: 19, DB: 0) | 200 OK [http://localhost/samples?lang=ar-JO] + + +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:47:22) [GET] + Parameters: {"lang"=>"ja-JP"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (8.8ms) +Completed in 14ms (View: 13, DB: 0) | 200 OK [http://localhost/samples?lang=ja-JP] + SQL (0.9ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.2ms) SELECT version FROM schema_migrations -Processing ApplicationController#index (for 127.0.0.1 at 2008-11-30 12:37:37) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:48:11) [GET] + Parameters: {"lang"=>"ja-JP"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (14.6ms) +Completed in 25ms (View: 21, DB: 0) | 200 OK [http://localhost/samples?lang=ja-JP] -ActionController::RoutingError (No route matches "/articles" with {:method=>:get}): - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/route_set.rb:385:in `recognize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:179:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:48:14) [GET] + Parameters: {"lang"=>"ja"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (5.6ms) +Completed in 9ms (View: 8, DB: 0) | 200 OK [http://localhost/samples?lang=ja] -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (not_found) - -Processing SamplesController#index (for 127.0.0.1 at 2008-11-30 12:37:42) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:48:19) [GET] + Parameters: {"lang"=>"en"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (5.8ms) -Completed in 32ms (View: 28, DB: 0) | 200 OK [http://localhost/samples] +Rendered samples/_part (8.9ms) +Completed in 114ms (View: 113, DB: 0) | 200 OK [http://localhost/samples?lang=en] + SQL (0.6ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-11-30 12:37:48) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"nl", "controller"=>"samples"} +Processing ApplicationController#index (for 127.0.0.1 at 2009-03-09 03:12:16) [POST] + Parameters: {"article"=>{"title"=>"", "description"=>""}, "commit"=>"Create", "authenticity_token"=>"xYCfwLa7IgV4XzBm/NtvtU7co3MPRAe7MAUnSVbtiFo="} +ActionController::RoutingError (No route matches "/articles" with {:method=>:post}): + actionpack (2.3.0) lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path' + actionpack (2.3.0) lib/action_controller/routing/route_set.rb:437:in `recognize' + actionpack (2.3.0) lib/action_controller/routing/route_set.rb:432:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call' + actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call' + actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call' + actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call' + rails (2.3.0) lib/rails/rack/static.rb:27:in `call' + rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call' + rails (2.3.0) lib/commands/server.rb:100 -NoMethodError (undefined method `downcase' for ["nl"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:66:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 +Rendering rescues/layout (not_found) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (37.6ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (1.0ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) +Processing ApplicationController#index (for 127.0.0.1 at 2009-03-09 03:12:19) [GET] -Processing SamplesController#index (for 127.0.0.1 at 2008-11-30 12:37:56) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"uz_UZ", "controller"=>"samples"} +ActionController::RoutingError (No route matches "/articles" with {:method=>:get}): + actionpack (2.3.0) lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path' + actionpack (2.3.0) lib/action_controller/routing/route_set.rb:437:in `recognize' + actionpack (2.3.0) lib/action_controller/routing/route_set.rb:432:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call' + actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call' + actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call' + actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call' + rails (2.3.0) lib/rails/rack/static.rb:27:in `call' + rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call' + rails (2.3.0) lib/commands/server.rb:100 +Rendering rescues/layout (not_found) + SQL (0.5ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.2ms) SELECT version FROM schema_migrations -NoMethodError (undefined method `downcase' for ["uz_UZ"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:66:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (69.8ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (1.1ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) +Processing ApplicationController#index (for 127.0.0.1 at 2009-03-10 22:35:13) [GET] +ActionController::RoutingError (No route matches "/articles" with {:method=>:get}): + actionpack (2.3.0) lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path' + actionpack (2.3.0) lib/action_controller/routing/route_set.rb:437:in `recognize' + actionpack (2.3.0) lib/action_controller/routing/route_set.rb:432:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call' + actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call' + actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call' + actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call' + rails (2.3.0) lib/rails/rack/static.rb:27:in `call' + rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call' + rails (2.3.0) lib/commands/server.rb:100 -Processing SamplesController#cached_action (for 127.0.0.1 at 2008-11-30 12:38:05) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"cached_action", "lang"=>"en_Latn_US_NYNORSK", "controller"=>"samples"} +Rendering rescues/layout (not_found) -NoMethodError (undefined method `downcase' for ["en_Latn_US_NYNORSK"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:66:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 +Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:35:25) [GET] +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (9.4ms) +Completed in 107ms (View: 102, DB: 0) | 200 OK [http://localhost/] -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (174.1ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.6ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) +Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:35:32) [GET] + Parameters: {"lang"=>"fr"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (88.5ms) +Completed in 93ms (View: 92, DB: 0) | 200 OK [http://localhost/samples?lang=fr] -Processing SamplesController#index (for 127.0.0.1 at 2008-11-30 12:38:14) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"pt_BR", "controller"=>"samples"} +Processing SamplesController#set_cookie (for 127.0.0.1 at 2009-03-10 22:35:36) [GET] + Parameters: {"id"=>"zh_CN"} +Redirected to actionindex +Completed in 3ms (DB: 0) | 302 Found [http://localhost/samples/set_cookie/zh_CN] -NoMethodError (undefined method `downcase' for ["pt_BR"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:66:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (36.3ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.5ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) - SQL (0.4ms)  SELECT name +Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:35:36) [GET] +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (5.3ms) +Completed in 10ms (View: 8, DB: 0) | 200 OK [http://localhost/samples] + SQL (0.5ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.3ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-11-30 23:10:43) [GET] - Session ID: 76d9beed21f196f91262f51e2fc65d4a - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:40:30) [GET] Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (5.7ms) -Completed in 21ms (View: 17, DB: 0) | 200 OK [http://localhost/] +ERROR: compiling _run_erb_app47views47samples47index46html46erb RAISED compile error +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unknown regexp option - h +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unmatched ): /p> +<%= render :partial => 'part' ).to_s); @output_buffer.concat "\n\n<h2>Separate Localized View template file in each languages</ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tINTEGER, expecting ')' +...ate file in each languages</h2>\n<p>View template can be sep... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '(' +...nguages</h2>\n<p>View template can be separeted with languag... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined +...eted with language tags.</p> \n<ol>\n <li>" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined +...ith language tags.</p> \n<ol>\n <li>" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')' +...buffer.concat(( link_to "uz_UZ has special index page(index_... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tSTRING_BEG, expecting ')' +...ex page(index_uz_UZ.html.erb)", :controller => :samples, :ac... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')' +...ion => :index, :lang => "uz_UZ" ).to_s); @output_buffer.conc... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: unknown regexp option - l +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: syntax error, unexpected $undefined +... @output_buffer.concat "</li>\n <li>" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')' +...ut_buffer.concat(( link_to "nl has special _part page(_part_... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tSTRING_BEG, expecting ')' +..._part page(_part_nl.html.erb)", :controller => :samples, :ac... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')' +...action => :index, :lang => "nl" ).to_s); @output_buffer.conc... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unknown regexp option - l +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: syntax error, unexpected $undefined +... @output_buffer.concat "</li>\n</ol>\n\n" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unterminated string meets end of file +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: syntax error, unexpected tSTRING_END, expecting tSTRING_CONTENT or tREGEXP_END or tSTRING_DBEG or tSTRING_DVAR +Function body: def _run_erb_app47views47samples47index46html46erb(local_assigns) + old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "<h1>Ruby-Locale and Ruby on Rails 2.2 sample</h1>\n<p><a href =\"http://locale.rubyforge.org/svn/trunk/locale_rails/sample\">[source code]</a></p>\n\n<h2>The values from Rails</h2>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"2\">\n <tr><th>Variables</th><th>Values</th></tr>\n <tr><td>HTTP_ACCEPT_LANGUAGE</td><td> " -Processing SamplesController#index (for 127.0.0.1 at 2008-11-30 23:10:46) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:66:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (38.1ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.8ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) - SQL (0.5ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - +; @output_buffer.concat(( request.accept_language ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>HTTP_ACCEPT_CHARSET</td><td> " +; @output_buffer.concat(( request.accept_charset ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>QUERY_STRING</td><td> " +; @output_buffer.concat(( request.query_string ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>params[:lang]</td><td>" +; @output_buffer.concat(( params[:lang] ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>cookies[:lang]</td><td> " +; @output_buffer.concat(( cookies[:lang] ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>I18n.t :hello (*1)</td><td> " +; @output_buffer.concat(( I18n.t :hello ).to_s); @output_buffer.concat "</td></tr>\n</table>\n<p>(*1) Fallback to \"en\" if the localized message is not found in the locale. Currently, it supports " -Processing SamplesController#index (for 127.0.0.1 at 2008-11-30 23:15:03) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +; @output_buffer.concat(( Dir.glob(File.join(RAILS_ROOT, "config/locales/*.yml")).collect {|v| File.basename(v, ".yml")} </p> +<%= render :partial => 'part' ).to_s); @output_buffer.concat "\n\n<h2>Separate Localized View template file in each languages</h2>\n<p>View template can be separeted with language tags.</p> \n<ol>\n <li>" -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:66:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (162.9ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.9ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) -Processing SamplesController#index (for 127.0.0.1 at 2008-11-30 23:15:06) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +; @output_buffer.concat(( link_to "uz_UZ has special index page(index_uz_UZ.html.erb)", :controller => :samples, :action => :index, :lang => "uz_UZ" ).to_s); @output_buffer.concat "</li>\n <li>" +; @output_buffer.concat(( link_to "uz uses normal index page", :controller => :samples, :action => :index, :lang => "uz" ).to_s); @output_buffer.concat "</li>\n <li>" +; @output_buffer.concat(( link_to "nl has special _part page(_part_nl.html.erb)", :controller => :samples, :action => :index, :lang => "nl" ).to_s); @output_buffer.concat "</li>\n <li>" +; @output_buffer.concat(( link_to "nl_BE also uses the special _part page(_part_nl.html.erb)", :controller => :samples, :action => :index, :lang => "nl_BE" ).to_s); @output_buffer.concat "</li>\n</ol>\n\n" -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:66:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 +; @output_buffer + ensure + self.output_buffer = old_output_buffer + end +Backtrace: /home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24:in `compile!' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/renderable.rb:64:in `compile' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/renderable.rb:27:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/template.rb:182:in `render_template' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:247:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:318:in `_render_with_layout' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:244:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1180:in `render_for_file' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:906:in `render_without_benchmark' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in `render' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1256:in `default_render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1262:in `perform_action_without_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:617:in `call_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:638:in `run_before_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:189:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:189:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:635:in `run_before_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:615:in `call_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rescue.rb:154:in `perform_action_without_flash' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/flash.rb:141:in `perform_action' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in `send' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in `process_without_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:606:in `process' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:391:in `process' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:386:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/routing/route_set.rb:433:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:65:in `dispatch' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:88:in `_call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:59:in `initialize' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:29:in `call' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:29:in `call' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:9:in `cache' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:28:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/head.rb:9:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/methodoverride.rb:24:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/params_parser.rb:15:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rewindable_input.rb:25:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/session/cookie_store.rb:93:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/failsafe.rb:11:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `synchronize' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:83:in `call' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/rails/rack/static.rb:27:in `call' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/rails/rack/log_tailer.rb:17:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/mongrel.rb:59:in `process' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' +/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/mongrel.rb:32:in `run' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/commands/server.rb:100 +/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' +/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' +script/server:3 -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (48.7ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.5ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - +ActionView::TemplateError (compile error +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unknown regexp option - h +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unmatched ): /p> +<%= render :partial => 'part' ).to_s); @output_buffer.concat "\n\n<h2>Separate Localized View template file in each languages</ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tINTEGER, expecting ')' +...ate file in each languages</h2>\n<p>View template can be sep... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '(' +...nguages</h2>\n<p>View template can be separeted with languag... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined +...eted with language tags.</p> \n<ol>\n <li>" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined +...ith language tags.</p> \n<ol>\n <li>" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')' +...buffer.concat(( link_to "uz_UZ has special index page(index_... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tSTRING_BEG, expecting ')' +...ex page(index_uz_UZ.html.erb)", :controller => :samples, :ac... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')' +...ion => :index, :lang => "uz_UZ" ).to_s); @output_buffer.conc... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: unknown regexp option - l +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: syntax error, unexpected $undefined +... @output_buffer.concat "</li>\n <li>" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')' +...ut_buffer.concat(( link_to "nl has special _part page(_part_... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tSTRING_BEG, expecting ')' +..._part page(_part_nl.html.erb)", :controller => :samples, :ac... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')' +...action => :index, :lang => "nl" ).to_s); @output_buffer.conc... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unknown regexp option - l +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: syntax error, unexpected $undefined +... @output_buffer.concat "</li>\n</ol>\n\n" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unterminated string meets end of file +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: syntax error, unexpected tSTRING_END, expecting tSTRING_CONTENT or tREGEXP_END or tSTRING_DBEG or tSTRING_DVAR) on line #16 of app/views/samples/index.html.erb: +13: </table> +14: <p>(*1) Fallback to "en" if the localized message is not found in the locale. Currently, it supports <%= Dir.glob(File.join(RAILS_ROOT, "config/locales/*.yml")).collect {|v| File.basename(v, ".yml")} </p> +15: +16: <%= render :partial => 'part' %> +17: +18: <h2>Separate Localized View template file in each languages</h2> +19: <p>View template can be separeted with language tags.</p> -Processing ApplicationController#index (for 127.0.0.1 at 2008-12-01 00:21:05) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {} + app/views/samples/index.html.erb:24:in `compile!' + actionpack (2.3.0) lib/action_view/renderable.rb:64:in `compile' + actionpack (2.3.0) lib/action_view/renderable.rb:27:in `render' + actionpack (2.3.0) lib/action_view/template.rb:182:in `render_template' + actionpack (2.3.0) lib/action_view/base.rb:247:in `render' + actionpack (2.3.0) lib/action_view/base.rb:318:in `_render_with_layout' + actionpack (2.3.0) lib/action_view/base.rb:244:in `render' + actionpack (2.3.0) lib/action_controller/base.rb:1180:in `render_for_file' + actionpack (2.3.0) lib/action_controller/base.rb:906:in `render_without_benchmark' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render' + actionpack (2.3.0) lib/action_controller/base.rb:1256:in `default_render' + actionpack (2.3.0) lib/action_controller/base.rb:1262:in `perform_action_without_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:617:in `call_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:638:in `run_before_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call' + actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call' + actionpack (2.3.0) lib/action_controller/filters.rb:635:in `run_before_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:615:in `call_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + actionpack (2.3.0) lib/action_controller/rescue.rb:154:in `perform_action_without_flash' + actionpack (2.3.0) lib/action_controller/flash.rb:141:in `perform_action' + actionpack (2.3.0) lib/action_controller/base.rb:523:in `send' + actionpack (2.3.0) lib/action_controller/base.rb:523:in `process_without_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:606:in `process' + actionpack (2.3.0) lib/action_controller/base.rb:391:in `process' + actionpack (2.3.0) lib/action_controller/base.rb:386:in `call' + actionpack (2.3.0) lib/action_controller/routing/route_set.rb:433:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call' + actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call' + actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call' + actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call' + rails (2.3.0) lib/rails/rack/static.rb:27:in `call' + rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call' + rails (2.3.0) lib/commands/server.rb:100 +Rendered rescues/_trace (148.6ms) +Rendered rescues/_request_and_response (0.6ms) +Rendering rescues/layout (internal_server_error) -ActionController::RoutingError (No route matches "/articles" with {:method=>:get}): - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/route_set.rb:385:in `recognize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:179:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (not_found) +Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:40:41) [GET] +Rendering template within layouts/samples +Rendering samples/index +ERROR: compiling _run_erb_app47views47samples47index46html46erb RAISED compile error +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unknown regexp option - h +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unmatched ): /p> +<%= render :partial => 'part' ).to_s); @output_buffer.concat "\n\n<h2>Separate Localized View template file in each languages</ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tINTEGER, expecting ')' +...ate file in each languages</h2>\n<p>View template can be sep... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '(' +...nguages</h2>\n<p>View template can be separeted with languag... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined +...eted with language tags.</p> \n<ol>\n <li>" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined +...ith language tags.</p> \n<ol>\n <li>" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')' +...buffer.concat(( link_to "uz_UZ has special index page(index_... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tSTRING_BEG, expecting ')' +...ex page(index_uz_UZ.html.erb)", :controller => :samples, :ac... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')' +...ion => :index, :lang => "uz_UZ" ).to_s); @output_buffer.conc... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: unknown regexp option - l +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: syntax error, unexpected $undefined +... @output_buffer.concat "</li>\n <li>" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')' +...ut_buffer.concat(( link_to "nl has special _part page(_part_... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tSTRING_BEG, expecting ')' +..._part page(_part_nl.html.erb)", :controller => :samples, :ac... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')' +...action => :index, :lang => "nl" ).to_s); @output_buffer.conc... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unknown regexp option - l +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: syntax error, unexpected $undefined +... @output_buffer.concat "</li>\n</ol>\n\n" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unterminated string meets end of file +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: syntax error, unexpected tSTRING_END, expecting tSTRING_CONTENT or tREGEXP_END or tSTRING_DBEG or tSTRING_DVAR +Function body: def _run_erb_app47views47samples47index46html46erb(local_assigns) + old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "<h1>Ruby-Locale and Ruby on Rails 2.2 sample</h1>\n<p><a href =\"http://locale.rubyforge.org/svn/trunk/locale_rails/sample\">[source code]</a></p>\n\n<h2>The values from Rails</h2>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"2\">\n <tr><th>Variables</th><th>Values</th></tr>\n <tr><td>HTTP_ACCEPT_LANGUAGE</td><td> " -Processing SamplesController#show (for 127.0.0.1 at 2008-12-01 00:21:10) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"show", "id"=>"cached_page", "controller"=>"samples"} -ActionController::UnknownAction (No action responded to show. Actions: cached_action, clear_cookie, index translation missing: ja, support, array, sentence_connector set_cookie): - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:617:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:638:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:189:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:189:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:635:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (not_found) +; @output_buffer.concat(( request.accept_language ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>HTTP_ACCEPT_CHARSET</td><td> " +; @output_buffer.concat(( request.accept_charset ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>QUERY_STRING</td><td> " +; @output_buffer.concat(( request.query_string ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>params[:lang]</td><td>" +; @output_buffer.concat(( params[:lang] ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>cookies[:lang]</td><td> " +; @output_buffer.concat(( cookies[:lang] ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>I18n.t :hello (*1)</td><td> " +; @output_buffer.concat(( I18n.t :hello ).to_s); @output_buffer.concat "</td></tr>\n</table>\n<p>(*1) Fallback to \"en\" if the localized message is not found in the locale. Currently, it supports " -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:21:15) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "controller"=>"samples"} -Rendering template within layouts/samples -Rendering samples/index -Rendered samples/_part (11.9ms) -Completed in 123ms (View: 120, DB: 0) | 200 OK [http://localhost/samples/] +; @output_buffer.concat(( Dir.glob(File.join(RAILS_ROOT, "config/locales/*.yml")).collect {|v| File.basename(v, ".yml")} </p> +<%= render :partial => 'part' ).to_s); @output_buffer.concat "\n\n<h2>Separate Localized View template file in each languages</h2>\n<p>View template can be separeted with language tags.</p> \n<ol>\n <li>" -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:21:18) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:66:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (48.5ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (1.4ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) - SQL (0.4ms)  SELECT name - FROM sqlite_master - WHERE type = 'table' AND NOT name = 'sqlite_sequence' - +; @output_buffer.concat(( link_to "uz_UZ has special index page(index_uz_UZ.html.erb)", :controller => :samples, :action => :index, :lang => "uz_UZ" ).to_s); @output_buffer.concat "</li>\n <li>" +; @output_buffer.concat(( link_to "uz uses normal index page", :controller => :samples, :action => :index, :lang => "uz" ).to_s); @output_buffer.concat "</li>\n <li>" +; @output_buffer.concat(( link_to "nl has special _part page(_part_nl.html.erb)", :controller => :samples, :action => :index, :lang => "nl" ).to_s); @output_buffer.concat "</li>\n <li>" +; @output_buffer.concat(( link_to "nl_BE also uses the special _part page(_part_nl.html.erb)", :controller => :samples, :action => :index, :lang => "nl_BE" ).to_s); @output_buffer.concat "</li>\n</ol>\n\n" -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:25:52) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +; @output_buffer + ensure + self.output_buffer = old_output_buffer + end +Backtrace: /home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24:in `compile!' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/renderable.rb:64:in `compile' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/renderable.rb:27:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/template.rb:182:in `render_template' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:247:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:318:in `_render_with_layout' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:244:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1180:in `render_for_file' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:906:in `render_without_benchmark' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in `render' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1256:in `default_render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1262:in `perform_action_without_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:617:in `call_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:638:in `run_before_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:189:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:189:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:635:in `run_before_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:615:in `call_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rescue.rb:154:in `perform_action_without_flash' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/flash.rb:141:in `perform_action' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in `send' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in `process_without_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:606:in `process' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:391:in `process' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:386:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/routing/route_set.rb:433:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:65:in `dispatch' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:88:in `_call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:59:in `initialize' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:29:in `call' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:29:in `call' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:9:in `cache' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:28:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/head.rb:9:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/methodoverride.rb:24:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/params_parser.rb:15:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rewindable_input.rb:25:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/session/cookie_store.rb:93:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/failsafe.rb:11:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `synchronize' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:83:in `call' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/rails/rack/static.rb:27:in `call' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/rails/rack/log_tailer.rb:17:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/mongrel.rb:59:in `process' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' +/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/mongrel.rb:32:in `run' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/commands/server.rb:100 +/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' +/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' +script/server:3 +ActionView::TemplateError (compile error +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unknown regexp option - h +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unmatched ): /p> -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:66:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 +<%= render :partial => 'part' ).to_s); @output_buffer.concat "\n\n<h2>Separate Localized View template file in each languages</ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tINTEGER, expecting ')' +...ate file in each languages</h2>\n<p>View template can be sep... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '(' +...nguages</h2>\n<p>View template can be separeted with languag... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined +...eted with language tags.</p> \n<ol>\n <li>" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined +...ith language tags.</p> \n<ol>\n <li>" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')' +...buffer.concat(( link_to "uz_UZ has special index page(index_... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tSTRING_BEG, expecting ')' +...ex page(index_uz_UZ.html.erb)", :controller => :samples, :ac... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')' +...ion => :index, :lang => "uz_UZ" ).to_s); @output_buffer.conc... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: unknown regexp option - l +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: syntax error, unexpected $undefined +... @output_buffer.concat "</li>\n <li>" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')' +...ut_buffer.concat(( link_to "nl has special _part page(_part_... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tSTRING_BEG, expecting ')' +..._part page(_part_nl.html.erb)", :controller => :samples, :ac... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')' +...action => :index, :lang => "nl" ).to_s); @output_buffer.conc... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unknown regexp option - l +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: syntax error, unexpected $undefined +... @output_buffer.concat "</li>\n</ol>\n\n" + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unterminated string meets end of file +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: syntax error, unexpected tSTRING_END, expecting tSTRING_CONTENT or tREGEXP_END or tSTRING_DBEG or tSTRING_DVAR) on line #16 of app/views/samples/index.html.erb: +13: </table> +14: <p>(*1) Fallback to "en" if the localized message is not found in the locale. Currently, it supports <%= Dir.glob(File.join(RAILS_ROOT, "config/locales/*.yml")).collect {|v| File.basename(v, ".yml")} </p> +15: +16: <%= render :partial => 'part' %> +17: +18: <h2>Separate Localized View template file in each languages</h2> +19: <p>View template can be separeted with language tags.</p> -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (186.3ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.9ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) + app/views/samples/index.html.erb:24:in `compile!' + actionpack (2.3.0) lib/action_view/renderable.rb:64:in `compile' + actionpack (2.3.0) lib/action_view/renderable.rb:27:in `render' + actionpack (2.3.0) lib/action_view/template.rb:182:in `render_template' + actionpack (2.3.0) lib/action_view/base.rb:247:in `render' + actionpack (2.3.0) lib/action_view/base.rb:318:in `_render_with_layout' + actionpack (2.3.0) lib/action_view/base.rb:244:in `render' + actionpack (2.3.0) lib/action_controller/base.rb:1180:in `render_for_file' + actionpack (2.3.0) lib/action_controller/base.rb:906:in `render_without_benchmark' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render' + actionpack (2.3.0) lib/action_controller/base.rb:1256:in `default_render' + actionpack (2.3.0) lib/action_controller/base.rb:1262:in `perform_action_without_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:617:in `call_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:638:in `run_before_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call' + actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call' + actionpack (2.3.0) lib/action_controller/filters.rb:635:in `run_before_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:615:in `call_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + actionpack (2.3.0) lib/action_controller/rescue.rb:154:in `perform_action_without_flash' + actionpack (2.3.0) lib/action_controller/flash.rb:141:in `perform_action' + actionpack (2.3.0) lib/action_controller/base.rb:523:in `send' + actionpack (2.3.0) lib/action_controller/base.rb:523:in `process_without_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:606:in `process' + actionpack (2.3.0) lib/action_controller/base.rb:391:in `process' + actionpack (2.3.0) lib/action_controller/base.rb:386:in `call' + actionpack (2.3.0) lib/action_controller/routing/route_set.rb:433:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call' + actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call' + actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call' + actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call' + rails (2.3.0) lib/rails/rack/static.rb:27:in `call' + rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call' + rails (2.3.0) lib/commands/server.rb:100 + +Rendered rescues/_trace (34.9ms) +Rendered rescues/_request_and_response (0.3ms) +Rendering rescues/layout (internal_server_error) SQL (0.5ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:29:40) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:41:16) [GET] +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (11.1ms) +Completed in 22ms (View: 17, DB: 0) | 200 OK [http://localhost/samples] -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:67:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 +Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:42:25) [GET] +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (9.3ms) +Completed in 16ms (View: 14, DB: 0) | 200 OK [http://localhost/samples] + SQL (0.5ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (166.4ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.9ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) +Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:42:37) [GET] +Rendering template within layouts/samples +Rendering samples/index +ERROR: compiling _run_erb_app47views47samples47index46html46erb RAISED compile error +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected ')', expecting '}' +...{File.basename(v, ".yml")}]" ).to_s); @output_buffer.concat ... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:31: syntax error, unexpected kENSURE, expecting '}' +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:33: syntax error, unexpected kEND, expecting '}' +Function body: def _run_erb_app47views47samples47index46html46erb(local_assigns) + old_output_buffer = output_buffer;;@output_buffer = ''; __in_erb_template=true ; @output_buffer.concat "<h1>Ruby-Locale and Ruby on Rails 2.2 sample</h1>\n<p><a href =\"http://locale.rubyforge.org/svn/trunk/locale_rails/sample\">[source code]</a></p>\n\n<h2>The values from Rails</h2>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"2\">\n <tr><th>Variables</th><th>Values</th></tr>\n <tr><td>HTTP_ACCEPT_LANGUAGE</td><td> " -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:29:42) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:67:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (34.9ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.6ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) +; @output_buffer.concat(( request.accept_language ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>HTTP_ACCEPT_CHARSET</td><td> " +; @output_buffer.concat(( request.accept_charset ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>QUERY_STRING</td><td> " +; @output_buffer.concat(( request.query_string ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>params[:lang]</td><td>" +; @output_buffer.concat(( params[:lang] ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>cookies[:lang]</td><td> " +; @output_buffer.concat(( cookies[:lang] ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>I18n.t :hello (*1)</td><td> " +; @output_buffer.concat(( I18n.t :hello ).to_s); @output_buffer.concat "</td></tr>\n</table>\n<p>\n(*1) Fallback to \"en\" if the localized message is not found in the locale. <br/>\nCurrently, " -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:29:44) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:67:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 +; @output_buffer.concat(( Dir.glob(File.join(RAILS_ROOT, "config/locales/*.yml")).collect {|v| "[#{File.basename(v, ".yml")}]" ).to_s); @output_buffer.concat " are supported.\n</p>\n\n" -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (63.1ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.6ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) +; @output_buffer.concat(( render :partial => 'part' ).to_s); @output_buffer.concat "\n\n<h2>Separate Localized View template file in each languages</h2>\n<p>View template can be separeted with language tags.</p> \n<ol>\n <li>" -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:29:48) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:67:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (152.1ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.6ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) +; @output_buffer.concat(( link_to "uz_UZ has special index page(index_uz_UZ.html.erb)", :controller => :samples, :action => :index, :lang => "uz_UZ" ).to_s); @output_buffer.concat "</li>\n <li>" +; @output_buffer.concat(( link_to "uz uses normal index page", :controller => :samples, :action => :index, :lang => "uz" ).to_s); @output_buffer.concat "</li>\n <li>" +; @output_buffer.concat(( link_to "nl has special _part page(_part_nl.html.erb)", :controller => :samples, :action => :index, :lang => "nl" ).to_s); @output_buffer.concat "</li>\n <li>" +; @output_buffer.concat(( link_to "nl_BE also uses the special _part page(_part_nl.html.erb)", :controller => :samples, :action => :index, :lang => "nl_BE" ).to_s); @output_buffer.concat "</li>\n</ol>\n\n" -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:30:52) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +; @output_buffer + ensure + self.output_buffer = old_output_buffer + end +Backtrace: /home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:33:in `compile!' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/renderable.rb:64:in `compile' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/renderable.rb:27:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/template.rb:182:in `render_template' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:247:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:318:in `_render_with_layout' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:244:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1180:in `render_for_file' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:906:in `render_without_benchmark' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in `render' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in `render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1256:in `default_render' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1262:in `perform_action_without_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:617:in `call_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:638:in `run_before_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:189:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:189:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:635:in `run_before_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:615:in `call_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime' +/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rescue.rb:154:in `perform_action_without_flash' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/flash.rb:141:in `perform_action' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in `send' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in `process_without_filters' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:606:in `process' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:391:in `process' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:386:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/routing/route_set.rb:433:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:65:in `dispatch' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:88:in `_call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:59:in `initialize' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:29:in `call' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:29:in `call' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:9:in `cache' +/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:28:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/head.rb:9:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/methodoverride.rb:24:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/params_parser.rb:15:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rewindable_input.rb:25:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/session/cookie_store.rb:93:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/failsafe.rb:11:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `synchronize' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `call' +/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:83:in `call' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/rails/rack/static.rb:27:in `call' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/rails/rack/log_tailer.rb:17:in `call' +/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/mongrel.rb:59:in `process' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' +/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' +/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/mongrel.rb:32:in `run' +/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/commands/server.rb:100 +/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' +/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' +script/server:3 +ActionView::TemplateError (compile error +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected ')', expecting '}' +...{File.basename(v, ".yml")}]" ).to_s); @output_buffer.concat ... + ^ +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:31: syntax error, unexpected kENSURE, expecting '}' +/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:33: syntax error, unexpected kEND, expecting '}') on line #16 of app/views/samples/index.html.erb: +13: </table> +14: <p> +15: (*1) Fallback to "en" if the localized message is not found in the locale. <br/> +16: Currently, <%= Dir.glob(File.join(RAILS_ROOT, "config/locales/*.yml")).collect {|v| "[#{File.basename(v, ".yml")}]" %> are supported. +17: </p> +18: +19: <%= render :partial => 'part' %> -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:67:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 + app/views/samples/index.html.erb:33:in `compile!' + actionpack (2.3.0) lib/action_view/renderable.rb:64:in `compile' + actionpack (2.3.0) lib/action_view/renderable.rb:27:in `render' + actionpack (2.3.0) lib/action_view/template.rb:182:in `render_template' + actionpack (2.3.0) lib/action_view/base.rb:247:in `render' + actionpack (2.3.0) lib/action_view/base.rb:318:in `_render_with_layout' + actionpack (2.3.0) lib/action_view/base.rb:244:in `render' + actionpack (2.3.0) lib/action_controller/base.rb:1180:in `render_for_file' + actionpack (2.3.0) lib/action_controller/base.rb:906:in `render_without_benchmark' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render' + actionpack (2.3.0) lib/action_controller/base.rb:1256:in `default_render' + actionpack (2.3.0) lib/action_controller/base.rb:1262:in `perform_action_without_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:617:in `call_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:638:in `run_before_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call' + actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call' + actionpack (2.3.0) lib/action_controller/filters.rb:635:in `run_before_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:615:in `call_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' + actionpack (2.3.0) lib/action_controller/rescue.rb:154:in `perform_action_without_flash' + actionpack (2.3.0) lib/action_controller/flash.rb:141:in `perform_action' + actionpack (2.3.0) lib/action_controller/base.rb:523:in `send' + actionpack (2.3.0) lib/action_controller/base.rb:523:in `process_without_filters' + actionpack (2.3.0) lib/action_controller/filters.rb:606:in `process' + actionpack (2.3.0) lib/action_controller/base.rb:391:in `process' + actionpack (2.3.0) lib/action_controller/base.rb:386:in `call' + actionpack (2.3.0) lib/action_controller/routing/route_set.rb:433:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call' + activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache' + activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call' + actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call' + actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call' + actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize' + actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call' + actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call' + rails (2.3.0) lib/rails/rack/static.rb:27:in `call' + rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call' + rails (2.3.0) lib/commands/server.rb:100 -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (51.8ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.6ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) +Rendered rescues/_trace (131.5ms) +Rendered rescues/_request_and_response (0.7ms) +Rendering rescues/layout (internal_server_error) SQL (0.6ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:31:01) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} - - -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:67:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:31:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 - -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (137.9ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (1.1ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) - SQL (0.4ms)  SELECT name +Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:43:12) [GET] +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (6.6ms) +Completed in 14ms (View: 11, DB: 0) | 200 OK [http://localhost/samples] + SQL (0.5ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:31:48) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:44:35) [GET] +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (10.9ms) +Completed in 20ms (View: 17, DB: 0) | 200 OK [http://localhost/samples] -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:67:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:32:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 +Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:45:16) [GET] +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (5.4ms) +Completed in 10ms (View: 9, DB: 0) | 200 OK [http://localhost/samples] + SQL (0.5ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (135.5ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (1.1ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) +Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:47:08) [GET] +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (11.0ms) +Completed in 22ms (View: 17, DB: 0) | 200 OK [http://localhost/samples] + SQL (0.6ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.2ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:33:20) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +Processing ApplicationController#index (for 127.0.0.1 at 2009-03-19 00:35:17) [GET] -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:67:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:32:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 +ActionController::RoutingError (No route matches "/articles" with {:method=>:get}): + -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (35.9ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.9ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) +Rendering rescues/layout (not_found) -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:33:29) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 00:35:21) [GET] +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (8.2ms) +Completed in 42ms (View: 38, DB: 0) | 200 OK [http://localhost/] -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:67:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:32:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 00:35:31) [GET] + Parameters: {"lang"=>"pt_BR"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (8.1ms) +Completed in 14ms (View: 13, DB: 0) | 200 OK [http://localhost/samples?lang=pt_BR] -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (36.2ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.7ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 00:35:43) [GET] + Parameters: {"lang"=>"uz_UZ"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (8.2ms) +Completed in 14ms (View: 13, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:33:39) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 00:36:02) [GET] + Parameters: {"lang"=>"uz"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (8.4ms) +Completed in 14ms (View: 13, DB: 0) | 200 OK [http://localhost/uz/samples] + SQL (0.5ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:67:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:32:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (147.7ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.6ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:24:17) [GET] + Parameters: {"lang"=>"uz"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (11.6ms) +Completed in 23ms (View: 20, DB: 0) | 200 OK [http://localhost/uz/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:33:48) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} - - -NoMethodError (undefined method `downcase' for ["ja_JP"]:Array): - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/simple.rb:67:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag/illegular.rb:21:in `initialize' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `new' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale/tag.rb:32:in `parse' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:130:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `each' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:126:in `set_current' - /usr/lib/ruby/gems/1.8/gems/locale-0.9.0/lib/locale.rb:147:in `current=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/i18n.rb:32:in `locale=' - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - script/server:3 - -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (35.2ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.6ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) - SQL (0.4ms)  SELECT name +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:24:23) [GET] + Parameters: {"lang"=>"uz_UZ"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (8.4ms) +Completed in 15ms (View: 14, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] + SQL (0.8ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.2ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:33:55) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:27:16) [GET] + Parameters: {"lang"=>"uz_UZ"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (10.2ms) -Completed in 27ms (View: 22, DB: 0) | 200 OK [http://localhost/samples?lang=ja_JP&lang=zh_CN] +Rendered samples/_part (13.0ms) +Completed in 27ms (View: 23, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] + SQL (0.5ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations + SQL (0.9ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.2ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:37:19) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:29:07) [GET] + Parameters: {"lang"=>"uz_UZ"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (9.1ms) -Completed in 22ms (View: 19, DB: 0) | 200 OK [http://localhost/samples?lang=ja_JP&lang=zh_CN] +Rendered samples/_part (45.8ms) +Completed in 60ms (View: 57, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] + SQL (0.6ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.6ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:37:26) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:35:01) [GET] + Parameters: {"lang"=>"uz_UZ"} +NameError (undefined local variable or method `tags' for ["/home/mutoh/dev/git/locale_rails/sample/app/views"]:ActionView::PathSet): + /usr/lib/ruby/gems/1.8/gems/locale_rails-2.3.0/lib/locale_rails/action_view.rb:53:in `find_template' -NoMethodError (You have a nil object when you didn't expect it! -You might have expected an instance of ActiveRecord::Base. -The error occurred while evaluating nil.[]): - /usr/lib/ruby/gems/1.8/gems/locale_rails-0.1.0/lib/locale_rails/action_controller.rb:39:in `init_locale' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `send' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:178:in `evaluate_method' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/callbacks.rb:166:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:225:in `call' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:629:in `run_before_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:615:in `call_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/1.8/benchmark.rb:293:in `measure' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/rescue.rb:136:in `perform_action_without_caching' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:13:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/connection_adapters/abstract/query_cache.rb:48:in `cache' - /usr/lib/ruby/gems/1.8/gems/activerecord-2.2.0/lib/active_record/query_cache.rb:8:in `cache' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/caching/sql_cache.rb:12:in `perform_action' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `send' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:533:in `process_without_filters' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/filters.rb:606:in `process_without_session_management_support' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/session_management.rb:134:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/base.rb:401:in `process' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:180:in `handle_request' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi' - /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process' + + +Processing ApplicationController#index (for 127.0.0.1 at 2009-03-19 01:35:01) [GET] + Parameters: {"lang"=>["uz_UZ"]} + +NoMethodError (private method `sub' called for #<ActionView::Template:0x7fa19250d9e0>): + /usr/lib/ruby/gems/1.8/gems/locale_rails-2.3.0/lib/locale_rails/action_view.rb:46:in `find_template' + +/!\ FAILSAFE /!\ Thu Mar 19 01:35:01 +0900 2009 + Status: 500 Internal Server Error + private method `sub' called for #<ActionView::Template:0x7fa19250d9e0> + /usr/lib/ruby/gems/1.8/gems/locale_rails-2.3.0/lib/locale_rails/action_view.rb:46:in `find_template' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_view/base.rb:259:in `render' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rescue.rb:134:in `rescue_action_locally' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rescue.rb:152:in `rescue_action_without_handler' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rescue.rb:74:in `rescue_action' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:523:in `send' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:523:in `process_without_filters' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:606:in `process' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rescue.rb:65:in `call_with_exception' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:91:in `dispatch' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:111:in `_call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:82:in `initialize' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:29:in `call' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:29:in `call' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:9:in `cache' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:28:in `call' + /usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/head.rb:9:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb:24:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/params_parser.rb:15:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rewindable_input.rb:25:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/session/cookie_store.rb:93:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/failsafe.rb:11:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in `synchronize' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:106:in `call' + /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/static.rb:31:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:46:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:40:in `each' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:40:in `call' + /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/log_tailer.rb:17:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/content_length.rb:13:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/chunked.rb:15:in `call' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:61:in `process' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new' /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run' - /usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281 - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in' - /usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require' - /usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49 - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' - /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require' + /usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/handler/mongrel.rb:34:in `run' + /usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:111 + /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require' + /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require' script/server:3 + SQL (0.6ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_trace (47.0ms) -Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/_request_and_response (0.8ms) -Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (internal_server_error) - SQL (0.4ms)  SELECT name + +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:35:54) [GET] + Parameters: {"lang"=>"uz_UZ"} + +NameError (undefined local variable or method `tags' for ["/home/mutoh/dev/git/locale_rails/sample/app/views"]:ActionView::PathSet): + /usr/lib/ruby/gems/1.8/gems/locale_rails-2.3.0/lib/locale_rails/action_view.rb:55:in `find_template' + +Rendered rescues/_trace (73.2ms) +Rendered rescues/_request_and_response (2.4ms) +Rendering rescues/layout (internal_server_error) + SQL (0.9ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.2ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:40:45) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:37:16) [GET] + Parameters: {"lang"=>"uz_UZ"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (11.3ms) -Completed in 40ms (View: 32, DB: 0) | 200 OK [http://localhost/samples] +Rendered samples/_part (11.5ms) +Completed in 47ms (View: 23, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] + SQL (0.5ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:40:50) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:51:56) [GET] + Parameters: {"lang"=>"uz_UZ"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (5.3ms) -Completed in 130ms (View: 124, DB: 0) | 200 OK [http://localhost/samples] +Rendered samples/_part (12.0ms) +Completed in 30ms (View: 26, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] + SQL (0.5ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:40:52) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:52:38) [GET] + Parameters: {"lang"=>"uz_UZ"} Rendering template within layouts/samples -Rendering samples/index -Rendered samples/_part (9.2ms) -Completed in 23ms (View: 20, DB: 0) | 200 OK [http://localhost/samples?lang=ja_JP] +Rendering samples/index_uz_UZ +ActionView::TemplateError (undefined method `cgi' for #<ActionController::Request:0x7f8701c9d0d0>) on line #7 of app/views/samples/index_uz_UZ.html.erb: +4: <h2>The values from Rails</h2> +5: <table border="1" cellspacing="0" cellpadding="2"> +6: <tr><th>Variables</th><th>Values</th></tr> +7: <tr><td>HTTP_ACCEPT_LANGUAGE</td><td> <%= request.cgi.accept_language %></td></tr> +8: <tr><td>HTTP_ACCEPT_CHARSET</td><td> <%= request.cgi.accept_charset %></td></tr> +9: <tr><td>QUERY_STRING</td><td> <%= request.cgi.query_string %></td></tr> +10: <tr><td>params[:lang]</td><td><%= params[:lang] %></td></tr> -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:40:57) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"pt_BR", "controller"=>"samples"} -Rendering template within layouts/samples -Rendering samples/index -Rendered samples/_part (9.1ms) -Completed in 23ms (View: 20, DB: 0) | 200 OK [http://localhost/samples?lang=pt_BR] + app/views/samples/index_uz_UZ.html.erb:7 +Rendered rescues/_trace (157.6ms) +Rendered rescues/_request_and_response (1.7ms) +Rendering rescues/layout (internal_server_error) + SQL (0.6ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:41:00) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"en_Latn_US_NYNORSK", "controller"=>"samples"} + +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:54:05) [GET] + Parameters: {"lang"=>"uz_UZ"} Rendering template within layouts/samples -Rendering samples/index -Rendered samples/_part (8.4ms) -Completed in 25ms (View: 22, DB: 0) | 200 OK [http://localhost/samples?lang=en_Latn_US_NYNORSK] +Rendering samples/index_uz_UZ +Completed in 12ms (View: 8, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] + SQL (0.5ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#set_cookie (for 127.0.0.1 at 2008-12-01 00:41:08) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"set_cookie", "id"=>"zh_CN", "controller"=>"samples"} -Cookie set: lang=zh_CN; path=/ -Redirected to actionindex -Completed in 4ms (DB: 0) | 302 Found [http://localhost/samples/set_cookie/zh_CN] +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:54:52) [GET] + Parameters: {"lang"=>"uz_UZ"} +Rendering template within layouts/samples +Rendering samples/index_uz_UZ +Completed in 13ms (View: 9, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:41:08) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiIENvb2tpZSBsYW5nIHZhbHVlIGlzOiB6aF9DTgY6CkB1c2VkewY7BkY=--aadabcdd67d5cb09b656e6adf819e75dd5d76240 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:54:54) [GET] Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (4.4ms) -Completed in 11ms (View: 10, DB: 0) | 200 OK [http://localhost/samples] +Rendered samples/_part (6.9ms) +Completed in 31ms (View: 29, DB: 0) | 200 OK [http://localhost/samples] -Processing SamplesController#clear_cookie (for 127.0.0.1 at 2008-12-01 00:41:11) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiIENvb2tpZSBsYW5nIHZhbHVlIGlzOiB6aF9DTgY6CkB1c2VkewY7BlQ=--d508ff761f63030a87e5585783cad381c63f2420 - Parameters: {"action"=>"clear_cookie", "controller"=>"samples"} -Cookie set: lang=; path=/ -Redirected to actionindex -Completed in 4ms (DB: 0) | 302 Found [http://localhost/samples/clear_cookie] +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:54:58) [GET] + Parameters: {"lang"=>"uz"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (11.1ms) +Completed in 21ms (View: 20, DB: 0) | 200 OK [http://localhost/uz/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-01 00:41:11) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiI0Nvb2tpZSBsYW5nIHZhbHVlIGlzIGNsZWFyZWQuIAY6CkB1c2VkewY7BkY=--01b3e036153ed12c9b4bac40e6dc93db314d38c1 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:55:02) [GET] + Parameters: {"lang"=>"nl"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (8.1ms) -Completed in 29ms (View: 24, DB: 0) | 200 OK [http://localhost/samples] - SQL (0.4ms)  SELECT name +Rendered samples/_part_nl (0.8ms) +Completed in 10ms (View: 8, DB: 0) | 200 OK [http://localhost/nl/samples] + SQL (0.5ms)  SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'  + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:38:01) [GET] - Session ID: f08cb2eb6e693c7d88be4da51d33c4e1 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:14) [GET] Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (11.0ms) -Completed in 35ms (View: 29, DB: 0) | 200 OK [http://localhost/] +Rendered samples/_part (6.8ms) +Completed in 27ms (View: 23, DB: 0) | 200 OK [http://localhost/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:38:44) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:18) [GET] + Parameters: {"lang"=>"nl_BE"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (97.2ms) -Completed in 104ms (View: 103, DB: 0) | 200 OK [http://localhost/samples?lang=ja_JP] +Rendered samples/_part_nl (1.2ms) +Completed in 11ms (View: 9, DB: 0) | 200 OK [http://localhost/nl_BE/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:38:51) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"fr", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:21) [GET] + Parameters: {"lang"=>"nl_BE"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (8.9ms) -Completed in 19ms (View: 18, DB: 0) | 200 OK [http://localhost/samples?lang=fr] +Rendered samples/_part_nl (0.2ms) +Completed in 10ms (View: 9, DB: 0) | 200 OK [http://localhost/nl_BE/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:39:17) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"pt_BR", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:22) [GET] + Parameters: {"lang"=>"nl"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (8.4ms) -Completed in 18ms (View: 17, DB: 0) | 200 OK [http://localhost/samples?lang=pt_BR] +Rendered samples/_part_nl (0.5ms) +Completed in 10ms (View: 9, DB: 0) | 200 OK [http://localhost/nl/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:39:21) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"zh_CN", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:23) [GET] + Parameters: {"lang"=>"uz"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (8.8ms) -Completed in 19ms (View: 18, DB: 0) | 200 OK [http://localhost/samples?lang=zh_CN] +Rendered samples/_part (7.8ms) +Completed in 17ms (View: 15, DB: 0) | 200 OK [http://localhost/uz/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:39:25) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"en_Latn_US_NYNORSK", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:30) [GET] + Parameters: {"lang"=>"zh_CN"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (9.0ms) -Completed in 25ms (View: 24, DB: 0) | 200 OK [http://localhost/samples?lang=en_Latn_US_NYNORSK] +Rendered samples/_part (7.3ms) +Completed in 110ms (View: 108, DB: 0) | 200 OK [http://localhost/samples?lang=zh_CN] -Processing SamplesController#set_cookie (for 127.0.0.1 at 2008-12-03 23:39:28) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"set_cookie", "id"=>"ja_JP", "controller"=>"samples"} -Cookie set: lang=ja_JP; path=/ -Redirected to actionindex -Completed in 5ms (DB: 0) | 302 Found [http://localhost/samples/set_cookie/ja_JP] +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:34) [GET] +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (8.4ms) +Completed in 45ms (View: 42, DB: 0) | 200 OK [http://localhost/samples] + SQL (1.0ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.2ms) SELECT version FROM schema_migrations -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:39:28) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiIENvb2tpZSBsYW5nIHZhbHVlIGlzOiBqYV9KUAY6CkB1c2VkewY7BkY=--c700c88b5042ff1a5c23292bb6d67abdaa8998c6 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:00:45) [GET] Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (8.3ms) -Completed in 18ms (View: 17, DB: 0) | 200 OK [http://localhost/samples] +Rendered samples/_part (27.3ms) +Completed in 108ms (View: 103, DB: 0) | 200 OK [http://localhost/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:39:33) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiIENvb2tpZSBsYW5nIHZhbHVlIGlzOiBqYV9KUAY6CkB1c2VkewY7BlQ=--c5ce8251c879f27b4a55e90c44caa7e811ec2e69 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:00:50) [GET] + Parameters: {"lang"=>"uz"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (8.3ms) -Completed in 18ms (View: 17, DB: 0) | 200 OK [http://localhost/samples] +Rendered samples/_part (7.5ms) +Completed in 16ms (View: 15, DB: 0) | 200 OK [http://localhost/uz/samples] -Processing SamplesController#set_cookie (for 127.0.0.1 at 2008-12-03 23:39:47) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"set_cookie", "id"=>"zh_CN", "controller"=>"samples"} -Cookie set: lang=zh_CN; path=/ -Redirected to actionindex -Completed in 3ms (DB: 0) | 302 Found [http://localhost/samples/set_cookie/zh_CN] +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:00:54) [GET] + Parameters: {"lang"=>"pt"} +Rendering template within layouts/samples +Rendering samples/index +Completed in 8ms (View: 7, DB: 0) | 200 OK [http://localhost/pt/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:39:47) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiIENvb2tpZSBsYW5nIHZhbHVlIGlzOiB6aF9DTgY6CkB1c2VkewY7BkY=--aadabcdd67d5cb09b656e6adf819e75dd5d76240 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:00:59) [GET] + Parameters: {"lang"=>"pt_PR"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (6.0ms) -Completed in 14ms (View: 13, DB: 0) | 200 OK [http://localhost/samples] +Rendered samples/_part (8.1ms) +Completed in 27ms (View: 25, DB: 0) | 200 OK [http://localhost/pt_PR/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:39:50) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiIENvb2tpZSBsYW5nIHZhbHVlIGlzOiB6aF9DTgY6CkB1c2VkewY7BlQ=--d508ff761f63030a87e5585783cad381c63f2420 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:01:05) [GET] + Parameters: {"lang"=>"pt_BR"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (8.3ms) -Completed in 19ms (View: 17, DB: 0) | 200 OK [http://localhost/samples] +Rendered samples/_part (8.4ms) +Completed in 19ms (View: 18, DB: 0) | 200 OK [http://localhost/pt_BR/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:40:04) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "lang"=>"en_Latn_US_NYNORSK", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:01:08) [GET] + Parameters: {"lang"=>"pt-BR"} Rendering template within layouts/samples Rendering samples/index -Rendered samples/_part (8.8ms) -Completed in 25ms (View: 23, DB: 0) | 200 OK [http://localhost/en_Latn_US_NYNORSK/samples] +Rendered samples/_part (8.2ms) +Completed in 23ms (View: 21, DB: 0) | 200 OK [http://localhost/pt-BR/samples] + SQL (0.6ms)  SELECT name + FROM sqlite_master + WHERE type = 'table' AND NOT name = 'sqlite_sequence' + + SQL (0.1ms) SELECT version FROM schema_migrations -Processing SamplesController#set_cookie (for 127.0.0.1 at 2008-12-03 23:40:08) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"set_cookie", "id"=>"ja_JP", "lang"=>"en_Latn_US_NYNORSK", "controller"=>"samples"} -Cookie set: lang=ja_JP; path=/ -Redirected to actionindex -Completed in 3ms (DB: 0) | 302 Found [http://localhost/en_Latn_US_NYNORSK/samples/set_cookie/ja_JP] - - -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:40:09) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiIENvb2tpZSBsYW5nIHZhbHVlIGlzOiBqYV9KUAY6CkB1c2VkewY7BkY=--c700c88b5042ff1a5c23292bb6d67abdaa8998c6 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:03:40) [GET] + Parameters: {"lang"=>"pt-BR"} Rendering template within layouts/samples Rendering samples/index Rendered samples/_part (9.0ms) -Completed in 19ms (View: 18, DB: 0) | 200 OK [http://localhost/samples] +Completed in 28ms (View: 25, DB: 0) | 200 OK [http://localhost/pt-BR/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:40:27) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsGOgtub3RpY2UiIENvb2tpZSBsYW5nIHZhbHVlIGlzOiBqYV9KUAY6CkB1c2VkewY7BlQ=--c5ce8251c879f27b4a55e90c44caa7e811ec2e69 - Parameters: {"action"=>"index", "lang"=>"uz_UZ", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:03:44) [GET] + Parameters: {"lang"=>"pt"} Rendering template within layouts/samples Rendering samples/index -Completed in 4ms (View: 3, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] +Completed in 5ms (View: 4, DB: 0) | 200 OK [http://localhost/pt/samples] -Processing SamplesController#index (for 127.0.0.1 at 2008-12-03 23:40:29) [GET] - Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 - Parameters: {"action"=>"index", "controller"=>"samples"} +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:03:46) [GET] Rendering template within layouts/samples Rendering samples/index Rendered samples/_part (9.0ms) -Completed in 20ms (View: 19, DB: 0) | 200 OK [http://localhost/samples] +Completed in 38ms (View: 35, DB: 0) | 200 OK [http://localhost/samples] + + +Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:03:49) [GET] + Parameters: {"lang"=>"pt_BR"} +Rendering template within layouts/samples +Rendering samples/index +Rendered samples/_part (8.2ms) +Completed in 25ms (View: 24, DB: 0) | 200 OK [http://localhost/pt_BR/samples]