translatable_routes 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +46 -0
- data/Rakefile +32 -0
- data/lib/translatable_routes/action_controller/base.rb +38 -0
- data/lib/translatable_routes/action_dispatch/mapper.rb +72 -0
- data/lib/translatable_routes/action_dispatch/named_route_collection.rb +27 -0
- data/lib/translatable_routes/railtie.rb +14 -0
- data/lib/translatable_routes/version.rb +5 -0
- data/lib/translatable_routes.rb +8 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/javascripts/application.js +13 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/namespace/nested_controller.rb +6 -0
- data/test/dummy/app/controllers/namespace/nested_resources_controller.rb +6 -0
- data/test/dummy/app/controllers/pages_controller.rb +6 -0
- data/test/dummy/app/controllers/params_controller.rb +6 -0
- data/test/dummy/app/controllers/resources_controller.rb +6 -0
- data/test/dummy/app/controllers/simple_controller.rb +6 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/app/views/pages/show.html.erb +0 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +4 -0
- data/test/dummy/bin/rake +4 -0
- data/test/dummy/config/application.rb +29 -0
- data/test/dummy/config/boot.rb +5 -0
- data/test/dummy/config/database.yml +25 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +29 -0
- data/test/dummy/config/environments/production.rb +80 -0
- data/test/dummy/config/environments/test.rb +36 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +12 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en-US.yml +9 -0
- data/test/dummy/config/locales/es-AR.yml +9 -0
- data/test/dummy/config/locales/es-UY.yml +9 -0
- data/test/dummy/config/routes.rb +59 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +16 -0
- data/test/dummy/log/development.log +7 -0
- data/test/dummy/log/test.log +827 -0
- data/test/dummy/public/404.html +58 -0
- data/test/dummy/public/422.html +58 -0
- data/test/dummy/public/500.html +57 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/locale_test.rb +34 -0
- data/test/routes_test.rb +96 -0
- data/test/test_helper.rb +21 -0
- metadata +188 -0
data/test/dummy/bin/rake
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
require File.expand_path('../boot', __FILE__)
|
2
|
+
|
3
|
+
require 'rails/all'
|
4
|
+
|
5
|
+
Bundler.require(*Rails.groups)
|
6
|
+
require 'translatable_routes'
|
7
|
+
|
8
|
+
module Dummy
|
9
|
+
class Application < Rails::Application
|
10
|
+
# Settings in config/environments/* take precedence over those specified here.
|
11
|
+
# Application configuration should go into files in config/initializers
|
12
|
+
# -- all .rb files in that directory are automatically loaded.
|
13
|
+
|
14
|
+
# Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
|
15
|
+
# Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
|
16
|
+
# config.time_zone = 'Central Time (US & Canada)'
|
17
|
+
|
18
|
+
# The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
|
19
|
+
# config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
|
20
|
+
# config.i18n.default_locale = :de
|
21
|
+
|
22
|
+
config.translatable_routes.selection = :subdomain
|
23
|
+
config.translatable_routes.mapping = {
|
24
|
+
en: :us,
|
25
|
+
es: [:uy, :ar]
|
26
|
+
}
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# SQLite version 3.x
|
2
|
+
# gem install sqlite3
|
3
|
+
#
|
4
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
|
+
# gem 'sqlite3'
|
6
|
+
development:
|
7
|
+
adapter: sqlite3
|
8
|
+
database: db/development.sqlite3
|
9
|
+
pool: 5
|
10
|
+
timeout: 5000
|
11
|
+
|
12
|
+
# Warning: The database defined as "test" will be erased and
|
13
|
+
# re-generated from your development database when you run "rake".
|
14
|
+
# Do not set this db to the same as development or production.
|
15
|
+
test:
|
16
|
+
adapter: sqlite3
|
17
|
+
database: ":memory:"
|
18
|
+
pool: 5
|
19
|
+
timeout: 5000
|
20
|
+
|
21
|
+
production:
|
22
|
+
adapter: sqlite3
|
23
|
+
database: db/production.sqlite3
|
24
|
+
pool: 5
|
25
|
+
timeout: 5000
|
@@ -0,0 +1,29 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# In the development environment your application's code is reloaded on
|
5
|
+
# every request. This slows down response time but is perfect for development
|
6
|
+
# since you don't have to restart the web server when you make code changes.
|
7
|
+
config.cache_classes = false
|
8
|
+
|
9
|
+
# Do not eager load code on boot.
|
10
|
+
config.eager_load = false
|
11
|
+
|
12
|
+
# Show full error reports and disable caching.
|
13
|
+
config.consider_all_requests_local = 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
|
18
|
+
|
19
|
+
# Print deprecation notices to the Rails logger.
|
20
|
+
config.active_support.deprecation = :log
|
21
|
+
|
22
|
+
# Raise an error on page load if there are pending migrations
|
23
|
+
config.active_record.migration_error = :page_load
|
24
|
+
|
25
|
+
# Debug mode disables concatenation and preprocessing of assets.
|
26
|
+
# This option may cause significant delays in view rendering with a large
|
27
|
+
# number of complex assets.
|
28
|
+
config.assets.debug = true
|
29
|
+
end
|
@@ -0,0 +1,80 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# Code is not reloaded between requests.
|
5
|
+
config.cache_classes = true
|
6
|
+
|
7
|
+
# Eager load code on boot. This eager loads most of Rails and
|
8
|
+
# your application in memory, allowing both thread web servers
|
9
|
+
# and those relying on copy on write to perform better.
|
10
|
+
# Rake tasks automatically ignore this option for performance.
|
11
|
+
config.eager_load = true
|
12
|
+
|
13
|
+
# Full error reports are disabled and caching is turned on.
|
14
|
+
config.consider_all_requests_local = false
|
15
|
+
config.action_controller.perform_caching = true
|
16
|
+
|
17
|
+
# Enable Rack::Cache to put a simple HTTP cache in front of your application
|
18
|
+
# Add `rack-cache` to your Gemfile before enabling this.
|
19
|
+
# For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
|
20
|
+
# config.action_dispatch.rack_cache = true
|
21
|
+
|
22
|
+
# Disable Rails's static asset server (Apache or nginx will already do this).
|
23
|
+
config.serve_static_assets = false
|
24
|
+
|
25
|
+
# Compress JavaScripts and CSS.
|
26
|
+
config.assets.js_compressor = :uglifier
|
27
|
+
# config.assets.css_compressor = :sass
|
28
|
+
|
29
|
+
# Do not fallback to assets pipeline if a precompiled asset is missed.
|
30
|
+
config.assets.compile = false
|
31
|
+
|
32
|
+
# Generate digests for assets URLs.
|
33
|
+
config.assets.digest = true
|
34
|
+
|
35
|
+
# Version of your assets, change this if you want to expire all your assets.
|
36
|
+
config.assets.version = '1.0'
|
37
|
+
|
38
|
+
# Specifies the header that your server uses for sending files.
|
39
|
+
# config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
|
40
|
+
# config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
|
41
|
+
|
42
|
+
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
|
43
|
+
# config.force_ssl = true
|
44
|
+
|
45
|
+
# Set to :debug to see everything in the log.
|
46
|
+
config.log_level = :info
|
47
|
+
|
48
|
+
# Prepend all log lines with the following tags.
|
49
|
+
# config.log_tags = [ :subdomain, :uuid ]
|
50
|
+
|
51
|
+
# Use a different logger for distributed setups.
|
52
|
+
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
|
53
|
+
|
54
|
+
# Use a different cache store in production.
|
55
|
+
# config.cache_store = :mem_cache_store
|
56
|
+
|
57
|
+
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
|
58
|
+
# config.action_controller.asset_host = "http://assets.example.com"
|
59
|
+
|
60
|
+
# Precompile additional assets.
|
61
|
+
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
62
|
+
# config.assets.precompile += %w( search.js )
|
63
|
+
|
64
|
+
# Ignore bad email addresses and do not raise email delivery errors.
|
65
|
+
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
|
66
|
+
# config.action_mailer.raise_delivery_errors = false
|
67
|
+
|
68
|
+
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
69
|
+
# the I18n.default_locale when a translation can not be found).
|
70
|
+
config.i18n.fallbacks = true
|
71
|
+
|
72
|
+
# Send deprecation notices to registered listeners.
|
73
|
+
config.active_support.deprecation = :notify
|
74
|
+
|
75
|
+
# Disable automatic flushing of the log to improve performance.
|
76
|
+
# config.autoflush_log = false
|
77
|
+
|
78
|
+
# Use default logging formatter so that PID and timestamp are not suppressed.
|
79
|
+
config.log_formatter = ::Logger::Formatter.new
|
80
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb.
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Do not eager load code on boot. This avoids loading your whole application
|
11
|
+
# just for the purpose of running a single test. If you are using a tool that
|
12
|
+
# preloads Rails for running tests, you may have to set it to true.
|
13
|
+
config.eager_load = false
|
14
|
+
|
15
|
+
# Configure static asset server for tests with Cache-Control for performance.
|
16
|
+
config.serve_static_assets = true
|
17
|
+
config.static_cache_control = "public, max-age=3600"
|
18
|
+
|
19
|
+
# Show full error reports and disable caching.
|
20
|
+
config.consider_all_requests_local = true
|
21
|
+
config.action_controller.perform_caching = false
|
22
|
+
|
23
|
+
# Raise exceptions instead of rendering exception templates.
|
24
|
+
config.action_dispatch.show_exceptions = false
|
25
|
+
|
26
|
+
# Disable request forgery protection in test environment.
|
27
|
+
config.action_controller.allow_forgery_protection = false
|
28
|
+
|
29
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
30
|
+
# The :test delivery method accumulates sent emails in the
|
31
|
+
# ActionMailer::Base.deliveries array.
|
32
|
+
config.action_mailer.delivery_method = :test
|
33
|
+
|
34
|
+
# Print deprecation notices to the stderr.
|
35
|
+
config.active_support.deprecation = :stderr
|
36
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
|
+
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
4
|
+
# are locale specific, and you may define rules for as many different
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
9
|
+
# inflect.irregular 'person', 'people'
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
11
|
+
# end
|
12
|
+
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
15
|
+
# inflect.acronym 'RESTful'
|
16
|
+
# end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
5
|
+
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
9
|
+
|
10
|
+
# Make sure your secret_key_base is kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
Dummy::Application.config.secret_key_base = '94bacb757cb090cba6681745bdf0b277d02b62765f5a593cf267c51ec4d2c138c51a1c414fa82a1d8b5429db29926ec56bcacbab6c2e1e74492c8c0274b65077'
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
9
|
+
end
|
10
|
+
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
13
|
+
# self.include_root_in_json = true
|
14
|
+
# end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
|
3
|
+
root to: 'pages#show'
|
4
|
+
|
5
|
+
# The priority is based upon order of creation: first created -> highest priority.
|
6
|
+
# See how all your routes lay out with "rake routes".
|
7
|
+
|
8
|
+
# You can have the root of your site routed with "root"
|
9
|
+
# root 'welcome#index'
|
10
|
+
|
11
|
+
# Example of regular route:
|
12
|
+
# get 'products/:id' => 'catalog#view'
|
13
|
+
|
14
|
+
# Example of named route that can be invoked with purchase_url(id: product.id)
|
15
|
+
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
16
|
+
|
17
|
+
# Example resource route (maps HTTP verbs to controller actions automatically):
|
18
|
+
# resources :products
|
19
|
+
|
20
|
+
# Example resource route with options:
|
21
|
+
# resources :products do
|
22
|
+
# member do
|
23
|
+
# get 'short'
|
24
|
+
# post 'toggle'
|
25
|
+
# end
|
26
|
+
#
|
27
|
+
# collection do
|
28
|
+
# get 'sold'
|
29
|
+
# end
|
30
|
+
# end
|
31
|
+
|
32
|
+
# Example resource route with sub-resources:
|
33
|
+
# resources :products do
|
34
|
+
# resources :comments, :sales
|
35
|
+
# resource :seller
|
36
|
+
# end
|
37
|
+
|
38
|
+
# Example resource route with more complex sub-resources:
|
39
|
+
# resources :products do
|
40
|
+
# resources :comments
|
41
|
+
# resources :sales do
|
42
|
+
# get 'recent', on: :collection
|
43
|
+
# end
|
44
|
+
# end
|
45
|
+
|
46
|
+
# Example resource route with concerns:
|
47
|
+
# concern :toggleable do
|
48
|
+
# post 'toggle'
|
49
|
+
# end
|
50
|
+
# resources :posts, concerns: :toggleable
|
51
|
+
# resources :photos, concerns: :toggleable
|
52
|
+
|
53
|
+
# Example resource route within a namespace:
|
54
|
+
# namespace :admin do
|
55
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
56
|
+
# # (app/controllers/admin/products_controller.rb)
|
57
|
+
# resources :products
|
58
|
+
# end
|
59
|
+
end
|
Binary file
|
@@ -0,0 +1,16 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(version: 0) do
|
15
|
+
|
16
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
[1m[36m (2.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[35m (2.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
4
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
5
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
6
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
7
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
@@ -0,0 +1,827 @@
|
|
1
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
3
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
4
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
5
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
6
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
7
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
8
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
9
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10
|
+
-------------------------------------------------------
|
11
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
12
|
+
-------------------------------------------------------
|
13
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
14
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15
|
+
----------------------------------------------------------
|
16
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
17
|
+
----------------------------------------------------------
|
18
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
19
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20
|
+
-----------------------------------------------
|
21
|
+
RoutesTest: test_should_translate_prefix_routes
|
22
|
+
-----------------------------------------------
|
23
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
24
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
25
|
+
--------------------------------------------------
|
26
|
+
RoutesTest: test_should_translate_subdomain_routes
|
27
|
+
--------------------------------------------------
|
28
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
29
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
30
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
31
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
32
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
33
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
34
|
+
-------------------------------------------------------
|
35
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
36
|
+
-------------------------------------------------------
|
37
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
38
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
39
|
+
----------------------------------------------------------
|
40
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
41
|
+
----------------------------------------------------------
|
42
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
43
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
44
|
+
-----------------------------------------------
|
45
|
+
RoutesTest: test_should_translate_prefix_routes
|
46
|
+
-----------------------------------------------
|
47
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
48
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
49
|
+
--------------------------------------------------
|
50
|
+
RoutesTest: test_should_translate_subdomain_routes
|
51
|
+
--------------------------------------------------
|
52
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
53
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
54
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
55
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
56
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
57
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
58
|
+
-------------------------------------------------------
|
59
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
60
|
+
-------------------------------------------------------
|
61
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
62
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
63
|
+
----------------------------------------------------------
|
64
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
65
|
+
----------------------------------------------------------
|
66
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68
|
+
-----------------------------------------------
|
69
|
+
RoutesTest: test_should_translate_prefix_routes
|
70
|
+
-----------------------------------------------
|
71
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
72
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
73
|
+
--------------------------------------------------
|
74
|
+
RoutesTest: test_should_translate_subdomain_routes
|
75
|
+
--------------------------------------------------
|
76
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
77
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
78
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
79
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
80
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
81
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
82
|
+
-------------------------------------------------------
|
83
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
84
|
+
-------------------------------------------------------
|
85
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
86
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
87
|
+
----------------------------------------------------------
|
88
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
89
|
+
----------------------------------------------------------
|
90
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
91
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
92
|
+
-----------------------------------------------
|
93
|
+
RoutesTest: test_should_translate_prefix_routes
|
94
|
+
-----------------------------------------------
|
95
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
96
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
97
|
+
--------------------------------------------------
|
98
|
+
RoutesTest: test_should_translate_subdomain_routes
|
99
|
+
--------------------------------------------------
|
100
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
101
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
102
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
103
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
104
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
105
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
106
|
+
-------------------------------------------------------
|
107
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
108
|
+
-------------------------------------------------------
|
109
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
110
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
111
|
+
----------------------------------------------------------
|
112
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
113
|
+
----------------------------------------------------------
|
114
|
+
Processing by PagesController#index as HTML
|
115
|
+
Completed 500 Internal Server Error in 119ms
|
116
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
117
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
118
|
+
-----------------------------------------------
|
119
|
+
RoutesTest: test_should_translate_prefix_routes
|
120
|
+
-----------------------------------------------
|
121
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
122
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
123
|
+
--------------------------------------------------
|
124
|
+
RoutesTest: test_should_translate_subdomain_routes
|
125
|
+
--------------------------------------------------
|
126
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
127
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
128
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
129
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
130
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
131
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
132
|
+
-------------------------------------------------------
|
133
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
134
|
+
-------------------------------------------------------
|
135
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
136
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
137
|
+
----------------------------------------------------------
|
138
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
139
|
+
----------------------------------------------------------
|
140
|
+
Processing by PagesController#index as HTML
|
141
|
+
Completed 200 OK in 124ms (Views: 123.6ms | ActiveRecord: 0.0ms)
|
142
|
+
Processing by PagesController#index as HTML
|
143
|
+
Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
|
144
|
+
Processing by PagesController#index as HTML
|
145
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
146
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
147
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
148
|
+
-----------------------------------------------
|
149
|
+
RoutesTest: test_should_translate_prefix_routes
|
150
|
+
-----------------------------------------------
|
151
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
152
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
153
|
+
--------------------------------------------------
|
154
|
+
RoutesTest: test_should_translate_subdomain_routes
|
155
|
+
--------------------------------------------------
|
156
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
157
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
158
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
159
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
160
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
161
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
162
|
+
-------------------------------------------------------
|
163
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
164
|
+
-------------------------------------------------------
|
165
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
166
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
167
|
+
----------------------------------------------------------
|
168
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
169
|
+
----------------------------------------------------------
|
170
|
+
Processing by PagesController#index as HTML
|
171
|
+
Completed 200 OK in 85ms (Views: 84.6ms | ActiveRecord: 0.0ms)
|
172
|
+
Processing by PagesController#index as HTML
|
173
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
174
|
+
Processing by PagesController#index as HTML
|
175
|
+
Completed 200 OK in 2ms (Views: 2.2ms | ActiveRecord: 0.0ms)
|
176
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
177
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
178
|
+
-----------------------------------------------
|
179
|
+
RoutesTest: test_should_translate_prefix_routes
|
180
|
+
-----------------------------------------------
|
181
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
182
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
183
|
+
--------------------------------------------------
|
184
|
+
RoutesTest: test_should_translate_subdomain_routes
|
185
|
+
--------------------------------------------------
|
186
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
187
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
188
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
189
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
190
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
191
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
192
|
+
-------------------------------------------------------
|
193
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
194
|
+
-------------------------------------------------------
|
195
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
196
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
197
|
+
----------------------------------------------------------
|
198
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
199
|
+
----------------------------------------------------------
|
200
|
+
Processing by PagesController#index as HTML
|
201
|
+
Completed 200 OK in 12ms (Views: 11.8ms | ActiveRecord: 0.0ms)
|
202
|
+
Processing by PagesController#index as HTML
|
203
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
204
|
+
Processing by PagesController#index as HTML
|
205
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
206
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
207
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
208
|
+
-----------------------------------------------
|
209
|
+
RoutesTest: test_should_translate_prefix_routes
|
210
|
+
-----------------------------------------------
|
211
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
213
|
+
--------------------------------------------------
|
214
|
+
RoutesTest: test_should_translate_subdomain_routes
|
215
|
+
--------------------------------------------------
|
216
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
217
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
218
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
219
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
220
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
221
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
222
|
+
-------------------------------------------------------
|
223
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
224
|
+
-------------------------------------------------------
|
225
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
226
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
227
|
+
----------------------------------------------------------
|
228
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
229
|
+
----------------------------------------------------------
|
230
|
+
Processing by PagesController#index as HTML
|
231
|
+
Completed 200 OK in 12ms (Views: 11.8ms | ActiveRecord: 0.0ms)
|
232
|
+
Processing by PagesController#index as HTML
|
233
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
234
|
+
Processing by PagesController#index as HTML
|
235
|
+
Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
236
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
237
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
238
|
+
-----------------------------------------------
|
239
|
+
RoutesTest: test_should_translate_prefix_routes
|
240
|
+
-----------------------------------------------
|
241
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
243
|
+
--------------------------------------------------
|
244
|
+
RoutesTest: test_should_translate_subdomain_routes
|
245
|
+
--------------------------------------------------
|
246
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
247
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
248
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
249
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
250
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
251
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
252
|
+
-------------------------------------------------------
|
253
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
254
|
+
-------------------------------------------------------
|
255
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
256
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
257
|
+
----------------------------------------------------------
|
258
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
259
|
+
----------------------------------------------------------
|
260
|
+
Processing by PagesController#index as HTML
|
261
|
+
Completed 200 OK in 12ms (Views: 11.9ms | ActiveRecord: 0.0ms)
|
262
|
+
Processing by PagesController#index as HTML
|
263
|
+
Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
|
264
|
+
Processing by PagesController#index as HTML
|
265
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
266
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
267
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
268
|
+
-----------------------------------------------
|
269
|
+
RoutesTest: test_should_translate_prefix_routes
|
270
|
+
-----------------------------------------------
|
271
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
272
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
273
|
+
--------------------------------------------------
|
274
|
+
RoutesTest: test_should_translate_subdomain_routes
|
275
|
+
--------------------------------------------------
|
276
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
277
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
278
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
279
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
280
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
281
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
282
|
+
-------------------------------------------------------
|
283
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
284
|
+
-------------------------------------------------------
|
285
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
286
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
287
|
+
----------------------------------------------------------
|
288
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
289
|
+
----------------------------------------------------------
|
290
|
+
Processing by PagesController#index as HTML
|
291
|
+
Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
|
292
|
+
Processing by PagesController#index as HTML
|
293
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
294
|
+
Processing by PagesController#index as HTML
|
295
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
296
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
297
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
298
|
+
-----------------------------------------------
|
299
|
+
RoutesTest: test_should_translate_prefix_routes
|
300
|
+
-----------------------------------------------
|
301
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
302
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
303
|
+
--------------------------------------------------
|
304
|
+
RoutesTest: test_should_translate_subdomain_routes
|
305
|
+
--------------------------------------------------
|
306
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
307
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
308
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
309
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
310
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
311
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
312
|
+
-------------------------------------------------------
|
313
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
314
|
+
-------------------------------------------------------
|
315
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
316
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
317
|
+
----------------------------------------------------------
|
318
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
319
|
+
----------------------------------------------------------
|
320
|
+
Processing by PagesController#index as HTML
|
321
|
+
Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.0ms)
|
322
|
+
Processing by PagesController#index as HTML
|
323
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
324
|
+
Processing by PagesController#index as HTML
|
325
|
+
Completed 200 OK in 2ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
326
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
327
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
328
|
+
-----------------------------------------------
|
329
|
+
RoutesTest: test_should_translate_prefix_routes
|
330
|
+
-----------------------------------------------
|
331
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
332
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
333
|
+
--------------------------------------------------
|
334
|
+
RoutesTest: test_should_translate_subdomain_routes
|
335
|
+
--------------------------------------------------
|
336
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
337
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
338
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
339
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
340
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
341
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
342
|
+
-------------------------------------------------------
|
343
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
344
|
+
-------------------------------------------------------
|
345
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
346
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
347
|
+
----------------------------------------------------------
|
348
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
349
|
+
----------------------------------------------------------
|
350
|
+
Processing by PagesController#index as HTML
|
351
|
+
Completed 200 OK in 13ms (Views: 12.3ms | ActiveRecord: 0.0ms)
|
352
|
+
Processing by PagesController#index as HTML
|
353
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
354
|
+
Processing by PagesController#index as HTML
|
355
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
356
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
357
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
358
|
+
-----------------------------------------------
|
359
|
+
RoutesTest: test_should_translate_prefix_routes
|
360
|
+
-----------------------------------------------
|
361
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
362
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
363
|
+
--------------------------------------------------
|
364
|
+
RoutesTest: test_should_translate_subdomain_routes
|
365
|
+
--------------------------------------------------
|
366
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
367
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
368
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
369
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
370
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
371
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
372
|
+
-------------------------------------------------------
|
373
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
374
|
+
-------------------------------------------------------
|
375
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
376
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
377
|
+
----------------------------------------------------------
|
378
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
379
|
+
----------------------------------------------------------
|
380
|
+
Processing by PagesController#index as HTML
|
381
|
+
Completed 200 OK in 12ms (Views: 11.8ms | ActiveRecord: 0.0ms)
|
382
|
+
Processing by PagesController#index as HTML
|
383
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
384
|
+
Processing by PagesController#index as HTML
|
385
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
386
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
387
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
388
|
+
-----------------------------------------------
|
389
|
+
RoutesTest: test_should_translate_prefix_routes
|
390
|
+
-----------------------------------------------
|
391
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
392
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
393
|
+
--------------------------------------------------
|
394
|
+
RoutesTest: test_should_translate_subdomain_routes
|
395
|
+
--------------------------------------------------
|
396
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
397
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
398
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
399
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
400
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
401
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
402
|
+
-------------------------------------------------------
|
403
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
404
|
+
-------------------------------------------------------
|
405
|
+
Processing by PagesController#index as HTML
|
406
|
+
Parameters: {"locale"=>"en-US"}
|
407
|
+
Rendered pages/index.html.erb within layouts/application (1.1ms)
|
408
|
+
Completed 200 OK in 15ms (Views: 14.2ms | ActiveRecord: 0.0ms)
|
409
|
+
Processing by PagesController#index as HTML
|
410
|
+
Parameters: {"locale"=>"en-US"}
|
411
|
+
Rendered pages/index.html.erb within layouts/application (0.3ms)
|
412
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
413
|
+
Processing by PagesController#index as HTML
|
414
|
+
Parameters: {"locale"=>"en-US"}
|
415
|
+
Rendered pages/index.html.erb within layouts/application (0.2ms)
|
416
|
+
Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
|
417
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
418
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
419
|
+
----------------------------------------------------------
|
420
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
421
|
+
----------------------------------------------------------
|
422
|
+
Processing by PagesController#index as HTML
|
423
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
424
|
+
Processing by PagesController#index as HTML
|
425
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
426
|
+
Processing by PagesController#index as HTML
|
427
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
428
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
429
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
430
|
+
-----------------------------------------------
|
431
|
+
RoutesTest: test_should_translate_prefix_routes
|
432
|
+
-----------------------------------------------
|
433
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
434
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
435
|
+
--------------------------------------------------
|
436
|
+
RoutesTest: test_should_translate_subdomain_routes
|
437
|
+
--------------------------------------------------
|
438
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
439
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
440
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
441
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
442
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
443
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
444
|
+
-------------------------------------------------------
|
445
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
446
|
+
-------------------------------------------------------
|
447
|
+
Processing by PagesController#index as HTML
|
448
|
+
Parameters: {"locale"=>"en-US"}
|
449
|
+
Rendered pages/index.html.erb within layouts/application (0.9ms)
|
450
|
+
Completed 200 OK in 12ms (Views: 11.9ms | ActiveRecord: 0.0ms)
|
451
|
+
Processing by PagesController#index as HTML
|
452
|
+
Parameters: {"locale"=>"en-US"}
|
453
|
+
Rendered pages/index.html.erb within layouts/application (0.3ms)
|
454
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
455
|
+
Processing by PagesController#index as HTML
|
456
|
+
Parameters: {"locale"=>"en-US"}
|
457
|
+
Rendered pages/index.html.erb within layouts/application (0.3ms)
|
458
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
459
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
460
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
461
|
+
----------------------------------------------------------
|
462
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
463
|
+
----------------------------------------------------------
|
464
|
+
Processing by PagesController#index as HTML
|
465
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
466
|
+
Processing by PagesController#index as HTML
|
467
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
468
|
+
Processing by PagesController#index as HTML
|
469
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
470
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
471
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
472
|
+
-----------------------------------------------
|
473
|
+
RoutesTest: test_should_translate_prefix_routes
|
474
|
+
-----------------------------------------------
|
475
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
476
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
477
|
+
--------------------------------------------------
|
478
|
+
RoutesTest: test_should_translate_subdomain_routes
|
479
|
+
--------------------------------------------------
|
480
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
481
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
482
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
483
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
484
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
485
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
486
|
+
-------------------------------------------------------
|
487
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
488
|
+
-------------------------------------------------------
|
489
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
490
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
491
|
+
----------------------------------------------------------
|
492
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
493
|
+
----------------------------------------------------------
|
494
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
495
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
496
|
+
-----------------------------------------------
|
497
|
+
RoutesTest: test_should_translate_prefix_routes
|
498
|
+
-----------------------------------------------
|
499
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
500
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
501
|
+
--------------------------------------------------
|
502
|
+
RoutesTest: test_should_translate_subdomain_routes
|
503
|
+
--------------------------------------------------
|
504
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
505
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
506
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
507
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
508
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
509
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
510
|
+
-------------------------------------------------------
|
511
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
512
|
+
-------------------------------------------------------
|
513
|
+
Processing by PagesController#show as HTML
|
514
|
+
Parameters: {"locale"=>"en-US"}
|
515
|
+
Completed 500 Internal Server Error in 5ms
|
516
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
517
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
518
|
+
----------------------------------------------------------
|
519
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
520
|
+
----------------------------------------------------------
|
521
|
+
Processing by PagesController#show as HTML
|
522
|
+
Completed 500 Internal Server Error in 0ms
|
523
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
524
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
525
|
+
-----------------------------------------------
|
526
|
+
RoutesTest: test_should_translate_prefix_routes
|
527
|
+
-----------------------------------------------
|
528
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
529
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
530
|
+
--------------------------------------------------
|
531
|
+
RoutesTest: test_should_translate_subdomain_routes
|
532
|
+
--------------------------------------------------
|
533
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
534
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
535
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
536
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
537
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
538
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
539
|
+
-------------------------------------------------------
|
540
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
541
|
+
-------------------------------------------------------
|
542
|
+
Processing by PagesController#show as HTML
|
543
|
+
Parameters: {"locale"=>"en-US"}
|
544
|
+
Rendered pages/show.html.erb within layouts/application (0.8ms)
|
545
|
+
Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
|
546
|
+
Processing by PagesController#show as HTML
|
547
|
+
Parameters: {"locale"=>"en-US"}
|
548
|
+
Rendered pages/show.html.erb within layouts/application (0.3ms)
|
549
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
550
|
+
Processing by PagesController#show as HTML
|
551
|
+
Parameters: {"locale"=>"en-US"}
|
552
|
+
Rendered pages/show.html.erb within layouts/application (0.3ms)
|
553
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
554
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
555
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
556
|
+
----------------------------------------------------------
|
557
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
558
|
+
----------------------------------------------------------
|
559
|
+
Processing by PagesController#show as HTML
|
560
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
561
|
+
Processing by PagesController#show as HTML
|
562
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
563
|
+
Processing by PagesController#show as HTML
|
564
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
565
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
566
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
567
|
+
-----------------------------------------------
|
568
|
+
RoutesTest: test_should_translate_prefix_routes
|
569
|
+
-----------------------------------------------
|
570
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
571
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
572
|
+
--------------------------------------------------
|
573
|
+
RoutesTest: test_should_translate_subdomain_routes
|
574
|
+
--------------------------------------------------
|
575
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
576
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
577
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
578
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
579
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
580
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
581
|
+
-------------------------------------------------------
|
582
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
583
|
+
-------------------------------------------------------
|
584
|
+
Processing by PagesController#show as HTML
|
585
|
+
Parameters: {"locale"=>"en-US"}
|
586
|
+
Rendered pages/show.html.erb within layouts/application (0.8ms)
|
587
|
+
Completed 200 OK in 12ms (Views: 11.5ms | ActiveRecord: 0.0ms)
|
588
|
+
Processing by PagesController#show as HTML
|
589
|
+
Parameters: {"locale"=>"en-US"}
|
590
|
+
Rendered pages/show.html.erb within layouts/application (0.3ms)
|
591
|
+
Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
|
592
|
+
Processing by PagesController#show as HTML
|
593
|
+
Parameters: {"locale"=>"en-US"}
|
594
|
+
Rendered pages/show.html.erb within layouts/application (0.2ms)
|
595
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
596
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
597
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
598
|
+
----------------------------------------------------------
|
599
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
600
|
+
----------------------------------------------------------
|
601
|
+
Processing by PagesController#show as HTML
|
602
|
+
Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
|
603
|
+
Processing by PagesController#show as HTML
|
604
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
605
|
+
Processing by PagesController#show as HTML
|
606
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
607
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
608
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
609
|
+
-----------------------------------------------
|
610
|
+
RoutesTest: test_should_translate_prefix_routes
|
611
|
+
-----------------------------------------------
|
612
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
613
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
614
|
+
--------------------------------------------------
|
615
|
+
RoutesTest: test_should_translate_subdomain_routes
|
616
|
+
--------------------------------------------------
|
617
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
618
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
619
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
620
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
621
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
622
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
623
|
+
-------------------------------------------------------
|
624
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
625
|
+
-------------------------------------------------------
|
626
|
+
Processing by PagesController#show as HTML
|
627
|
+
Parameters: {"locale"=>"en-US"}
|
628
|
+
Rendered pages/show.html.erb within layouts/application (0.8ms)
|
629
|
+
Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
|
630
|
+
Processing by PagesController#show as HTML
|
631
|
+
Parameters: {"locale"=>"en-US"}
|
632
|
+
Rendered pages/show.html.erb within layouts/application (0.3ms)
|
633
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
634
|
+
Processing by PagesController#show as HTML
|
635
|
+
Parameters: {"locale"=>"en-US"}
|
636
|
+
Rendered pages/show.html.erb within layouts/application (0.2ms)
|
637
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
638
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
639
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
640
|
+
----------------------------------------------------------
|
641
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
642
|
+
----------------------------------------------------------
|
643
|
+
Processing by PagesController#show as HTML
|
644
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
645
|
+
Processing by PagesController#show as HTML
|
646
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
647
|
+
Processing by PagesController#show as HTML
|
648
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
649
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
650
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
651
|
+
-----------------------------------------------
|
652
|
+
RoutesTest: test_should_translate_prefix_routes
|
653
|
+
-----------------------------------------------
|
654
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
655
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
656
|
+
--------------------------------------------------
|
657
|
+
RoutesTest: test_should_translate_subdomain_routes
|
658
|
+
--------------------------------------------------
|
659
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
660
|
+
[1m[36m (0.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
661
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
662
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
663
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
664
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
665
|
+
-------------------------------------------------------
|
666
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
667
|
+
-------------------------------------------------------
|
668
|
+
Processing by PagesController#show as HTML
|
669
|
+
Parameters: {"locale"=>"en-US"}
|
670
|
+
Rendered pages/show.html.erb within layouts/application (1.0ms)
|
671
|
+
Completed 200 OK in 34ms (Views: 33.2ms | ActiveRecord: 0.0ms)
|
672
|
+
Processing by PagesController#show as HTML
|
673
|
+
Parameters: {"locale"=>"en-US"}
|
674
|
+
Rendered pages/show.html.erb within layouts/application (0.3ms)
|
675
|
+
Completed 200 OK in 3ms (Views: 2.8ms | ActiveRecord: 0.0ms)
|
676
|
+
Processing by PagesController#show as HTML
|
677
|
+
Parameters: {"locale"=>"en-US"}
|
678
|
+
Rendered pages/show.html.erb within layouts/application (0.3ms)
|
679
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
680
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
681
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
682
|
+
----------------------------------------------------------
|
683
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
684
|
+
----------------------------------------------------------
|
685
|
+
Processing by PagesController#show as HTML
|
686
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
687
|
+
Processing by PagesController#show as HTML
|
688
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
689
|
+
Processing by PagesController#show as HTML
|
690
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
691
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
692
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
693
|
+
-----------------------------------------------
|
694
|
+
RoutesTest: test_should_translate_prefix_routes
|
695
|
+
-----------------------------------------------
|
696
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
697
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
698
|
+
--------------------------------------------------
|
699
|
+
RoutesTest: test_should_translate_subdomain_routes
|
700
|
+
--------------------------------------------------
|
701
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
702
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
703
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
704
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
705
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
706
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
707
|
+
-------------------------------------------------------
|
708
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
709
|
+
-------------------------------------------------------
|
710
|
+
Processing by PagesController#show as HTML
|
711
|
+
Parameters: {"locale"=>"en-US"}
|
712
|
+
Rendered pages/show.html.erb within layouts/application (0.8ms)
|
713
|
+
Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
|
714
|
+
Processing by PagesController#show as HTML
|
715
|
+
Parameters: {"locale"=>"en-US"}
|
716
|
+
Rendered pages/show.html.erb within layouts/application (0.3ms)
|
717
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
718
|
+
Processing by PagesController#show as HTML
|
719
|
+
Parameters: {"locale"=>"en-US"}
|
720
|
+
Rendered pages/show.html.erb within layouts/application (0.4ms)
|
721
|
+
Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
|
722
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
723
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
724
|
+
----------------------------------------------------------
|
725
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
726
|
+
----------------------------------------------------------
|
727
|
+
Processing by PagesController#show as HTML
|
728
|
+
Completed 200 OK in 1ms (Views: 0.7ms | ActiveRecord: 0.0ms)
|
729
|
+
Processing by PagesController#show as HTML
|
730
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
731
|
+
Processing by PagesController#show as HTML
|
732
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
733
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
734
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
735
|
+
-----------------------------------------------
|
736
|
+
RoutesTest: test_should_translate_prefix_routes
|
737
|
+
-----------------------------------------------
|
738
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
739
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
740
|
+
--------------------------------------------------
|
741
|
+
RoutesTest: test_should_translate_subdomain_routes
|
742
|
+
--------------------------------------------------
|
743
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
744
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
745
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
746
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
747
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
748
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
749
|
+
-------------------------------------------------------
|
750
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
751
|
+
-------------------------------------------------------
|
752
|
+
Processing by PagesController#show as HTML
|
753
|
+
Parameters: {"locale"=>"en-US"}
|
754
|
+
Rendered pages/show.html.erb within layouts/application (0.8ms)
|
755
|
+
Completed 200 OK in 12ms (Views: 11.8ms | ActiveRecord: 0.0ms)
|
756
|
+
Processing by PagesController#show as HTML
|
757
|
+
Parameters: {"locale"=>"en-US"}
|
758
|
+
Rendered pages/show.html.erb within layouts/application (0.3ms)
|
759
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
760
|
+
Processing by PagesController#show as HTML
|
761
|
+
Parameters: {"locale"=>"en-US"}
|
762
|
+
Rendered pages/show.html.erb within layouts/application (0.3ms)
|
763
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
764
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
765
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
766
|
+
----------------------------------------------------------
|
767
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
768
|
+
----------------------------------------------------------
|
769
|
+
Processing by PagesController#show as HTML
|
770
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
771
|
+
Processing by PagesController#show as HTML
|
772
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
773
|
+
Processing by PagesController#show as HTML
|
774
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
775
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
776
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
777
|
+
-----------------------------------------------
|
778
|
+
RoutesTest: test_should_translate_prefix_routes
|
779
|
+
-----------------------------------------------
|
780
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
781
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
782
|
+
--------------------------------------------------
|
783
|
+
RoutesTest: test_should_translate_subdomain_routes
|
784
|
+
--------------------------------------------------
|
785
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
786
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
787
|
+
[1m[35m (0.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
788
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
789
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('0')
|
790
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
791
|
+
-------------------------------------------------------
|
792
|
+
LocaleTest: test_should_select_correct_locale_by_prefix
|
793
|
+
-------------------------------------------------------
|
794
|
+
Processing by PagesController#show as HTML
|
795
|
+
Parameters: {"locale"=>"en-US"}
|
796
|
+
Rendered pages/show.html.erb within layouts/application (0.9ms)
|
797
|
+
Completed 200 OK in 12ms (Views: 11.9ms | ActiveRecord: 0.0ms)
|
798
|
+
Processing by PagesController#show as HTML
|
799
|
+
Parameters: {"locale"=>"en-US"}
|
800
|
+
Rendered pages/show.html.erb within layouts/application (0.3ms)
|
801
|
+
Completed 200 OK in 3ms (Views: 2.6ms | ActiveRecord: 0.0ms)
|
802
|
+
Processing by PagesController#show as HTML
|
803
|
+
Parameters: {"locale"=>"en-US"}
|
804
|
+
Rendered pages/show.html.erb within layouts/application (0.2ms)
|
805
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
806
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
807
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
808
|
+
----------------------------------------------------------
|
809
|
+
LocaleTest: test_should_select_correct_locale_by_subdomain
|
810
|
+
----------------------------------------------------------
|
811
|
+
Processing by PagesController#show as HTML
|
812
|
+
Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
|
813
|
+
Processing by PagesController#show as HTML
|
814
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
815
|
+
Processing by PagesController#show as HTML
|
816
|
+
Completed 200 OK in 1ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
817
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
818
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
819
|
+
-----------------------------------------------
|
820
|
+
RoutesTest: test_should_translate_prefix_routes
|
821
|
+
-----------------------------------------------
|
822
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
823
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
824
|
+
--------------------------------------------------
|
825
|
+
RoutesTest: test_should_translate_subdomain_routes
|
826
|
+
--------------------------------------------------
|
827
|
+
[1m[35m (0.1ms)[0m rollback transaction
|