r18n-rails 0.4
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/LICENSE +166 -0
- data/README.rdoc +223 -0
- data/lib/r18n-rails.rb +37 -0
- data/lib/r18n-rails/controller.rb +52 -0
- data/lib/r18n-rails/helpers.rb +47 -0
- data/spec/app/app/controllers/application_controller.rb +4 -0
- data/spec/app/app/controllers/test_controller.rb +23 -0
- data/spec/app/app/helpers/application_helper.rb +3 -0
- data/spec/app/app/i18n/en.yml +2 -0
- data/spec/app/app/i18n/ru.yml +2 -0
- data/spec/app/app/models/post.rb +4 -0
- data/spec/app/app/views/test/helpers.html.erb +4 -0
- data/spec/app/config/boot.rb +110 -0
- data/spec/app/config/database.yml +17 -0
- data/spec/app/config/environment.rb +9 -0
- data/spec/app/config/environments/development.rb +17 -0
- data/spec/app/config/environments/production.rb +28 -0
- data/spec/app/config/environments/test.rb +28 -0
- data/spec/app/config/initializers/session_store.rb +15 -0
- data/spec/app/config/locales/en.yml +7 -0
- data/spec/app/config/routes.rb +4 -0
- data/spec/app/db/migrate/20091218123631_create_posts.rb +12 -0
- data/spec/app/db/test.sqlite3 +0 -0
- data/spec/app/log/test.log +789 -0
- data/spec/app/script/server +3 -0
- data/spec/rails_spec.rb +77 -0
- data/spec/spec_helper.rb +6 -0
- metadata +90 -0
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
R18n helpers for Rails.
|
3
|
+
|
4
|
+
Copyright (C) 2009 Andrey “A.I.” Sitnik <andrey@sitnik.ru>
|
5
|
+
|
6
|
+
This program is free software: you can redistribute it and/or modify
|
7
|
+
it under the terms of the GNU Lesser General Public License as published by
|
8
|
+
the Free Software Foundation, either version 3 of the License, or
|
9
|
+
(at your option) any later version.
|
10
|
+
|
11
|
+
This program is distributed in the hope that it will be useful,
|
12
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14
|
+
GNU Lesser General Public License for more details.
|
15
|
+
|
16
|
+
You should have received a copy of the GNU Lesser General Public License
|
17
|
+
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
18
|
+
=end
|
19
|
+
|
20
|
+
module R18n
|
21
|
+
module Rails
|
22
|
+
module Helpers
|
23
|
+
# Return current R18n I18n object, to use R18n API:
|
24
|
+
# * <tt>r18n.available_locales</tt> – available application translations.
|
25
|
+
# * <tt>r18n.locales</tt> – List of user locales
|
26
|
+
# * <tt>r18n.reload!</tt> – Reload R18n translations
|
27
|
+
#
|
28
|
+
# You can get translations by <tt>r18n.user.name</tt>, but +t+ helper is
|
29
|
+
# more beautiful, short and also support R18n syntax.
|
30
|
+
def r18n
|
31
|
+
R18n.get
|
32
|
+
end
|
33
|
+
|
34
|
+
# Extend +t+ helper to use also R18n syntax.
|
35
|
+
#
|
36
|
+
# t 'user.name' # Rails I18n style
|
37
|
+
# t.user.name # R18n style
|
38
|
+
def t(*params)
|
39
|
+
if params.empty?
|
40
|
+
r18n.t
|
41
|
+
else
|
42
|
+
super(*params)
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
class TestController < ApplicationController
|
2
|
+
def locales
|
3
|
+
render :text => R18n.get.locales.map { |i| i.code }.join(', ')
|
4
|
+
end
|
5
|
+
|
6
|
+
def translations
|
7
|
+
render :text => "R18n: #{R18n.get.r18n.translations}. " +
|
8
|
+
"Rails I18n: #{R18n.get.i18n.translations}"
|
9
|
+
end
|
10
|
+
|
11
|
+
def available
|
12
|
+
render :text => R18n.get.available_locales.map { |i| i.code }.join(', ')
|
13
|
+
end
|
14
|
+
|
15
|
+
def helpers
|
16
|
+
@from_controller = r18n.user.name
|
17
|
+
render
|
18
|
+
end
|
19
|
+
|
20
|
+
def untranslated
|
21
|
+
render :text => "#{R18n.get.user.not.exists}"
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,110 @@
|
|
1
|
+
# Don't change this file!
|
2
|
+
# Configure your app in config/environment.rb and config/environments/*.rb
|
3
|
+
|
4
|
+
RAILS_ROOT = "#{File.dirname(__FILE__)}/.." unless defined?(RAILS_ROOT)
|
5
|
+
|
6
|
+
module Rails
|
7
|
+
class << self
|
8
|
+
def boot!
|
9
|
+
unless booted?
|
10
|
+
preinitialize
|
11
|
+
pick_boot.run
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
def booted?
|
16
|
+
defined? Rails::Initializer
|
17
|
+
end
|
18
|
+
|
19
|
+
def pick_boot
|
20
|
+
(vendor_rails? ? VendorBoot : GemBoot).new
|
21
|
+
end
|
22
|
+
|
23
|
+
def vendor_rails?
|
24
|
+
File.exist?("#{RAILS_ROOT}/vendor/rails")
|
25
|
+
end
|
26
|
+
|
27
|
+
def preinitialize
|
28
|
+
load(preinitializer_path) if File.exist?(preinitializer_path)
|
29
|
+
end
|
30
|
+
|
31
|
+
def preinitializer_path
|
32
|
+
"#{RAILS_ROOT}/config/preinitializer.rb"
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
36
|
+
class Boot
|
37
|
+
def run
|
38
|
+
load_initializer
|
39
|
+
Rails::Initializer.run(:set_load_path)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
|
43
|
+
class VendorBoot < Boot
|
44
|
+
def load_initializer
|
45
|
+
require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
|
46
|
+
Rails::Initializer.run(:install_gem_spec_stubs)
|
47
|
+
Rails::GemDependency.add_frozen_gem_path
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
class GemBoot < Boot
|
52
|
+
def load_initializer
|
53
|
+
self.class.load_rubygems
|
54
|
+
load_rails_gem
|
55
|
+
require 'initializer'
|
56
|
+
end
|
57
|
+
|
58
|
+
def load_rails_gem
|
59
|
+
if version = self.class.gem_version
|
60
|
+
gem 'rails', version
|
61
|
+
else
|
62
|
+
gem 'rails'
|
63
|
+
end
|
64
|
+
rescue Gem::LoadError => load_error
|
65
|
+
$stderr.puts %(Missing the Rails #{version} gem. Please `gem install -v=#{version} rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.)
|
66
|
+
exit 1
|
67
|
+
end
|
68
|
+
|
69
|
+
class << self
|
70
|
+
def rubygems_version
|
71
|
+
Gem::RubyGemsVersion rescue nil
|
72
|
+
end
|
73
|
+
|
74
|
+
def gem_version
|
75
|
+
if defined? RAILS_GEM_VERSION
|
76
|
+
RAILS_GEM_VERSION
|
77
|
+
elsif ENV.include?('RAILS_GEM_VERSION')
|
78
|
+
ENV['RAILS_GEM_VERSION']
|
79
|
+
else
|
80
|
+
parse_gem_version(read_environment_rb)
|
81
|
+
end
|
82
|
+
end
|
83
|
+
|
84
|
+
def load_rubygems
|
85
|
+
min_version = '1.3.2'
|
86
|
+
require 'rubygems'
|
87
|
+
unless rubygems_version >= min_version
|
88
|
+
$stderr.puts %Q(Rails requires RubyGems >= #{min_version} (you have #{rubygems_version}). Please `gem update --system` and try again.)
|
89
|
+
exit 1
|
90
|
+
end
|
91
|
+
|
92
|
+
rescue LoadError
|
93
|
+
$stderr.puts %Q(Rails requires RubyGems >= #{min_version}. Please install RubyGems and try again: http://rubygems.rubyforge.org)
|
94
|
+
exit 1
|
95
|
+
end
|
96
|
+
|
97
|
+
def parse_gem_version(text)
|
98
|
+
$1 if text =~ /^[^#]*RAILS_GEM_VERSION\s*=\s*["']([!~<>=]*\s*[\d.]+)["']/
|
99
|
+
end
|
100
|
+
|
101
|
+
private
|
102
|
+
def read_environment_rb
|
103
|
+
File.read("#{RAILS_ROOT}/config/environment.rb")
|
104
|
+
end
|
105
|
+
end
|
106
|
+
end
|
107
|
+
end
|
108
|
+
|
109
|
+
# All that for this:
|
110
|
+
Rails.boot!
|
@@ -0,0 +1,17 @@
|
|
1
|
+
development:
|
2
|
+
adapter: sqlite3
|
3
|
+
database: db/development.sqlite3
|
4
|
+
pool: 5
|
5
|
+
timeout: 5000
|
6
|
+
|
7
|
+
test:
|
8
|
+
adapter: sqlite3
|
9
|
+
database: db/test.sqlite3
|
10
|
+
pool: 5
|
11
|
+
timeout: 5000
|
12
|
+
|
13
|
+
production:
|
14
|
+
adapter: sqlite3
|
15
|
+
database: db/production.sqlite3
|
16
|
+
pool: 5
|
17
|
+
timeout: 5000
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
2
|
+
|
3
|
+
# In the development environment your application's code is reloaded on
|
4
|
+
# every request. This slows down response time but is perfect for development
|
5
|
+
# since you don't have to restart the webserver when you make code changes.
|
6
|
+
config.cache_classes = false
|
7
|
+
|
8
|
+
# Log error messages when you accidentally call methods on nil.
|
9
|
+
config.whiny_nils = true
|
10
|
+
|
11
|
+
# Show full error reports and disable caching
|
12
|
+
config.action_controller.consider_all_requests_local = true
|
13
|
+
config.action_view.debug_rjs = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
|
16
|
+
# Don't care if the mailer can't send
|
17
|
+
config.action_mailer.raise_delivery_errors = false
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
2
|
+
|
3
|
+
# The production environment is meant for finished, "live" apps.
|
4
|
+
# Code is not reloaded between requests
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Full error reports are disabled and caching is turned on
|
8
|
+
config.action_controller.consider_all_requests_local = false
|
9
|
+
config.action_controller.perform_caching = true
|
10
|
+
config.action_view.cache_template_loading = true
|
11
|
+
|
12
|
+
# See everything in the log (default is :info)
|
13
|
+
# config.log_level = :debug
|
14
|
+
|
15
|
+
# Use a different logger for distributed setups
|
16
|
+
# config.logger = SyslogLogger.new
|
17
|
+
|
18
|
+
# Use a different cache store in production
|
19
|
+
# config.cache_store = :mem_cache_store
|
20
|
+
|
21
|
+
# Enable serving of images, stylesheets, and javascripts from an asset server
|
22
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
23
|
+
|
24
|
+
# Disable delivery errors, bad email addresses will be ignored
|
25
|
+
# config.action_mailer.raise_delivery_errors = false
|
26
|
+
|
27
|
+
# Enable threaded mode
|
28
|
+
# config.threadsafe!
|
@@ -0,0 +1,28 @@
|
|
1
|
+
# Settings specified here will take precedence over those in config/environment.rb
|
2
|
+
|
3
|
+
# The test environment is used exclusively to run your application's
|
4
|
+
# test suite. You never need to work with it otherwise. Remember that
|
5
|
+
# your test database is "scratch space" for the test suite and is wiped
|
6
|
+
# and recreated between test runs. Don't rely on the data there!
|
7
|
+
config.cache_classes = true
|
8
|
+
|
9
|
+
# Log error messages when you accidentally call methods on nil.
|
10
|
+
config.whiny_nils = true
|
11
|
+
|
12
|
+
# Show full error reports and disable caching
|
13
|
+
config.action_controller.consider_all_requests_local = true
|
14
|
+
config.action_controller.perform_caching = false
|
15
|
+
config.action_view.cache_template_loading = true
|
16
|
+
|
17
|
+
# Disable request forgery protection in test environment
|
18
|
+
config.action_controller.allow_forgery_protection = false
|
19
|
+
|
20
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
21
|
+
# The :test delivery method accumulates sent emails in the
|
22
|
+
# ActionMailer::Base.deliveries array.
|
23
|
+
config.action_mailer.delivery_method = :test
|
24
|
+
|
25
|
+
# Use SQL instead of Active Record's schema dumper when creating the test database.
|
26
|
+
# This is necessary if your schema can't be completely dumped by the schema dumper,
|
27
|
+
# like if you have constraints or database-specific column types
|
28
|
+
# config.active_record.schema_format = :sql
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key for verifying cookie session data integrity.
|
4
|
+
# If you change this key, all old sessions will become invalid!
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
+
ActionController::Base.session = {
|
8
|
+
:key => '_app_session',
|
9
|
+
:secret => '9d0d98e3704e81d8e999c9761990bb2388d9f4a7dc355560c1ee5f237786ab54ddd81ed41d95d58aac06ace50224006b9fb2198af93cd442fd8335247eb78290'
|
10
|
+
}
|
11
|
+
|
12
|
+
# Use the database for sessions instead of the cookie-based default,
|
13
|
+
# which shouldn't be used to store highly confidential information
|
14
|
+
# (create the session table with "rake db:sessions:create")
|
15
|
+
# ActionController::Base.session_store = :active_record_store
|
File without changes
|
@@ -0,0 +1,789 @@
|
|
1
|
+
# Logfile created on Fri Dec 18 15:44:11 +0300 2009
|
2
|
+
|
3
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:46:32) [GET]
|
4
|
+
Completed in 17ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
5
|
+
|
6
|
+
|
7
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:46:32) [GET]
|
8
|
+
Parameters: {"locale"=>"ru"}
|
9
|
+
Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
10
|
+
|
11
|
+
|
12
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:46:32) [GET]
|
13
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
14
|
+
|
15
|
+
|
16
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:46:32) [GET]
|
17
|
+
Completed in 51ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
18
|
+
|
19
|
+
|
20
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 15:46:32) [GET]
|
21
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
22
|
+
|
23
|
+
|
24
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 15:46:32) [GET]
|
25
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
26
|
+
|
27
|
+
|
28
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 15:46:32) [GET]
|
29
|
+
Rendering test/helpers
|
30
|
+
Completed in 17ms (View: 9, DB: 0) | 200 OK [http://test.host/helpers]
|
31
|
+
|
32
|
+
|
33
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 15:46:32) [GET]
|
34
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
35
|
+
|
36
|
+
|
37
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:47:59) [GET]
|
38
|
+
Completed in 18ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
39
|
+
|
40
|
+
|
41
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:47:59) [GET]
|
42
|
+
Parameters: {"locale"=>"ru"}
|
43
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
44
|
+
|
45
|
+
|
46
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:47:59) [GET]
|
47
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
48
|
+
|
49
|
+
|
50
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:47:59) [GET]
|
51
|
+
Completed in 53ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
52
|
+
|
53
|
+
|
54
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 15:47:59) [GET]
|
55
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
56
|
+
|
57
|
+
|
58
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 15:47:59) [GET]
|
59
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
60
|
+
|
61
|
+
|
62
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 15:47:59) [GET]
|
63
|
+
Rendering test/helpers
|
64
|
+
Completed in 17ms (View: 10, DB: 0) | 200 OK [http://test.host/helpers]
|
65
|
+
|
66
|
+
|
67
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 15:47:59) [GET]
|
68
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
69
|
+
|
70
|
+
|
71
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:48:54) [GET]
|
72
|
+
Completed in 17ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
73
|
+
|
74
|
+
|
75
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:48:54) [GET]
|
76
|
+
Parameters: {"locale"=>"ru"}
|
77
|
+
Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
78
|
+
|
79
|
+
|
80
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:48:54) [GET]
|
81
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
82
|
+
|
83
|
+
|
84
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:48:54) [GET]
|
85
|
+
Completed in 53ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
86
|
+
|
87
|
+
|
88
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 15:48:54) [GET]
|
89
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
90
|
+
|
91
|
+
|
92
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 15:48:54) [GET]
|
93
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
94
|
+
|
95
|
+
|
96
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 15:48:54) [GET]
|
97
|
+
Rendering test/helpers
|
98
|
+
Completed in 17ms (View: 10, DB: 0) | 200 OK [http://test.host/helpers]
|
99
|
+
|
100
|
+
|
101
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 15:48:54) [GET]
|
102
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
103
|
+
|
104
|
+
|
105
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:49:36) [GET]
|
106
|
+
Completed in 17ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
107
|
+
|
108
|
+
|
109
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:49:36) [GET]
|
110
|
+
Parameters: {"locale"=>"ru"}
|
111
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
112
|
+
|
113
|
+
|
114
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:49:36) [GET]
|
115
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
116
|
+
|
117
|
+
|
118
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:49:36) [GET]
|
119
|
+
Completed in 72ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
120
|
+
|
121
|
+
|
122
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 15:49:36) [GET]
|
123
|
+
Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
124
|
+
|
125
|
+
|
126
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 15:49:36) [GET]
|
127
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
128
|
+
|
129
|
+
|
130
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 15:49:36) [GET]
|
131
|
+
Rendering test/helpers
|
132
|
+
Completed in 17ms (View: 9, DB: 0) | 200 OK [http://test.host/helpers]
|
133
|
+
|
134
|
+
|
135
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 15:49:36) [GET]
|
136
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
137
|
+
|
138
|
+
|
139
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:54:13) [GET]
|
140
|
+
Completed in 119ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
141
|
+
|
142
|
+
|
143
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:54:13) [GET]
|
144
|
+
Parameters: {"locale"=>"ru"}
|
145
|
+
Completed in 10ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
146
|
+
|
147
|
+
|
148
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:54:13) [GET]
|
149
|
+
Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
150
|
+
|
151
|
+
|
152
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:54:13) [GET]
|
153
|
+
Completed in 51ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
154
|
+
|
155
|
+
|
156
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 15:54:13) [GET]
|
157
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
158
|
+
|
159
|
+
|
160
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 15:54:13) [GET]
|
161
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
162
|
+
|
163
|
+
|
164
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 15:54:13) [GET]
|
165
|
+
Rendering test/helpers
|
166
|
+
Completed in 40ms (View: 32, DB: 0) | 200 OK [http://test.host/helpers]
|
167
|
+
|
168
|
+
|
169
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 15:54:13) [GET]
|
170
|
+
Completed in 10ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
171
|
+
|
172
|
+
|
173
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:57:49) [GET]
|
174
|
+
Completed in 18ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
175
|
+
|
176
|
+
|
177
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:57:49) [GET]
|
178
|
+
Parameters: {"locale"=>"ru"}
|
179
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
180
|
+
|
181
|
+
|
182
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:57:49) [GET]
|
183
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
184
|
+
|
185
|
+
|
186
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:57:49) [GET]
|
187
|
+
Completed in 51ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
188
|
+
|
189
|
+
|
190
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 15:57:49) [GET]
|
191
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
192
|
+
|
193
|
+
|
194
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 15:57:49) [GET]
|
195
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
196
|
+
|
197
|
+
|
198
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 15:57:49) [GET]
|
199
|
+
Rendering test/helpers
|
200
|
+
Completed in 17ms (View: 10, DB: 0) | 200 OK [http://test.host/helpers]
|
201
|
+
|
202
|
+
|
203
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 15:57:49) [GET]
|
204
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
205
|
+
|
206
|
+
|
207
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:59:43) [GET]
|
208
|
+
Completed in 17ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
209
|
+
|
210
|
+
|
211
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:59:43) [GET]
|
212
|
+
Parameters: {"locale"=>"ru"}
|
213
|
+
Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
214
|
+
|
215
|
+
|
216
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:59:43) [GET]
|
217
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
218
|
+
|
219
|
+
|
220
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 15:59:43) [GET]
|
221
|
+
Completed in 51ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
222
|
+
|
223
|
+
|
224
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 15:59:43) [GET]
|
225
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
226
|
+
|
227
|
+
|
228
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 15:59:43) [GET]
|
229
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
230
|
+
|
231
|
+
|
232
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 15:59:43) [GET]
|
233
|
+
Rendering test/helpers
|
234
|
+
Completed in 17ms (View: 9, DB: 0) | 200 OK [http://test.host/helpers]
|
235
|
+
|
236
|
+
|
237
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 15:59:43) [GET]
|
238
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
239
|
+
[4;36;1mSQL (0.5ms)[0m [0;1m SELECT name
|
240
|
+
FROM sqlite_master
|
241
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
242
|
+
[0m
|
243
|
+
[4;35;1mSQL (0.2ms)[0m [0mselect sqlite_version(*)[0m
|
244
|
+
[4;36;1mSQL (58.8ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
245
|
+
[4;35;1mSQL (37.7ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
246
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
247
|
+
FROM sqlite_master
|
248
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
249
|
+
[0m
|
250
|
+
|
251
|
+
|
252
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:00:06) [GET]
|
253
|
+
Completed in 18ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
254
|
+
|
255
|
+
|
256
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:00:06) [GET]
|
257
|
+
Parameters: {"locale"=>"ru"}
|
258
|
+
Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
259
|
+
|
260
|
+
|
261
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:00:06) [GET]
|
262
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
263
|
+
|
264
|
+
|
265
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:00:06) [GET]
|
266
|
+
Completed in 52ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
267
|
+
|
268
|
+
|
269
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 16:00:06) [GET]
|
270
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
271
|
+
|
272
|
+
|
273
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 16:00:06) [GET]
|
274
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
275
|
+
|
276
|
+
|
277
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 16:00:06) [GET]
|
278
|
+
Rendering test/helpers
|
279
|
+
Completed in 17ms (View: 10, DB: 0) | 200 OK [http://test.host/helpers]
|
280
|
+
|
281
|
+
|
282
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 16:00:06) [GET]
|
283
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
284
|
+
[4;36;1mSQL (0.6ms)[0m [0;1m SELECT name
|
285
|
+
FROM sqlite_master
|
286
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
287
|
+
[0m
|
288
|
+
|
289
|
+
|
290
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:02:27) [GET]
|
291
|
+
Completed in 19ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
292
|
+
|
293
|
+
|
294
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:02:27) [GET]
|
295
|
+
Parameters: {"locale"=>"ru"}
|
296
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
297
|
+
|
298
|
+
|
299
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:02:27) [GET]
|
300
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
301
|
+
|
302
|
+
|
303
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:02:27) [GET]
|
304
|
+
Completed in 53ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
305
|
+
|
306
|
+
|
307
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 16:02:27) [GET]
|
308
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
309
|
+
|
310
|
+
|
311
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 16:02:27) [GET]
|
312
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
313
|
+
|
314
|
+
|
315
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 16:02:27) [GET]
|
316
|
+
Rendering test/helpers
|
317
|
+
Completed in 18ms (View: 11, DB: 0) | 200 OK [http://test.host/helpers]
|
318
|
+
|
319
|
+
|
320
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 16:02:27) [GET]
|
321
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
322
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
323
|
+
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
324
|
+
FROM sqlite_master
|
325
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
326
|
+
[0m
|
327
|
+
[4;36;1mSQL (1.0ms)[0m [0;1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) [0m
|
328
|
+
[4;35;1mSQL (0.3ms)[0m [0m SELECT name
|
329
|
+
FROM sqlite_master
|
330
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
331
|
+
[0m
|
332
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
333
|
+
[4;35;1mSQL (0.5ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091218130034')[0m
|
334
|
+
|
335
|
+
|
336
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:02:59) [GET]
|
337
|
+
Completed in 18ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
338
|
+
|
339
|
+
|
340
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:02:59) [GET]
|
341
|
+
Parameters: {"locale"=>"ru"}
|
342
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
343
|
+
|
344
|
+
|
345
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:02:59) [GET]
|
346
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
347
|
+
|
348
|
+
|
349
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:02:59) [GET]
|
350
|
+
Completed in 69ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
351
|
+
|
352
|
+
|
353
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 16:02:59) [GET]
|
354
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
355
|
+
|
356
|
+
|
357
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 16:02:59) [GET]
|
358
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
359
|
+
|
360
|
+
|
361
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 16:02:59) [GET]
|
362
|
+
Rendering test/helpers
|
363
|
+
Completed in 17ms (View: 9, DB: 0) | 200 OK [http://test.host/helpers]
|
364
|
+
|
365
|
+
|
366
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 16:02:59) [GET]
|
367
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
368
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
369
|
+
[4;35;1mSQL (0.5ms)[0m [0m SELECT name
|
370
|
+
FROM sqlite_master
|
371
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
372
|
+
[0m
|
373
|
+
[4;36;1mSQL (1.1ms)[0m [0;1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) [0m
|
374
|
+
[4;35;1mSQL (0.3ms)[0m [0m SELECT name
|
375
|
+
FROM sqlite_master
|
376
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
377
|
+
[0m
|
378
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
379
|
+
[4;35;1mSQL (0.5ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091218130034')[0m
|
380
|
+
|
381
|
+
|
382
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:03:46) [GET]
|
383
|
+
Completed in 18ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
384
|
+
|
385
|
+
|
386
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:03:46) [GET]
|
387
|
+
Parameters: {"locale"=>"ru"}
|
388
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
389
|
+
|
390
|
+
|
391
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:03:46) [GET]
|
392
|
+
Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
393
|
+
|
394
|
+
|
395
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:03:46) [GET]
|
396
|
+
Completed in 52ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
397
|
+
|
398
|
+
|
399
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 16:03:46) [GET]
|
400
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
401
|
+
|
402
|
+
|
403
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 16:03:46) [GET]
|
404
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
405
|
+
|
406
|
+
|
407
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 16:03:46) [GET]
|
408
|
+
Rendering test/helpers
|
409
|
+
Completed in 17ms (View: 9, DB: 0) | 200 OK [http://test.host/helpers]
|
410
|
+
|
411
|
+
|
412
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 16:03:46) [GET]
|
413
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
414
|
+
[4;36;1mSQL (0.4ms)[0m [0;1mselect sqlite_version(*)[0m
|
415
|
+
[4;35;1mSQL (0.5ms)[0m [0m SELECT name
|
416
|
+
FROM sqlite_master
|
417
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
418
|
+
[0m
|
419
|
+
[4;36;1mSQL (1.2ms)[0m [0;1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) [0m
|
420
|
+
[4;35;1mSQL (0.3ms)[0m [0m SELECT name
|
421
|
+
FROM sqlite_master
|
422
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
423
|
+
[0m
|
424
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mSELECT version FROM "schema_migrations"[0m
|
425
|
+
[4;35;1mSQL (0.5ms)[0m [0mINSERT INTO "schema_migrations" (version) VALUES ('20091218130034')[0m
|
426
|
+
|
427
|
+
|
428
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:06:47) [GET]
|
429
|
+
Completed in 20ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
430
|
+
|
431
|
+
|
432
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:06:47) [GET]
|
433
|
+
Parameters: {"locale"=>"ru"}
|
434
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
435
|
+
|
436
|
+
|
437
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:06:47) [GET]
|
438
|
+
Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
439
|
+
|
440
|
+
|
441
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:06:47) [GET]
|
442
|
+
Completed in 53ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
443
|
+
|
444
|
+
|
445
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 16:06:47) [GET]
|
446
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
447
|
+
|
448
|
+
|
449
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 16:06:47) [GET]
|
450
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
451
|
+
|
452
|
+
|
453
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 16:06:47) [GET]
|
454
|
+
Rendering test/helpers
|
455
|
+
Completed in 17ms (View: 9, DB: 0) | 200 OK [http://test.host/helpers]
|
456
|
+
|
457
|
+
|
458
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 16:06:47) [GET]
|
459
|
+
Completed in 10ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
460
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
461
|
+
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
462
|
+
FROM sqlite_master
|
463
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
464
|
+
[0m
|
465
|
+
[4;36;1mSQL (0.8ms)[0m [0;1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) [0m
|
466
|
+
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
467
|
+
FROM sqlite_master
|
468
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
469
|
+
[0m
|
470
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
471
|
+
[4;35;1mSQL (0.3ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
472
|
+
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
473
|
+
FROM sqlite_master
|
474
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
475
|
+
[0m
|
476
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM "schema_migrations"[0m
|
477
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091218130034')[0m
|
478
|
+
|
479
|
+
|
480
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:07:01) [GET]
|
481
|
+
Completed in 17ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
482
|
+
|
483
|
+
|
484
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:07:01) [GET]
|
485
|
+
Parameters: {"locale"=>"ru"}
|
486
|
+
Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
487
|
+
|
488
|
+
|
489
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:07:01) [GET]
|
490
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
491
|
+
|
492
|
+
|
493
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-18 16:07:01) [GET]
|
494
|
+
Completed in 56ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
495
|
+
|
496
|
+
|
497
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-18 16:07:01) [GET]
|
498
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
499
|
+
|
500
|
+
|
501
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-18 16:07:01) [GET]
|
502
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
503
|
+
|
504
|
+
|
505
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-18 16:07:01) [GET]
|
506
|
+
Rendering test/helpers
|
507
|
+
Completed in 18ms (View: 9, DB: 0) | 200 OK [http://test.host/helpers]
|
508
|
+
|
509
|
+
|
510
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-18 16:07:01) [GET]
|
511
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
512
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
513
|
+
[4;35;1mSQL (0.5ms)[0m [0m SELECT name
|
514
|
+
FROM sqlite_master
|
515
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
516
|
+
[0m
|
517
|
+
[4;36;1mSQL (0.9ms)[0m [0;1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) [0m
|
518
|
+
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
519
|
+
FROM sqlite_master
|
520
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
521
|
+
[0m
|
522
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
523
|
+
[4;35;1mSQL (0.4ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
524
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
525
|
+
FROM sqlite_master
|
526
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
527
|
+
[0m
|
528
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM "schema_migrations"[0m
|
529
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091218130034')[0m
|
530
|
+
|
531
|
+
|
532
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-19 23:51:20) [GET]
|
533
|
+
Completed in 22ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
534
|
+
|
535
|
+
|
536
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-19 23:51:21) [GET]
|
537
|
+
Parameters: {"locale"=>"ru"}
|
538
|
+
Completed in 11ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
539
|
+
|
540
|
+
|
541
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-19 23:51:21) [GET]
|
542
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
543
|
+
|
544
|
+
|
545
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-19 23:51:21) [GET]
|
546
|
+
Completed in 77ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
547
|
+
|
548
|
+
|
549
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-19 23:51:21) [GET]
|
550
|
+
Completed in 10ms (View: 3, DB: 0) | 200 OK [http://test.host/translations]
|
551
|
+
|
552
|
+
|
553
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-19 23:51:21) [GET]
|
554
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
555
|
+
|
556
|
+
|
557
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-19 23:51:21) [GET]
|
558
|
+
Rendering test/helpers
|
559
|
+
Completed in 52ms (View: 44, DB: 0) | 200 OK [http://test.host/helpers]
|
560
|
+
|
561
|
+
|
562
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-19 23:51:21) [GET]
|
563
|
+
Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
564
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
565
|
+
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
566
|
+
FROM sqlite_master
|
567
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
568
|
+
[0m
|
569
|
+
[4;36;1mSQL (0.9ms)[0m [0;1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) [0m
|
570
|
+
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
571
|
+
FROM sqlite_master
|
572
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
573
|
+
[0m
|
574
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
575
|
+
[4;35;1mSQL (0.4ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
576
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
577
|
+
FROM sqlite_master
|
578
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
579
|
+
[0m
|
580
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM "schema_migrations"[0m
|
581
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091218130034')[0m
|
582
|
+
|
583
|
+
|
584
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-19 23:51:44) [GET]
|
585
|
+
Completed in 17ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
586
|
+
|
587
|
+
|
588
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-19 23:51:44) [GET]
|
589
|
+
Parameters: {"locale"=>"ru"}
|
590
|
+
Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
591
|
+
|
592
|
+
|
593
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-19 23:51:44) [GET]
|
594
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
595
|
+
|
596
|
+
|
597
|
+
Processing TestController#locales (for 0.0.0.0 at 2009-12-19 23:51:44) [GET]
|
598
|
+
Completed in 69ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
599
|
+
|
600
|
+
|
601
|
+
Processing TestController#translations (for 0.0.0.0 at 2009-12-19 23:51:44) [GET]
|
602
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
603
|
+
|
604
|
+
|
605
|
+
Processing TestController#available (for 0.0.0.0 at 2009-12-19 23:51:44) [GET]
|
606
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
607
|
+
|
608
|
+
|
609
|
+
Processing TestController#helpers (for 0.0.0.0 at 2009-12-19 23:51:44) [GET]
|
610
|
+
Rendering test/helpers
|
611
|
+
Completed in 18ms (View: 10, DB: 0) | 200 OK [http://test.host/helpers]
|
612
|
+
|
613
|
+
|
614
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2009-12-19 23:51:44) [GET]
|
615
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
616
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
617
|
+
[4;35;1mSQL (0.5ms)[0m [0m SELECT name
|
618
|
+
FROM sqlite_master
|
619
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
620
|
+
[0m
|
621
|
+
[4;36;1mSQL (0.8ms)[0m [0;1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) [0m
|
622
|
+
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
623
|
+
FROM sqlite_master
|
624
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
625
|
+
[0m
|
626
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
627
|
+
[4;35;1mSQL (0.4ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
628
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
629
|
+
FROM sqlite_master
|
630
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
631
|
+
[0m
|
632
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM "schema_migrations"[0m
|
633
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091218130034')[0m
|
634
|
+
|
635
|
+
|
636
|
+
Processing TestController#locales (for 0.0.0.0 at 2010-01-03 18:33:55) [GET]
|
637
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
638
|
+
|
639
|
+
|
640
|
+
Processing TestController#locales (for 0.0.0.0 at 2010-01-03 18:33:55) [GET]
|
641
|
+
Parameters: {"locale"=>"ru"}
|
642
|
+
Completed in 5ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
643
|
+
|
644
|
+
|
645
|
+
Processing TestController#locales (for 0.0.0.0 at 2010-01-03 18:33:55) [GET]
|
646
|
+
Completed in 5ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
647
|
+
|
648
|
+
|
649
|
+
Processing TestController#locales (for 0.0.0.0 at 2010-01-03 18:33:55) [GET]
|
650
|
+
Completed in 4ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
651
|
+
|
652
|
+
|
653
|
+
Processing TestController#translations (for 0.0.0.0 at 2010-01-03 18:33:55) [GET]
|
654
|
+
Completed in 4ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
655
|
+
|
656
|
+
|
657
|
+
Processing TestController#available (for 0.0.0.0 at 2010-01-03 18:33:55) [GET]
|
658
|
+
Completed in 4ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
659
|
+
|
660
|
+
|
661
|
+
Processing TestController#helpers (for 0.0.0.0 at 2010-01-03 18:33:55) [GET]
|
662
|
+
Rendering test/helpers
|
663
|
+
Completed in 72ms (View: 68, DB: 0) | 200 OK [http://test.host/helpers]
|
664
|
+
|
665
|
+
|
666
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2010-01-03 18:33:55) [GET]
|
667
|
+
Completed in 4ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
668
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
669
|
+
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
670
|
+
FROM sqlite_master
|
671
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
672
|
+
[0m
|
673
|
+
[4;36;1mSQL (0.8ms)[0m [0;1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) [0m
|
674
|
+
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
675
|
+
FROM sqlite_master
|
676
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
677
|
+
[0m
|
678
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
679
|
+
[4;35;1mSQL (0.4ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
680
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
681
|
+
FROM sqlite_master
|
682
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
683
|
+
[0m
|
684
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM "schema_migrations"[0m
|
685
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091218130034')[0m
|
686
|
+
|
687
|
+
|
688
|
+
Processing TestController#locales (for 0.0.0.0 at 2010-01-03 19:32:59) [GET]
|
689
|
+
Completed in 8ms (View: 1, DB: 0) | 200 OK [http://test.host/locales]
|
690
|
+
|
691
|
+
|
692
|
+
Processing TestController#locales (for 0.0.0.0 at 2010-01-03 19:32:59) [GET]
|
693
|
+
Parameters: {"locale"=>"ru"}
|
694
|
+
Completed in 5ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
695
|
+
|
696
|
+
|
697
|
+
Processing TestController#locales (for 0.0.0.0 at 2010-01-03 19:32:59) [GET]
|
698
|
+
Completed in 4ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
699
|
+
|
700
|
+
|
701
|
+
Processing TestController#locales (for 0.0.0.0 at 2010-01-03 19:32:59) [GET]
|
702
|
+
Completed in 5ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
703
|
+
|
704
|
+
|
705
|
+
Processing TestController#translations (for 0.0.0.0 at 2010-01-03 19:32:59) [GET]
|
706
|
+
Completed in 4ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
707
|
+
|
708
|
+
|
709
|
+
Processing TestController#available (for 0.0.0.0 at 2010-01-03 19:32:59) [GET]
|
710
|
+
Completed in 4ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
711
|
+
|
712
|
+
|
713
|
+
Processing TestController#helpers (for 0.0.0.0 at 2010-01-03 19:32:59) [GET]
|
714
|
+
Rendering test/helpers
|
715
|
+
Completed in 42ms (View: 38, DB: 0) | 200 OK [http://test.host/helpers]
|
716
|
+
|
717
|
+
|
718
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2010-01-03 19:32:59) [GET]
|
719
|
+
Completed in 5ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
720
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
721
|
+
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
722
|
+
FROM sqlite_master
|
723
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
724
|
+
[0m
|
725
|
+
[4;36;1mSQL (0.8ms)[0m [0;1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) [0m
|
726
|
+
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
727
|
+
FROM sqlite_master
|
728
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
729
|
+
[0m
|
730
|
+
[4;36;1mSQL (0.2ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
731
|
+
[4;35;1mSQL (0.4ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
732
|
+
[4;36;1mSQL (0.3ms)[0m [0;1m SELECT name
|
733
|
+
FROM sqlite_master
|
734
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
735
|
+
[0m
|
736
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM "schema_migrations"[0m
|
737
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091218130034')[0m
|
738
|
+
|
739
|
+
|
740
|
+
Processing TestController#locales (for 0.0.0.0 at 2010-01-03 19:33:28) [GET]
|
741
|
+
Completed in 19ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
742
|
+
|
743
|
+
|
744
|
+
Processing TestController#locales (for 0.0.0.0 at 2010-01-03 19:33:28) [GET]
|
745
|
+
Parameters: {"locale"=>"ru"}
|
746
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/ru/locales]
|
747
|
+
|
748
|
+
|
749
|
+
Processing TestController#locales (for 0.0.0.0 at 2010-01-03 19:33:28) [GET]
|
750
|
+
Completed in 9ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
751
|
+
|
752
|
+
|
753
|
+
Processing TestController#locales (for 0.0.0.0 at 2010-01-03 19:33:28) [GET]
|
754
|
+
Completed in 53ms (View: 0, DB: 0) | 200 OK [http://test.host/locales]
|
755
|
+
|
756
|
+
|
757
|
+
Processing TestController#translations (for 0.0.0.0 at 2010-01-03 19:33:28) [GET]
|
758
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/translations]
|
759
|
+
|
760
|
+
|
761
|
+
Processing TestController#available (for 0.0.0.0 at 2010-01-03 19:33:28) [GET]
|
762
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/available]
|
763
|
+
|
764
|
+
|
765
|
+
Processing TestController#helpers (for 0.0.0.0 at 2010-01-03 19:33:28) [GET]
|
766
|
+
Rendering test/helpers
|
767
|
+
Completed in 18ms (View: 10, DB: 0) | 200 OK [http://test.host/helpers]
|
768
|
+
|
769
|
+
|
770
|
+
Processing TestController#untranslated (for 0.0.0.0 at 2010-01-03 19:33:28) [GET]
|
771
|
+
Completed in 8ms (View: 0, DB: 0) | 200 OK [http://test.host/untranslated]
|
772
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mselect sqlite_version(*)[0m
|
773
|
+
[4;35;1mSQL (0.4ms)[0m [0m SELECT name
|
774
|
+
FROM sqlite_master
|
775
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
776
|
+
[0m
|
777
|
+
[4;36;1mSQL (0.7ms)[0m [0;1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title_en" varchar(255), "title_ru" varchar(255)) [0m
|
778
|
+
[4;35;1mSQL (0.2ms)[0m [0m SELECT name
|
779
|
+
FROM sqlite_master
|
780
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
781
|
+
[0m
|
782
|
+
[4;36;1mSQL (0.3ms)[0m [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
783
|
+
[4;35;1mSQL (0.4ms)[0m [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
784
|
+
[4;36;1mSQL (0.2ms)[0m [0;1m SELECT name
|
785
|
+
FROM sqlite_master
|
786
|
+
WHERE type = 'table' AND NOT name = 'sqlite_sequence'
|
787
|
+
[0m
|
788
|
+
[4;35;1mSQL (0.1ms)[0m [0mSELECT version FROM "schema_migrations"[0m
|
789
|
+
[4;36;1mSQL (0.1ms)[0m [0;1mINSERT INTO "schema_migrations" (version) VALUES ('20091218130034')[0m
|