[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m 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 (118.5ms) Completed in 125ms (View: 123, DB: 0) | 200 OK [http://localhost/] [4;36;1mSQL (0.4ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m 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"=>"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] [4;36;1mSQL (0.4ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m 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="} 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/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: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:31:in `gem_original_require' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31: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-09 02:34:46) [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 27ms (View: 23, DB: 0) | 200 OK [http://localhost/samples/] [4;36;1mSQL (0.3ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.2ms)[0m [0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m [4;35;1mSQL (5.3ms)[0m [0mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m [4;36;1mSQL (3.2ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [4;35;1mSQL (0.2ms)[0m [0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m [4;35;1mSQL (0.2ms)[0m [0mselect sqlite_version(*)[0m [4;36;1mSQL (0.2ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (3.6ms)[0m [0mCREATE TABLE "articles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255) DEFAULT '' NOT NULL, "description" text NOT NULL, "lastupdate" date) [0m [4;36;1mSQL (0.2ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (5.4ms)[0m [0mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m [4;36;1mSQL (6.1ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [4;35;1mSQL (0.2ms)[0m [0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m [4;35;1mSQL (4.5ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:39:39) [GET] Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231 Parameters: {"action"=>"index", "controller"=>"samples"} Rendering template within layouts/samples Rendering samples/index Rendered samples/_part (7.3ms) Completed in 177ms (View: 55, DB: 0) | 200 OK [http://localhost/samples/] [4;36;1mSQL (0.7ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m 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.6ms) Completed in 147ms (View: 144, DB: 0) | 200 OK [http://localhost/samples?lang=ja_JP] [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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 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> 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) [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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 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) [4;36;1mSQL (0.9ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m 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.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 2009-03-09 02:43:45) [GET] Parameters: {"lang"=>"ja"} Rendering template within layouts/samples Rendering samples/index Rendered samples/_part (4.8ms) Completed in 8ms (View: 7, DB: 0) | 200 OK [http://localhost/samples?lang=ja] 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/index 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 2009-03-09 02:43:55) [GET] Parameters: {"lang"=>"ar-Jo"} Rendering template within layouts/samples Rendering samples/index 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 2009-03-09 02:44:00) [GET] Parameters: {"lang"=>"ja-JP"} 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-JP] [4;36;1mSQL (0.9ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m 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 (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 2009-03-09 02:45:38) [GET] Parameters: {"lang"=>"ja-JP"} Rendering template within layouts/samples Rendering samples/index 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 2009-03-09 02:45:41) [GET] Parameters: {"lang"=>"ja"} Rendering template within layouts/samples Rendering samples/index Rendered samples/_part (5.0ms) Completed in 8ms (View: 7, DB: 0) | 200 OK [http://localhost/samples?lang=ja] [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m 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 (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 2009-03-09 02:47:08) [GET] Parameters: {"lang"=>"ja"} Rendering template within layouts/samples Rendering samples/index Rendered samples/_part (4.8ms) Completed in 8ms (View: 7, DB: 0) | 200 OK [http://localhost/samples?lang=ja] 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 2009-03-09 02:47:18) [GET] Parameters: {"lang"=>"ar-JO"} Rendering template within layouts/samples Rendering samples/index 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] [4;36;1mSQL (0.9ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m 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] 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] 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 (8.9ms) Completed in 114ms (View: 113, DB: 0) | 200 OK [http://localhost/samples?lang=en] [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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 Rendering rescues/layout (not_found) Processing ApplicationController#index (for 127.0.0.1 at 2009-03-09 03:12:19) [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 Rendering rescues/layout (not_found) [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m 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 Rendering rescues/layout (not_found) 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/] 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#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] 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] [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.3ms)[0m [0mSELECT version FROM schema_migrations[0m Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:40:30) [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> " ; @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 " ; @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>" ; @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" ; @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> <%= 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> 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) 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> " ; @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 " ; @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>" ; @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" ; @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> <%= 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> 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) [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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] 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] [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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> " ; @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, " ; @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" ; @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>" ; @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" ; @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' %> 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 rescues/_trace (131.5ms) Rendered rescues/_request_and_response (0.7ms) Rendering rescues/layout (internal_server_error) [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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] [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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] 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] [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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] [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m Processing ApplicationController#index (for 127.0.0.1 at 2009-03-19 00:35:17) [GET] ActionController::RoutingError (No route matches "/articles" with {:method=>:get}): Rendering rescues/layout (not_found) 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/] 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] 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 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] [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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 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] [4;36;1mSQL (0.8ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m 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 (13.0ms) Completed in 27ms (View: 23, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m [4;36;1mSQL (0.9ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m 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 (45.8ms) Completed in 60ms (View: 57, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.6ms)[0m [0mSELECT version FROM schema_migrations[0m 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' 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/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 [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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) [4;36;1mSQL (0.9ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m 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.5ms) Completed in 47ms (View: 23, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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 (12.0ms) Completed in 30ms (View: 26, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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_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> 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) [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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_uz_UZ Completed in 12ms (View: 8, DB: 0) | 200 OK [http://localhost/uz_UZ/samples] [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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 2009-03-19 01:54:54) [GET] Rendering template within layouts/samples Rendering samples/index Rendered samples/_part (6.9ms) Completed in 31ms (View: 29, DB: 0) | 200 OK [http://localhost/samples] 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 2009-03-19 01:55:02) [GET] Parameters: {"lang"=>"nl"} Rendering template within layouts/samples Rendering samples/index Rendered samples/_part_nl (0.8ms) Completed in 10ms (View: 8, DB: 0) | 200 OK [http://localhost/nl/samples] [4;36;1mSQL (0.5ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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 (6.8ms) Completed in 27ms (View: 23, DB: 0) | 200 OK [http://localhost/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_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 2009-03-19 01:56:21) [GET] Parameters: {"lang"=>"nl_BE"} Rendering template within layouts/samples Rendering samples/index 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 2009-03-19 01:56:22) [GET] Parameters: {"lang"=>"nl"} Rendering template within layouts/samples Rendering samples/index 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 2009-03-19 01:56:23) [GET] Parameters: {"lang"=>"uz"} Rendering template within layouts/samples Rendering samples/index 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 2009-03-19 01:56:30) [GET] Parameters: {"lang"=>"zh_CN"} Rendering template within layouts/samples Rendering samples/index Rendered samples/_part (7.3ms) Completed in 110ms (View: 108, DB: 0) | 200 OK [http://localhost/samples?lang=zh_CN] 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] [4;36;1mSQL (1.0ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m 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 (27.3ms) Completed in 108ms (View: 103, DB: 0) | 200 OK [http://localhost/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 (7.5ms) Completed in 16ms (View: 15, DB: 0) | 200 OK [http://localhost/uz/samples] 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 2009-03-19 02:00:59) [GET] Parameters: {"lang"=>"pt_PR"} Rendering template within layouts/samples Rendering samples/index 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 2009-03-19 02:01:05) [GET] Parameters: {"lang"=>"pt_BR"} Rendering template within layouts/samples Rendering samples/index 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 2009-03-19 02:01:08) [GET] Parameters: {"lang"=>"pt-BR"} Rendering template within layouts/samples Rendering samples/index Rendered samples/_part (8.2ms) Completed in 23ms (View: 21, DB: 0) | 200 OK [http://localhost/pt-BR/samples] [4;36;1mSQL (0.6ms)[0m [0;1m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' [0m [4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m 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 28ms (View: 25, DB: 0) | 200 OK [http://localhost/pt-BR/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 5ms (View: 4, DB: 0) | 200 OK [http://localhost/pt/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 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]