urbix 0.0.2
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 +3 -0
- data/Rakefile +32 -0
- data/lib/tasks/urbix_tasks.rake +4 -0
- data/lib/urbix.rb +8 -0
- data/lib/urbix/acts_as_view.rb +125 -0
- data/lib/urbix/logger.rb +5 -0
- data/lib/urbix/version.rb +3 -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/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/address.rb +8 -0
- data/test/dummy/app/models/city.rb +2 -0
- data/test/dummy/app/models/country.rb +2 -0
- data/test/dummy/app/models/locality.rb +4 -0
- data/test/dummy/app/models/mail.rb +10 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -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.ru +4 -0
- data/test/dummy/config/application.rb +23 -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.yml +23 -0
- data/test/dummy/config/routes.rb +56 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20140207164655_create_cities.rb +9 -0
- data/test/dummy/db/migrate/20140207165236_create_countries.rb +13 -0
- data/test/dummy/db/migrate/20140207165538_create_localities.rb +12 -0
- data/test/dummy/db/migrate/20140207165937_create_addresses.rb +10 -0
- data/test/dummy/db/migrate/20140212170008_create_mails.rb +11 -0
- data/test/dummy/db/schema.rb +64 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +196 -0
- data/test/dummy/log/test.log +680 -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/test/fixtures/addresses.yml +9 -0
- data/test/dummy/test/fixtures/cities.yml +7 -0
- data/test/dummy/test/fixtures/countries.yml +15 -0
- data/test/dummy/test/fixtures/localities.yml +13 -0
- data/test/dummy/test/fixtures/mails.yml +11 -0
- data/test/dummy/test/models/address_test.rb +7 -0
- data/test/dummy/test/models/city_test.rb +7 -0
- data/test/dummy/test/models/country_test.rb +7 -0
- data/test/dummy/test/models/locality_test.rb +7 -0
- data/test/dummy/test/models/mail_test.rb +7 -0
- data/test/lib/urbix/acts_as_view_test.rb +48 -0
- data/test/lib/urbix/urbix_test.rb +8 -0
- data/test/test_helper.rb +15 -0
- metadata +215 -0
@@ -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 = 'd7eba235460c310198a6d05db8481ebfb03ab2fbb61589f4c0fcd3b639b6cc2632b65db5a20fda9004e981722aee6abeb9e2a8b8aab624ad1bacd871366eee56'
|
@@ -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,23 @@
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
3
|
+
# than English, add the necessary files in this directory.
|
4
|
+
#
|
5
|
+
# To use the locales, use `I18n.t`:
|
6
|
+
#
|
7
|
+
# I18n.t 'hello'
|
8
|
+
#
|
9
|
+
# In views, this is aliased to just `t`:
|
10
|
+
#
|
11
|
+
# <%= t('hello') %>
|
12
|
+
#
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
14
|
+
#
|
15
|
+
# I18n.locale = :es
|
16
|
+
#
|
17
|
+
# This would use the information in config/locales/es.yml.
|
18
|
+
#
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
21
|
+
|
22
|
+
en:
|
23
|
+
hello: "Hello world"
|
@@ -0,0 +1,56 @@
|
|
1
|
+
Dummy::Application.routes.draw do
|
2
|
+
# The priority is based upon order of creation: first created -> highest priority.
|
3
|
+
# See how all your routes lay out with "rake routes".
|
4
|
+
|
5
|
+
# You can have the root of your site routed with "root"
|
6
|
+
# root 'welcome#index'
|
7
|
+
|
8
|
+
# Example of regular route:
|
9
|
+
# get 'products/:id' => 'catalog#view'
|
10
|
+
|
11
|
+
# Example of named route that can be invoked with purchase_url(id: product.id)
|
12
|
+
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
|
13
|
+
|
14
|
+
# Example resource route (maps HTTP verbs to controller actions automatically):
|
15
|
+
# resources :products
|
16
|
+
|
17
|
+
# Example resource route with options:
|
18
|
+
# resources :products do
|
19
|
+
# member do
|
20
|
+
# get 'short'
|
21
|
+
# post 'toggle'
|
22
|
+
# end
|
23
|
+
#
|
24
|
+
# collection do
|
25
|
+
# get 'sold'
|
26
|
+
# end
|
27
|
+
# end
|
28
|
+
|
29
|
+
# Example resource route with sub-resources:
|
30
|
+
# resources :products do
|
31
|
+
# resources :comments, :sales
|
32
|
+
# resource :seller
|
33
|
+
# end
|
34
|
+
|
35
|
+
# Example resource route with more complex sub-resources:
|
36
|
+
# resources :products do
|
37
|
+
# resources :comments
|
38
|
+
# resources :sales do
|
39
|
+
# get 'recent', on: :collection
|
40
|
+
# end
|
41
|
+
# end
|
42
|
+
|
43
|
+
# Example resource route with concerns:
|
44
|
+
# concern :toggleable do
|
45
|
+
# post 'toggle'
|
46
|
+
# end
|
47
|
+
# resources :posts, concerns: :toggleable
|
48
|
+
# resources :photos, concerns: :toggleable
|
49
|
+
|
50
|
+
# Example resource route within a namespace:
|
51
|
+
# namespace :admin do
|
52
|
+
# # Directs /admin/products/* to Admin::ProductsController
|
53
|
+
# # (app/controllers/admin/products_controller.rb)
|
54
|
+
# resources :products
|
55
|
+
# end
|
56
|
+
end
|
Binary file
|
@@ -0,0 +1,12 @@
|
|
1
|
+
class CreateLocalities < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
create_table :localities do |t|
|
4
|
+
t.string :name
|
5
|
+
t.string :zip
|
6
|
+
t.references :city, index: true, null: false
|
7
|
+
t.references :country, index: true, null: false
|
8
|
+
|
9
|
+
t.timestamps
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,64 @@
|
|
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: 20140212170008) do
|
15
|
+
|
16
|
+
create_table "addresses", force: true do |t|
|
17
|
+
t.string "address"
|
18
|
+
t.integer "locality_id", null: false
|
19
|
+
t.datetime "created_at"
|
20
|
+
t.datetime "updated_at"
|
21
|
+
end
|
22
|
+
|
23
|
+
add_index "addresses", ["locality_id"], name: "index_addresses_on_locality_id"
|
24
|
+
|
25
|
+
create_table "cities", force: true do |t|
|
26
|
+
t.string "name"
|
27
|
+
t.datetime "created_at"
|
28
|
+
t.datetime "updated_at"
|
29
|
+
end
|
30
|
+
|
31
|
+
create_table "countries", force: true do |t|
|
32
|
+
t.string "name"
|
33
|
+
t.string "a2code"
|
34
|
+
t.string "a3code"
|
35
|
+
t.integer "num_code"
|
36
|
+
t.integer "dial_code"
|
37
|
+
t.datetime "created_at"
|
38
|
+
t.datetime "updated_at"
|
39
|
+
end
|
40
|
+
|
41
|
+
create_table "localities", force: true do |t|
|
42
|
+
t.string "name"
|
43
|
+
t.string "zip"
|
44
|
+
t.integer "city_id", null: false
|
45
|
+
t.integer "country_id", null: false
|
46
|
+
t.datetime "created_at"
|
47
|
+
t.datetime "updated_at"
|
48
|
+
end
|
49
|
+
|
50
|
+
add_index "localities", ["city_id"], name: "index_localities_on_city_id"
|
51
|
+
add_index "localities", ["country_id"], name: "index_localities_on_country_id"
|
52
|
+
|
53
|
+
create_table "mails", force: true do |t|
|
54
|
+
t.text "content"
|
55
|
+
t.integer "exp_id", null: false
|
56
|
+
t.integer "dst_id", null: false
|
57
|
+
t.datetime "created_at"
|
58
|
+
t.datetime "updated_at"
|
59
|
+
end
|
60
|
+
|
61
|
+
add_index "mails", ["dst_id"], name: "index_mails_on_dst_id"
|
62
|
+
add_index "mails", ["exp_id"], name: "index_mails_on_exp_id"
|
63
|
+
|
64
|
+
end
|
Binary file
|
@@ -0,0 +1,196 @@
|
|
1
|
+
[1m[36mAddress Load (0.7ms)[0m [1mSELECT addresses.id, addresses.content, addresses.exp_id, addresses.dst_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id)[0m
|
2
|
+
SQLite3::SQLException: no such column: addresses.content: SELECT addresses.id, addresses.content, addresses.exp_id, addresses.dst_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id)
|
3
|
+
[1m[35mAddress Load (0.6ms)[0m SELECT addresses.id, addresses.content, addresses.exp_id, addresses.dst_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id)
|
4
|
+
SQLite3::SQLException: no such column: addresses.content: SELECT addresses.id, addresses.content, addresses.exp_id, addresses.dst_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id)
|
5
|
+
[1m[36mAddress Load (0.6ms)[0m [1mSELECT addresses.id, addresses.content, addresses.exp_id, addresses.dst_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id)[0m
|
6
|
+
SQLite3::SQLException: no such column: addresses.content: SELECT addresses.id, addresses.content, addresses.exp_id, addresses.dst_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id)
|
7
|
+
[1m[36mAddress Load (0.5ms)[0m [1mSELECT addresses.id, addresses.address, addresses.locality_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id)[0m
|
8
|
+
[1m[35mAddress Load (0.4ms)[0m SELECT addresses.id, addresses.address, addresses.locality_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id) ORDER BY "addresses"."id" ASC LIMIT 1
|
9
|
+
[1m[36mAddress Load (0.5ms)[0m [1mSELECT addresses.id, addresses.address, addresses.locality_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id) ORDER BY "addresses"."id" ASC LIMIT 1[0m
|
10
|
+
[1m[35mAddress Load (0.5ms)[0m SELECT addresses.id, addresses.address, addresses.locality_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id) ORDER BY "addresses"."id" ASC LIMIT 1
|
11
|
+
[1m[36mAddress Load (0.5ms)[0m [1mSELECT addresses.id, addresses.address, addresses.locality_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id) ORDER BY "addresses"."id" ASC LIMIT 1[0m
|
12
|
+
[1m[35mAddress Load (0.5ms)[0m SELECT addresses.id, addresses.address, addresses.locality_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id) ORDER BY "addresses"."id" ASC LIMIT 1
|
13
|
+
[1m[36mAddress Load (0.5ms)[0m [1mSELECT addresses.id, addresses.address, addresses.locality_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id) ORDER BY "addresses"."id" ASC LIMIT 1[0m
|
14
|
+
[1m[35m (0.3ms)[0m begin transaction
|
15
|
+
[1m[36mSQL (7.4ms)[0m [1mINSERT INTO "addresses" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 09 May 2014 19:30:01 UTC +00:00], ["updated_at", Fri, 09 May 2014 19:30:01 UTC +00:00]]
|
16
|
+
[1m[35m (136.7ms)[0m commit transaction
|
17
|
+
[1m[36mAddress Load (0.7ms)[0m [1mSELECT addresses.id, addresses.address, addresses.locality_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id) ORDER BY "addresses"."id" ASC LIMIT 1[0m
|
18
|
+
[1m[35mAddress Load (0.6ms)[0m SELECT addresses.id, addresses.address, addresses.locality_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id)
|
19
|
+
[1m[36mAddress Load (0.4ms)[0m [1mSELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1[0m
|
20
|
+
[1m[35mAddress Load (0.5ms)[0m SELECT "addresses".* FROM "addresses" ORDER BY "addresses"."id" ASC LIMIT 1
|
21
|
+
[1m[36mSQL (134.0ms)[0m [1mDELETE FROM "addresses" WHERE "addresses"."id" = 1[0m
|
22
|
+
[1m[35mCity Load (0.4ms)[0m SELECT "cities".* FROM "cities" ORDER BY "cities"."id" ASC LIMIT 1
|
23
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
24
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 09 May 2014 19:32:34 UTC +00:00], ["updated_at", Fri, 09 May 2014 19:32:34 UTC +00:00]]
|
25
|
+
[1m[36m (147.5ms)[0m [1mcommit transaction[0m
|
26
|
+
[1m[35m (0.2ms)[0m begin transaction
|
27
|
+
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "countries" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 09 May 2014 19:32:40 UTC +00:00], ["updated_at", Fri, 09 May 2014 19:32:40 UTC +00:00]]
|
28
|
+
[1m[35m (112.0ms)[0m commit transaction
|
29
|
+
[1m[36m (121.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
30
|
+
[1m[35m (99.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
31
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
32
|
+
Migrating to CreateCities (20140207164655)
|
33
|
+
[1m[35m (0.1ms)[0m begin transaction
|
34
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "cities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
35
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140207164655"]]
|
36
|
+
[1m[36m (145.2ms)[0m [1mcommit transaction[0m
|
37
|
+
Migrating to CreateCountries (20140207165236)
|
38
|
+
[1m[35m (0.1ms)[0m begin transaction
|
39
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "countries" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "a2code" varchar(255), "a3code" varchar(255), "num_code" integer, "dial_code" integer, "created_at" datetime, "updated_at" datetime) [0m
|
40
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140207165236"]]
|
41
|
+
[1m[36m (141.4ms)[0m [1mcommit transaction[0m
|
42
|
+
Migrating to CreateLocalities (20140207165538)
|
43
|
+
[1m[35m (0.1ms)[0m begin transaction
|
44
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "localities" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "zip" varchar(255), "city_id" integer NOT NULL, "country_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
45
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_localities_on_city_id" ON "localities" ("city_id")
|
46
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_localities_on_country_id" ON "localities" ("country_id")[0m
|
47
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140207165538"]]
|
48
|
+
[1m[36m (141.4ms)[0m [1mcommit transaction[0m
|
49
|
+
Migrating to CreateAddresses (20140207165937)
|
50
|
+
[1m[35m (0.1ms)[0m begin transaction
|
51
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "addresses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" varchar(255), "locality_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
|
52
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_addresses_on_locality_id" ON "addresses" ("locality_id")
|
53
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140207165937"]]
|
54
|
+
[1m[35m (119.7ms)[0m commit transaction
|
55
|
+
Migrating to CreateMails (20140212170008)
|
56
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
57
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "mails" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" text, "exp_id" integer NOT NULL, "dst_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
|
58
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_mails_on_exp_id" ON "mails" ("exp_id")[0m
|
59
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_mails_on_dst_id" ON "mails" ("dst_id")
|
60
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140212170008"]]
|
61
|
+
[1m[35m (141.2ms)[0m commit transaction
|
62
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
63
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
64
|
+
[1m[35mSQL (3.2ms)[0m INSERT INTO "addresses" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Fri, 09 May 2014 19:58:24 UTC +00:00], ["updated_at", Fri, 09 May 2014 19:58:24 UTC +00:00]]
|
65
|
+
SQLite3::ConstraintException: addresses.locality_id may not be NULL: INSERT INTO "addresses" ("created_at", "updated_at") VALUES (?, ?)
|
66
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67
|
+
[1m[35m (0.3ms)[0m begin transaction
|
68
|
+
[1m[36mSQL (1.1ms)[0m [1mINSERT INTO "cities" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Fri, 09 May 2014 19:59:00 UTC +00:00], ["name", "Paris"], ["updated_at", Fri, 09 May 2014 19:59:00 UTC +00:00]]
|
69
|
+
[1m[35m (145.7ms)[0m commit transaction
|
70
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
71
|
+
[1m[35mSQL (1.4ms)[0m INSERT INTO "countries" ("a2code", "a3code", "created_at", "dial_code", "name", "num_code", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["a2code", "FR"], ["a3code", "FRF"], ["created_at", Fri, 09 May 2014 20:00:00 UTC +00:00], ["dial_code", 33], ["name", "France"], ["num_code", 250], ["updated_at", Fri, 09 May 2014 20:00:00 UTC +00:00]]
|
72
|
+
[1m[36m (165.2ms)[0m [1mcommit transaction[0m
|
73
|
+
[1m[35m (0.2ms)[0m begin transaction
|
74
|
+
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "localities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Fri, 09 May 2014 20:00:16 UTC +00:00], ["updated_at", Fri, 09 May 2014 20:00:16 UTC +00:00]]
|
75
|
+
SQLite3::ConstraintException: localities.city_id may not be NULL: INSERT INTO "localities" ("created_at", "updated_at") VALUES (?, ?)
|
76
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
77
|
+
[1m[36mCity Load (0.9ms)[0m [1mSELECT "cities".* FROM "cities" ORDER BY "cities"."id" ASC LIMIT 1[0m
|
78
|
+
[1m[35mCity Load (0.5ms)[0m SELECT "cities".* FROM "cities" ORDER BY "cities"."id" ASC LIMIT 1
|
79
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
80
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO "localities" ("city_id", "created_at", "name", "updated_at", "zip") VALUES (?, ?, ?, ?, ?) [["city_id", 1], ["created_at", Fri, 09 May 2014 20:00:16 UTC +00:00], ["name", "PARIS Ier"], ["updated_at", Fri, 09 May 2014 20:00:16 UTC +00:00], ["zip", "75001"]]
|
81
|
+
SQLite3::ConstraintException: localities.country_id may not be NULL: INSERT INTO "localities" ("city_id", "created_at", "name", "updated_at", "zip") VALUES (?, ?, ?, ?, ?)
|
82
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
83
|
+
[1m[35mCountry Load (0.5ms)[0m SELECT "countries".* FROM "countries" ORDER BY "countries"."id" ASC LIMIT 1
|
84
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
85
|
+
[1m[35mSQL (1.3ms)[0m INSERT INTO "localities" ("city_id", "country_id", "created_at", "name", "updated_at", "zip") VALUES (?, ?, ?, ?, ?, ?) [["city_id", 1], ["country_id", 1], ["created_at", Fri, 09 May 2014 20:00:16 UTC +00:00], ["name", "PARIS Ier"], ["updated_at", Fri, 09 May 2014 20:00:16 UTC +00:00], ["zip", "75001"]]
|
86
|
+
[1m[36m (200.6ms)[0m [1mcommit transaction[0m
|
87
|
+
[1m[35mLocality Load (0.5ms)[0m SELECT "localities".* FROM "localities" ORDER BY "localities"."id" ASC LIMIT 1
|
88
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
89
|
+
[1m[35mSQL (1.2ms)[0m INSERT INTO "addresses" ("address", "created_at", "locality_id", "updated_at") VALUES (?, ?, ?, ?) [["address", "46 avenue Emile Zola"], ["created_at", Fri, 09 May 2014 20:04:10 UTC +00:00], ["locality_id", 1], ["updated_at", Fri, 09 May 2014 20:04:10 UTC +00:00]]
|
90
|
+
[1m[36m (157.9ms)[0m [1mcommit transaction[0m
|
91
|
+
[1m[35mAddress Load (0.6ms)[0m SELECT addresses.id, addresses.address, addresses.locality_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id)
|
92
|
+
[1m[36mAddress Load (0.6ms)[0m [1mSELECT addresses.id, addresses.address, addresses.locality_id, addresses.created_at, addresses.updated_at, cities.name as city, countries.name as country FROM addresses, cities, localities, countries WHERE (localities.city_id=cities.id and addresses.locality_id=localities.id and localities.country_id=countries.id) ORDER BY "addresses"."id" ASC LIMIT 1[0m
|
93
|
+
[1m[35mMail Load (0.6ms)[0m SELECT mails.id, mails.content, mails.exp_id, mails.dst_id, mails.created_at, mails.updated_at, cities.name as exp_city, countries.name as exp_country, cities_1.name as dst_city, countries_1.name as dst_country FROM mails, cities, cities cities_1, localities, localities localities_1, addresses, addresses addresses_1, countries, countries countries_1 WHERE (localities.city_id=cities.id and localities_1.city_id=cities_1.id and addresses.locality_id=localities.id and addresses_1.locality_id=localities_1.id and mails.exp_id=addresses.id and mails.dst_id=addresses_1.id and localities.country_id=countries.id and localities_1.country_id=countries_1.id)
|
94
|
+
|
95
|
+
|
96
|
+
Started GET "/" for 127.0.0.1 at 2014-05-09 22:17:08 +0200
|
97
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
98
|
+
Processing by Rails::WelcomeController#index as HTML
|
99
|
+
Rendered /home/bernard/.rvm/gems/ruby-2.1.1/gems/railties-4.0.0/lib/rails/templates/rails/welcome/index.html.erb (4.2ms)
|
100
|
+
Completed 200 OK in 28ms (Views: 27.9ms | ActiveRecord: 0.0ms)
|
101
|
+
|
102
|
+
|
103
|
+
Started GET "/addresses" for 127.0.0.1 at 2014-05-09 22:17:20 +0200
|
104
|
+
|
105
|
+
ActionController::RoutingError (No route matches [GET] "/addresses"):
|
106
|
+
actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
107
|
+
actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
108
|
+
railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
|
109
|
+
railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
|
110
|
+
activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
|
111
|
+
activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
|
112
|
+
activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
|
113
|
+
railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
|
114
|
+
actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
115
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
116
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
117
|
+
activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
118
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
119
|
+
actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
|
120
|
+
railties (4.0.0) lib/rails/engine.rb:511:in `call'
|
121
|
+
railties (4.0.0) lib/rails/application.rb:97:in `call'
|
122
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
123
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
124
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
125
|
+
/home/bernard/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
126
|
+
/home/bernard/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
127
|
+
/home/bernard/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
128
|
+
|
129
|
+
|
130
|
+
Rendered /home/bernard/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms)
|
131
|
+
Rendered /home/bernard/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (74.6ms)
|
132
|
+
Rendered /home/bernard/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (205.3ms)
|
133
|
+
|
134
|
+
|
135
|
+
Started GET "/address" for 127.0.0.1 at 2014-05-09 22:17:34 +0200
|
136
|
+
|
137
|
+
ActionController::RoutingError (No route matches [GET] "/address"):
|
138
|
+
actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
139
|
+
actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
140
|
+
railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
|
141
|
+
railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
|
142
|
+
activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
|
143
|
+
activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
|
144
|
+
activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
|
145
|
+
railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
|
146
|
+
actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
147
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
148
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
149
|
+
activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
150
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
151
|
+
actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
|
152
|
+
railties (4.0.0) lib/rails/engine.rb:511:in `call'
|
153
|
+
railties (4.0.0) lib/rails/application.rb:97:in `call'
|
154
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
155
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
156
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
157
|
+
/home/bernard/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
158
|
+
/home/bernard/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
159
|
+
/home/bernard/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
160
|
+
|
161
|
+
|
162
|
+
Rendered /home/bernard/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
|
163
|
+
Rendered /home/bernard/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.8ms)
|
164
|
+
Rendered /home/bernard/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (11.1ms)
|
165
|
+
|
166
|
+
|
167
|
+
Started GET "/cities" for 127.0.0.1 at 2014-05-09 22:17:39 +0200
|
168
|
+
|
169
|
+
ActionController::RoutingError (No route matches [GET] "/cities"):
|
170
|
+
actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
171
|
+
actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
172
|
+
railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
|
173
|
+
railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
|
174
|
+
activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
|
175
|
+
activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
|
176
|
+
activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
|
177
|
+
railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
|
178
|
+
actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
179
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
180
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
181
|
+
activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
|
182
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
183
|
+
actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
|
184
|
+
railties (4.0.0) lib/rails/engine.rb:511:in `call'
|
185
|
+
railties (4.0.0) lib/rails/application.rb:97:in `call'
|
186
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
187
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
188
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
189
|
+
/home/bernard/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
190
|
+
/home/bernard/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
191
|
+
/home/bernard/.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
192
|
+
|
193
|
+
|
194
|
+
Rendered /home/bernard/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
|
195
|
+
Rendered /home/bernard/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms)
|
196
|
+
Rendered /home/bernard/.rvm/gems/ruby-2.1.1/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (10.3ms)
|