locale_rails 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +10 -9
- data/README.rdoc +1 -0
- data/Rakefile +2 -2
- data/lib/locale_rails.rb +1 -3
- data/lib/locale_rails/version.rb +1 -1
- metadata +3 -13
- data/replace.rb +0 -21
- data/sample/db/development.sqlite3 +0 -0
- data/sample/db/test.sqlite3 +0 -0
- data/sample/log/development.log +0 -1792
data/ChangeLog
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
= locale_rails-2.0.
|
|
1
|
+
= locale_rails-2.0.1 (2009-04-17)
|
|
2
|
+
* Fixed to work localized view which was canceled.
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
*
|
|
4
|
+
= locale_rails-2.0.0 (2009-03-22)
|
|
5
|
+
* I18n.translate fallbacks to the localized message in the locale candidates.
|
|
6
|
+
* Support localized view both of gettext-1.93.0 style and rails-2.3.x style.
|
|
5
7
|
|
|
6
8
|
= locale_rails-0.1.0 (2008-12-04)
|
|
7
|
-
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* Separated Localized View template file
|
|
9
|
+
* Initial released.
|
|
10
|
+
* Auto-Detect the locales from the WWW browser
|
|
11
|
+
* Localized Routes
|
|
12
|
+
* Action/Fragment caching
|
|
13
|
+
* Separated Localized View template file
|
|
13
14
|
|
data/README.rdoc
CHANGED
|
@@ -29,6 +29,7 @@ auto-detection and some other features includes this library.
|
|
|
29
29
|
== Support matrix
|
|
30
30
|
* locale_rails-0.1.0 - rails-2.1.x
|
|
31
31
|
* locale_rails-2.0.0 - rails-2.3.2
|
|
32
|
+
* locale_rails-2.0.1 - rails-2.3.2
|
|
32
33
|
|
|
33
34
|
== License
|
|
34
35
|
This program is licenced under the same licence as Ruby.
|
data/Rakefile
CHANGED
|
@@ -30,7 +30,7 @@ Rake::RDocTask.new { |rdoc|
|
|
|
30
30
|
rdoc.rdoc_dir = 'doc'
|
|
31
31
|
rdoc.title = "Ruby-Locale for Ruby on Rails"
|
|
32
32
|
rdoc.options << '--line-numbers' << '--inline-source'
|
|
33
|
-
rdoc.rdoc_files.include('README', 'ChangeLog')
|
|
33
|
+
rdoc.rdoc_files.include('README.rdoc', 'ChangeLog')
|
|
34
34
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
|
35
35
|
rdoc.template = allison if allison.size > 0
|
|
36
36
|
}
|
|
@@ -47,7 +47,7 @@ spec = Gem::Specification.new do |s|
|
|
|
47
47
|
s.files = FileList['**/*'].to_a.select{|v| v !~ /pkg|CVS|git/}
|
|
48
48
|
s.require_path = 'lib'
|
|
49
49
|
s.bindir = 'bin'
|
|
50
|
-
s.add_dependency('locale', '>= 2.0.
|
|
50
|
+
s.add_dependency('locale', '>= 2.0.1')
|
|
51
51
|
s.has_rdoc = true
|
|
52
52
|
s.description = <<-EOF
|
|
53
53
|
Ruby-Locale for Ruby on Rails is the pure ruby library which provides basic functions for localization.
|
data/lib/locale_rails.rb
CHANGED
|
@@ -2,9 +2,7 @@ require 'locale'
|
|
|
2
2
|
|
|
3
3
|
Locale.init(:driver => :cgi)
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
#["i18n", "action_controller", "action_view", "version"].each do |lib|
|
|
7
|
-
["i18n", "action_controller", "version"].each do |lib|
|
|
5
|
+
["i18n", "action_controller", "action_view", "version"].each do |lib|
|
|
8
6
|
require File.join(File.dirname(__FILE__), "locale_rails", lib)
|
|
9
7
|
end
|
|
10
8
|
|
data/lib/locale_rails/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: locale_rails
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.0.
|
|
4
|
+
version: 2.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Masao Mutoh
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-
|
|
12
|
+
date: 2009-04-18 00:00:00 +09:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -20,7 +20,7 @@ dependencies:
|
|
|
20
20
|
requirements:
|
|
21
21
|
- - ">="
|
|
22
22
|
- !ruby/object:Gem::Version
|
|
23
|
-
version: 2.0.
|
|
23
|
+
version: 2.0.1
|
|
24
24
|
version:
|
|
25
25
|
description: Ruby-Locale for Ruby on Rails is the pure ruby library which provides basic functions for localization.
|
|
26
26
|
email: mutomasa at gmail.com
|
|
@@ -31,7 +31,6 @@ extensions: []
|
|
|
31
31
|
extra_rdoc_files: []
|
|
32
32
|
|
|
33
33
|
files:
|
|
34
|
-
- replace.rb
|
|
35
34
|
- ChangeLog
|
|
36
35
|
- lib
|
|
37
36
|
- lib/locale_rails.rb
|
|
@@ -87,15 +86,11 @@ files:
|
|
|
87
86
|
- sample/public/dispatch.cgi
|
|
88
87
|
- sample/db
|
|
89
88
|
- sample/db/schema.rb
|
|
90
|
-
- sample/db/test.sqlite3
|
|
91
|
-
- sample/db/development.sqlite3
|
|
92
89
|
- sample/README
|
|
93
90
|
- sample/test
|
|
94
91
|
- sample/test/test_helper.rb
|
|
95
92
|
- sample/test/performance
|
|
96
93
|
- sample/test/performance/browsing_test.rb
|
|
97
|
-
- sample/log
|
|
98
|
-
- sample/log/development.log
|
|
99
94
|
- sample/config
|
|
100
95
|
- sample/config/locales
|
|
101
96
|
- sample/config/locales/ja.yml
|
|
@@ -128,11 +123,6 @@ files:
|
|
|
128
123
|
- sample/app/controllers
|
|
129
124
|
- sample/app/controllers/samples_controller.rb
|
|
130
125
|
- sample/app/controllers/application.rb
|
|
131
|
-
- sample/tmp
|
|
132
|
-
- sample/tmp/cache
|
|
133
|
-
- sample/tmp/sockets
|
|
134
|
-
- sample/tmp/sessions
|
|
135
|
-
- sample/tmp/pids
|
|
136
126
|
- sample/Rakefile
|
|
137
127
|
- Rakefile
|
|
138
128
|
has_rdoc: true
|
data/replace.rb
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
Dir.glob("**/*") do |v|
|
|
2
|
-
lines = []
|
|
3
|
-
changed = false
|
|
4
|
-
next if File.directory? v
|
|
5
|
-
IO.foreach(v) {|line|
|
|
6
|
-
if line =~ /mutoh(at|@)highway.ne.jp/
|
|
7
|
-
lines << line.gsub(/mutoh( at |@)highway.ne.jp/, "mutomasa at gmail.com")
|
|
8
|
-
changed = true
|
|
9
|
-
else
|
|
10
|
-
lines << line
|
|
11
|
-
end
|
|
12
|
-
}
|
|
13
|
-
if changed
|
|
14
|
-
out = open(v, "w")
|
|
15
|
-
lines.each {|l|
|
|
16
|
-
out.write l
|
|
17
|
-
}
|
|
18
|
-
out.close
|
|
19
|
-
end
|
|
20
|
-
end
|
|
21
|
-
|
|
Binary file
|
data/sample/db/test.sqlite3
DELETED
|
Binary file
|
data/sample/log/development.log
DELETED
|
@@ -1,1792 +0,0 @@
|
|
|
1
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
|
2
|
-
FROM sqlite_master
|
|
3
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
4
|
-
[0m
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-02-27 00:24:21) [GET]
|
|
8
|
-
Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231
|
|
9
|
-
Parameters: {"action"=>"index", "controller"=>"samples"}
|
|
10
|
-
Rendering template within layouts/samples
|
|
11
|
-
Rendering samples/index
|
|
12
|
-
Rendered samples/_part (118.5ms)
|
|
13
|
-
Completed in 125ms (View: 123, DB: 0) | 200 OK [http://localhost/]
|
|
14
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
|
15
|
-
FROM sqlite_master
|
|
16
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
17
|
-
[0m
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-08 01:52:26) [GET]
|
|
21
|
-
Session ID: 7c7c35757d7f0c5474a654904987455e
|
|
22
|
-
Parameters: {"action"=>"index", "controller"=>"samples"}
|
|
23
|
-
Rendering template within layouts/samples
|
|
24
|
-
Rendering samples/index
|
|
25
|
-
Rendered samples/_part (9.9ms)
|
|
26
|
-
Completed in 122ms (View: 118, DB: 0) | 200 OK [http://localhost/]
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-08 01:52:31) [GET]
|
|
30
|
-
Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231
|
|
31
|
-
Parameters: {"action"=>"index", "lang"=>"pt_BR", "controller"=>"samples"}
|
|
32
|
-
Rendering template within layouts/samples
|
|
33
|
-
Rendering samples/index
|
|
34
|
-
Rendered samples/_part (9.7ms)
|
|
35
|
-
Completed in 15ms (View: 13, DB: 0) | 200 OK [http://localhost/samples?lang=pt_BR]
|
|
36
|
-
[4;36;1mSQL (0.4ms)[0m [0;1m SELECT name
|
|
37
|
-
FROM sqlite_master
|
|
38
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
39
|
-
[0m
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
Processing ApplicationController#index (for 127.0.0.1 at 2009-03-09 02:34:24) [POST]
|
|
43
|
-
Session ID: 8d15261430ea3d7c9121d6ff20268404
|
|
44
|
-
Parameters: {"article"=>{"title"=>"", "description"=>""}, "commit"=>"Create", "authenticity_token"=>"Tzdb2koGpxlpuBz5V4M1gEL1B8fNffr3XLRgDCspVcE="}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
ActionController::RoutingError (No route matches "/articles" with {:method=>:post}):
|
|
48
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'
|
|
49
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/routing/route_set.rb:385:in `recognize'
|
|
50
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:179:in `handle_request'
|
|
51
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:107:in `dispatch_unlocked'
|
|
52
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:120:in `dispatch'
|
|
53
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `synchronize'
|
|
54
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:119:in `dispatch'
|
|
55
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:129:in `dispatch_cgi'
|
|
56
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/dispatcher.rb:36:in `dispatch'
|
|
57
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:76:in `process'
|
|
58
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `synchronize'
|
|
59
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../lib/mongrel/rails.rb:74:in `process'
|
|
60
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
|
|
61
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
|
|
62
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
|
|
63
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
|
|
64
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
|
|
65
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
|
|
66
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
|
|
67
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
|
|
68
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
|
|
69
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
|
|
70
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:282:in `run'
|
|
71
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `each'
|
|
72
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/configurator.rb:281:in `run'
|
|
73
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:128:in `run'
|
|
74
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel/command.rb:212:in `run'
|
|
75
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/mongrel_rails:281
|
|
76
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load_without_new_constant_marking'
|
|
77
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load'
|
|
78
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in'
|
|
79
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:141:in `load'
|
|
80
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/servers/mongrel.rb:64
|
|
81
|
-
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
|
|
82
|
-
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
|
|
83
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require'
|
|
84
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:507:in `new_constants_in'
|
|
85
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.0/lib/active_support/dependencies.rb:148:in `require'
|
|
86
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.2.0/lib/commands/server.rb:49
|
|
87
|
-
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
|
|
88
|
-
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
|
|
89
|
-
script/server:3
|
|
90
|
-
|
|
91
|
-
Rendering /usr/lib/ruby/gems/1.8/gems/actionpack-2.2.0/lib/action_controller/templates/rescues/layout.erb (not_found)
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:34:46) [GET]
|
|
95
|
-
Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231
|
|
96
|
-
Parameters: {"action"=>"index", "controller"=>"samples"}
|
|
97
|
-
Rendering template within layouts/samples
|
|
98
|
-
Rendering samples/index
|
|
99
|
-
Rendered samples/_part (8.5ms)
|
|
100
|
-
Completed in 27ms (View: 23, DB: 0) | 200 OK [http://localhost/samples/]
|
|
101
|
-
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
|
102
|
-
FROM sqlite_master
|
|
103
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
104
|
-
[0m
|
|
105
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
|
106
|
-
FROM sqlite_master
|
|
107
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
108
|
-
[0m
|
|
109
|
-
[4;36;1mSQL (0.2ms)[0m [0;1mselect sqlite_version(*)[0m
|
|
110
|
-
[4;35;1mSQL (5.3ms)[0m [0mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
|
111
|
-
[4;36;1mSQL (3.2ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
112
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
|
113
|
-
FROM sqlite_master
|
|
114
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
115
|
-
[0m
|
|
116
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM schema_migrations[0m
|
|
117
|
-
[4;35;1mSQL (0.2ms)[0m [0mselect sqlite_version(*)[0m
|
|
118
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
|
119
|
-
FROM sqlite_master
|
|
120
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
121
|
-
[0m
|
|
122
|
-
[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
|
|
123
|
-
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
|
124
|
-
FROM sqlite_master
|
|
125
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
126
|
-
[0m
|
|
127
|
-
[4;35;1mSQL (5.4ms)[0m [0mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
|
128
|
-
[4;36;1mSQL (6.1ms)[0m [0;1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
129
|
-
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
|
130
|
-
FROM sqlite_master
|
|
131
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
132
|
-
[0m
|
|
133
|
-
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
|
134
|
-
[4;35;1mSQL (4.5ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('1')[0m
|
|
135
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
136
|
-
FROM sqlite_master
|
|
137
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
138
|
-
[0m
|
|
139
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:39:39) [GET]
|
|
143
|
-
Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231
|
|
144
|
-
Parameters: {"action"=>"index", "controller"=>"samples"}
|
|
145
|
-
Rendering template within layouts/samples
|
|
146
|
-
Rendering samples/index
|
|
147
|
-
Rendered samples/_part (7.3ms)
|
|
148
|
-
Completed in 177ms (View: 55, DB: 0) | 200 OK [http://localhost/samples/]
|
|
149
|
-
[4;36;1mSQL (0.7ms)[0m [0;1m SELECT name
|
|
150
|
-
FROM sqlite_master
|
|
151
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
152
|
-
[0m
|
|
153
|
-
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:40:30) [GET]
|
|
157
|
-
Session ID: BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA==--7cecde90ce50560b7db576de57d351f7e77d3231
|
|
158
|
-
Parameters: {"action"=>"index", "lang"=>"ja_JP", "controller"=>"samples"}
|
|
159
|
-
Rendering template within layouts/samples
|
|
160
|
-
Rendering samples/index
|
|
161
|
-
Rendered samples/_part (11.6ms)
|
|
162
|
-
Completed in 147ms (View: 144, DB: 0) | 200 OK [http://localhost/samples?lang=ja_JP]
|
|
163
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
164
|
-
FROM sqlite_master
|
|
165
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
166
|
-
[0m
|
|
167
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:41:47) [GET]
|
|
171
|
-
Parameters: {"lang"=>"ja_JP"}
|
|
172
|
-
Rendering template within layouts/samples
|
|
173
|
-
Rendering samples/index
|
|
174
|
-
|
|
175
|
-
ActionView::TemplateError (undefined method `cgi' for #<ActionController::Request:0x7f42ec6ea088>) on line #7 of app/views/samples/index.html.erb:
|
|
176
|
-
4: <h2>The values from Rails</h2>
|
|
177
|
-
5: <table border="1" cellspacing="0" cellpadding="2">
|
|
178
|
-
6: <tr><th>Variables</th><th>Values</th></tr>
|
|
179
|
-
7: <tr><td>HTTP_ACCEPT_LANGUAGE</td><td> <%= request.cgi.accept_language %></td></tr>
|
|
180
|
-
8: <tr><td>HTTP_ACCEPT_CHARSET</td><td> <%= request.cgi.accept_charset %></td></tr>
|
|
181
|
-
9: <tr><td>QUERY_STRING</td><td> <%= request.cgi.query_string %></td></tr>
|
|
182
|
-
10: <tr><td>params[:lang]</td><td><%= params[:lang] %></td></tr>
|
|
183
|
-
|
|
184
|
-
app/views/samples/index.html.erb:7
|
|
185
|
-
actionpack (2.3.0) lib/action_view/renderable.rb:35:in `send'
|
|
186
|
-
actionpack (2.3.0) lib/action_view/renderable.rb:35:in `render'
|
|
187
|
-
actionpack (2.3.0) lib/action_view/template.rb:182:in `render_template'
|
|
188
|
-
actionpack (2.3.0) lib/action_view/base.rb:247:in `render'
|
|
189
|
-
actionpack (2.3.0) lib/action_view/base.rb:318:in `_render_with_layout'
|
|
190
|
-
actionpack (2.3.0) lib/action_view/base.rb:244:in `render'
|
|
191
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1180:in `render_for_file'
|
|
192
|
-
actionpack (2.3.0) lib/action_controller/base.rb:906:in `render_without_benchmark'
|
|
193
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render'
|
|
194
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render'
|
|
195
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1256:in `default_render'
|
|
196
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1262:in `perform_action_without_filters'
|
|
197
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:617:in `call_filters'
|
|
198
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:638:in `run_before_filters'
|
|
199
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call'
|
|
200
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call'
|
|
201
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:635:in `run_before_filters'
|
|
202
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:615:in `call_filters'
|
|
203
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
|
|
204
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
205
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
206
|
-
actionpack (2.3.0) lib/action_controller/rescue.rb:154:in `perform_action_without_flash'
|
|
207
|
-
actionpack (2.3.0) lib/action_controller/flash.rb:141:in `perform_action'
|
|
208
|
-
actionpack (2.3.0) lib/action_controller/base.rb:523:in `send'
|
|
209
|
-
actionpack (2.3.0) lib/action_controller/base.rb:523:in `process_without_filters'
|
|
210
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:606:in `process'
|
|
211
|
-
actionpack (2.3.0) lib/action_controller/base.rb:391:in `process'
|
|
212
|
-
actionpack (2.3.0) lib/action_controller/base.rb:386:in `call'
|
|
213
|
-
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:433:in `call'
|
|
214
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch'
|
|
215
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call'
|
|
216
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize'
|
|
217
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
218
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
219
|
-
activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
|
220
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache'
|
|
221
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call'
|
|
222
|
-
actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call'
|
|
223
|
-
actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call'
|
|
224
|
-
actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call'
|
|
225
|
-
actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call'
|
|
226
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
227
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
|
228
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
229
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call'
|
|
230
|
-
rails (2.3.0) lib/rails/rack/static.rb:27:in `call'
|
|
231
|
-
rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
232
|
-
rails (2.3.0) lib/commands/server.rb:100
|
|
233
|
-
|
|
234
|
-
Rendered rescues/_trace (152.8ms)
|
|
235
|
-
Rendered rescues/_request_and_response (0.7ms)
|
|
236
|
-
Rendering rescues/layout (internal_server_error)
|
|
237
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
238
|
-
FROM sqlite_master
|
|
239
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
240
|
-
[0m
|
|
241
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:43:17) [GET]
|
|
245
|
-
Parameters: {"lang"=>"ja_JP"}
|
|
246
|
-
Rendering template within layouts/samples
|
|
247
|
-
Rendering samples/index
|
|
248
|
-
|
|
249
|
-
ActionView::TemplateError (undefined method `cgi' for #<ActionController::Request:0x7f25705f0f40>) on line #9 of app/views/samples/index.html.erb:
|
|
250
|
-
6: <tr><th>Variables</th><th>Values</th></tr>
|
|
251
|
-
7: <tr><td>HTTP_ACCEPT_LANGUAGE</td><td> <%= request.accept_language %></td></tr>
|
|
252
|
-
8: <tr><td>HTTP_ACCEPT_CHARSET</td><td> <%= request.accept_charset %></td></tr>
|
|
253
|
-
9: <tr><td>QUERY_STRING</td><td> <%= request.cgi.query_string %></td></tr>
|
|
254
|
-
10: <tr><td>params[:lang]</td><td><%= params[:lang] %></td></tr>
|
|
255
|
-
11: <tr><td>cookies[:lang]</td><td> <%= cookies[:lang] %></td></tr>
|
|
256
|
-
12: <tr><td>I18n.t :hello</td><td> <%= I18n.t :hello %></td></tr>
|
|
257
|
-
|
|
258
|
-
app/views/samples/index.html.erb:9
|
|
259
|
-
actionpack (2.3.0) lib/action_view/renderable.rb:35:in `send'
|
|
260
|
-
actionpack (2.3.0) lib/action_view/renderable.rb:35:in `render'
|
|
261
|
-
actionpack (2.3.0) lib/action_view/template.rb:182:in `render_template'
|
|
262
|
-
actionpack (2.3.0) lib/action_view/base.rb:247:in `render'
|
|
263
|
-
actionpack (2.3.0) lib/action_view/base.rb:318:in `_render_with_layout'
|
|
264
|
-
actionpack (2.3.0) lib/action_view/base.rb:244:in `render'
|
|
265
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1180:in `render_for_file'
|
|
266
|
-
actionpack (2.3.0) lib/action_controller/base.rb:906:in `render_without_benchmark'
|
|
267
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render'
|
|
268
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render'
|
|
269
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1256:in `default_render'
|
|
270
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1262:in `perform_action_without_filters'
|
|
271
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:617:in `call_filters'
|
|
272
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:638:in `run_before_filters'
|
|
273
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call'
|
|
274
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call'
|
|
275
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:635:in `run_before_filters'
|
|
276
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:615:in `call_filters'
|
|
277
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
|
|
278
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
279
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
280
|
-
actionpack (2.3.0) lib/action_controller/rescue.rb:154:in `perform_action_without_flash'
|
|
281
|
-
actionpack (2.3.0) lib/action_controller/flash.rb:141:in `perform_action'
|
|
282
|
-
actionpack (2.3.0) lib/action_controller/base.rb:523:in `send'
|
|
283
|
-
actionpack (2.3.0) lib/action_controller/base.rb:523:in `process_without_filters'
|
|
284
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:606:in `process'
|
|
285
|
-
actionpack (2.3.0) lib/action_controller/base.rb:391:in `process'
|
|
286
|
-
actionpack (2.3.0) lib/action_controller/base.rb:386:in `call'
|
|
287
|
-
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:433:in `call'
|
|
288
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch'
|
|
289
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call'
|
|
290
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize'
|
|
291
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
292
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
293
|
-
activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
|
294
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache'
|
|
295
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call'
|
|
296
|
-
actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call'
|
|
297
|
-
actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call'
|
|
298
|
-
actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call'
|
|
299
|
-
actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call'
|
|
300
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
301
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
|
302
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
303
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call'
|
|
304
|
-
rails (2.3.0) lib/rails/rack/static.rb:27:in `call'
|
|
305
|
-
rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
306
|
-
rails (2.3.0) lib/commands/server.rb:100
|
|
307
|
-
|
|
308
|
-
Rendered rescues/_trace (142.3ms)
|
|
309
|
-
Rendered rescues/_request_and_response (0.6ms)
|
|
310
|
-
Rendering rescues/layout (internal_server_error)
|
|
311
|
-
[4;36;1mSQL (0.9ms)[0m [0;1m SELECT name
|
|
312
|
-
FROM sqlite_master
|
|
313
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
314
|
-
[0m
|
|
315
|
-
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:43:38) [GET]
|
|
319
|
-
Parameters: {"lang"=>"ja_JP"}
|
|
320
|
-
Rendering template within layouts/samples
|
|
321
|
-
Rendering samples/index
|
|
322
|
-
Rendered samples/_part (11.4ms)
|
|
323
|
-
Completed in 27ms (View: 23, DB: 0) | 200 OK [http://localhost/samples?lang=ja_JP]
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:43:45) [GET]
|
|
327
|
-
Parameters: {"lang"=>"ja"}
|
|
328
|
-
Rendering template within layouts/samples
|
|
329
|
-
Rendering samples/index
|
|
330
|
-
Rendered samples/_part (4.8ms)
|
|
331
|
-
Completed in 8ms (View: 7, DB: 0) | 200 OK [http://localhost/samples?lang=ja]
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:43:48) [GET]
|
|
335
|
-
Parameters: {"lang"=>"en"}
|
|
336
|
-
Rendering template within layouts/samples
|
|
337
|
-
Rendering samples/index
|
|
338
|
-
Rendered samples/_part (89.3ms)
|
|
339
|
-
Completed in 92ms (View: 92, DB: 0) | 200 OK [http://localhost/samples?lang=en]
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:43:55) [GET]
|
|
343
|
-
Parameters: {"lang"=>"ar-Jo"}
|
|
344
|
-
Rendering template within layouts/samples
|
|
345
|
-
Rendering samples/index
|
|
346
|
-
Rendered samples/_part (5.5ms)
|
|
347
|
-
Completed in 9ms (View: 8, DB: 0) | 200 OK [http://localhost/samples?lang=ar-Jo]
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:44:00) [GET]
|
|
351
|
-
Parameters: {"lang"=>"ja-JP"}
|
|
352
|
-
Rendering template within layouts/samples
|
|
353
|
-
Rendering samples/index
|
|
354
|
-
Rendered samples/_part (5.6ms)
|
|
355
|
-
Completed in 9ms (View: 8, DB: 0) | 200 OK [http://localhost/samples?lang=ja-JP]
|
|
356
|
-
[4;36;1mSQL (0.9ms)[0m [0;1m SELECT name
|
|
357
|
-
FROM sqlite_master
|
|
358
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
359
|
-
[0m
|
|
360
|
-
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:45:32) [GET]
|
|
364
|
-
Parameters: {"lang"=>"ja-JP"}
|
|
365
|
-
Rendering template within layouts/samples
|
|
366
|
-
Rendering samples/index
|
|
367
|
-
Rendered samples/_part (10.2ms)
|
|
368
|
-
Completed in 19ms (View: 15, DB: 0) | 200 OK [http://localhost/samples?lang=ja-JP]
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:45:38) [GET]
|
|
372
|
-
Parameters: {"lang"=>"ja-JP"}
|
|
373
|
-
Rendering template within layouts/samples
|
|
374
|
-
Rendering samples/index
|
|
375
|
-
Rendered samples/_part (8.6ms)
|
|
376
|
-
Completed in 14ms (View: 13, DB: 0) | 200 OK [http://localhost/samples?lang=ja-JP]
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:45:41) [GET]
|
|
380
|
-
Parameters: {"lang"=>"ja"}
|
|
381
|
-
Rendering template within layouts/samples
|
|
382
|
-
Rendering samples/index
|
|
383
|
-
Rendered samples/_part (5.0ms)
|
|
384
|
-
Completed in 8ms (View: 7, DB: 0) | 200 OK [http://localhost/samples?lang=ja]
|
|
385
|
-
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
|
386
|
-
FROM sqlite_master
|
|
387
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
388
|
-
[0m
|
|
389
|
-
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:46:02) [GET]
|
|
393
|
-
Parameters: {"lang"=>"ja-JP"}
|
|
394
|
-
Rendering template within layouts/samples
|
|
395
|
-
Rendering samples/index
|
|
396
|
-
Rendered samples/_part (6.2ms)
|
|
397
|
-
Completed in 16ms (View: 12, DB: 0) | 200 OK [http://localhost/samples?lang=ja-JP]
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:47:08) [GET]
|
|
401
|
-
Parameters: {"lang"=>"ja"}
|
|
402
|
-
Rendering template within layouts/samples
|
|
403
|
-
Rendering samples/index
|
|
404
|
-
Rendered samples/_part (4.8ms)
|
|
405
|
-
Completed in 8ms (View: 7, DB: 0) | 200 OK [http://localhost/samples?lang=ja]
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:47:14) [GET]
|
|
409
|
-
Parameters: {"lang"=>"en"}
|
|
410
|
-
Rendering template within layouts/samples
|
|
411
|
-
Rendering samples/index
|
|
412
|
-
Rendered samples/_part (7.1ms)
|
|
413
|
-
Completed in 11ms (View: 10, DB: 0) | 200 OK [http://localhost/samples?lang=en]
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:47:18) [GET]
|
|
417
|
-
Parameters: {"lang"=>"ar-JO"}
|
|
418
|
-
Rendering template within layouts/samples
|
|
419
|
-
Rendering samples/index
|
|
420
|
-
Rendered samples/_part (5.4ms)
|
|
421
|
-
Completed in 99ms (View: 19, DB: 0) | 200 OK [http://localhost/samples?lang=ar-JO]
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:47:22) [GET]
|
|
425
|
-
Parameters: {"lang"=>"ja-JP"}
|
|
426
|
-
Rendering template within layouts/samples
|
|
427
|
-
Rendering samples/index
|
|
428
|
-
Rendered samples/_part (8.8ms)
|
|
429
|
-
Completed in 14ms (View: 13, DB: 0) | 200 OK [http://localhost/samples?lang=ja-JP]
|
|
430
|
-
[4;36;1mSQL (0.9ms)[0m [0;1m SELECT name
|
|
431
|
-
FROM sqlite_master
|
|
432
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
433
|
-
[0m
|
|
434
|
-
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:48:11) [GET]
|
|
438
|
-
Parameters: {"lang"=>"ja-JP"}
|
|
439
|
-
Rendering template within layouts/samples
|
|
440
|
-
Rendering samples/index
|
|
441
|
-
Rendered samples/_part (14.6ms)
|
|
442
|
-
Completed in 25ms (View: 21, DB: 0) | 200 OK [http://localhost/samples?lang=ja-JP]
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:48:14) [GET]
|
|
446
|
-
Parameters: {"lang"=>"ja"}
|
|
447
|
-
Rendering template within layouts/samples
|
|
448
|
-
Rendering samples/index
|
|
449
|
-
Rendered samples/_part (5.6ms)
|
|
450
|
-
Completed in 9ms (View: 8, DB: 0) | 200 OK [http://localhost/samples?lang=ja]
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-09 02:48:19) [GET]
|
|
454
|
-
Parameters: {"lang"=>"en"}
|
|
455
|
-
Rendering template within layouts/samples
|
|
456
|
-
Rendering samples/index
|
|
457
|
-
Rendered samples/_part (8.9ms)
|
|
458
|
-
Completed in 114ms (View: 113, DB: 0) | 200 OK [http://localhost/samples?lang=en]
|
|
459
|
-
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
|
460
|
-
FROM sqlite_master
|
|
461
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
462
|
-
[0m
|
|
463
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
Processing ApplicationController#index (for 127.0.0.1 at 2009-03-09 03:12:16) [POST]
|
|
467
|
-
Parameters: {"article"=>{"title"=>"", "description"=>""}, "commit"=>"Create", "authenticity_token"=>"xYCfwLa7IgV4XzBm/NtvtU7co3MPRAe7MAUnSVbtiFo="}
|
|
468
|
-
|
|
469
|
-
ActionController::RoutingError (No route matches "/articles" with {:method=>:post}):
|
|
470
|
-
actionpack (2.3.0) lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'
|
|
471
|
-
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:437:in `recognize'
|
|
472
|
-
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:432:in `call'
|
|
473
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch'
|
|
474
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call'
|
|
475
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize'
|
|
476
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
477
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
478
|
-
activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
|
479
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache'
|
|
480
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call'
|
|
481
|
-
actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call'
|
|
482
|
-
actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call'
|
|
483
|
-
actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call'
|
|
484
|
-
actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call'
|
|
485
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
486
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
|
487
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
488
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call'
|
|
489
|
-
rails (2.3.0) lib/rails/rack/static.rb:27:in `call'
|
|
490
|
-
rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
491
|
-
rails (2.3.0) lib/commands/server.rb:100
|
|
492
|
-
|
|
493
|
-
Rendering rescues/layout (not_found)
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
Processing ApplicationController#index (for 127.0.0.1 at 2009-03-09 03:12:19) [GET]
|
|
497
|
-
|
|
498
|
-
ActionController::RoutingError (No route matches "/articles" with {:method=>:get}):
|
|
499
|
-
actionpack (2.3.0) lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'
|
|
500
|
-
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:437:in `recognize'
|
|
501
|
-
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:432:in `call'
|
|
502
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch'
|
|
503
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call'
|
|
504
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize'
|
|
505
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
506
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
507
|
-
activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
|
508
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache'
|
|
509
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call'
|
|
510
|
-
actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call'
|
|
511
|
-
actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call'
|
|
512
|
-
actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call'
|
|
513
|
-
actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call'
|
|
514
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
515
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
|
516
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
517
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call'
|
|
518
|
-
rails (2.3.0) lib/rails/rack/static.rb:27:in `call'
|
|
519
|
-
rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
520
|
-
rails (2.3.0) lib/commands/server.rb:100
|
|
521
|
-
|
|
522
|
-
Rendering rescues/layout (not_found)
|
|
523
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
524
|
-
FROM sqlite_master
|
|
525
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
526
|
-
[0m
|
|
527
|
-
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
Processing ApplicationController#index (for 127.0.0.1 at 2009-03-10 22:35:13) [GET]
|
|
531
|
-
|
|
532
|
-
ActionController::RoutingError (No route matches "/articles" with {:method=>:get}):
|
|
533
|
-
actionpack (2.3.0) lib/action_controller/routing/recognition_optimisation.rb:66:in `recognize_path'
|
|
534
|
-
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:437:in `recognize'
|
|
535
|
-
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:432:in `call'
|
|
536
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch'
|
|
537
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call'
|
|
538
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize'
|
|
539
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
540
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
541
|
-
activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
|
542
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache'
|
|
543
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call'
|
|
544
|
-
actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call'
|
|
545
|
-
actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call'
|
|
546
|
-
actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call'
|
|
547
|
-
actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call'
|
|
548
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
549
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
|
550
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
551
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call'
|
|
552
|
-
rails (2.3.0) lib/rails/rack/static.rb:27:in `call'
|
|
553
|
-
rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
554
|
-
rails (2.3.0) lib/commands/server.rb:100
|
|
555
|
-
|
|
556
|
-
Rendering rescues/layout (not_found)
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:35:25) [GET]
|
|
560
|
-
Rendering template within layouts/samples
|
|
561
|
-
Rendering samples/index
|
|
562
|
-
Rendered samples/_part (9.4ms)
|
|
563
|
-
Completed in 107ms (View: 102, DB: 0) | 200 OK [http://localhost/]
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:35:32) [GET]
|
|
567
|
-
Parameters: {"lang"=>"fr"}
|
|
568
|
-
Rendering template within layouts/samples
|
|
569
|
-
Rendering samples/index
|
|
570
|
-
Rendered samples/_part (88.5ms)
|
|
571
|
-
Completed in 93ms (View: 92, DB: 0) | 200 OK [http://localhost/samples?lang=fr]
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
Processing SamplesController#set_cookie (for 127.0.0.1 at 2009-03-10 22:35:36) [GET]
|
|
575
|
-
Parameters: {"id"=>"zh_CN"}
|
|
576
|
-
Redirected to actionindex
|
|
577
|
-
Completed in 3ms (DB: 0) | 302 Found [http://localhost/samples/set_cookie/zh_CN]
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:35:36) [GET]
|
|
581
|
-
Rendering template within layouts/samples
|
|
582
|
-
Rendering samples/index
|
|
583
|
-
Rendered samples/_part (5.3ms)
|
|
584
|
-
Completed in 10ms (View: 8, DB: 0) | 200 OK [http://localhost/samples]
|
|
585
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
586
|
-
FROM sqlite_master
|
|
587
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
588
|
-
[0m
|
|
589
|
-
[4;35;1mSQL (0.3ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:40:30) [GET]
|
|
593
|
-
Rendering template within layouts/samples
|
|
594
|
-
Rendering samples/index
|
|
595
|
-
ERROR: compiling _run_erb_app47views47samples47index46html46erb RAISED compile error
|
|
596
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unknown regexp option - h
|
|
597
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unmatched ): /p>
|
|
598
|
-
|
|
599
|
-
<%= render :partial => 'part' ).to_s); @output_buffer.concat "\n\n<h2>Separate Localized View template file in each languages</
|
|
600
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tINTEGER, expecting ')'
|
|
601
|
-
...ate file in each languages</h2>\n<p>View template can be sep...
|
|
602
|
-
^
|
|
603
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
|
|
604
|
-
...nguages</h2>\n<p>View template can be separeted with languag...
|
|
605
|
-
^
|
|
606
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined
|
|
607
|
-
...eted with language tags.</p> \n<ol>\n <li>"
|
|
608
|
-
^
|
|
609
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined
|
|
610
|
-
...ith language tags.</p> \n<ol>\n <li>"
|
|
611
|
-
^
|
|
612
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
613
|
-
...buffer.concat(( link_to "uz_UZ has special index page(index_...
|
|
614
|
-
^
|
|
615
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tSTRING_BEG, expecting ')'
|
|
616
|
-
...ex page(index_uz_UZ.html.erb)", :controller => :samples, :ac...
|
|
617
|
-
^
|
|
618
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
619
|
-
...ion => :index, :lang => "uz_UZ" ).to_s); @output_buffer.conc...
|
|
620
|
-
^
|
|
621
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: unknown regexp option - l
|
|
622
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: syntax error, unexpected $undefined
|
|
623
|
-
... @output_buffer.concat "</li>\n <li>"
|
|
624
|
-
^
|
|
625
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
626
|
-
...ut_buffer.concat(( link_to "nl has special _part page(_part_...
|
|
627
|
-
^
|
|
628
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tSTRING_BEG, expecting ')'
|
|
629
|
-
..._part page(_part_nl.html.erb)", :controller => :samples, :ac...
|
|
630
|
-
^
|
|
631
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
632
|
-
...action => :index, :lang => "nl" ).to_s); @output_buffer.conc...
|
|
633
|
-
^
|
|
634
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unknown regexp option - l
|
|
635
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: syntax error, unexpected $undefined
|
|
636
|
-
... @output_buffer.concat "</li>\n</ol>\n\n"
|
|
637
|
-
^
|
|
638
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unterminated string meets end of file
|
|
639
|
-
/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
|
|
640
|
-
Function body: def _run_erb_app47views47samples47index46html46erb(local_assigns)
|
|
641
|
-
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> "
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
; @output_buffer.concat(( request.accept_language ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>HTTP_ACCEPT_CHARSET</td><td> "
|
|
648
|
-
; @output_buffer.concat(( request.accept_charset ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>QUERY_STRING</td><td> "
|
|
649
|
-
; @output_buffer.concat(( request.query_string ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>params[:lang]</td><td>"
|
|
650
|
-
; @output_buffer.concat(( params[:lang] ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>cookies[:lang]</td><td> "
|
|
651
|
-
; @output_buffer.concat(( cookies[:lang] ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>I18n.t :hello (*1)</td><td> "
|
|
652
|
-
; @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 "
|
|
653
|
-
|
|
654
|
-
; @output_buffer.concat(( Dir.glob(File.join(RAILS_ROOT, "config/locales/*.yml")).collect {|v| File.basename(v, ".yml")} </p>
|
|
655
|
-
|
|
656
|
-
<%= 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>"
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
; @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>"
|
|
662
|
-
; @output_buffer.concat(( link_to "uz uses normal index page", :controller => :samples, :action => :index, :lang => "uz" ).to_s); @output_buffer.concat "</li>\n <li>"
|
|
663
|
-
; @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>"
|
|
664
|
-
; @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"
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
; @output_buffer
|
|
668
|
-
ensure
|
|
669
|
-
self.output_buffer = old_output_buffer
|
|
670
|
-
end
|
|
671
|
-
Backtrace: /home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24:in `compile!'
|
|
672
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/renderable.rb:64:in `compile'
|
|
673
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/renderable.rb:27:in `render'
|
|
674
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/template.rb:182:in `render_template'
|
|
675
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:247:in `render'
|
|
676
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:318:in `_render_with_layout'
|
|
677
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:244:in `render'
|
|
678
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1180:in `render_for_file'
|
|
679
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:906:in `render_without_benchmark'
|
|
680
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in `render'
|
|
681
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms'
|
|
682
|
-
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
|
|
683
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms'
|
|
684
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in `render'
|
|
685
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1256:in `default_render'
|
|
686
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1262:in `perform_action_without_filters'
|
|
687
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:617:in `call_filters'
|
|
688
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:638:in `run_before_filters'
|
|
689
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:189:in `call'
|
|
690
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:189:in `call'
|
|
691
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:635:in `run_before_filters'
|
|
692
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:615:in `call_filters'
|
|
693
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
|
|
694
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
695
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms'
|
|
696
|
-
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
|
|
697
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms'
|
|
698
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
699
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rescue.rb:154:in `perform_action_without_flash'
|
|
700
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/flash.rb:141:in `perform_action'
|
|
701
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in `send'
|
|
702
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in `process_without_filters'
|
|
703
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:606:in `process'
|
|
704
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:391:in `process'
|
|
705
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:386:in `call'
|
|
706
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/routing/route_set.rb:433:in `call'
|
|
707
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:65:in `dispatch'
|
|
708
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:88:in `_call'
|
|
709
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:59:in `initialize'
|
|
710
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:29:in `call'
|
|
711
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:29:in `call'
|
|
712
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
|
713
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:9:in `cache'
|
|
714
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:28:in `call'
|
|
715
|
-
/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/head.rb:9:in `call'
|
|
716
|
-
/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/methodoverride.rb:24:in `call'
|
|
717
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/params_parser.rb:15:in `call'
|
|
718
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rewindable_input.rb:25:in `call'
|
|
719
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/session/cookie_store.rb:93:in `call'
|
|
720
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/failsafe.rb:11:in `call'
|
|
721
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
722
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
|
723
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
724
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:83:in `call'
|
|
725
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/rails/rack/static.rb:27:in `call'
|
|
726
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/rails/rack/log_tailer.rb:17:in `call'
|
|
727
|
-
/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/mongrel.rb:59:in `process'
|
|
728
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
|
|
729
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
|
|
730
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
|
|
731
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
|
|
732
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
|
|
733
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
|
|
734
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
|
|
735
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
|
|
736
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
|
|
737
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
|
|
738
|
-
/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/mongrel.rb:32:in `run'
|
|
739
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/commands/server.rb:100
|
|
740
|
-
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
|
|
741
|
-
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
|
|
742
|
-
script/server:3
|
|
743
|
-
|
|
744
|
-
ActionView::TemplateError (compile error
|
|
745
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unknown regexp option - h
|
|
746
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unmatched ): /p>
|
|
747
|
-
|
|
748
|
-
<%= render :partial => 'part' ).to_s); @output_buffer.concat "\n\n<h2>Separate Localized View template file in each languages</
|
|
749
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tINTEGER, expecting ')'
|
|
750
|
-
...ate file in each languages</h2>\n<p>View template can be sep...
|
|
751
|
-
^
|
|
752
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
|
|
753
|
-
...nguages</h2>\n<p>View template can be separeted with languag...
|
|
754
|
-
^
|
|
755
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined
|
|
756
|
-
...eted with language tags.</p> \n<ol>\n <li>"
|
|
757
|
-
^
|
|
758
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined
|
|
759
|
-
...ith language tags.</p> \n<ol>\n <li>"
|
|
760
|
-
^
|
|
761
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
762
|
-
...buffer.concat(( link_to "uz_UZ has special index page(index_...
|
|
763
|
-
^
|
|
764
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tSTRING_BEG, expecting ')'
|
|
765
|
-
...ex page(index_uz_UZ.html.erb)", :controller => :samples, :ac...
|
|
766
|
-
^
|
|
767
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
768
|
-
...ion => :index, :lang => "uz_UZ" ).to_s); @output_buffer.conc...
|
|
769
|
-
^
|
|
770
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: unknown regexp option - l
|
|
771
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: syntax error, unexpected $undefined
|
|
772
|
-
... @output_buffer.concat "</li>\n <li>"
|
|
773
|
-
^
|
|
774
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
775
|
-
...ut_buffer.concat(( link_to "nl has special _part page(_part_...
|
|
776
|
-
^
|
|
777
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tSTRING_BEG, expecting ')'
|
|
778
|
-
..._part page(_part_nl.html.erb)", :controller => :samples, :ac...
|
|
779
|
-
^
|
|
780
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
781
|
-
...action => :index, :lang => "nl" ).to_s); @output_buffer.conc...
|
|
782
|
-
^
|
|
783
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unknown regexp option - l
|
|
784
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: syntax error, unexpected $undefined
|
|
785
|
-
... @output_buffer.concat "</li>\n</ol>\n\n"
|
|
786
|
-
^
|
|
787
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unterminated string meets end of file
|
|
788
|
-
/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:
|
|
789
|
-
13: </table>
|
|
790
|
-
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>
|
|
791
|
-
15:
|
|
792
|
-
16: <%= render :partial => 'part' %>
|
|
793
|
-
17:
|
|
794
|
-
18: <h2>Separate Localized View template file in each languages</h2>
|
|
795
|
-
19: <p>View template can be separeted with language tags.</p>
|
|
796
|
-
|
|
797
|
-
app/views/samples/index.html.erb:24:in `compile!'
|
|
798
|
-
actionpack (2.3.0) lib/action_view/renderable.rb:64:in `compile'
|
|
799
|
-
actionpack (2.3.0) lib/action_view/renderable.rb:27:in `render'
|
|
800
|
-
actionpack (2.3.0) lib/action_view/template.rb:182:in `render_template'
|
|
801
|
-
actionpack (2.3.0) lib/action_view/base.rb:247:in `render'
|
|
802
|
-
actionpack (2.3.0) lib/action_view/base.rb:318:in `_render_with_layout'
|
|
803
|
-
actionpack (2.3.0) lib/action_view/base.rb:244:in `render'
|
|
804
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1180:in `render_for_file'
|
|
805
|
-
actionpack (2.3.0) lib/action_controller/base.rb:906:in `render_without_benchmark'
|
|
806
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render'
|
|
807
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render'
|
|
808
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1256:in `default_render'
|
|
809
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1262:in `perform_action_without_filters'
|
|
810
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:617:in `call_filters'
|
|
811
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:638:in `run_before_filters'
|
|
812
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call'
|
|
813
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call'
|
|
814
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:635:in `run_before_filters'
|
|
815
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:615:in `call_filters'
|
|
816
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
|
|
817
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
818
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
819
|
-
actionpack (2.3.0) lib/action_controller/rescue.rb:154:in `perform_action_without_flash'
|
|
820
|
-
actionpack (2.3.0) lib/action_controller/flash.rb:141:in `perform_action'
|
|
821
|
-
actionpack (2.3.0) lib/action_controller/base.rb:523:in `send'
|
|
822
|
-
actionpack (2.3.0) lib/action_controller/base.rb:523:in `process_without_filters'
|
|
823
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:606:in `process'
|
|
824
|
-
actionpack (2.3.0) lib/action_controller/base.rb:391:in `process'
|
|
825
|
-
actionpack (2.3.0) lib/action_controller/base.rb:386:in `call'
|
|
826
|
-
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:433:in `call'
|
|
827
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch'
|
|
828
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call'
|
|
829
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize'
|
|
830
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
831
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
832
|
-
activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
|
833
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache'
|
|
834
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call'
|
|
835
|
-
actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call'
|
|
836
|
-
actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call'
|
|
837
|
-
actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call'
|
|
838
|
-
actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call'
|
|
839
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
840
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
|
841
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
842
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call'
|
|
843
|
-
rails (2.3.0) lib/rails/rack/static.rb:27:in `call'
|
|
844
|
-
rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
845
|
-
rails (2.3.0) lib/commands/server.rb:100
|
|
846
|
-
|
|
847
|
-
Rendered rescues/_trace (148.6ms)
|
|
848
|
-
Rendered rescues/_request_and_response (0.6ms)
|
|
849
|
-
Rendering rescues/layout (internal_server_error)
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:40:41) [GET]
|
|
853
|
-
Rendering template within layouts/samples
|
|
854
|
-
Rendering samples/index
|
|
855
|
-
ERROR: compiling _run_erb_app47views47samples47index46html46erb RAISED compile error
|
|
856
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unknown regexp option - h
|
|
857
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unmatched ): /p>
|
|
858
|
-
|
|
859
|
-
<%= render :partial => 'part' ).to_s); @output_buffer.concat "\n\n<h2>Separate Localized View template file in each languages</
|
|
860
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tINTEGER, expecting ')'
|
|
861
|
-
...ate file in each languages</h2>\n<p>View template can be sep...
|
|
862
|
-
^
|
|
863
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
|
|
864
|
-
...nguages</h2>\n<p>View template can be separeted with languag...
|
|
865
|
-
^
|
|
866
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined
|
|
867
|
-
...eted with language tags.</p> \n<ol>\n <li>"
|
|
868
|
-
^
|
|
869
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined
|
|
870
|
-
...ith language tags.</p> \n<ol>\n <li>"
|
|
871
|
-
^
|
|
872
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
873
|
-
...buffer.concat(( link_to "uz_UZ has special index page(index_...
|
|
874
|
-
^
|
|
875
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tSTRING_BEG, expecting ')'
|
|
876
|
-
...ex page(index_uz_UZ.html.erb)", :controller => :samples, :ac...
|
|
877
|
-
^
|
|
878
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
879
|
-
...ion => :index, :lang => "uz_UZ" ).to_s); @output_buffer.conc...
|
|
880
|
-
^
|
|
881
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: unknown regexp option - l
|
|
882
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: syntax error, unexpected $undefined
|
|
883
|
-
... @output_buffer.concat "</li>\n <li>"
|
|
884
|
-
^
|
|
885
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
886
|
-
...ut_buffer.concat(( link_to "nl has special _part page(_part_...
|
|
887
|
-
^
|
|
888
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tSTRING_BEG, expecting ')'
|
|
889
|
-
..._part page(_part_nl.html.erb)", :controller => :samples, :ac...
|
|
890
|
-
^
|
|
891
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
892
|
-
...action => :index, :lang => "nl" ).to_s); @output_buffer.conc...
|
|
893
|
-
^
|
|
894
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unknown regexp option - l
|
|
895
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: syntax error, unexpected $undefined
|
|
896
|
-
... @output_buffer.concat "</li>\n</ol>\n\n"
|
|
897
|
-
^
|
|
898
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unterminated string meets end of file
|
|
899
|
-
/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
|
|
900
|
-
Function body: def _run_erb_app47views47samples47index46html46erb(local_assigns)
|
|
901
|
-
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> "
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
; @output_buffer.concat(( request.accept_language ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>HTTP_ACCEPT_CHARSET</td><td> "
|
|
908
|
-
; @output_buffer.concat(( request.accept_charset ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>QUERY_STRING</td><td> "
|
|
909
|
-
; @output_buffer.concat(( request.query_string ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>params[:lang]</td><td>"
|
|
910
|
-
; @output_buffer.concat(( params[:lang] ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>cookies[:lang]</td><td> "
|
|
911
|
-
; @output_buffer.concat(( cookies[:lang] ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>I18n.t :hello (*1)</td><td> "
|
|
912
|
-
; @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 "
|
|
913
|
-
|
|
914
|
-
; @output_buffer.concat(( Dir.glob(File.join(RAILS_ROOT, "config/locales/*.yml")).collect {|v| File.basename(v, ".yml")} </p>
|
|
915
|
-
|
|
916
|
-
<%= 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>"
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
; @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>"
|
|
922
|
-
; @output_buffer.concat(( link_to "uz uses normal index page", :controller => :samples, :action => :index, :lang => "uz" ).to_s); @output_buffer.concat "</li>\n <li>"
|
|
923
|
-
; @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>"
|
|
924
|
-
; @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"
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
; @output_buffer
|
|
928
|
-
ensure
|
|
929
|
-
self.output_buffer = old_output_buffer
|
|
930
|
-
end
|
|
931
|
-
Backtrace: /home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24:in `compile!'
|
|
932
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/renderable.rb:64:in `compile'
|
|
933
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/renderable.rb:27:in `render'
|
|
934
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/template.rb:182:in `render_template'
|
|
935
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:247:in `render'
|
|
936
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:318:in `_render_with_layout'
|
|
937
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:244:in `render'
|
|
938
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1180:in `render_for_file'
|
|
939
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:906:in `render_without_benchmark'
|
|
940
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in `render'
|
|
941
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms'
|
|
942
|
-
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
|
|
943
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms'
|
|
944
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in `render'
|
|
945
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1256:in `default_render'
|
|
946
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1262:in `perform_action_without_filters'
|
|
947
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:617:in `call_filters'
|
|
948
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:638:in `run_before_filters'
|
|
949
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:189:in `call'
|
|
950
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:189:in `call'
|
|
951
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:635:in `run_before_filters'
|
|
952
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:615:in `call_filters'
|
|
953
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
|
|
954
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
955
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms'
|
|
956
|
-
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
|
|
957
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms'
|
|
958
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
959
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rescue.rb:154:in `perform_action_without_flash'
|
|
960
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/flash.rb:141:in `perform_action'
|
|
961
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in `send'
|
|
962
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in `process_without_filters'
|
|
963
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:606:in `process'
|
|
964
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:391:in `process'
|
|
965
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:386:in `call'
|
|
966
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/routing/route_set.rb:433:in `call'
|
|
967
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:65:in `dispatch'
|
|
968
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:88:in `_call'
|
|
969
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:59:in `initialize'
|
|
970
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:29:in `call'
|
|
971
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:29:in `call'
|
|
972
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
|
973
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:9:in `cache'
|
|
974
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:28:in `call'
|
|
975
|
-
/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/head.rb:9:in `call'
|
|
976
|
-
/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/methodoverride.rb:24:in `call'
|
|
977
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/params_parser.rb:15:in `call'
|
|
978
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rewindable_input.rb:25:in `call'
|
|
979
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/session/cookie_store.rb:93:in `call'
|
|
980
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/failsafe.rb:11:in `call'
|
|
981
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
982
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
|
983
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
984
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:83:in `call'
|
|
985
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/rails/rack/static.rb:27:in `call'
|
|
986
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/rails/rack/log_tailer.rb:17:in `call'
|
|
987
|
-
/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/mongrel.rb:59:in `process'
|
|
988
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
|
|
989
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
|
|
990
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
|
|
991
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
|
|
992
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
|
|
993
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
|
|
994
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
|
|
995
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
|
|
996
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
|
|
997
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
|
|
998
|
-
/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/mongrel.rb:32:in `run'
|
|
999
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/commands/server.rb:100
|
|
1000
|
-
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
|
|
1001
|
-
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
|
|
1002
|
-
script/server:3
|
|
1003
|
-
|
|
1004
|
-
ActionView::TemplateError (compile error
|
|
1005
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unknown regexp option - h
|
|
1006
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: unmatched ): /p>
|
|
1007
|
-
|
|
1008
|
-
<%= render :partial => 'part' ).to_s); @output_buffer.concat "\n\n<h2>Separate Localized View template file in each languages</
|
|
1009
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tINTEGER, expecting ')'
|
|
1010
|
-
...ate file in each languages</h2>\n<p>View template can be sep...
|
|
1011
|
-
^
|
|
1012
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected tIDENTIFIER, expecting kDO or '{' or '('
|
|
1013
|
-
...nguages</h2>\n<p>View template can be separeted with languag...
|
|
1014
|
-
^
|
|
1015
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined
|
|
1016
|
-
...eted with language tags.</p> \n<ol>\n <li>"
|
|
1017
|
-
^
|
|
1018
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected $undefined
|
|
1019
|
-
...ith language tags.</p> \n<ol>\n <li>"
|
|
1020
|
-
^
|
|
1021
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
1022
|
-
...buffer.concat(( link_to "uz_UZ has special index page(index_...
|
|
1023
|
-
^
|
|
1024
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tSTRING_BEG, expecting ')'
|
|
1025
|
-
...ex page(index_uz_UZ.html.erb)", :controller => :samples, :ac...
|
|
1026
|
-
^
|
|
1027
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:21: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
1028
|
-
...ion => :index, :lang => "uz_UZ" ).to_s); @output_buffer.conc...
|
|
1029
|
-
^
|
|
1030
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: unknown regexp option - l
|
|
1031
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:22: syntax error, unexpected $undefined
|
|
1032
|
-
... @output_buffer.concat "</li>\n <li>"
|
|
1033
|
-
^
|
|
1034
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
1035
|
-
...ut_buffer.concat(( link_to "nl has special _part page(_part_...
|
|
1036
|
-
^
|
|
1037
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tSTRING_BEG, expecting ')'
|
|
1038
|
-
..._part page(_part_nl.html.erb)", :controller => :samples, :ac...
|
|
1039
|
-
^
|
|
1040
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:23: syntax error, unexpected tIDENTIFIER, expecting ')'
|
|
1041
|
-
...action => :index, :lang => "nl" ).to_s); @output_buffer.conc...
|
|
1042
|
-
^
|
|
1043
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unknown regexp option - l
|
|
1044
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: syntax error, unexpected $undefined
|
|
1045
|
-
... @output_buffer.concat "</li>\n</ol>\n\n"
|
|
1046
|
-
^
|
|
1047
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:24: unterminated string meets end of file
|
|
1048
|
-
/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:
|
|
1049
|
-
13: </table>
|
|
1050
|
-
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>
|
|
1051
|
-
15:
|
|
1052
|
-
16: <%= render :partial => 'part' %>
|
|
1053
|
-
17:
|
|
1054
|
-
18: <h2>Separate Localized View template file in each languages</h2>
|
|
1055
|
-
19: <p>View template can be separeted with language tags.</p>
|
|
1056
|
-
|
|
1057
|
-
app/views/samples/index.html.erb:24:in `compile!'
|
|
1058
|
-
actionpack (2.3.0) lib/action_view/renderable.rb:64:in `compile'
|
|
1059
|
-
actionpack (2.3.0) lib/action_view/renderable.rb:27:in `render'
|
|
1060
|
-
actionpack (2.3.0) lib/action_view/template.rb:182:in `render_template'
|
|
1061
|
-
actionpack (2.3.0) lib/action_view/base.rb:247:in `render'
|
|
1062
|
-
actionpack (2.3.0) lib/action_view/base.rb:318:in `_render_with_layout'
|
|
1063
|
-
actionpack (2.3.0) lib/action_view/base.rb:244:in `render'
|
|
1064
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1180:in `render_for_file'
|
|
1065
|
-
actionpack (2.3.0) lib/action_controller/base.rb:906:in `render_without_benchmark'
|
|
1066
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render'
|
|
1067
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render'
|
|
1068
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1256:in `default_render'
|
|
1069
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1262:in `perform_action_without_filters'
|
|
1070
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:617:in `call_filters'
|
|
1071
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:638:in `run_before_filters'
|
|
1072
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call'
|
|
1073
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call'
|
|
1074
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:635:in `run_before_filters'
|
|
1075
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:615:in `call_filters'
|
|
1076
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
|
|
1077
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
1078
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
1079
|
-
actionpack (2.3.0) lib/action_controller/rescue.rb:154:in `perform_action_without_flash'
|
|
1080
|
-
actionpack (2.3.0) lib/action_controller/flash.rb:141:in `perform_action'
|
|
1081
|
-
actionpack (2.3.0) lib/action_controller/base.rb:523:in `send'
|
|
1082
|
-
actionpack (2.3.0) lib/action_controller/base.rb:523:in `process_without_filters'
|
|
1083
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:606:in `process'
|
|
1084
|
-
actionpack (2.3.0) lib/action_controller/base.rb:391:in `process'
|
|
1085
|
-
actionpack (2.3.0) lib/action_controller/base.rb:386:in `call'
|
|
1086
|
-
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:433:in `call'
|
|
1087
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch'
|
|
1088
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call'
|
|
1089
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize'
|
|
1090
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
1091
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
1092
|
-
activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
|
1093
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache'
|
|
1094
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call'
|
|
1095
|
-
actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call'
|
|
1096
|
-
actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call'
|
|
1097
|
-
actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call'
|
|
1098
|
-
actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call'
|
|
1099
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
1100
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
|
1101
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
1102
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call'
|
|
1103
|
-
rails (2.3.0) lib/rails/rack/static.rb:27:in `call'
|
|
1104
|
-
rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
1105
|
-
rails (2.3.0) lib/commands/server.rb:100
|
|
1106
|
-
|
|
1107
|
-
Rendered rescues/_trace (34.9ms)
|
|
1108
|
-
Rendered rescues/_request_and_response (0.3ms)
|
|
1109
|
-
Rendering rescues/layout (internal_server_error)
|
|
1110
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
1111
|
-
FROM sqlite_master
|
|
1112
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1113
|
-
[0m
|
|
1114
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:41:16) [GET]
|
|
1118
|
-
Rendering template within layouts/samples
|
|
1119
|
-
Rendering samples/index
|
|
1120
|
-
Rendered samples/_part (11.1ms)
|
|
1121
|
-
Completed in 22ms (View: 17, DB: 0) | 200 OK [http://localhost/samples]
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:42:25) [GET]
|
|
1125
|
-
Rendering template within layouts/samples
|
|
1126
|
-
Rendering samples/index
|
|
1127
|
-
Rendered samples/_part (9.3ms)
|
|
1128
|
-
Completed in 16ms (View: 14, DB: 0) | 200 OK [http://localhost/samples]
|
|
1129
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
1130
|
-
FROM sqlite_master
|
|
1131
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1132
|
-
[0m
|
|
1133
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:42:37) [GET]
|
|
1137
|
-
Rendering template within layouts/samples
|
|
1138
|
-
Rendering samples/index
|
|
1139
|
-
ERROR: compiling _run_erb_app47views47samples47index46html46erb RAISED compile error
|
|
1140
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected ')', expecting '}'
|
|
1141
|
-
...{File.basename(v, ".yml")}]" ).to_s); @output_buffer.concat ...
|
|
1142
|
-
^
|
|
1143
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:31: syntax error, unexpected kENSURE, expecting '}'
|
|
1144
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:33: syntax error, unexpected kEND, expecting '}'
|
|
1145
|
-
Function body: def _run_erb_app47views47samples47index46html46erb(local_assigns)
|
|
1146
|
-
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> "
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
; @output_buffer.concat(( request.accept_language ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>HTTP_ACCEPT_CHARSET</td><td> "
|
|
1153
|
-
; @output_buffer.concat(( request.accept_charset ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>QUERY_STRING</td><td> "
|
|
1154
|
-
; @output_buffer.concat(( request.query_string ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>params[:lang]</td><td>"
|
|
1155
|
-
; @output_buffer.concat(( params[:lang] ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>cookies[:lang]</td><td> "
|
|
1156
|
-
; @output_buffer.concat(( cookies[:lang] ).to_s); @output_buffer.concat "</td></tr>\n <tr><td>I18n.t :hello (*1)</td><td> "
|
|
1157
|
-
; @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, "
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
; @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"
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
; @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>"
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
; @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>"
|
|
1170
|
-
; @output_buffer.concat(( link_to "uz uses normal index page", :controller => :samples, :action => :index, :lang => "uz" ).to_s); @output_buffer.concat "</li>\n <li>"
|
|
1171
|
-
; @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>"
|
|
1172
|
-
; @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"
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
; @output_buffer
|
|
1176
|
-
ensure
|
|
1177
|
-
self.output_buffer = old_output_buffer
|
|
1178
|
-
end
|
|
1179
|
-
Backtrace: /home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:33:in `compile!'
|
|
1180
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/renderable.rb:64:in `compile'
|
|
1181
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/renderable.rb:27:in `render'
|
|
1182
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/template.rb:182:in `render_template'
|
|
1183
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:247:in `render'
|
|
1184
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:318:in `_render_with_layout'
|
|
1185
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_view/base.rb:244:in `render'
|
|
1186
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1180:in `render_for_file'
|
|
1187
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:906:in `render_without_benchmark'
|
|
1188
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in `render'
|
|
1189
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms'
|
|
1190
|
-
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
|
|
1191
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms'
|
|
1192
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:51:in `render'
|
|
1193
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1256:in `default_render'
|
|
1194
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:1262:in `perform_action_without_filters'
|
|
1195
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:617:in `call_filters'
|
|
1196
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:638:in `run_before_filters'
|
|
1197
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:189:in `call'
|
|
1198
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:189:in `call'
|
|
1199
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:635:in `run_before_filters'
|
|
1200
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:615:in `call_filters'
|
|
1201
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
|
|
1202
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
1203
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms'
|
|
1204
|
-
/usr/lib/ruby/1.8/benchmark.rb:308:in `realtime'
|
|
1205
|
-
/usr/lib/ruby/gems/1.8/gems/activesupport-2.3.0/lib/active_support/core_ext/benchmark.rb:17:in `ms'
|
|
1206
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
1207
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rescue.rb:154:in `perform_action_without_flash'
|
|
1208
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/flash.rb:141:in `perform_action'
|
|
1209
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in `send'
|
|
1210
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:523:in `process_without_filters'
|
|
1211
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/filters.rb:606:in `process'
|
|
1212
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:391:in `process'
|
|
1213
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/base.rb:386:in `call'
|
|
1214
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/routing/route_set.rb:433:in `call'
|
|
1215
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:65:in `dispatch'
|
|
1216
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:88:in `_call'
|
|
1217
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:59:in `initialize'
|
|
1218
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:29:in `call'
|
|
1219
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:29:in `call'
|
|
1220
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
|
1221
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:9:in `cache'
|
|
1222
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.0/lib/active_record/query_cache.rb:28:in `call'
|
|
1223
|
-
/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/head.rb:9:in `call'
|
|
1224
|
-
/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/methodoverride.rb:24:in `call'
|
|
1225
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/params_parser.rb:15:in `call'
|
|
1226
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rewindable_input.rb:25:in `call'
|
|
1227
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/session/cookie_store.rb:93:in `call'
|
|
1228
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/failsafe.rb:11:in `call'
|
|
1229
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
1230
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
|
1231
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
1232
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.0/lib/action_controller/dispatcher.rb:83:in `call'
|
|
1233
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/rails/rack/static.rb:27:in `call'
|
|
1234
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/rails/rack/log_tailer.rb:17:in `call'
|
|
1235
|
-
/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/mongrel.rb:59:in `process'
|
|
1236
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
|
|
1237
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
|
|
1238
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
|
|
1239
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
|
|
1240
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
|
|
1241
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
|
|
1242
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
|
|
1243
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
|
|
1244
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
|
|
1245
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
|
|
1246
|
-
/usr/lib/ruby/gems/1.8/gems/rack-0.9.1/lib/rack/handler/mongrel.rb:32:in `run'
|
|
1247
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.3.0/lib/commands/server.rb:100
|
|
1248
|
-
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
|
|
1249
|
-
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
|
|
1250
|
-
script/server:3
|
|
1251
|
-
|
|
1252
|
-
ActionView::TemplateError (compile error
|
|
1253
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:16: syntax error, unexpected ')', expecting '}'
|
|
1254
|
-
...{File.basename(v, ".yml")}]" ).to_s); @output_buffer.concat ...
|
|
1255
|
-
^
|
|
1256
|
-
/home/mutoh/dev/git/locale_rails/sample/app/views/samples/index.html.erb:31: syntax error, unexpected kENSURE, expecting '}'
|
|
1257
|
-
/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:
|
|
1258
|
-
13: </table>
|
|
1259
|
-
14: <p>
|
|
1260
|
-
15: (*1) Fallback to "en" if the localized message is not found in the locale. <br/>
|
|
1261
|
-
16: Currently, <%= Dir.glob(File.join(RAILS_ROOT, "config/locales/*.yml")).collect {|v| "[#{File.basename(v, ".yml")}]" %> are supported.
|
|
1262
|
-
17: </p>
|
|
1263
|
-
18:
|
|
1264
|
-
19: <%= render :partial => 'part' %>
|
|
1265
|
-
|
|
1266
|
-
app/views/samples/index.html.erb:33:in `compile!'
|
|
1267
|
-
actionpack (2.3.0) lib/action_view/renderable.rb:64:in `compile'
|
|
1268
|
-
actionpack (2.3.0) lib/action_view/renderable.rb:27:in `render'
|
|
1269
|
-
actionpack (2.3.0) lib/action_view/template.rb:182:in `render_template'
|
|
1270
|
-
actionpack (2.3.0) lib/action_view/base.rb:247:in `render'
|
|
1271
|
-
actionpack (2.3.0) lib/action_view/base.rb:318:in `_render_with_layout'
|
|
1272
|
-
actionpack (2.3.0) lib/action_view/base.rb:244:in `render'
|
|
1273
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1180:in `render_for_file'
|
|
1274
|
-
actionpack (2.3.0) lib/action_controller/base.rb:906:in `render_without_benchmark'
|
|
1275
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render'
|
|
1276
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:51:in `render'
|
|
1277
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1256:in `default_render'
|
|
1278
|
-
actionpack (2.3.0) lib/action_controller/base.rb:1262:in `perform_action_without_filters'
|
|
1279
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:617:in `call_filters'
|
|
1280
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:638:in `run_before_filters'
|
|
1281
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call'
|
|
1282
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:189:in `call'
|
|
1283
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:635:in `run_before_filters'
|
|
1284
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:615:in `call_filters'
|
|
1285
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:610:in `perform_action_without_benchmark'
|
|
1286
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
1287
|
-
actionpack (2.3.0) lib/action_controller/benchmarking.rb:68:in `perform_action_without_rescue'
|
|
1288
|
-
actionpack (2.3.0) lib/action_controller/rescue.rb:154:in `perform_action_without_flash'
|
|
1289
|
-
actionpack (2.3.0) lib/action_controller/flash.rb:141:in `perform_action'
|
|
1290
|
-
actionpack (2.3.0) lib/action_controller/base.rb:523:in `send'
|
|
1291
|
-
actionpack (2.3.0) lib/action_controller/base.rb:523:in `process_without_filters'
|
|
1292
|
-
actionpack (2.3.0) lib/action_controller/filters.rb:606:in `process'
|
|
1293
|
-
actionpack (2.3.0) lib/action_controller/base.rb:391:in `process'
|
|
1294
|
-
actionpack (2.3.0) lib/action_controller/base.rb:386:in `call'
|
|
1295
|
-
actionpack (2.3.0) lib/action_controller/routing/route_set.rb:433:in `call'
|
|
1296
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:65:in `dispatch'
|
|
1297
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:88:in `_call'
|
|
1298
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:59:in `initialize'
|
|
1299
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
1300
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:29:in `call'
|
|
1301
|
-
activerecord (2.3.0) lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
|
1302
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:9:in `cache'
|
|
1303
|
-
activerecord (2.3.0) lib/active_record/query_cache.rb:28:in `call'
|
|
1304
|
-
actionpack (2.3.0) lib/action_controller/params_parser.rb:15:in `call'
|
|
1305
|
-
actionpack (2.3.0) lib/action_controller/rewindable_input.rb:25:in `call'
|
|
1306
|
-
actionpack (2.3.0) lib/action_controller/session/cookie_store.rb:93:in `call'
|
|
1307
|
-
actionpack (2.3.0) lib/action_controller/failsafe.rb:11:in `call'
|
|
1308
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
1309
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `synchronize'
|
|
1310
|
-
actionpack (2.3.0) lib/action_controller/rack_ext/lock.rb:15:in `call'
|
|
1311
|
-
actionpack (2.3.0) lib/action_controller/dispatcher.rb:83:in `call'
|
|
1312
|
-
rails (2.3.0) lib/rails/rack/static.rb:27:in `call'
|
|
1313
|
-
rails (2.3.0) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
1314
|
-
rails (2.3.0) lib/commands/server.rb:100
|
|
1315
|
-
|
|
1316
|
-
Rendered rescues/_trace (131.5ms)
|
|
1317
|
-
Rendered rescues/_request_and_response (0.7ms)
|
|
1318
|
-
Rendering rescues/layout (internal_server_error)
|
|
1319
|
-
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
|
1320
|
-
FROM sqlite_master
|
|
1321
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1322
|
-
[0m
|
|
1323
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:43:12) [GET]
|
|
1327
|
-
Rendering template within layouts/samples
|
|
1328
|
-
Rendering samples/index
|
|
1329
|
-
Rendered samples/_part (6.6ms)
|
|
1330
|
-
Completed in 14ms (View: 11, DB: 0) | 200 OK [http://localhost/samples]
|
|
1331
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
1332
|
-
FROM sqlite_master
|
|
1333
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1334
|
-
[0m
|
|
1335
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:44:35) [GET]
|
|
1339
|
-
Rendering template within layouts/samples
|
|
1340
|
-
Rendering samples/index
|
|
1341
|
-
Rendered samples/_part (10.9ms)
|
|
1342
|
-
Completed in 20ms (View: 17, DB: 0) | 200 OK [http://localhost/samples]
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:45:16) [GET]
|
|
1346
|
-
Rendering template within layouts/samples
|
|
1347
|
-
Rendering samples/index
|
|
1348
|
-
Rendered samples/_part (5.4ms)
|
|
1349
|
-
Completed in 10ms (View: 9, DB: 0) | 200 OK [http://localhost/samples]
|
|
1350
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
1351
|
-
FROM sqlite_master
|
|
1352
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1353
|
-
[0m
|
|
1354
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-10 22:47:08) [GET]
|
|
1358
|
-
Rendering template within layouts/samples
|
|
1359
|
-
Rendering samples/index
|
|
1360
|
-
Rendered samples/_part (11.0ms)
|
|
1361
|
-
Completed in 22ms (View: 17, DB: 0) | 200 OK [http://localhost/samples]
|
|
1362
|
-
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
|
1363
|
-
FROM sqlite_master
|
|
1364
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1365
|
-
[0m
|
|
1366
|
-
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
Processing ApplicationController#index (for 127.0.0.1 at 2009-03-19 00:35:17) [GET]
|
|
1370
|
-
|
|
1371
|
-
ActionController::RoutingError (No route matches "/articles" with {:method=>:get}):
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
Rendering rescues/layout (not_found)
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 00:35:21) [GET]
|
|
1378
|
-
Rendering template within layouts/samples
|
|
1379
|
-
Rendering samples/index
|
|
1380
|
-
Rendered samples/_part (8.2ms)
|
|
1381
|
-
Completed in 42ms (View: 38, DB: 0) | 200 OK [http://localhost/]
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 00:35:31) [GET]
|
|
1385
|
-
Parameters: {"lang"=>"pt_BR"}
|
|
1386
|
-
Rendering template within layouts/samples
|
|
1387
|
-
Rendering samples/index
|
|
1388
|
-
Rendered samples/_part (8.1ms)
|
|
1389
|
-
Completed in 14ms (View: 13, DB: 0) | 200 OK [http://localhost/samples?lang=pt_BR]
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 00:35:43) [GET]
|
|
1393
|
-
Parameters: {"lang"=>"uz_UZ"}
|
|
1394
|
-
Rendering template within layouts/samples
|
|
1395
|
-
Rendering samples/index
|
|
1396
|
-
Rendered samples/_part (8.2ms)
|
|
1397
|
-
Completed in 14ms (View: 13, DB: 0) | 200 OK [http://localhost/uz_UZ/samples]
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 00:36:02) [GET]
|
|
1401
|
-
Parameters: {"lang"=>"uz"}
|
|
1402
|
-
Rendering template within layouts/samples
|
|
1403
|
-
Rendering samples/index
|
|
1404
|
-
Rendered samples/_part (8.4ms)
|
|
1405
|
-
Completed in 14ms (View: 13, DB: 0) | 200 OK [http://localhost/uz/samples]
|
|
1406
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
1407
|
-
FROM sqlite_master
|
|
1408
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1409
|
-
[0m
|
|
1410
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1411
|
-
|
|
1412
|
-
|
|
1413
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:24:17) [GET]
|
|
1414
|
-
Parameters: {"lang"=>"uz"}
|
|
1415
|
-
Rendering template within layouts/samples
|
|
1416
|
-
Rendering samples/index
|
|
1417
|
-
Rendered samples/_part (11.6ms)
|
|
1418
|
-
Completed in 23ms (View: 20, DB: 0) | 200 OK [http://localhost/uz/samples]
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:24:23) [GET]
|
|
1422
|
-
Parameters: {"lang"=>"uz_UZ"}
|
|
1423
|
-
Rendering template within layouts/samples
|
|
1424
|
-
Rendering samples/index
|
|
1425
|
-
Rendered samples/_part (8.4ms)
|
|
1426
|
-
Completed in 15ms (View: 14, DB: 0) | 200 OK [http://localhost/uz_UZ/samples]
|
|
1427
|
-
[4;36;1mSQL (0.8ms)[0m [0;1m SELECT name
|
|
1428
|
-
FROM sqlite_master
|
|
1429
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1430
|
-
[0m
|
|
1431
|
-
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:27:16) [GET]
|
|
1435
|
-
Parameters: {"lang"=>"uz_UZ"}
|
|
1436
|
-
Rendering template within layouts/samples
|
|
1437
|
-
Rendering samples/index
|
|
1438
|
-
Rendered samples/_part (13.0ms)
|
|
1439
|
-
Completed in 27ms (View: 23, DB: 0) | 200 OK [http://localhost/uz_UZ/samples]
|
|
1440
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
1441
|
-
FROM sqlite_master
|
|
1442
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1443
|
-
[0m
|
|
1444
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1445
|
-
[4;36;1mSQL (0.9ms)[0m [0;1m SELECT name
|
|
1446
|
-
FROM sqlite_master
|
|
1447
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1448
|
-
[0m
|
|
1449
|
-
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:29:07) [GET]
|
|
1453
|
-
Parameters: {"lang"=>"uz_UZ"}
|
|
1454
|
-
Rendering template within layouts/samples
|
|
1455
|
-
Rendering samples/index
|
|
1456
|
-
Rendered samples/_part (45.8ms)
|
|
1457
|
-
Completed in 60ms (View: 57, DB: 0) | 200 OK [http://localhost/uz_UZ/samples]
|
|
1458
|
-
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
|
1459
|
-
FROM sqlite_master
|
|
1460
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1461
|
-
[0m
|
|
1462
|
-
[4;35;1mSQL (0.6ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:35:01) [GET]
|
|
1466
|
-
Parameters: {"lang"=>"uz_UZ"}
|
|
1467
|
-
|
|
1468
|
-
NameError (undefined local variable or method `tags' for ["/home/mutoh/dev/git/locale_rails/sample/app/views"]:ActionView::PathSet):
|
|
1469
|
-
/usr/lib/ruby/gems/1.8/gems/locale_rails-2.3.0/lib/locale_rails/action_view.rb:53:in `find_template'
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
Processing ApplicationController#index (for 127.0.0.1 at 2009-03-19 01:35:01) [GET]
|
|
1474
|
-
Parameters: {"lang"=>["uz_UZ"]}
|
|
1475
|
-
|
|
1476
|
-
NoMethodError (private method `sub' called for #<ActionView::Template:0x7fa19250d9e0>):
|
|
1477
|
-
/usr/lib/ruby/gems/1.8/gems/locale_rails-2.3.0/lib/locale_rails/action_view.rb:46:in `find_template'
|
|
1478
|
-
|
|
1479
|
-
/!\ FAILSAFE /!\ Thu Mar 19 01:35:01 +0900 2009
|
|
1480
|
-
Status: 500 Internal Server Error
|
|
1481
|
-
private method `sub' called for #<ActionView::Template:0x7fa19250d9e0>
|
|
1482
|
-
/usr/lib/ruby/gems/1.8/gems/locale_rails-2.3.0/lib/locale_rails/action_view.rb:46:in `find_template'
|
|
1483
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_view/base.rb:259:in `render'
|
|
1484
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rescue.rb:134:in `rescue_action_locally'
|
|
1485
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rescue.rb:152:in `rescue_action_without_handler'
|
|
1486
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rescue.rb:74:in `rescue_action'
|
|
1487
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:523:in `send'
|
|
1488
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/base.rb:523:in `process_without_filters'
|
|
1489
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/filters.rb:606:in `process'
|
|
1490
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rescue.rb:65:in `call_with_exception'
|
|
1491
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:91:in `dispatch'
|
|
1492
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:111:in `_call'
|
|
1493
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:82:in `initialize'
|
|
1494
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:29:in `call'
|
|
1495
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:29:in `call'
|
|
1496
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in `cache'
|
|
1497
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:9:in `cache'
|
|
1498
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/query_cache.rb:28:in `call'
|
|
1499
|
-
/usr/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in `call'
|
|
1500
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/head.rb:9:in `call'
|
|
1501
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/methodoverride.rb:24:in `call'
|
|
1502
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/params_parser.rb:15:in `call'
|
|
1503
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/rewindable_input.rb:25:in `call'
|
|
1504
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/session/cookie_store.rb:93:in `call'
|
|
1505
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/failsafe.rb:11:in `call'
|
|
1506
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in `call'
|
|
1507
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in `synchronize'
|
|
1508
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/lock.rb:11:in `call'
|
|
1509
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/dispatcher.rb:106:in `call'
|
|
1510
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/static.rb:31:in `call'
|
|
1511
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:46:in `call'
|
|
1512
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:40:in `each'
|
|
1513
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/urlmap.rb:40:in `call'
|
|
1514
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/rails/rack/log_tailer.rb:17:in `call'
|
|
1515
|
-
/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'
|
|
1516
|
-
/usr/lib/ruby/gems/1.8/gems/actionpack-2.3.2/lib/action_controller/vendor/rack-1.0/rack/chunked.rb:15:in `call'
|
|
1517
|
-
/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'
|
|
1518
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:159:in `process_client'
|
|
1519
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `each'
|
|
1520
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:158:in `process_client'
|
|
1521
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
|
|
1522
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `initialize'
|
|
1523
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `new'
|
|
1524
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:285:in `run'
|
|
1525
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `initialize'
|
|
1526
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `new'
|
|
1527
|
-
/usr/lib/ruby/gems/1.8/gems/mongrel-1.1.5/lib/mongrel.rb:268:in `run'
|
|
1528
|
-
/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'
|
|
1529
|
-
/usr/lib/ruby/gems/1.8/gems/rails-2.3.2/lib/commands/server.rb:111
|
|
1530
|
-
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
|
|
1531
|
-
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
|
|
1532
|
-
script/server:3
|
|
1533
|
-
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
|
1534
|
-
FROM sqlite_master
|
|
1535
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1536
|
-
[0m
|
|
1537
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:35:54) [GET]
|
|
1541
|
-
Parameters: {"lang"=>"uz_UZ"}
|
|
1542
|
-
|
|
1543
|
-
NameError (undefined local variable or method `tags' for ["/home/mutoh/dev/git/locale_rails/sample/app/views"]:ActionView::PathSet):
|
|
1544
|
-
/usr/lib/ruby/gems/1.8/gems/locale_rails-2.3.0/lib/locale_rails/action_view.rb:55:in `find_template'
|
|
1545
|
-
|
|
1546
|
-
Rendered rescues/_trace (73.2ms)
|
|
1547
|
-
Rendered rescues/_request_and_response (2.4ms)
|
|
1548
|
-
Rendering rescues/layout (internal_server_error)
|
|
1549
|
-
[4;36;1mSQL (0.9ms)[0m [0;1m SELECT name
|
|
1550
|
-
FROM sqlite_master
|
|
1551
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1552
|
-
[0m
|
|
1553
|
-
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:37:16) [GET]
|
|
1557
|
-
Parameters: {"lang"=>"uz_UZ"}
|
|
1558
|
-
Rendering template within layouts/samples
|
|
1559
|
-
Rendering samples/index
|
|
1560
|
-
Rendered samples/_part (11.5ms)
|
|
1561
|
-
Completed in 47ms (View: 23, DB: 0) | 200 OK [http://localhost/uz_UZ/samples]
|
|
1562
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
1563
|
-
FROM sqlite_master
|
|
1564
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1565
|
-
[0m
|
|
1566
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:51:56) [GET]
|
|
1570
|
-
Parameters: {"lang"=>"uz_UZ"}
|
|
1571
|
-
Rendering template within layouts/samples
|
|
1572
|
-
Rendering samples/index
|
|
1573
|
-
Rendered samples/_part (12.0ms)
|
|
1574
|
-
Completed in 30ms (View: 26, DB: 0) | 200 OK [http://localhost/uz_UZ/samples]
|
|
1575
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
1576
|
-
FROM sqlite_master
|
|
1577
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1578
|
-
[0m
|
|
1579
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:52:38) [GET]
|
|
1583
|
-
Parameters: {"lang"=>"uz_UZ"}
|
|
1584
|
-
Rendering template within layouts/samples
|
|
1585
|
-
Rendering samples/index_uz_UZ
|
|
1586
|
-
|
|
1587
|
-
ActionView::TemplateError (undefined method `cgi' for #<ActionController::Request:0x7f8701c9d0d0>) on line #7 of app/views/samples/index_uz_UZ.html.erb:
|
|
1588
|
-
4: <h2>The values from Rails</h2>
|
|
1589
|
-
5: <table border="1" cellspacing="0" cellpadding="2">
|
|
1590
|
-
6: <tr><th>Variables</th><th>Values</th></tr>
|
|
1591
|
-
7: <tr><td>HTTP_ACCEPT_LANGUAGE</td><td> <%= request.cgi.accept_language %></td></tr>
|
|
1592
|
-
8: <tr><td>HTTP_ACCEPT_CHARSET</td><td> <%= request.cgi.accept_charset %></td></tr>
|
|
1593
|
-
9: <tr><td>QUERY_STRING</td><td> <%= request.cgi.query_string %></td></tr>
|
|
1594
|
-
10: <tr><td>params[:lang]</td><td><%= params[:lang] %></td></tr>
|
|
1595
|
-
|
|
1596
|
-
app/views/samples/index_uz_UZ.html.erb:7
|
|
1597
|
-
|
|
1598
|
-
Rendered rescues/_trace (157.6ms)
|
|
1599
|
-
Rendered rescues/_request_and_response (1.7ms)
|
|
1600
|
-
Rendering rescues/layout (internal_server_error)
|
|
1601
|
-
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
|
1602
|
-
FROM sqlite_master
|
|
1603
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1604
|
-
[0m
|
|
1605
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:54:05) [GET]
|
|
1609
|
-
Parameters: {"lang"=>"uz_UZ"}
|
|
1610
|
-
Rendering template within layouts/samples
|
|
1611
|
-
Rendering samples/index_uz_UZ
|
|
1612
|
-
Completed in 12ms (View: 8, DB: 0) | 200 OK [http://localhost/uz_UZ/samples]
|
|
1613
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
1614
|
-
FROM sqlite_master
|
|
1615
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1616
|
-
[0m
|
|
1617
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:54:52) [GET]
|
|
1621
|
-
Parameters: {"lang"=>"uz_UZ"}
|
|
1622
|
-
Rendering template within layouts/samples
|
|
1623
|
-
Rendering samples/index_uz_UZ
|
|
1624
|
-
Completed in 13ms (View: 9, DB: 0) | 200 OK [http://localhost/uz_UZ/samples]
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:54:54) [GET]
|
|
1628
|
-
Rendering template within layouts/samples
|
|
1629
|
-
Rendering samples/index
|
|
1630
|
-
Rendered samples/_part (6.9ms)
|
|
1631
|
-
Completed in 31ms (View: 29, DB: 0) | 200 OK [http://localhost/samples]
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:54:58) [GET]
|
|
1635
|
-
Parameters: {"lang"=>"uz"}
|
|
1636
|
-
Rendering template within layouts/samples
|
|
1637
|
-
Rendering samples/index
|
|
1638
|
-
Rendered samples/_part (11.1ms)
|
|
1639
|
-
Completed in 21ms (View: 20, DB: 0) | 200 OK [http://localhost/uz/samples]
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:55:02) [GET]
|
|
1643
|
-
Parameters: {"lang"=>"nl"}
|
|
1644
|
-
Rendering template within layouts/samples
|
|
1645
|
-
Rendering samples/index
|
|
1646
|
-
Rendered samples/_part_nl (0.8ms)
|
|
1647
|
-
Completed in 10ms (View: 8, DB: 0) | 200 OK [http://localhost/nl/samples]
|
|
1648
|
-
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
|
1649
|
-
FROM sqlite_master
|
|
1650
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1651
|
-
[0m
|
|
1652
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:14) [GET]
|
|
1656
|
-
Rendering template within layouts/samples
|
|
1657
|
-
Rendering samples/index
|
|
1658
|
-
Rendered samples/_part (6.8ms)
|
|
1659
|
-
Completed in 27ms (View: 23, DB: 0) | 200 OK [http://localhost/samples]
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:18) [GET]
|
|
1663
|
-
Parameters: {"lang"=>"nl_BE"}
|
|
1664
|
-
Rendering template within layouts/samples
|
|
1665
|
-
Rendering samples/index
|
|
1666
|
-
Rendered samples/_part_nl (1.2ms)
|
|
1667
|
-
Completed in 11ms (View: 9, DB: 0) | 200 OK [http://localhost/nl_BE/samples]
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:21) [GET]
|
|
1671
|
-
Parameters: {"lang"=>"nl_BE"}
|
|
1672
|
-
Rendering template within layouts/samples
|
|
1673
|
-
Rendering samples/index
|
|
1674
|
-
Rendered samples/_part_nl (0.2ms)
|
|
1675
|
-
Completed in 10ms (View: 9, DB: 0) | 200 OK [http://localhost/nl_BE/samples]
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:22) [GET]
|
|
1679
|
-
Parameters: {"lang"=>"nl"}
|
|
1680
|
-
Rendering template within layouts/samples
|
|
1681
|
-
Rendering samples/index
|
|
1682
|
-
Rendered samples/_part_nl (0.5ms)
|
|
1683
|
-
Completed in 10ms (View: 9, DB: 0) | 200 OK [http://localhost/nl/samples]
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:23) [GET]
|
|
1687
|
-
Parameters: {"lang"=>"uz"}
|
|
1688
|
-
Rendering template within layouts/samples
|
|
1689
|
-
Rendering samples/index
|
|
1690
|
-
Rendered samples/_part (7.8ms)
|
|
1691
|
-
Completed in 17ms (View: 15, DB: 0) | 200 OK [http://localhost/uz/samples]
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:30) [GET]
|
|
1695
|
-
Parameters: {"lang"=>"zh_CN"}
|
|
1696
|
-
Rendering template within layouts/samples
|
|
1697
|
-
Rendering samples/index
|
|
1698
|
-
Rendered samples/_part (7.3ms)
|
|
1699
|
-
Completed in 110ms (View: 108, DB: 0) | 200 OK [http://localhost/samples?lang=zh_CN]
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 01:56:34) [GET]
|
|
1703
|
-
Rendering template within layouts/samples
|
|
1704
|
-
Rendering samples/index
|
|
1705
|
-
Rendered samples/_part (8.4ms)
|
|
1706
|
-
Completed in 45ms (View: 42, DB: 0) | 200 OK [http://localhost/samples]
|
|
1707
|
-
[4;36;1mSQL (1.0ms)[0m [0;1m SELECT name
|
|
1708
|
-
FROM sqlite_master
|
|
1709
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1710
|
-
[0m
|
|
1711
|
-
[4;35;1mSQL (0.2ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:00:45) [GET]
|
|
1715
|
-
Rendering template within layouts/samples
|
|
1716
|
-
Rendering samples/index
|
|
1717
|
-
Rendered samples/_part (27.3ms)
|
|
1718
|
-
Completed in 108ms (View: 103, DB: 0) | 200 OK [http://localhost/samples]
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:00:50) [GET]
|
|
1722
|
-
Parameters: {"lang"=>"uz"}
|
|
1723
|
-
Rendering template within layouts/samples
|
|
1724
|
-
Rendering samples/index
|
|
1725
|
-
Rendered samples/_part (7.5ms)
|
|
1726
|
-
Completed in 16ms (View: 15, DB: 0) | 200 OK [http://localhost/uz/samples]
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:00:54) [GET]
|
|
1730
|
-
Parameters: {"lang"=>"pt"}
|
|
1731
|
-
Rendering template within layouts/samples
|
|
1732
|
-
Rendering samples/index
|
|
1733
|
-
Completed in 8ms (View: 7, DB: 0) | 200 OK [http://localhost/pt/samples]
|
|
1734
|
-
|
|
1735
|
-
|
|
1736
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:00:59) [GET]
|
|
1737
|
-
Parameters: {"lang"=>"pt_PR"}
|
|
1738
|
-
Rendering template within layouts/samples
|
|
1739
|
-
Rendering samples/index
|
|
1740
|
-
Rendered samples/_part (8.1ms)
|
|
1741
|
-
Completed in 27ms (View: 25, DB: 0) | 200 OK [http://localhost/pt_PR/samples]
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:01:05) [GET]
|
|
1745
|
-
Parameters: {"lang"=>"pt_BR"}
|
|
1746
|
-
Rendering template within layouts/samples
|
|
1747
|
-
Rendering samples/index
|
|
1748
|
-
Rendered samples/_part (8.4ms)
|
|
1749
|
-
Completed in 19ms (View: 18, DB: 0) | 200 OK [http://localhost/pt_BR/samples]
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:01:08) [GET]
|
|
1753
|
-
Parameters: {"lang"=>"pt-BR"}
|
|
1754
|
-
Rendering template within layouts/samples
|
|
1755
|
-
Rendering samples/index
|
|
1756
|
-
Rendered samples/_part (8.2ms)
|
|
1757
|
-
Completed in 23ms (View: 21, DB: 0) | 200 OK [http://localhost/pt-BR/samples]
|
|
1758
|
-
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
|
1759
|
-
FROM sqlite_master
|
|
1760
|
-
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
|
1761
|
-
[0m
|
|
1762
|
-
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM schema_migrations[0m
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:03:40) [GET]
|
|
1766
|
-
Parameters: {"lang"=>"pt-BR"}
|
|
1767
|
-
Rendering template within layouts/samples
|
|
1768
|
-
Rendering samples/index
|
|
1769
|
-
Rendered samples/_part (9.0ms)
|
|
1770
|
-
Completed in 28ms (View: 25, DB: 0) | 200 OK [http://localhost/pt-BR/samples]
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:03:44) [GET]
|
|
1774
|
-
Parameters: {"lang"=>"pt"}
|
|
1775
|
-
Rendering template within layouts/samples
|
|
1776
|
-
Rendering samples/index
|
|
1777
|
-
Completed in 5ms (View: 4, DB: 0) | 200 OK [http://localhost/pt/samples]
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:03:46) [GET]
|
|
1781
|
-
Rendering template within layouts/samples
|
|
1782
|
-
Rendering samples/index
|
|
1783
|
-
Rendered samples/_part (9.0ms)
|
|
1784
|
-
Completed in 38ms (View: 35, DB: 0) | 200 OK [http://localhost/samples]
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
Processing SamplesController#index (for 127.0.0.1 at 2009-03-19 02:03:49) [GET]
|
|
1788
|
-
Parameters: {"lang"=>"pt_BR"}
|
|
1789
|
-
Rendering template within layouts/samples
|
|
1790
|
-
Rendering samples/index
|
|
1791
|
-
Rendered samples/_part (8.2ms)
|
|
1792
|
-
Completed in 25ms (View: 24, DB: 0) | 200 OK [http://localhost/pt_BR/samples]
|