r18n-rails 0.4.7.1 → 0.4.8

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/README.rdoc CHANGED
@@ -53,7 +53,8 @@ R18n already has filters for HTML escaping, lambdas, Textile and Markdown:
53
53
 
54
54
  === Model Translation
55
55
 
56
- R18n can add i18n support for your ActiveRecord model and any other class:
56
+ R18n can add i18n support for your ActiveRecord model and any other class
57
+ (include DataMapper, MongoMapper, Mongoid):
57
58
 
58
59
  1. Add separate columns for all supported translations:
59
60
 
data/lib/r18n-rails.rb CHANGED
@@ -27,10 +27,7 @@ require dir + 'helpers'
27
27
  require dir + 'controller'
28
28
 
29
29
  R18n::Filters.off(:untranslated)
30
- R18n::Filters.add(::R18n::Untranslated, :untranslated_html) do
31
- |v, c, translated, untranslated, path|
32
- "#{translated}<span style='color: red'>#{untranslated}</span>"
33
- end
30
+ R18n::Filters.on(:untranslated_html)
34
31
 
35
32
  ActionController::Base.helper(R18n::Rails::Helpers)
36
33
  ActionController::Base.send(:include, R18n::Rails::Controller)
@@ -1,3 +1,5 @@
1
+ RAILS_GEM_VERSION = '~> 2.3' unless defined? RAILS_GEM_VERSION
2
+
1
3
  require File.join(File.dirname(__FILE__), 'boot')
2
4
 
3
5
  Rails::Initializer.run do |config|
@@ -7054,3 +7054,983 @@ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7054
7054
  
7055
7055
  SQL (0.1ms) SELECT version FROM "schema_migrations"
7056
7056
  SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7057
+
7058
+
7059
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:05:25) [GET]
7060
+ Completed in 26ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7061
+
7062
+
7063
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:05:25) [GET]
7064
+ Parameters: {"locale"=>"ru"}
7065
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7066
+
7067
+
7068
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:05:25) [GET]
7069
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7070
+
7071
+
7072
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:05:25) [GET]
7073
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7074
+
7075
+
7076
+ Processing TestController#translations (for 0.0.0.0 at 2010-08-30 18:05:25) [GET]
7077
+ Parameters: {"locale"=>"en"}
7078
+ Completed in 14ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7079
+
7080
+
7081
+ Processing TestController#available (for 0.0.0.0 at 2010-08-30 18:05:25) [GET]
7082
+ Completed in 9ms (View: 1, DB: 0) | 200 OK [http://test.host/available]
7083
+
7084
+
7085
+ Processing TestController#helpers (for 0.0.0.0 at 2010-08-30 18:05:25) [GET]
7086
+ Parameters: {"locale"=>"en"}
7087
+ Rendering test/helpers
7088
+ Completed in 21ms (View: 7, DB: 0) | 200 OK [http://test.host/en/helpers]
7089
+
7090
+
7091
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-08-30 18:05:25) [GET]
7092
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7093
+
7094
+
7095
+ Processing TestController#controller (for 0.0.0.0 at 2010-08-30 18:05:25) [GET]
7096
+ Parameters: {"locale"=>"en"}
7097
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7098
+
7099
+
7100
+ Processing TestController#time (for 0.0.0.0 at 2010-08-30 18:05:25) [GET]
7101
+ Parameters: {"locale"=>"en"}
7102
+ Completed in 15ms (View: 0, DB: 0) | 200 OK [http://test.host/en/time]
7103
+
7104
+
7105
+ Processing TestController#human_time (for 0.0.0.0 at 2010-08-30 18:05:25) [GET]
7106
+ Parameters: {"locale"=>"en"}
7107
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7108
+ SQL (0.2ms) select sqlite_version(*)
7109
+ SQL (6.0ms)  SELECT name
7110
+ FROM sqlite_master
7111
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7112
+ 
7113
+ SQL (0.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7114
+ SQL (0.1ms)  SELECT name
7115
+ FROM sqlite_master
7116
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7117
+ 
7118
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7119
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7120
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7121
+ SQL (0.1ms)  SELECT name
7122
+ FROM sqlite_master
7123
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7124
+ 
7125
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
7126
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7127
+
7128
+
7129
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:16:35) [GET]
7130
+ Completed in 73ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7131
+
7132
+
7133
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:16:35) [GET]
7134
+ Parameters: {"locale"=>"ru"}
7135
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7136
+
7137
+
7138
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:16:35) [GET]
7139
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7140
+
7141
+
7142
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:16:35) [GET]
7143
+ Completed in 48ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7144
+
7145
+
7146
+ Processing TestController#translations (for 0.0.0.0 at 2010-08-30 18:16:35) [GET]
7147
+ Parameters: {"locale"=>"en"}
7148
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7149
+
7150
+
7151
+ Processing TestController#available (for 0.0.0.0 at 2010-08-30 18:16:35) [GET]
7152
+ Completed in 6ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
7153
+
7154
+
7155
+ Processing TestController#helpers (for 0.0.0.0 at 2010-08-30 18:16:35) [GET]
7156
+ Parameters: {"locale"=>"en"}
7157
+ Rendering test/helpers
7158
+ Completed in 29ms (View: 22, DB: 0) | 200 OK [http://test.host/en/helpers]
7159
+
7160
+
7161
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-08-30 18:16:35) [GET]
7162
+ Completed in 6ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7163
+
7164
+
7165
+ Processing TestController#controller (for 0.0.0.0 at 2010-08-30 18:16:35) [GET]
7166
+ Parameters: {"locale"=>"en"}
7167
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7168
+
7169
+
7170
+ Processing TestController#time (for 0.0.0.0 at 2010-08-30 18:16:35) [GET]
7171
+ Parameters: {"locale"=>"en"}
7172
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/time]
7173
+
7174
+
7175
+ Processing TestController#human_time (for 0.0.0.0 at 2010-08-30 18:16:35) [GET]
7176
+ Parameters: {"locale"=>"en"}
7177
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7178
+ SQL (0.3ms) select sqlite_version(*)
7179
+ SQL (0.3ms)  SELECT name
7180
+ FROM sqlite_master
7181
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7182
+ 
7183
+ SQL (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7184
+ SQL (0.1ms)  SELECT name
7185
+ FROM sqlite_master
7186
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7187
+ 
7188
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7189
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7190
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7191
+ SQL (0.2ms)  SELECT name
7192
+ FROM sqlite_master
7193
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7194
+ 
7195
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
7196
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7197
+
7198
+
7199
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:16:52) [GET]
7200
+ Completed in 64ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7201
+
7202
+
7203
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:16:52) [GET]
7204
+ Parameters: {"locale"=>"ru"}
7205
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7206
+
7207
+
7208
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:16:52) [GET]
7209
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7210
+
7211
+
7212
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:16:52) [GET]
7213
+ Completed in 46ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7214
+
7215
+
7216
+ Processing TestController#translations (for 0.0.0.0 at 2010-08-30 18:16:52) [GET]
7217
+ Parameters: {"locale"=>"en"}
7218
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7219
+
7220
+
7221
+ Processing TestController#available (for 0.0.0.0 at 2010-08-30 18:16:52) [GET]
7222
+ Completed in 6ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
7223
+
7224
+
7225
+ Processing TestController#helpers (for 0.0.0.0 at 2010-08-30 18:16:52) [GET]
7226
+ Parameters: {"locale"=>"en"}
7227
+ Rendering test/helpers
7228
+ Completed in 29ms (View: 21, DB: 0) | 200 OK [http://test.host/en/helpers]
7229
+
7230
+
7231
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-08-30 18:16:52) [GET]
7232
+ Completed in 7ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7233
+
7234
+
7235
+ Processing TestController#controller (for 0.0.0.0 at 2010-08-30 18:16:52) [GET]
7236
+ Parameters: {"locale"=>"en"}
7237
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7238
+
7239
+
7240
+ Processing TestController#time (for 0.0.0.0 at 2010-08-30 18:16:52) [GET]
7241
+ Parameters: {"locale"=>"en"}
7242
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/time]
7243
+
7244
+
7245
+ Processing TestController#human_time (for 0.0.0.0 at 2010-08-30 18:16:52) [GET]
7246
+ Parameters: {"locale"=>"en"}
7247
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7248
+ SQL (0.2ms) select sqlite_version(*)
7249
+ SQL (0.3ms)  SELECT name
7250
+ FROM sqlite_master
7251
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7252
+ 
7253
+ SQL (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7254
+ SQL (0.1ms)  SELECT name
7255
+ FROM sqlite_master
7256
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7257
+ 
7258
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7259
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7260
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7261
+ SQL (0.2ms)  SELECT name
7262
+ FROM sqlite_master
7263
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7264
+ 
7265
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
7266
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7267
+
7268
+
7269
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:17:35) [GET]
7270
+ Completed in 230ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7271
+
7272
+
7273
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:17:35) [GET]
7274
+ Parameters: {"locale"=>"ru"}
7275
+ Completed in 10ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7276
+
7277
+
7278
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:17:35) [GET]
7279
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7280
+
7281
+
7282
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:17:35) [GET]
7283
+ Completed in 46ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7284
+
7285
+
7286
+ Processing TestController#translations (for 0.0.0.0 at 2010-08-30 18:17:35) [GET]
7287
+ Parameters: {"locale"=>"en"}
7288
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7289
+
7290
+
7291
+ Processing TestController#available (for 0.0.0.0 at 2010-08-30 18:17:35) [GET]
7292
+ Completed in 7ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
7293
+
7294
+
7295
+ Processing TestController#helpers (for 0.0.0.0 at 2010-08-30 18:17:35) [GET]
7296
+ Parameters: {"locale"=>"en"}
7297
+ Rendering test/helpers
7298
+ Completed in 29ms (View: 21, DB: 0) | 200 OK [http://test.host/en/helpers]
7299
+
7300
+
7301
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-08-30 18:17:35) [GET]
7302
+ Completed in 7ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7303
+
7304
+
7305
+ Processing TestController#controller (for 0.0.0.0 at 2010-08-30 18:17:35) [GET]
7306
+ Parameters: {"locale"=>"en"}
7307
+ Completed in 14ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7308
+
7309
+
7310
+ Processing TestController#time (for 0.0.0.0 at 2010-08-30 18:17:36) [GET]
7311
+ Parameters: {"locale"=>"en"}
7312
+ Completed in 11ms (View: 0, DB: 0) | 200 OK [http://test.host/en/time]
7313
+
7314
+
7315
+ Processing TestController#human_time (for 0.0.0.0 at 2010-08-30 18:17:36) [GET]
7316
+ Parameters: {"locale"=>"en"}
7317
+ Completed in 8ms (View: 1, DB: 0) | 200 OK [http://test.host/en/human_time]
7318
+ SQL (0.2ms) select sqlite_version(*)
7319
+ SQL (0.3ms)  SELECT name
7320
+ FROM sqlite_master
7321
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7322
+ 
7323
+ SQL (1.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7324
+ SQL (0.2ms)  SELECT name
7325
+ FROM sqlite_master
7326
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7327
+ 
7328
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7329
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7330
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7331
+ SQL (0.2ms)  SELECT name
7332
+ FROM sqlite_master
7333
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7334
+ 
7335
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
7336
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7337
+
7338
+
7339
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:17:46) [GET]
7340
+ Completed in 66ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7341
+
7342
+
7343
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:17:46) [GET]
7344
+ Parameters: {"locale"=>"ru"}
7345
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7346
+
7347
+
7348
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:17:46) [GET]
7349
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7350
+
7351
+
7352
+ Processing TestController#locales (for 0.0.0.0 at 2010-08-30 18:17:46) [GET]
7353
+ Completed in 46ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7354
+
7355
+
7356
+ Processing TestController#translations (for 0.0.0.0 at 2010-08-30 18:17:46) [GET]
7357
+ Parameters: {"locale"=>"en"}
7358
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7359
+
7360
+
7361
+ Processing TestController#available (for 0.0.0.0 at 2010-08-30 18:17:46) [GET]
7362
+ Completed in 7ms (View: 1, DB: 0) | 200 OK [http://test.host/available]
7363
+
7364
+
7365
+ Processing TestController#helpers (for 0.0.0.0 at 2010-08-30 18:17:46) [GET]
7366
+ Parameters: {"locale"=>"en"}
7367
+ Rendering test/helpers
7368
+ Completed in 29ms (View: 21, DB: 0) | 200 OK [http://test.host/en/helpers]
7369
+
7370
+
7371
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-08-30 18:17:46) [GET]
7372
+ Completed in 7ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7373
+
7374
+
7375
+ Processing TestController#controller (for 0.0.0.0 at 2010-08-30 18:17:46) [GET]
7376
+ Parameters: {"locale"=>"en"}
7377
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7378
+
7379
+
7380
+ Processing TestController#time (for 0.0.0.0 at 2010-08-30 18:17:46) [GET]
7381
+ Parameters: {"locale"=>"en"}
7382
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/en/time]
7383
+
7384
+
7385
+ Processing TestController#human_time (for 0.0.0.0 at 2010-08-30 18:17:46) [GET]
7386
+ Parameters: {"locale"=>"en"}
7387
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7388
+ SQL (0.2ms) select sqlite_version(*)
7389
+ SQL (0.3ms)  SELECT name
7390
+ FROM sqlite_master
7391
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7392
+ 
7393
+ SQL (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7394
+ SQL (0.2ms)  SELECT name
7395
+ FROM sqlite_master
7396
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7397
+ 
7398
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7399
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7400
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7401
+ SQL (0.2ms)  SELECT name
7402
+ FROM sqlite_master
7403
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7404
+ 
7405
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
7406
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7407
+
7408
+
7409
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:07:22) [GET]
7410
+ Completed in 28ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7411
+
7412
+
7413
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:07:22) [GET]
7414
+ Parameters: {"locale"=>"ru"}
7415
+ Completed in 16ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7416
+
7417
+
7418
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:07:22) [GET]
7419
+ Completed in 18ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7420
+
7421
+
7422
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:07:22) [GET]
7423
+ Completed in 13ms (View: 2, DB: 0) | 200 OK [http://test.host/locales]
7424
+
7425
+
7426
+ Processing TestController#translations (for 0.0.0.0 at 2010-09-01 21:07:22) [GET]
7427
+ Parameters: {"locale"=>"en"}
7428
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7429
+
7430
+
7431
+ Processing TestController#available (for 0.0.0.0 at 2010-09-01 21:07:22) [GET]
7432
+ Completed in 11ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
7433
+
7434
+
7435
+ Processing TestController#helpers (for 0.0.0.0 at 2010-09-01 21:07:22) [GET]
7436
+ Parameters: {"locale"=>"en"}
7437
+ Rendering test/helpers
7438
+ Completed in 40ms (View: 27, DB: 0) | 200 OK [http://test.host/en/helpers]
7439
+
7440
+
7441
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-09-01 21:07:22) [GET]
7442
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7443
+
7444
+
7445
+ Processing TestController#controller (for 0.0.0.0 at 2010-09-01 21:07:23) [GET]
7446
+ Parameters: {"locale"=>"en"}
7447
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7448
+
7449
+
7450
+ Processing TestController#time (for 0.0.0.0 at 2010-09-01 21:07:23) [GET]
7451
+ Parameters: {"locale"=>"en"}
7452
+ Completed in 14ms (View: 0, DB: 0) | 200 OK [http://test.host/en/time]
7453
+
7454
+
7455
+ Processing TestController#human_time (for 0.0.0.0 at 2010-09-01 21:07:23) [GET]
7456
+ Parameters: {"locale"=>"en"}
7457
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7458
+ SQL (0.3ms) select sqlite_version(*)
7459
+ SQL (0.4ms)  SELECT name
7460
+ FROM sqlite_master
7461
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7462
+ 
7463
+ SQL (0.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7464
+ SQL (0.1ms)  SELECT name
7465
+ FROM sqlite_master
7466
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7467
+ 
7468
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7469
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7470
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7471
+ SQL (0.1ms)  SELECT name
7472
+ FROM sqlite_master
7473
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7474
+ 
7475
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
7476
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7477
+
7478
+
7479
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:10:35) [GET]
7480
+ Completed in 64ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7481
+
7482
+
7483
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:10:35) [GET]
7484
+ Parameters: {"locale"=>"ru"}
7485
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7486
+
7487
+
7488
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:10:35) [GET]
7489
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7490
+
7491
+
7492
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:10:35) [GET]
7493
+ Completed in 50ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7494
+
7495
+
7496
+ Processing TestController#translations (for 0.0.0.0 at 2010-09-01 21:10:35) [GET]
7497
+ Parameters: {"locale"=>"en"}
7498
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7499
+
7500
+
7501
+ Processing TestController#available (for 0.0.0.0 at 2010-09-01 21:10:35) [GET]
7502
+ Completed in 7ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
7503
+
7504
+
7505
+ Processing TestController#helpers (for 0.0.0.0 at 2010-09-01 21:10:35) [GET]
7506
+ Parameters: {"locale"=>"en"}
7507
+ Rendering test/helpers
7508
+ Completed in 41ms (View: 33, DB: 0) | 200 OK [http://test.host/en/helpers]
7509
+
7510
+
7511
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-09-01 21:10:35) [GET]
7512
+ Completed in 7ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7513
+
7514
+
7515
+ Processing TestController#controller (for 0.0.0.0 at 2010-09-01 21:10:35) [GET]
7516
+ Parameters: {"locale"=>"en"}
7517
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7518
+
7519
+
7520
+ Processing TestController#time (for 0.0.0.0 at 2010-09-01 21:10:35) [GET]
7521
+ Parameters: {"locale"=>"en"}
7522
+ Completed in 9ms (View: 1, DB: 0) | 200 OK [http://test.host/en/time]
7523
+
7524
+
7525
+ Processing TestController#human_time (for 0.0.0.0 at 2010-09-01 21:10:35) [GET]
7526
+ Parameters: {"locale"=>"en"}
7527
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7528
+ SQL (0.3ms) select sqlite_version(*)
7529
+ SQL (0.3ms)  SELECT name
7530
+ FROM sqlite_master
7531
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7532
+ 
7533
+ SQL (0.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7534
+ SQL (0.1ms)  SELECT name
7535
+ FROM sqlite_master
7536
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7537
+ 
7538
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7539
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7540
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7541
+ SQL (0.2ms)  SELECT name
7542
+ FROM sqlite_master
7543
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7544
+ 
7545
+ SQL (0.2ms) SELECT version FROM "schema_migrations"
7546
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7547
+
7548
+
7549
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:15:27) [GET]
7550
+ Completed in 24ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7551
+
7552
+
7553
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:15:27) [GET]
7554
+ Parameters: {"locale"=>"ru"}
7555
+ Completed in 12ms (View: 1, DB: 0) | 200 OK [http://test.host/ru/locales]
7556
+
7557
+
7558
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:15:27) [GET]
7559
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7560
+
7561
+
7562
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:15:27) [GET]
7563
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7564
+
7565
+
7566
+ Processing TestController#translations (for 0.0.0.0 at 2010-09-01 21:15:27) [GET]
7567
+ Parameters: {"locale"=>"en"}
7568
+ Completed in 11ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7569
+
7570
+
7571
+ Processing TestController#available (for 0.0.0.0 at 2010-09-01 21:15:27) [GET]
7572
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
7573
+
7574
+
7575
+ Processing TestController#helpers (for 0.0.0.0 at 2010-09-01 21:15:27) [GET]
7576
+ Parameters: {"locale"=>"en"}
7577
+ Rendering test/helpers
7578
+ Completed in 14ms (View: 3, DB: 0) | 200 OK [http://test.host/en/helpers]
7579
+
7580
+
7581
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-09-01 21:15:27) [GET]
7582
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7583
+
7584
+
7585
+ Processing TestController#controller (for 0.0.0.0 at 2010-09-01 21:15:27) [GET]
7586
+ Parameters: {"locale"=>"en"}
7587
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7588
+
7589
+
7590
+ Processing TestController#time (for 0.0.0.0 at 2010-09-01 21:15:27) [GET]
7591
+ Parameters: {"locale"=>"en"}
7592
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/en/time]
7593
+
7594
+
7595
+ Processing TestController#human_time (for 0.0.0.0 at 2010-09-01 21:15:27) [GET]
7596
+ Parameters: {"locale"=>"en"}
7597
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7598
+ SQL (0.2ms) select sqlite_version(*)
7599
+ SQL (0.3ms)  SELECT name
7600
+ FROM sqlite_master
7601
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7602
+ 
7603
+ SQL (0.8ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7604
+ SQL (0.1ms)  SELECT name
7605
+ FROM sqlite_master
7606
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7607
+ 
7608
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7609
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7610
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7611
+ SQL (0.1ms)  SELECT name
7612
+ FROM sqlite_master
7613
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7614
+ 
7615
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
7616
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7617
+
7618
+
7619
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:17:28) [GET]
7620
+ Completed in 24ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7621
+
7622
+
7623
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:17:28) [GET]
7624
+ Parameters: {"locale"=>"ru"}
7625
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7626
+
7627
+
7628
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:17:28) [GET]
7629
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7630
+
7631
+
7632
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:17:28) [GET]
7633
+ Completed in 11ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7634
+
7635
+
7636
+ Processing TestController#translations (for 0.0.0.0 at 2010-09-01 21:17:28) [GET]
7637
+ Parameters: {"locale"=>"en"}
7638
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7639
+
7640
+
7641
+ Processing TestController#available (for 0.0.0.0 at 2010-09-01 21:17:28) [GET]
7642
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
7643
+
7644
+
7645
+ Processing TestController#helpers (for 0.0.0.0 at 2010-09-01 21:17:28) [GET]
7646
+ Parameters: {"locale"=>"en"}
7647
+ Rendering test/helpers
7648
+ Completed in 15ms (View: 3, DB: 0) | 200 OK [http://test.host/en/helpers]
7649
+
7650
+
7651
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-09-01 21:17:28) [GET]
7652
+ Completed in 10ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7653
+
7654
+
7655
+ Processing TestController#controller (for 0.0.0.0 at 2010-09-01 21:17:28) [GET]
7656
+ Parameters: {"locale"=>"en"}
7657
+ Completed in 14ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7658
+
7659
+
7660
+ Processing TestController#time (for 0.0.0.0 at 2010-09-01 21:17:28) [GET]
7661
+ Parameters: {"locale"=>"en"}
7662
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/en/time]
7663
+
7664
+
7665
+ Processing TestController#human_time (for 0.0.0.0 at 2010-09-01 21:17:28) [GET]
7666
+ Parameters: {"locale"=>"en"}
7667
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7668
+ SQL (0.2ms) select sqlite_version(*)
7669
+ SQL (0.3ms)  SELECT name
7670
+ FROM sqlite_master
7671
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7672
+ 
7673
+ SQL (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7674
+ SQL (0.1ms)  SELECT name
7675
+ FROM sqlite_master
7676
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7677
+ 
7678
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7679
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7680
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7681
+ SQL (0.1ms)  SELECT name
7682
+ FROM sqlite_master
7683
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7684
+ 
7685
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
7686
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7687
+
7688
+
7689
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:17:43) [GET]
7690
+ Completed in 67ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7691
+
7692
+
7693
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:17:43) [GET]
7694
+ Parameters: {"locale"=>"ru"}
7695
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7696
+
7697
+
7698
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:17:43) [GET]
7699
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7700
+
7701
+
7702
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-01 21:17:43) [GET]
7703
+ Completed in 48ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7704
+
7705
+
7706
+ Processing TestController#translations (for 0.0.0.0 at 2010-09-01 21:17:43) [GET]
7707
+ Parameters: {"locale"=>"en"}
7708
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7709
+
7710
+
7711
+ Processing TestController#available (for 0.0.0.0 at 2010-09-01 21:17:43) [GET]
7712
+ Completed in 6ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
7713
+
7714
+
7715
+ Processing TestController#helpers (for 0.0.0.0 at 2010-09-01 21:17:43) [GET]
7716
+ Parameters: {"locale"=>"en"}
7717
+ Rendering test/helpers
7718
+ Completed in 29ms (View: 21, DB: 0) | 200 OK [http://test.host/en/helpers]
7719
+
7720
+
7721
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-09-01 21:17:43) [GET]
7722
+ Completed in 7ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7723
+
7724
+
7725
+ Processing TestController#controller (for 0.0.0.0 at 2010-09-01 21:17:43) [GET]
7726
+ Parameters: {"locale"=>"en"}
7727
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7728
+
7729
+
7730
+ Processing TestController#time (for 0.0.0.0 at 2010-09-01 21:17:43) [GET]
7731
+ Parameters: {"locale"=>"en"}
7732
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/time]
7733
+
7734
+
7735
+ Processing TestController#human_time (for 0.0.0.0 at 2010-09-01 21:17:43) [GET]
7736
+ Parameters: {"locale"=>"en"}
7737
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7738
+ SQL (0.2ms) select sqlite_version(*)
7739
+ SQL (0.3ms)  SELECT name
7740
+ FROM sqlite_master
7741
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7742
+ 
7743
+ SQL (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7744
+ SQL (0.1ms)  SELECT name
7745
+ FROM sqlite_master
7746
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7747
+ 
7748
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7749
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7750
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7751
+ SQL (0.2ms)  SELECT name
7752
+ FROM sqlite_master
7753
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7754
+ 
7755
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
7756
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7757
+
7758
+
7759
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-07 00:10:49) [GET]
7760
+ Completed in 27ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7761
+
7762
+
7763
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-07 00:10:49) [GET]
7764
+ Parameters: {"locale"=>"ru"}
7765
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7766
+
7767
+
7768
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-07 00:10:49) [GET]
7769
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7770
+
7771
+
7772
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-07 00:10:49) [GET]
7773
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7774
+
7775
+
7776
+ Processing TestController#translations (for 0.0.0.0 at 2010-09-07 00:10:49) [GET]
7777
+ Parameters: {"locale"=>"en"}
7778
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7779
+
7780
+
7781
+ Processing TestController#available (for 0.0.0.0 at 2010-09-07 00:10:49) [GET]
7782
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
7783
+
7784
+
7785
+ Processing TestController#helpers (for 0.0.0.0 at 2010-09-07 00:10:49) [GET]
7786
+ Parameters: {"locale"=>"en"}
7787
+ Rendering test/helpers
7788
+ Completed in 25ms (View: 13, DB: 0) | 200 OK [http://test.host/en/helpers]
7789
+
7790
+
7791
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-09-07 00:10:49) [GET]
7792
+ Completed in 11ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7793
+
7794
+
7795
+ Processing TestController#controller (for 0.0.0.0 at 2010-09-07 00:10:49) [GET]
7796
+ Parameters: {"locale"=>"en"}
7797
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7798
+
7799
+
7800
+ Processing TestController#time (for 0.0.0.0 at 2010-09-07 00:10:49) [GET]
7801
+ Parameters: {"locale"=>"en"}
7802
+ Completed in 14ms (View: 1, DB: 0) | 200 OK [http://test.host/en/time]
7803
+
7804
+
7805
+ Processing TestController#human_time (for 0.0.0.0 at 2010-09-07 00:10:49) [GET]
7806
+ Parameters: {"locale"=>"en"}
7807
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7808
+ SQL (0.3ms) select sqlite_version(*)
7809
+ SQL (2.3ms)  SELECT name
7810
+ FROM sqlite_master
7811
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7812
+ 
7813
+ SQL (0.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7814
+ SQL (0.1ms)  SELECT name
7815
+ FROM sqlite_master
7816
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7817
+ 
7818
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7819
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7820
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7821
+ SQL (0.1ms)  SELECT name
7822
+ FROM sqlite_master
7823
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7824
+ 
7825
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
7826
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7827
+
7828
+
7829
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-07 00:11:08) [GET]
7830
+ Completed in 65ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7831
+
7832
+
7833
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-07 00:11:08) [GET]
7834
+ Parameters: {"locale"=>"ru"}
7835
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7836
+
7837
+
7838
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-07 00:11:08) [GET]
7839
+ Completed in 10ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7840
+
7841
+
7842
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-07 00:11:08) [GET]
7843
+ Completed in 49ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7844
+
7845
+
7846
+ Processing TestController#translations (for 0.0.0.0 at 2010-09-07 00:11:08) [GET]
7847
+ Parameters: {"locale"=>"en"}
7848
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7849
+
7850
+
7851
+ Processing TestController#available (for 0.0.0.0 at 2010-09-07 00:11:08) [GET]
7852
+ Completed in 7ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
7853
+
7854
+
7855
+ Processing TestController#helpers (for 0.0.0.0 at 2010-09-07 00:11:08) [GET]
7856
+ Parameters: {"locale"=>"en"}
7857
+ Rendering test/helpers
7858
+ Completed in 38ms (View: 30, DB: 0) | 200 OK [http://test.host/en/helpers]
7859
+
7860
+
7861
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-09-07 00:11:08) [GET]
7862
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7863
+
7864
+
7865
+ Processing TestController#controller (for 0.0.0.0 at 2010-09-07 00:11:08) [GET]
7866
+ Parameters: {"locale"=>"en"}
7867
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7868
+
7869
+
7870
+ Processing TestController#time (for 0.0.0.0 at 2010-09-07 00:11:08) [GET]
7871
+ Parameters: {"locale"=>"en"}
7872
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/en/time]
7873
+
7874
+
7875
+ Processing TestController#human_time (for 0.0.0.0 at 2010-09-07 00:11:08) [GET]
7876
+ Parameters: {"locale"=>"en"}
7877
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7878
+ SQL (0.3ms) select sqlite_version(*)
7879
+ SQL (0.3ms)  SELECT name
7880
+ FROM sqlite_master
7881
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7882
+ 
7883
+ SQL (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7884
+ SQL (0.1ms)  SELECT name
7885
+ FROM sqlite_master
7886
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7887
+ 
7888
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7889
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7890
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7891
+ SQL (0.2ms)  SELECT name
7892
+ FROM sqlite_master
7893
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7894
+ 
7895
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
7896
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7897
+
7898
+
7899
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-22 18:27:16) [GET]
7900
+ Completed in 27ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7901
+
7902
+
7903
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-22 18:27:16) [GET]
7904
+ Parameters: {"locale"=>"ru"}
7905
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7906
+
7907
+
7908
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-22 18:27:16) [GET]
7909
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7910
+
7911
+
7912
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-22 18:27:16) [GET]
7913
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7914
+
7915
+
7916
+ Processing TestController#translations (for 0.0.0.0 at 2010-09-22 18:27:16) [GET]
7917
+ Parameters: {"locale"=>"en"}
7918
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7919
+
7920
+
7921
+ Processing TestController#available (for 0.0.0.0 at 2010-09-22 18:27:16) [GET]
7922
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
7923
+
7924
+
7925
+ Processing TestController#helpers (for 0.0.0.0 at 2010-09-22 18:27:16) [GET]
7926
+ Parameters: {"locale"=>"en"}
7927
+ Rendering test/helpers
7928
+ Completed in 32ms (View: 19, DB: 0) | 200 OK [http://test.host/en/helpers]
7929
+
7930
+
7931
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-09-22 18:27:16) [GET]
7932
+ Completed in 11ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
7933
+
7934
+
7935
+ Processing TestController#controller (for 0.0.0.0 at 2010-09-22 18:27:16) [GET]
7936
+ Parameters: {"locale"=>"en"}
7937
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
7938
+
7939
+
7940
+ Processing TestController#time (for 0.0.0.0 at 2010-09-22 18:27:16) [GET]
7941
+ Parameters: {"locale"=>"en"}
7942
+ Completed in 13ms (View: 0, DB: 0) | 200 OK [http://test.host/en/time]
7943
+
7944
+
7945
+ Processing TestController#human_time (for 0.0.0.0 at 2010-09-22 18:27:16) [GET]
7946
+ Parameters: {"locale"=>"en"}
7947
+ Completed in 12ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
7948
+ SQL (0.2ms) select sqlite_version(*)
7949
+ SQL (0.3ms)  SELECT name
7950
+ FROM sqlite_master
7951
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7952
+ 
7953
+ SQL (0.6ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
7954
+ SQL (0.1ms)  SELECT name
7955
+ FROM sqlite_master
7956
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7957
+ 
7958
+ SQL (0.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7959
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
7960
+ SQL (0.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
7961
+ SQL (0.2ms)  SELECT name
7962
+ FROM sqlite_master
7963
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
7964
+ 
7965
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
7966
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
7967
+
7968
+
7969
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-22 18:27:39) [GET]
7970
+ Completed in 68ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7971
+
7972
+
7973
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-22 18:27:39) [GET]
7974
+ Parameters: {"locale"=>"ru"}
7975
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
7976
+
7977
+
7978
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-22 18:27:39) [GET]
7979
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7980
+
7981
+
7982
+ Processing TestController#locales (for 0.0.0.0 at 2010-09-22 18:27:39) [GET]
7983
+ Completed in 47ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
7984
+
7985
+
7986
+ Processing TestController#translations (for 0.0.0.0 at 2010-09-22 18:27:39) [GET]
7987
+ Parameters: {"locale"=>"en"}
7988
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/translations]
7989
+
7990
+
7991
+ Processing TestController#available (for 0.0.0.0 at 2010-09-22 18:27:39) [GET]
7992
+ Completed in 7ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
7993
+
7994
+
7995
+ Processing TestController#helpers (for 0.0.0.0 at 2010-09-22 18:27:39) [GET]
7996
+ Parameters: {"locale"=>"en"}
7997
+ Rendering test/helpers
7998
+ Completed in 45ms (View: 38, DB: 0) | 200 OK [http://test.host/en/helpers]
7999
+
8000
+
8001
+ Processing TestController#untranslated (for 0.0.0.0 at 2010-09-22 18:27:40) [GET]
8002
+ Completed in 7ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
8003
+
8004
+
8005
+ Processing TestController#controller (for 0.0.0.0 at 2010-09-22 18:27:40) [GET]
8006
+ Parameters: {"locale"=>"en"}
8007
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/en/controller]
8008
+
8009
+
8010
+ Processing TestController#time (for 0.0.0.0 at 2010-09-22 18:27:40) [GET]
8011
+ Parameters: {"locale"=>"en"}
8012
+ Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/en/time]
8013
+
8014
+
8015
+ Processing TestController#human_time (for 0.0.0.0 at 2010-09-22 18:27:40) [GET]
8016
+ Parameters: {"locale"=>"en"}
8017
+ Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/en/human_time]
8018
+ SQL (0.2ms) select sqlite_version(*)
8019
+ SQL (0.3ms)  SELECT name
8020
+ FROM sqlite_master
8021
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8022
+ 
8023
+ SQL (0.7ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) 
8024
+ SQL (0.1ms)  SELECT name
8025
+ FROM sqlite_master
8026
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8027
+ 
8028
+ SQL (0.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
8029
+ SQL (0.1ms) PRAGMA index_list("schema_migrations")
8030
+ SQL (0.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8031
+ SQL (0.2ms)  SELECT name
8032
+ FROM sqlite_master
8033
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
8034
+ 
8035
+ SQL (0.1ms) SELECT version FROM "schema_migrations"
8036
+ SQL (0.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20091218130034')
data/spec/rails_spec.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  # encoding: utf-8
2
-
3
- require File.join(File.dirname(__FILE__), 'spec_helper')
2
+ require File.expand_path('../spec_helper', __FILE__)
4
3
 
5
4
  describe 'R18n for Rails', :type => :controller do
6
5
  controller_name :test
@@ -52,7 +51,7 @@ describe 'R18n for Rails', :type => :controller do
52
51
  it 'should format untranslated' do
53
52
  get :untranslated
54
53
  response.should be_success
55
- response.body.should == "user.<span style='color: red'>not.exists</span>"
54
+ response.body.should == 'user.<span style="color: red">not.exists</span>'
56
55
  end
57
56
 
58
57
  it "should add methods to controller" do
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: r18n-rails
3
3
  version: !ruby/object:Gem::Version
4
- hash: 113
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 7
10
- - 1
11
- version: 0.4.7.1
9
+ - 8
10
+ version: 0.4.8
12
11
  platform: ruby
13
12
  authors:
14
13
  - Andrey "A.I." Sitnik
@@ -16,7 +15,7 @@ autorequire:
16
15
  bindir: bin
17
16
  cert_chain: []
18
17
 
19
- date: 2010-08-08 00:00:00 +04:00
18
+ date: 2010-09-22 00:00:00 +04:00
20
19
  default_executable:
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency