qa 0.2.1 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +32 -13
- data/lib/generators/qa/install/USAGE +2 -0
- data/lib/generators/qa/install/install_generator.rb +2 -1
- data/lib/generators/qa/local/USAGE +5 -0
- data/lib/generators/qa/local/local_generator.rb +9 -0
- data/lib/generators/qa/local/templates/config/authorities.yml +1 -0
- data/lib/generators/qa/local/templates/config/authorities/states.yml +101 -0
- data/lib/qa/authorities/local.rb +3 -1
- data/lib/qa/version.rb +1 -1
- data/spec/controllers/terms_controller_spec.rb +13 -3
- data/spec/internal/Gemfile +11 -16
- data/spec/internal/Gemfile.lock +51 -44
- data/spec/internal/Rakefile +1 -1
- data/spec/internal/app/assets/stylesheets/application.css +5 -3
- data/spec/internal/app/views/layouts/application.html.erb +2 -2
- data/spec/internal/bin/rails +4 -0
- data/spec/internal/bin/rake +4 -0
- data/spec/internal/bin/spring +18 -0
- data/spec/internal/config/authorities.yml +1 -0
- data/spec/internal/config/authorities/authority_A.yml +10 -0
- data/spec/internal/config/authorities/authority_B.yml +7 -0
- data/spec/internal/config/authorities/authority_C.yml +4 -0
- data/spec/internal/config/authorities/authority_D.yml +4 -0
- data/spec/internal/config/authorities/states.yml +101 -0
- data/spec/internal/config/database.yml +8 -8
- data/spec/internal/config/environment.rb +1 -1
- data/spec/internal/config/environments/development.rb +10 -2
- data/spec/internal/config/environments/production.rb +6 -3
- data/spec/internal/config/environments/test.rb +5 -2
- data/spec/internal/config/initializers/cookies_serializer.rb +3 -0
- data/spec/internal/config/initializers/mime_types.rb +0 -1
- data/spec/internal/config/initializers/session_store.rb +1 -1
- data/spec/internal/config/routes.rb +1 -1
- data/spec/internal/config/secrets.yml +22 -0
- data/spec/internal/db/development.sqlite3 +0 -0
- data/spec/internal/db/migrate/{20140611161143_create_qa_subject_mesh_terms.qa.rb → 20140620210534_create_qa_subject_mesh_terms.qa.rb} +0 -0
- data/spec/internal/db/migrate/{20140611161144_create_qa_mesh_tree.qa.rb → 20140620210535_create_qa_mesh_tree.qa.rb} +0 -0
- data/spec/internal/db/migrate/{20140611161145_add_term_lower_to_qa_subject_mesh_terms.qa.rb → 20140620210536_add_term_lower_to_qa_subject_mesh_terms.qa.rb} +0 -0
- data/spec/internal/db/schema.rb +1 -1
- data/spec/internal/db/test.sqlite3 +0 -0
- data/spec/internal/lib/generators/test_app_generator.rb +9 -1
- data/spec/internal/log/development.log +339 -206
- data/spec/internal/public/404.html +20 -11
- data/spec/internal/public/422.html +20 -11
- data/spec/internal/public/500.html +19 -10
- data/spec/internal/test/test_helper.rb +1 -3
- data/spec/lib/authorities_local_spec.rb +0 -4
- data/spec/spec_helper.rb +0 -4
- data/spec/test_app_templates/lib/generators/test_app_generator.rb +9 -1
- metadata +40 -14
- data/spec/internal/config/initializers/secret_token.rb +0 -12
data/spec/internal/Rakefile
CHANGED
@@ -5,9 +5,11 @@
|
|
5
5
|
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
6
|
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
7
|
*
|
8
|
-
* You're free to add application-wide styles to this file and they'll appear at the
|
9
|
-
* compiled file
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
|
9
|
+
* compiled file so the styles you add here take precedence over styles defined in any styles
|
10
|
+
* defined in the other CSS/SCSS files in this directory. It is generally better to create a new
|
11
|
+
* file per style scope.
|
10
12
|
*
|
11
|
-
*= require_self
|
12
13
|
*= require_tree .
|
14
|
+
*= require_self
|
13
15
|
*/
|
@@ -2,8 +2,8 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>Internal</title>
|
5
|
-
<%= stylesheet_link_tag
|
6
|
-
<%= javascript_include_tag
|
5
|
+
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
|
6
|
+
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
|
7
7
|
<%= csrf_meta_tags %>
|
8
8
|
</head>
|
9
9
|
<body>
|
data/spec/internal/bin/rails
CHANGED
data/spec/internal/bin/rake
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
# This file loads spring without using Bundler, in order to be fast
|
4
|
+
# It gets overwritten when you run the `spring binstub` command
|
5
|
+
|
6
|
+
unless defined?(Spring)
|
7
|
+
require "rubygems"
|
8
|
+
require "bundler"
|
9
|
+
|
10
|
+
if match = Bundler.default_lockfile.read.match(/^GEM$.*?^ spring \((.*?)\)$.*?^$/m)
|
11
|
+
ENV["GEM_PATH"] = ([Bundler.bundle_path.to_s] + Gem.path).join(File::PATH_SEPARATOR)
|
12
|
+
ENV["GEM_HOME"] = ""
|
13
|
+
Gem.paths = ENV
|
14
|
+
|
15
|
+
gem "spring", match[1]
|
16
|
+
require "spring/binstub"
|
17
|
+
end
|
18
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
:local_path: "config/authorities"
|
@@ -0,0 +1,101 @@
|
|
1
|
+
:terms:
|
2
|
+
- :id: AL
|
3
|
+
:term: Alabama
|
4
|
+
- :id: AK
|
5
|
+
:term: Alaska
|
6
|
+
- :id: AZ
|
7
|
+
:term: Arizona
|
8
|
+
- :id: AR
|
9
|
+
:term: Arkansas
|
10
|
+
- :id: CA
|
11
|
+
:term: California
|
12
|
+
- :id: CO
|
13
|
+
:term: Colorado
|
14
|
+
- :id: CT
|
15
|
+
:term: Connecticut
|
16
|
+
- :id: DE
|
17
|
+
:term: Delaware
|
18
|
+
- :id: FL
|
19
|
+
:term: Florida
|
20
|
+
- :id: GA
|
21
|
+
:term: Georgia
|
22
|
+
- :id: HI
|
23
|
+
:term: Hawaii
|
24
|
+
- :id: ID
|
25
|
+
:term: Idaho
|
26
|
+
- :id: IL
|
27
|
+
:term: Illinois
|
28
|
+
- :id: IN
|
29
|
+
:term: Indiana
|
30
|
+
- :id: IA
|
31
|
+
:term: Iowa
|
32
|
+
- :id: KS
|
33
|
+
:term: Kansas
|
34
|
+
- :id: KY
|
35
|
+
:term: Kentucky
|
36
|
+
- :id: LA
|
37
|
+
:term: Louisana
|
38
|
+
- :id: ME
|
39
|
+
:term: Maine
|
40
|
+
- :id: MD
|
41
|
+
:term: Maryland
|
42
|
+
- :id: MA
|
43
|
+
:term: Massachusetts
|
44
|
+
- :id: MI
|
45
|
+
:term: Michigan
|
46
|
+
- :id: MN
|
47
|
+
:term: Minnesota
|
48
|
+
- :id: MS
|
49
|
+
:term: Mississippi
|
50
|
+
- :id: MO
|
51
|
+
:term: Missouri
|
52
|
+
- :id: MT
|
53
|
+
:term: Montana
|
54
|
+
- :id: NE
|
55
|
+
:term: Nebraska
|
56
|
+
- :id: NV
|
57
|
+
:term: Nevada
|
58
|
+
- :id: NH
|
59
|
+
:term: New Hampshire
|
60
|
+
- :id: NJ
|
61
|
+
:term: New Jersey
|
62
|
+
- :id: NM
|
63
|
+
:term: New Mexico
|
64
|
+
- :id: NY
|
65
|
+
:term: New York
|
66
|
+
- :id: NC
|
67
|
+
:term: North Carolina
|
68
|
+
- :id: ND
|
69
|
+
:term: North Dakota
|
70
|
+
- :id: OH
|
71
|
+
:term: Ohio
|
72
|
+
- :id: OK
|
73
|
+
:term: Oklahoma
|
74
|
+
- :id: OR
|
75
|
+
:term: Oregon
|
76
|
+
- :id: PA
|
77
|
+
:term: Pennsylvania
|
78
|
+
- :id: RI
|
79
|
+
:term: Rhode Island
|
80
|
+
- :id: SC
|
81
|
+
:term: Sourth Carolina
|
82
|
+
- :id: SD
|
83
|
+
:term: South Dakota
|
84
|
+
- :id: TN
|
85
|
+
:term: Tennessee
|
86
|
+
- :id: TX
|
87
|
+
:term: Texas
|
88
|
+
- :id: UT
|
89
|
+
:term: Utah
|
90
|
+
- :id: VT
|
91
|
+
:term: Vermont
|
92
|
+
- :id: VA
|
93
|
+
:term: Virginia
|
94
|
+
- :id: WA
|
95
|
+
:term: Washington
|
96
|
+
- :id: WV
|
97
|
+
:term: West Virginia
|
98
|
+
- :id: WI
|
99
|
+
:term: Wisconsin
|
100
|
+
- :id: WY
|
101
|
+
:term: Wyoming
|
@@ -3,23 +3,23 @@
|
|
3
3
|
#
|
4
4
|
# Ensure the SQLite 3 gem is defined in your Gemfile
|
5
5
|
# gem 'sqlite3'
|
6
|
-
|
6
|
+
#
|
7
|
+
default: &default
|
7
8
|
adapter: sqlite3
|
8
|
-
database: db/development.sqlite3
|
9
9
|
pool: 5
|
10
10
|
timeout: 5000
|
11
11
|
|
12
|
+
development:
|
13
|
+
<<: *default
|
14
|
+
database: db/development.sqlite3
|
15
|
+
|
12
16
|
# Warning: The database defined as "test" will be erased and
|
13
17
|
# re-generated from your development database when you run "rake".
|
14
18
|
# Do not set this db to the same as development or production.
|
15
19
|
test:
|
16
|
-
|
20
|
+
<<: *default
|
17
21
|
database: db/test.sqlite3
|
18
|
-
pool: 5
|
19
|
-
timeout: 5000
|
20
22
|
|
21
23
|
production:
|
22
|
-
|
24
|
+
<<: *default
|
23
25
|
database: db/production.sqlite3
|
24
|
-
pool: 5
|
25
|
-
timeout: 5000
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
Rails.application.configure do
|
2
2
|
# Settings specified here will take precedence over those in config/application.rb.
|
3
3
|
|
4
4
|
# In the development environment your application's code is reloaded on
|
@@ -19,11 +19,19 @@ Internal::Application.configure do
|
|
19
19
|
# Print deprecation notices to the Rails logger.
|
20
20
|
config.active_support.deprecation = :log
|
21
21
|
|
22
|
-
# Raise an error on page load if there are pending migrations
|
22
|
+
# Raise an error on page load if there are pending migrations.
|
23
23
|
config.active_record.migration_error = :page_load
|
24
24
|
|
25
25
|
# Debug mode disables concatenation and preprocessing of assets.
|
26
26
|
# This option may cause significant delays in view rendering with a large
|
27
27
|
# number of complex assets.
|
28
28
|
config.assets.debug = true
|
29
|
+
|
30
|
+
# Adds additional error checking when serving assets at runtime.
|
31
|
+
# Checks for improperly declared sprockets dependencies.
|
32
|
+
# Raises helpful error messages.
|
33
|
+
config.assets.raise_runtime_errors = true
|
34
|
+
|
35
|
+
# Raises error for missing translations
|
36
|
+
# config.action_view.raise_on_missing_translations = true
|
29
37
|
end
|
@@ -1,11 +1,11 @@
|
|
1
|
-
|
1
|
+
Rails.application.configure do
|
2
2
|
# Settings specified here will take precedence over those in config/application.rb.
|
3
3
|
|
4
4
|
# Code is not reloaded between requests.
|
5
5
|
config.cache_classes = true
|
6
6
|
|
7
7
|
# Eager load code on boot. This eager loads most of Rails and
|
8
|
-
# your application in memory, allowing both
|
8
|
+
# your application in memory, allowing both threaded web servers
|
9
9
|
# and those relying on copy on write to perform better.
|
10
10
|
# Rake tasks automatically ignore this option for performance.
|
11
11
|
config.eager_load = true
|
@@ -66,7 +66,7 @@ Internal::Application.configure do
|
|
66
66
|
# config.action_mailer.raise_delivery_errors = false
|
67
67
|
|
68
68
|
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
|
69
|
-
# the I18n.default_locale when a translation
|
69
|
+
# the I18n.default_locale when a translation cannot be found).
|
70
70
|
config.i18n.fallbacks = true
|
71
71
|
|
72
72
|
# Send deprecation notices to registered listeners.
|
@@ -77,4 +77,7 @@ Internal::Application.configure do
|
|
77
77
|
|
78
78
|
# Use default logging formatter so that PID and timestamp are not suppressed.
|
79
79
|
config.log_formatter = ::Logger::Formatter.new
|
80
|
+
|
81
|
+
# Do not dump schema after migrations.
|
82
|
+
config.active_record.dump_schema_after_migration = false
|
80
83
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
Rails.application.configure do
|
2
2
|
# Settings specified here will take precedence over those in config/application.rb.
|
3
3
|
|
4
4
|
# The test environment is used exclusively to run your application's
|
@@ -14,7 +14,7 @@ Internal::Application.configure do
|
|
14
14
|
|
15
15
|
# Configure static asset server for tests with Cache-Control for performance.
|
16
16
|
config.serve_static_assets = true
|
17
|
-
config.static_cache_control =
|
17
|
+
config.static_cache_control = 'public, max-age=3600'
|
18
18
|
|
19
19
|
# Show full error reports and disable caching.
|
20
20
|
config.consider_all_requests_local = true
|
@@ -33,4 +33,7 @@ Internal::Application.configure do
|
|
33
33
|
|
34
34
|
# Print deprecation notices to the stderr.
|
35
35
|
config.active_support.deprecation = :stderr
|
36
|
+
|
37
|
+
# Raises error for missing translations
|
38
|
+
# config.action_view.raise_on_missing_translations = true
|
36
39
|
end
|
@@ -0,0 +1,22 @@
|
|
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 the secrets in this file are kept private
|
11
|
+
# if you're sharing your code publicly.
|
12
|
+
|
13
|
+
development:
|
14
|
+
secret_key_base: 24f6ec7110ce529c108749a50583984fc6f0054a75295bda74463d539533495e4d5ddc449bc56662798969a9003dd46b3a2fd47fbd262c3838499cce8a41f000
|
15
|
+
|
16
|
+
test:
|
17
|
+
secret_key_base: e3e44f980833d37e413b1ba72e98c54edc32e1adcc4731586afc71176947f577c560c2aa9ad98240977327d195ed4d1ccbe25a1294eec18573f6ef18a631ac67
|
18
|
+
|
19
|
+
# Do not keep production secrets in the repository,
|
20
|
+
# instead read values from the environment.
|
21
|
+
production:
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
data/spec/internal/db/schema.rb
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20140620210536) do
|
15
15
|
|
16
16
|
create_table "qa_mesh_trees", force: true do |t|
|
17
17
|
t.string "term_id"
|
Binary file
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'rails/generators'
|
2
2
|
|
3
3
|
class TestAppGenerator < Rails::Generators::Base
|
4
|
-
source_root
|
4
|
+
source_root Rails.root
|
5
5
|
|
6
6
|
def update_app
|
7
7
|
Bundler.with_clean_env do
|
@@ -13,6 +13,14 @@ class TestAppGenerator < Rails::Generators::Base
|
|
13
13
|
generate "qa:install"
|
14
14
|
end
|
15
15
|
|
16
|
+
def run_local_authority_installer
|
17
|
+
generate "qa:local"
|
18
|
+
end
|
19
|
+
|
20
|
+
def copy_local_authority_fixtures
|
21
|
+
directory "../fixtures/authorities", "config/authorities"
|
22
|
+
end
|
23
|
+
|
16
24
|
def run_migrations
|
17
25
|
rake "qa:install:migrations"
|
18
26
|
rake "db:migrate"
|
@@ -1,212 +1,345 @@
|
|
1
|
-
[1m[36m (
|
2
|
-
[1m[35m (0.
|
3
|
-
[1m[
|
4
|
-
|
5
|
-
|
6
|
-
[1m[36m (0.
|
7
|
-
[1m[35m (0.
|
8
|
-
[1m[36m (0.1ms)[0m [1mCREATE
|
9
|
-
[1m[
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
1
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
2
|
+
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
4
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
5
|
+
Migrating to CreateQaSubjectMeshTerms (20140620210534)
|
6
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
7
|
+
[1m[35m (0.3ms)[0m CREATE TABLE "qa_subject_mesh_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "term_id" varchar(255), "term" varchar(255), "synonyms" text)
|
8
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_qa_subject_mesh_terms_on_term_id" ON "qa_subject_mesh_terms" ("term_id")[0m
|
9
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10
|
+
FROM sqlite_master
|
11
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
12
|
+
UNION ALL
|
13
|
+
SELECT sql
|
14
|
+
FROM sqlite_temp_master
|
15
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
16
|
+
|
17
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_qa_subject_mesh_terms_on_term" ON "qa_subject_mesh_terms" ("term")[0m
|
18
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140620210534"]]
|
17
19
|
[1m[36m (0.6ms)[0m [1mcommit transaction[0m
|
18
|
-
Migrating to
|
20
|
+
Migrating to CreateQaMeshTree (20140620210535)
|
19
21
|
[1m[35m (0.0ms)[0m begin transaction
|
20
|
-
[1m[36m (0.
|
21
|
-
[1m[35m (0.1ms)[0m CREATE
|
22
|
-
[1m[36m (0.
|
23
|
-
|
24
|
-
|
22
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "qa_mesh_trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "term_id" varchar(255), "tree_number" varchar(255)) [0m
|
23
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_qa_mesh_trees_on_term_id" ON "qa_mesh_trees" ("term_id")
|
24
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
25
|
+
FROM sqlite_master
|
26
|
+
WHERE name='index_qa_mesh_trees_on_term_id' AND type='index'
|
27
|
+
UNION ALL
|
28
|
+
SELECT sql
|
29
|
+
FROM sqlite_temp_master
|
30
|
+
WHERE name='index_qa_mesh_trees_on_term_id' AND type='index'
|
31
|
+
[0m
|
32
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_qa_mesh_trees_on_tree_number" ON "qa_mesh_trees" ("tree_number")
|
33
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20140620210535"]]
|
34
|
+
[1m[35m (0.7ms)[0m commit transaction
|
35
|
+
Migrating to AddTermLowerToQaSubjectMeshTerms (20140620210536)
|
36
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
37
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "qa_subject_mesh_terms" ADD "term_lower" varchar(255)
|
38
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
39
|
+
FROM sqlite_master
|
40
|
+
WHERE name='index_qa_subject_mesh_terms_on_term' AND type='index'
|
41
|
+
UNION ALL
|
42
|
+
SELECT sql
|
43
|
+
FROM sqlite_temp_master
|
44
|
+
WHERE name='index_qa_subject_mesh_terms_on_term' AND type='index'
|
45
|
+
[0m
|
46
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
47
|
+
FROM sqlite_master
|
48
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
49
|
+
UNION ALL
|
50
|
+
SELECT sql
|
51
|
+
FROM sqlite_temp_master
|
52
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
53
|
+
|
54
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_qa_subject_mesh_terms_on_term_lower" ON "qa_subject_mesh_terms" ("term_lower")[0m
|
55
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
56
|
+
FROM sqlite_master
|
57
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_lower' AND type='index'
|
58
|
+
UNION ALL
|
59
|
+
SELECT sql
|
60
|
+
FROM sqlite_temp_master
|
61
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_lower' AND type='index'
|
62
|
+
|
63
|
+
[1m[36m (0.0ms)[0m [1m SELECT sql
|
64
|
+
FROM sqlite_master
|
65
|
+
WHERE name='index_qa_subject_mesh_terms_on_term' AND type='index'
|
66
|
+
UNION ALL
|
67
|
+
SELECT sql
|
68
|
+
FROM sqlite_temp_master
|
69
|
+
WHERE name='index_qa_subject_mesh_terms_on_term' AND type='index'
|
70
|
+
[0m
|
71
|
+
[1m[35m (0.0ms)[0m SELECT sql
|
72
|
+
FROM sqlite_master
|
73
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
74
|
+
UNION ALL
|
75
|
+
SELECT sql
|
76
|
+
FROM sqlite_temp_master
|
77
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
78
|
+
|
79
|
+
[1m[36m (0.6ms)[0m [1mDROP INDEX "index_qa_subject_mesh_terms_on_term"[0m
|
80
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20140620210536"]]
|
81
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
25
82
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
26
|
-
[1m[36m (
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
[1m[
|
35
|
-
|
36
|
-
|
37
|
-
|
83
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
84
|
+
FROM sqlite_master
|
85
|
+
WHERE name='index_qa_mesh_trees_on_tree_number' AND type='index'
|
86
|
+
UNION ALL
|
87
|
+
SELECT sql
|
88
|
+
FROM sqlite_temp_master
|
89
|
+
WHERE name='index_qa_mesh_trees_on_tree_number' AND type='index'
|
90
|
+
[0m
|
91
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
92
|
+
FROM sqlite_master
|
93
|
+
WHERE name='index_qa_mesh_trees_on_term_id' AND type='index'
|
94
|
+
UNION ALL
|
95
|
+
SELECT sql
|
96
|
+
FROM sqlite_temp_master
|
97
|
+
WHERE name='index_qa_mesh_trees_on_term_id' AND type='index'
|
98
|
+
|
99
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
100
|
+
FROM sqlite_master
|
101
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_lower' AND type='index'
|
102
|
+
UNION ALL
|
103
|
+
SELECT sql
|
104
|
+
FROM sqlite_temp_master
|
105
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_lower' AND type='index'
|
106
|
+
[0m
|
107
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
108
|
+
FROM sqlite_master
|
109
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
110
|
+
UNION ALL
|
111
|
+
SELECT sql
|
112
|
+
FROM sqlite_temp_master
|
113
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
114
|
+
|
115
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qa_mesh_trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "term_id" varchar(255), "tree_number" varchar(255)) [0m
|
116
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
117
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_qa_mesh_trees_on_term_id" ON "qa_mesh_trees" ("term_id")[0m
|
118
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
119
|
+
FROM sqlite_master
|
120
|
+
WHERE name='index_qa_mesh_trees_on_term_id' AND type='index'
|
121
|
+
UNION ALL
|
122
|
+
SELECT sql
|
123
|
+
FROM sqlite_temp_master
|
124
|
+
WHERE name='index_qa_mesh_trees_on_term_id' AND type='index'
|
125
|
+
|
126
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_qa_mesh_trees_on_tree_number" ON "qa_mesh_trees" ("tree_number")[0m
|
127
|
+
[1m[35m (0.6ms)[0m CREATE TABLE "qa_subject_mesh_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "term_id" varchar(255), "term" varchar(255), "synonyms" text, "term_lower" varchar(255))
|
128
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_qa_subject_mesh_terms_on_term_id" ON "qa_subject_mesh_terms" ("term_id")[0m
|
129
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
130
|
+
FROM sqlite_master
|
131
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
132
|
+
UNION ALL
|
133
|
+
SELECT sql
|
134
|
+
FROM sqlite_temp_master
|
135
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
136
|
+
|
137
|
+
[1m[36m (0.6ms)[0m [1mCREATE INDEX "index_qa_subject_mesh_terms_on_term_lower" ON "qa_subject_mesh_terms" ("term_lower")[0m
|
138
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
139
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
140
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
141
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140620210536')[0m
|
142
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140620210534')
|
143
|
+
[1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140620210535')[0m
|
38
144
|
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
39
145
|
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
40
|
-
[1m[36m (0.
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
[1m[
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
[1m[
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
[1m[
|
87
|
-
|
146
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
147
|
+
FROM sqlite_master
|
148
|
+
WHERE name='index_qa_mesh_trees_on_tree_number' AND type='index'
|
149
|
+
UNION ALL
|
150
|
+
SELECT sql
|
151
|
+
FROM sqlite_temp_master
|
152
|
+
WHERE name='index_qa_mesh_trees_on_tree_number' AND type='index'
|
153
|
+
[0m
|
154
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
155
|
+
FROM sqlite_master
|
156
|
+
WHERE name='index_qa_mesh_trees_on_term_id' AND type='index'
|
157
|
+
UNION ALL
|
158
|
+
SELECT sql
|
159
|
+
FROM sqlite_temp_master
|
160
|
+
WHERE name='index_qa_mesh_trees_on_term_id' AND type='index'
|
161
|
+
|
162
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
163
|
+
FROM sqlite_master
|
164
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_lower' AND type='index'
|
165
|
+
UNION ALL
|
166
|
+
SELECT sql
|
167
|
+
FROM sqlite_temp_master
|
168
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_lower' AND type='index'
|
169
|
+
[0m
|
170
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
171
|
+
FROM sqlite_master
|
172
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
173
|
+
UNION ALL
|
174
|
+
SELECT sql
|
175
|
+
FROM sqlite_temp_master
|
176
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
177
|
+
|
178
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qa_mesh_trees" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "term_id" varchar(255), "tree_number" varchar(255)) [0m
|
179
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
180
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_qa_mesh_trees_on_term_id" ON "qa_mesh_trees" ("term_id")[0m
|
181
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
182
|
+
FROM sqlite_master
|
183
|
+
WHERE name='index_qa_mesh_trees_on_term_id' AND type='index'
|
184
|
+
UNION ALL
|
185
|
+
SELECT sql
|
186
|
+
FROM sqlite_temp_master
|
187
|
+
WHERE name='index_qa_mesh_trees_on_term_id' AND type='index'
|
188
|
+
|
189
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_qa_mesh_trees_on_tree_number" ON "qa_mesh_trees" ("tree_number")[0m
|
190
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "qa_subject_mesh_terms" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "term_id" varchar(255), "term" varchar(255), "synonyms" text, "term_lower" varchar(255))
|
191
|
+
[1m[36m (0.8ms)[0m [1mCREATE INDEX "index_qa_subject_mesh_terms_on_term_id" ON "qa_subject_mesh_terms" ("term_id")[0m
|
192
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
193
|
+
FROM sqlite_master
|
194
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
195
|
+
UNION ALL
|
196
|
+
SELECT sql
|
197
|
+
FROM sqlite_temp_master
|
198
|
+
WHERE name='index_qa_subject_mesh_terms_on_term_id' AND type='index'
|
199
|
+
|
200
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_qa_subject_mesh_terms_on_term_lower" ON "qa_subject_mesh_terms" ("term_lower")[0m
|
201
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
202
|
+
[1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
203
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
204
|
+
[1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140620210536')[0m
|
205
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20140620210534')
|
206
|
+
[1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20140620210535')[0m
|
207
|
+
|
208
|
+
|
209
|
+
Started GET "/" for 127.0.0.1 at 2014-06-20 17:05:59 -0400
|
210
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
211
|
+
Processing by Rails::WelcomeController#index as HTML
|
212
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/railties-4.1.1/lib/rails/templates/rails/welcome/index.html.erb (2.1ms)
|
213
|
+
Completed 200 OK in 23ms (Views: 11.4ms | ActiveRecord: 0.0ms)
|
214
|
+
|
215
|
+
|
216
|
+
Started GET "/qa/search/local/states?q=search_term" for 127.0.0.1 at 2014-06-20 17:06:01 -0400
|
217
|
+
Processing by Qa::TermsController#search as HTML
|
218
|
+
Parameters: {"q"=>"search_term", "vocab"=>"local", "sub_authority"=>"states"}
|
219
|
+
Rendered text template (0.0ms)
|
220
|
+
Completed 200 OK in 15ms (Views: 1.8ms | ActiveRecord: 0.0ms)
|
221
|
+
|
222
|
+
|
223
|
+
Started GET "/qa/search/local/states?q=No" for 127.0.0.1 at 2014-06-20 17:06:10 -0400
|
224
|
+
Processing by Qa::TermsController#search as HTML
|
225
|
+
Parameters: {"q"=>"No", "vocab"=>"local", "sub_authority"=>"states"}
|
226
|
+
Rendered text template (0.0ms)
|
227
|
+
Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
|
228
|
+
|
229
|
+
|
230
|
+
Started GET "/qa/search/local/states?q=Nor" for 127.0.0.1 at 2014-06-20 17:06:15 -0400
|
231
|
+
Processing by Qa::TermsController#search as HTML
|
232
|
+
Parameters: {"q"=>"Nor", "vocab"=>"local", "sub_authority"=>"states"}
|
233
|
+
Rendered text template (0.0ms)
|
234
|
+
Completed 200 OK in 2ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
235
|
+
|
236
|
+
|
237
|
+
Started GET "/qa/index/local/states" for 127.0.0.1 at 2014-06-20 17:07:08 -0400
|
238
|
+
|
239
|
+
ActionController::RoutingError (No route matches [GET] "/qa/index/local/states"):
|
240
|
+
actionpack (4.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
241
|
+
actionpack (4.1.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
242
|
+
railties (4.1.1) lib/rails/rack/logger.rb:38:in `call_app'
|
243
|
+
railties (4.1.1) lib/rails/rack/logger.rb:20:in `block in call'
|
244
|
+
activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
245
|
+
activesupport (4.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
246
|
+
activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in `tagged'
|
247
|
+
railties (4.1.1) lib/rails/rack/logger.rb:20:in `call'
|
248
|
+
actionpack (4.1.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
249
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
250
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
251
|
+
activesupport (4.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
252
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
253
|
+
actionpack (4.1.1) lib/action_dispatch/middleware/static.rb:64:in `call'
|
254
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
255
|
+
railties (4.1.1) lib/rails/engine.rb:514:in `call'
|
256
|
+
railties (4.1.1) lib/rails/application.rb:144:in `call'
|
257
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
258
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
259
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
260
|
+
/Users/awead/.rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
261
|
+
/Users/awead/.rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
262
|
+
/Users/awead/.rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
263
|
+
|
264
|
+
|
265
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.3ms)
|
266
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
|
267
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.4ms)
|
268
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (7.0ms)
|
269
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (34.7ms)
|
270
|
+
|
271
|
+
|
272
|
+
Started GET "/qa/index/local/states/" for 127.0.0.1 at 2014-06-20 17:07:14 -0400
|
273
|
+
|
274
|
+
ActionController::RoutingError (No route matches [GET] "/qa/index/local/states"):
|
275
|
+
actionpack (4.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
276
|
+
actionpack (4.1.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
277
|
+
railties (4.1.1) lib/rails/rack/logger.rb:38:in `call_app'
|
278
|
+
railties (4.1.1) lib/rails/rack/logger.rb:20:in `block in call'
|
279
|
+
activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
280
|
+
activesupport (4.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
281
|
+
activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in `tagged'
|
282
|
+
railties (4.1.1) lib/rails/rack/logger.rb:20:in `call'
|
283
|
+
actionpack (4.1.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
284
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
285
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
286
|
+
activesupport (4.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
287
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
288
|
+
actionpack (4.1.1) lib/action_dispatch/middleware/static.rb:64:in `call'
|
289
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
290
|
+
railties (4.1.1) lib/rails/engine.rb:514:in `call'
|
291
|
+
railties (4.1.1) lib/rails/application.rb:144:in `call'
|
292
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
293
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
294
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
295
|
+
/Users/awead/.rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
296
|
+
/Users/awead/.rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
297
|
+
/Users/awead/.rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
298
|
+
|
299
|
+
|
300
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.0ms)
|
301
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
|
302
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.3ms)
|
303
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.8ms)
|
304
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (16.3ms)
|
305
|
+
|
306
|
+
|
307
|
+
Started GET "/qa/local/states/" for 127.0.0.1 at 2014-06-20 17:07:20 -0400
|
308
|
+
|
309
|
+
ActionController::RoutingError (No route matches [GET] "/qa/local/states"):
|
310
|
+
actionpack (4.1.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
311
|
+
actionpack (4.1.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
312
|
+
railties (4.1.1) lib/rails/rack/logger.rb:38:in `call_app'
|
313
|
+
railties (4.1.1) lib/rails/rack/logger.rb:20:in `block in call'
|
314
|
+
activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
315
|
+
activesupport (4.1.1) lib/active_support/tagged_logging.rb:26:in `tagged'
|
316
|
+
activesupport (4.1.1) lib/active_support/tagged_logging.rb:68:in `tagged'
|
317
|
+
railties (4.1.1) lib/rails/rack/logger.rb:20:in `call'
|
318
|
+
actionpack (4.1.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
319
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
320
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
321
|
+
activesupport (4.1.1) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
322
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
323
|
+
actionpack (4.1.1) lib/action_dispatch/middleware/static.rb:64:in `call'
|
324
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
325
|
+
railties (4.1.1) lib/rails/engine.rb:514:in `call'
|
326
|
+
railties (4.1.1) lib/rails/application.rb:144:in `call'
|
327
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
328
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
329
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
330
|
+
/Users/awead/.rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
331
|
+
/Users/awead/.rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
332
|
+
/Users/awead/.rubies/ruby-2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
333
|
+
|
334
|
+
|
335
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (0.8ms)
|
336
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
|
337
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.4ms)
|
338
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (0.8ms)
|
339
|
+
Rendered /Users/awead/.gem/ruby/2.1.1/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (15.5ms)
|
340
|
+
|
341
|
+
|
342
|
+
Started GET "/qa/terms/local/states/" for 127.0.0.1 at 2014-06-20 17:07:29 -0400
|
88
343
|
Processing by Qa::TermsController#index as HTML
|
89
|
-
Parameters: {"
|
90
|
-
Completed 200 OK in
|
91
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
92
|
-
[1m[35m (0.0ms)[0m begin transaction
|
93
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
94
|
-
[1m[35mClass Create Many Without Validations Or Callbacks (0.5ms)[0m INSERT INTO "qa_subject_mesh_terms" ("term_id","term","term_lower","synonyms") VALUES ('D008288','Malaria','malaria','Marsh Fever|Plasmodium Infections|Remittent Fever|Infections, Plasmodium|Paludism|Fever, Marsh|Fever, Remittent|Infection, Plasmodium|Plasmodium Infection'),('D000001','Calcimycin','calcimycin','A-23187|A23187|Antibiotic A23187|A 23187|A23187, Antibiotic'),('D005260','Female','female','Females'),('D005261','Female Urogenital Diseases and Pregnancy Complications','female urogenital diseases and pregnancy complications',''),('D010272','Parasitic Diseases','parasitic diseases','Disease, Parasitic|Diseases, Parasitic|Parasitic Disease'),('D011528','Protozoan Infections','protozoan infections','Histomoniasis|Infections, Protozoan|Histomoniases|Infection, Protozoan|Protozoan Infection'),('D062310','Tropical Diseases','tropical diseases','Disease, Tropical|Diseases, Tropical|Tropical Disease'),('D013568','Pathological Conditions, Signs and Symptoms','pathological conditions, signs and symptoms','Symptoms and General Pathology'),('D001583','Benzoxazoles','benzoxazoles',''),('D006574','Heterocyclic Compounds, 2-Ring','heterocyclic compounds, 2-ring','2-Ring Heterocyclic Compounds|Compounds, 2-Ring Heterocyclic|Heterocyclic Compounds, 2 Ring'),('D006571','Heterocyclic Compounds','heterocyclic compounds','Compounds, Heterocyclic')
|
95
|
-
[1m[36mClass Create Many Without Validations Or Callbacks (0.3ms)[0m [1mINSERT INTO "qa_mesh_trees" ("term_id","tree_number") VALUES ('D008288','C03.752.530'),('D008288','C23.996.660'),('D000001','D03.438.221.173'),('D005261','C13'),('D010272','C03'),('D011528','C03.752'),('D062310','C03.883'),('D062310','C23.996'),('D013568','C23'),('D001583','D03.438.221'),('D006574','D03.438'),('D006571','D03')[0m
|
96
|
-
[1m[35mQa::SubjectMeshTerm Load (0.1ms)[0m SELECT "qa_subject_mesh_terms".* FROM "qa_subject_mesh_terms" WHERE "qa_subject_mesh_terms"."term_lower" = 'malaria'
|
97
|
-
[1m[36mQa::SubjectMeshTerm Load (0.1ms)[0m [1mSELECT "qa_subject_mesh_terms".* FROM "qa_subject_mesh_terms" WHERE "qa_subject_mesh_terms"."term" = 'Malaria'[0m
|
98
|
-
[1m[35mQa::SubjectMeshTerm Load (0.1ms)[0m SELECT "qa_subject_mesh_terms".* FROM "qa_subject_mesh_terms" WHERE "qa_subject_mesh_terms"."term_id" = 'D008288'
|
99
|
-
[1m[36mQa::SubjectMeshTerm Load (0.1ms)[0m [1mSELECT "qa_subject_mesh_terms".* FROM "qa_subject_mesh_terms"[0m
|
100
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
101
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
102
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "qa_subject_mesh_terms" ("term", "term_id", "term_lower") VALUES (?, ?, ?) [["term", "Mr Plow"], ["term_id", "1"], ["term_lower", "mr plow"]]
|
103
|
-
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
104
|
-
[1m[35m (0.1ms)[0m begin transaction
|
105
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qa_subject_mesh_terms" ("term", "term_id", "term_lower") VALUES (?, ?, ?)[0m [["term", "Mr Snow"], ["term_id", "2"], ["term_lower", "mr snow"]]
|
106
|
-
[1m[35m (0.5ms)[0m commit transaction
|
107
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
108
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "qa_subject_mesh_terms" ("term", "term_id", "term_lower") VALUES (?, ?, ?) [["term", "Mrs Fields"], ["term_id", "3"], ["term_lower", "mrs fields"]]
|
109
|
-
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
110
|
-
[1m[35m (0.0ms)[0m begin transaction
|
111
|
-
[1m[36mQa::SubjectMeshTerm Load (0.2ms)[0m [1mSELECT "qa_subject_mesh_terms".* FROM "qa_subject_mesh_terms" WHERE (term_lower LIKE 'mr%') LIMIT 10[0m
|
112
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
113
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
114
|
-
[1m[35mQa::SubjectMeshTerm Load (0.2ms)[0m SELECT "qa_subject_mesh_terms".* FROM "qa_subject_mesh_terms" WHERE "qa_subject_mesh_terms"."term_id" = '2' ORDER BY "qa_subject_mesh_terms"."id" ASC LIMIT 1
|
115
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
116
|
-
[1m[35mSQL (0.7ms)[0m DELETE FROM "qa_subject_mesh_terms"
|
117
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
118
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
119
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
120
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
121
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
122
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
123
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
124
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
125
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
126
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
127
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
128
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
129
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
130
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
131
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
132
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
133
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
134
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
135
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
136
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
137
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
138
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
139
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
140
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
141
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
142
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
143
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
144
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
145
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
146
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
147
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
148
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
149
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
150
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "qa_subject_mesh_terms" ("term", "term_id") VALUES (?, ?) [["term", "Glyphon"], ["term_id", "ABCDEFG"]]
|
151
|
-
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
152
|
-
[1m[35m (0.0ms)[0m begin transaction
|
153
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
154
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "qa_mesh_trees" ("term_id", "tree_number") VALUES (?, ?) [["term_id", "ABCDEFG"], ["tree_number", "D1.2.3.4"]]
|
155
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
156
|
-
[1m[35mQa::SubjectMeshTerm Load (0.1ms)[0m SELECT "qa_subject_mesh_terms".* FROM "qa_subject_mesh_terms" INNER JOIN qa_mesh_trees ON qa_subject_mesh_terms.term_id = qa_mesh_trees.term_id WHERE (qa_mesh_trees.tree_number = 'D1.2.3.4')
|
157
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
158
|
-
[1m[35m (0.1ms)[0m begin transaction
|
159
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
160
|
-
[1m[35m (0.0ms)[0m begin transaction
|
161
|
-
[1m[36mQa::MeshTree Load (0.1ms)[0m [1mSELECT "qa_mesh_trees".* FROM "qa_mesh_trees" WHERE "qa_mesh_trees"."term_id" = 'ABCDEFG'[0m
|
162
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
163
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
164
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
165
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "qa_subject_mesh_terms" ("synonyms", "term_id") VALUES (?, ?)[0m [["synonyms", "b|c"], ["term_id", "a"]]
|
166
|
-
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
167
|
-
[1m[36m (0.4ms)[0m [1mrollback transaction[0m
|
168
|
-
[1m[35m (0.1ms)[0m begin transaction
|
169
|
-
[1m[36mSQL (2.7ms)[0m [1mDELETE FROM "qa_subject_mesh_terms" WHERE "qa_subject_mesh_terms"."id" = ?[0m [["id", 4]]
|
170
|
-
[1m[35m (0.6ms)[0m commit transaction
|
171
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
172
|
-
[1m[35mClass Create Many Without Validations Or Callbacks (0.3ms)[0m INSERT INTO "qa_subject_mesh_terms" ("term_id","term","term_lower","synonyms") VALUES ('5','test','test','')
|
173
|
-
[1m[36mQa::SubjectMeshTerm Load (0.1ms)[0m [1mSELECT "qa_subject_mesh_terms".* FROM "qa_subject_mesh_terms" WHERE "qa_subject_mesh_terms"."term_id" = 5 LIMIT 1[0m
|
174
|
-
[1m[35m (0.4ms)[0m rollback transaction
|
175
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
176
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
177
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
178
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
179
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
180
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
181
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
182
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
183
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
184
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
185
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
186
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
187
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
188
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
189
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
190
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
191
|
-
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
192
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
193
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
194
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
195
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
196
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
197
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
198
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
199
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
200
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
201
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
202
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
203
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
204
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
205
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
206
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
207
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
208
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
209
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
210
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
211
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
212
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
344
|
+
Parameters: {"vocab"=>"local", "sub_authority"=>"states"}
|
345
|
+
Completed 200 OK in 2ms (Views: 1.2ms | ActiveRecord: 0.0ms)
|