strain 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +14 -0
  3. data/.rspec +3 -0
  4. data/.ruby-version +1 -0
  5. data/Gemfile +17 -0
  6. data/Guardfile +72 -0
  7. data/LICENSE +20 -0
  8. data/README.md +74 -0
  9. data/Rakefile +26 -0
  10. data/app/assets/javascripts/strain/jsonapi/articles.js +2 -0
  11. data/app/assets/javascripts/strain/jsonapi/variants.js +2 -0
  12. data/app/assets/stylesheets/strain/jsonapi/articles.css +4 -0
  13. data/app/assets/stylesheets/strain/jsonapi/variants.css +4 -0
  14. data/app/controllers/strain/application_controller.rb +5 -0
  15. data/app/controllers/strain/jsonapi/articles_controller.rb +6 -0
  16. data/app/controllers/strain/jsonapi/jsonapi_controller.rb +10 -0
  17. data/app/controllers/strain/jsonapi/variants_controller.rb +7 -0
  18. data/app/helpers/strain/jsonapi/articles_helper.rb +4 -0
  19. data/app/helpers/strain/jsonapi/variants_helper.rb +4 -0
  20. data/app/models/strain/article.rb +37 -0
  21. data/app/models/strain/variant.rb +32 -0
  22. data/app/resources/strain/jsonapi/article_resource.rb +21 -0
  23. data/app/resources/strain/jsonapi/variant_resource.rb +16 -0
  24. data/bin/_guard-core +16 -0
  25. data/bin/guard +16 -0
  26. data/bin/rails +12 -0
  27. data/bin/rake +16 -0
  28. data/bin/rspec +16 -0
  29. data/config/initializers/jsonapi_resources.rb +4 -0
  30. data/config/routes.rb +8 -0
  31. data/db/migrate/20151103060035_enable_uuid.rb +5 -0
  32. data/db/migrate/20151103060224_create_strain_variants.rb +11 -0
  33. data/db/migrate/20151104200908_create_strain_articles.rb +14 -0
  34. data/lib/json_schema/draft_4_meta_schema.json +150 -0
  35. data/lib/strain/engine.rb +21 -0
  36. data/lib/strain/schema_tools/defaults.rb +53 -0
  37. data/lib/strain/version.rb +3 -0
  38. data/lib/strain.rb +17 -0
  39. data/lib/tasks/strain_tasks.rake +4 -0
  40. data/spec/factories/strain_articles.rb +15 -0
  41. data/spec/factories/strain_variants.rb +34 -0
  42. data/spec/lib/strain/schema_tools/defaults_spec.rb +234 -0
  43. data/spec/models/strain/article_spec.rb +72 -0
  44. data/spec/models/strain/variant_spec.rb +42 -0
  45. data/spec/rails_helper.rb +59 -0
  46. data/spec/requests/strain/jsonapi/articles_spec.rb +220 -0
  47. data/spec/requests/strain/jsonapi/variants_spec.rb +159 -0
  48. data/spec/spec_helper.rb +99 -0
  49. data/spec/test_app/README.rdoc +28 -0
  50. data/spec/test_app/Rakefile +6 -0
  51. data/spec/test_app/app/assets/javascripts/application.js +13 -0
  52. data/spec/test_app/app/assets/stylesheets/application.css +15 -0
  53. data/spec/test_app/app/controllers/application_controller.rb +5 -0
  54. data/spec/test_app/app/helpers/application_helper.rb +2 -0
  55. data/spec/test_app/app/models/tweet.rb +4 -0
  56. data/spec/test_app/app/views/layouts/application.html.erb +14 -0
  57. data/spec/test_app/bin/bundle +3 -0
  58. data/spec/test_app/bin/rails +4 -0
  59. data/spec/test_app/bin/rake +4 -0
  60. data/spec/test_app/bin/setup +29 -0
  61. data/spec/test_app/config/application.rb +32 -0
  62. data/spec/test_app/config/boot.rb +5 -0
  63. data/spec/test_app/config/database.yml +85 -0
  64. data/spec/test_app/config/environment.rb +5 -0
  65. data/spec/test_app/config/environments/development.rb +41 -0
  66. data/spec/test_app/config/environments/production.rb +79 -0
  67. data/spec/test_app/config/environments/test.rb +42 -0
  68. data/spec/test_app/config/initializers/assets.rb +11 -0
  69. data/spec/test_app/config/initializers/backtrace_silencers.rb +7 -0
  70. data/spec/test_app/config/initializers/cookies_serializer.rb +3 -0
  71. data/spec/test_app/config/initializers/filter_parameter_logging.rb +4 -0
  72. data/spec/test_app/config/initializers/inflections.rb +16 -0
  73. data/spec/test_app/config/initializers/mime_types.rb +4 -0
  74. data/spec/test_app/config/initializers/session_store.rb +3 -0
  75. data/spec/test_app/config/initializers/wrap_parameters.rb +14 -0
  76. data/spec/test_app/config/locales/en.yml +23 -0
  77. data/spec/test_app/config/routes.rb +4 -0
  78. data/spec/test_app/config/secrets.yml +22 -0
  79. data/spec/test_app/config.ru +4 -0
  80. data/spec/test_app/db/schema.rb +42 -0
  81. data/spec/test_app/log/development.log +2854 -0
  82. data/spec/test_app/log/test.log +40082 -0
  83. data/spec/test_app/public/404.html +67 -0
  84. data/spec/test_app/public/422.html +67 -0
  85. data/spec/test_app/public/500.html +66 -0
  86. data/spec/test_app/public/favicon.ico +0 -0
  87. metadata +262 -0
@@ -0,0 +1,2854 @@
1
+  (71.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2
+  (7.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
4
+ Migrating to EnableUuid (20151103060035)
5
+  (0.2ms) BEGIN
6
+ SQL (92.5ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
7
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151103060035"]]
8
+  (0.6ms) COMMIT
9
+ Migrating to CreateStrainVariants (20151103060224)
10
+  (0.1ms) BEGIN
11
+  (17.3ms) CREATE TABLE "strain_variants" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "schema" jsonb NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
12
+ SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151103060224"]]
13
+  (0.8ms) COMMIT
14
+ Migrating to CreateStrainArticles (20151104200908)
15
+  (0.2ms) BEGIN
16
+  (11.3ms) CREATE TABLE "strain_articles" ("id" serial primary key, "variant_id" integer, "title" character varying NOT NULL, "body" jsonb NOT NULL, "slug" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
17
+  (2.1ms) CREATE INDEX "index_strain_articles_on_variant_id" ON "strain_articles" ("variant_id")
18
+  (13.4ms) ALTER TABLE "strain_articles" ADD CONSTRAINT "fk_rails_d1a5caee14"
19
+ FOREIGN KEY ("variant_id")
20
+ REFERENCES "variants" ("id")
21
+ 
22
+ PG::UndefinedTable: ERROR: relation "variants" does not exist
23
+ : ALTER TABLE "strain_articles" ADD CONSTRAINT "fk_rails_d1a5caee14"
24
+ FOREIGN KEY ("variant_id")
25
+ REFERENCES "variants" ("id")
26
+
27
+  (0.1ms) ROLLBACK
28
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
29
+ Migrating to CreateStrainArticles (20151104200908)
30
+  (0.1ms) BEGIN
31
+  (5.7ms) CREATE TABLE "strain_articles" ("id" serial primary key, "strain_variant_id" integer, "title" character varying NOT NULL, "body" jsonb NOT NULL, "slug" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
32
+  (1.0ms) CREATE INDEX "index_strain_articles_on_strain_variant_id" ON "strain_articles" ("strain_variant_id")
33
+  (6.4ms) ALTER TABLE "strain_articles" ADD CONSTRAINT "fk_rails_9b38b915e7"
34
+ FOREIGN KEY ("strain_variant_id")
35
+ REFERENCES "strain_variants" ("id")
36
+ 
37
+ PG::DatatypeMismatch: ERROR: foreign key constraint "fk_rails_9b38b915e7" cannot be implemented
38
+ DETAIL: Key columns "strain_variant_id" and "id" are of incompatible types: integer and uuid.
39
+ : ALTER TABLE "strain_articles" ADD CONSTRAINT "fk_rails_9b38b915e7"
40
+ FOREIGN KEY ("strain_variant_id")
41
+ REFERENCES "strain_variants" ("id")
42
+
43
+  (0.1ms) ROLLBACK
44
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
45
+ Migrating to CreateStrainArticles (20151104200908)
46
+  (0.1ms) BEGIN
47
+  (5.2ms) CREATE TABLE "strain_articles" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "strain_variant_id" integer, "title" character varying NOT NULL, "body" jsonb NOT NULL, "slug" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
48
+  (1.3ms) CREATE INDEX "index_strain_articles_on_strain_variant_id" ON "strain_articles" ("strain_variant_id")
49
+  (1.9ms) ALTER TABLE "strain_articles" ADD CONSTRAINT "fk_rails_9b38b915e7"
50
+ FOREIGN KEY ("strain_variant_id")
51
+ REFERENCES "strain_variants" ("id")
52
+ 
53
+ PG::DatatypeMismatch: ERROR: foreign key constraint "fk_rails_9b38b915e7" cannot be implemented
54
+ DETAIL: Key columns "strain_variant_id" and "id" are of incompatible types: integer and uuid.
55
+ : ALTER TABLE "strain_articles" ADD CONSTRAINT "fk_rails_9b38b915e7"
56
+ FOREIGN KEY ("strain_variant_id")
57
+ REFERENCES "strain_variants" ("id")
58
+
59
+  (0.1ms) ROLLBACK
60
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
61
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
62
+ Migrating to CreateStrainVariants (20151103060224)
63
+  (0.1ms) BEGIN
64
+  (11.3ms) DROP TABLE "strain_variants"
65
+ SQL (1.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "20151103060224"]]
66
+  (1.5ms) COMMIT
67
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
68
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
69
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
70
+ Migrating to EnableUuid (20151103060035)
71
+  (0.1ms) BEGIN
72
+ SQL (6.2ms) DROP EXTENSION IF EXISTS "uuid-ossp" CASCADE
73
+ SQL (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "20151103060035"]]
74
+  (0.4ms) COMMIT
75
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
76
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
77
+ Migrating to EnableUuid (20151103060035)
78
+  (0.1ms) BEGIN
79
+ SQL (9.0ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
80
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151103060035"]]
81
+  (0.6ms) COMMIT
82
+ Migrating to CreateStrainVariants (20151103060224)
83
+  (0.1ms) BEGIN
84
+  (4.3ms) CREATE TABLE "strain_variants" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "schema" jsonb NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
85
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151103060224"]]
86
+  (0.3ms) COMMIT
87
+ Migrating to CreateStrainArticles (20151104200908)
88
+  (0.1ms) BEGIN
89
+  (3.5ms) CREATE TABLE "strain_articles" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "strain_variant_id" integer, "title" character varying NOT NULL, "body" jsonb NOT NULL, "slug" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
90
+  (1.2ms) CREATE INDEX "index_strain_articles_on_strain_variant_id" ON "strain_articles" ("strain_variant_id")
91
+  (2.9ms) ALTER TABLE "strain_articles" ADD CONSTRAINT "fk_rails_9b38b915e7"
92
+ FOREIGN KEY ("strain_variant_id")
93
+ REFERENCES "strain_variants" ("id")
94
+ 
95
+ PG::DatatypeMismatch: ERROR: foreign key constraint "fk_rails_9b38b915e7" cannot be implemented
96
+ DETAIL: Key columns "strain_variant_id" and "id" are of incompatible types: integer and uuid.
97
+ : ALTER TABLE "strain_articles" ADD CONSTRAINT "fk_rails_9b38b915e7"
98
+ FOREIGN KEY ("strain_variant_id")
99
+ REFERENCES "strain_variants" ("id")
100
+
101
+  (0.1ms) ROLLBACK
102
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
103
+ Migrating to CreateStrainArticles (20151104200908)
104
+  (0.3ms) BEGIN
105
+  (6.7ms) CREATE TABLE "strain_articles" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "strain_variant_id" uuid, "title" character varying NOT NULL, "body" jsonb NOT NULL, "slug" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
106
+  (0.9ms) CREATE INDEX "index_strain_articles_on_strain_variant_id" ON "strain_articles" ("strain_variant_id")
107
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151104200908"]]
108
+  (0.8ms) COMMIT
109
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
110
+  (12.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
111
+ FROM pg_constraint c
112
+ JOIN pg_class t1 ON c.conrelid = t1.oid
113
+ JOIN pg_class t2 ON c.confrelid = t2.oid
114
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
115
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
116
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
117
+ WHERE c.contype = 'f'
118
+ AND t1.relname = 'strain_articles'
119
+ AND t3.nspname = ANY (current_schemas(false))
120
+ ORDER BY c.conname
121
+
122
+  (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
123
+ FROM pg_constraint c
124
+ JOIN pg_class t1 ON c.conrelid = t1.oid
125
+ JOIN pg_class t2 ON c.confrelid = t2.oid
126
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
127
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
128
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
129
+ WHERE c.contype = 'f'
130
+ AND t1.relname = 'strain_variants'
131
+ AND t3.nspname = ANY (current_schemas(false))
132
+ ORDER BY c.conname
133
+ 
134
+  (0.3ms) BEGIN
135
+  (0.3ms) ROLLBACK
136
+  (0.2ms) BEGIN
137
+  (0.2ms) ROLLBACK
138
+  (0.2ms) BEGIN
139
+  (0.2ms) ROLLBACK
140
+  (0.2ms) BEGIN
141
+ SQL (3.4ms) INSERT INTO "strain_variants" ("schema", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["schema", "{\"type\":\"object\"}"], ["name", "test"], ["created_at", "2015-11-04 21:16:51.457620"], ["updated_at", "2015-11-04 21:16:51.457620"]]
142
+  (0.5ms) COMMIT
143
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
144
+  (7.7ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
145
+ FROM pg_constraint c
146
+ JOIN pg_class t1 ON c.conrelid = t1.oid
147
+ JOIN pg_class t2 ON c.confrelid = t2.oid
148
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
149
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
150
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
151
+ WHERE c.contype = 'f'
152
+ AND t1.relname = 'strain_articles'
153
+ AND t3.nspname = ANY (current_schemas(false))
154
+ ORDER BY c.conname
155
+
156
+  (4.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
157
+ FROM pg_constraint c
158
+ JOIN pg_class t1 ON c.conrelid = t1.oid
159
+ JOIN pg_class t2 ON c.confrelid = t2.oid
160
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
161
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
162
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
163
+ WHERE c.contype = 'f'
164
+ AND t1.relname = 'strain_variants'
165
+ AND t3.nspname = ANY (current_schemas(false))
166
+ ORDER BY c.conname
167
+ 
168
+ ActiveRecord::SchemaMigration Load (1.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
169
+  (5.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
170
+ FROM pg_constraint c
171
+ JOIN pg_class t1 ON c.conrelid = t1.oid
172
+ JOIN pg_class t2 ON c.confrelid = t2.oid
173
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
174
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
175
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
176
+ WHERE c.contype = 'f'
177
+ AND t1.relname = 'strain_articles'
178
+ AND t3.nspname = ANY (current_schemas(false))
179
+ ORDER BY c.conname
180
+
181
+  (7.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
182
+ FROM pg_constraint c
183
+ JOIN pg_class t1 ON c.conrelid = t1.oid
184
+ JOIN pg_class t2 ON c.confrelid = t2.oid
185
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
186
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
187
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
188
+ WHERE c.contype = 'f'
189
+ AND t1.relname = 'strain_variants'
190
+ AND t3.nspname = ANY (current_schemas(false))
191
+ ORDER BY c.conname
192
+ 
193
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
194
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
195
+ Migrating to CreateStrainArticles (20151104200908)
196
+  (0.1ms) BEGIN
197
+  (4.7ms) DROP TABLE "strain_articles"
198
+ SQL (0.4ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "20151104200908"]]
199
+  (1.8ms) COMMIT
200
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
201
+  (5.4ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
202
+ FROM pg_constraint c
203
+ JOIN pg_class t1 ON c.conrelid = t1.oid
204
+ JOIN pg_class t2 ON c.confrelid = t2.oid
205
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
206
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
207
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
208
+ WHERE c.contype = 'f'
209
+ AND t1.relname = 'strain_variants'
210
+ AND t3.nspname = ANY (current_schemas(false))
211
+ ORDER BY c.conname
212
+
213
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
214
+ Migrating to CreateStrainArticles (20151104200908)
215
+  (0.1ms) BEGIN
216
+  (7.3ms) CREATE TABLE "strain_articles" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "variant_id" uuid, "title" character varying NOT NULL, "body" jsonb NOT NULL, "slug" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
217
+  (1.0ms) CREATE INDEX "index_strain_articles_on_variant_id" ON "strain_articles" ("variant_id")
218
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151104200908"]]
219
+  (0.8ms) COMMIT
220
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
221
+  (4.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
222
+ FROM pg_constraint c
223
+ JOIN pg_class t1 ON c.conrelid = t1.oid
224
+ JOIN pg_class t2 ON c.confrelid = t2.oid
225
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
226
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
227
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
228
+ WHERE c.contype = 'f'
229
+ AND t1.relname = 'strain_articles'
230
+ AND t3.nspname = ANY (current_schemas(false))
231
+ ORDER BY c.conname
232
+
233
+  (4.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
234
+ FROM pg_constraint c
235
+ JOIN pg_class t1 ON c.conrelid = t1.oid
236
+ JOIN pg_class t2 ON c.confrelid = t2.oid
237
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
238
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
239
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
240
+ WHERE c.contype = 'f'
241
+ AND t1.relname = 'strain_variants'
242
+ AND t3.nspname = ANY (current_schemas(false))
243
+ ORDER BY c.conname
244
+ 
245
+ Strain::Variant Load (5.9ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC LIMIT 1
246
+  (0.2ms) BEGIN
247
+ SQL (4.6ms) INSERT INTO "strain_articles" ("variant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"], ["created_at", "2015-11-04 21:20:02.953681"], ["updated_at", "2015-11-04 21:20:02.953681"]]
248
+ PG::NotNullViolation: ERROR: null value in column "title" violates not-null constraint
249
+ DETAIL: Failing row contains (82978d08-c55c-4db7-ae09-29f3b6d6d8bb, ab265b3a-23f2-4dc8-9889-03a4a25f16d5, null, null, null, 2015-11-04 21:20:02.953681, 2015-11-04 21:20:02.953681).
250
+ : INSERT INTO "strain_articles" ("variant_id", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"
251
+  (0.2ms) ROLLBACK
252
+  (0.2ms) BEGIN
253
+ SQL (1.0ms) INSERT INTO "strain_articles" ("variant_id", "created_at", "updated_at", "title", "body") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"], ["created_at", "2015-11-04 21:20:02.953681"], ["updated_at", "2015-11-04 21:20:02.953681"], ["title", "test"], ["body", "{\"beep\":\"derp\"}"]]
254
+ PG::NotNullViolation: ERROR: null value in column "slug" violates not-null constraint
255
+ DETAIL: Failing row contains (cbfdc674-b169-456d-b744-ca476bfb0519, ab265b3a-23f2-4dc8-9889-03a4a25f16d5, test, {"beep": "derp"}, null, 2015-11-04 21:20:02.953681, 2015-11-04 21:20:02.953681).
256
+ : INSERT INTO "strain_articles" ("variant_id", "created_at", "updated_at", "title", "body") VALUES ($1, $2, $3, $4, $5) RETURNING "id"
257
+  (0.2ms) ROLLBACK
258
+  (0.2ms) BEGIN
259
+ SQL (4.4ms) INSERT INTO "strain_articles" ("variant_id", "created_at", "updated_at", "title", "body", "slug") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"], ["created_at", "2015-11-04 21:20:02.953681"], ["updated_at", "2015-11-04 21:20:02.953681"], ["title", "test"], ["body", "{\"beep\":\"derp\"}"], ["slug", "test"]]
260
+  (1.3ms) COMMIT
261
+
262
+
263
+ Started GET "/" for 127.0.0.1 at 2015-11-06 17:44:31 -0500
264
+ Processing by Rails::WelcomeController#index as HTML
265
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/templates/rails/welcome/index.html.erb (2.3ms)
266
+ Completed 200 OK in 12ms (Views: 11.7ms | ActiveRecord: 0.0ms)
267
+
268
+
269
+ Started GET "/routes" for 127.0.0.1 at 2015-11-06 17:44:38 -0500
270
+
271
+ ActionController::RoutingError (No route matches [GET] "/routes"):
272
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
273
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
274
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
275
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
276
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
277
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
278
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
279
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
280
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
281
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
282
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
283
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
284
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
285
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
286
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
287
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
288
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
289
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
290
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
291
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
292
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
293
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
294
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
295
+
296
+
297
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
298
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.9ms)
299
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.6ms)
300
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (10.2ms)
301
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (12.1ms)
302
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (131.2ms)
303
+
304
+
305
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-06 17:45:14 -0500
306
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
307
+ Strain::Variant Load (1.5ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
308
+ Internal Server Error: JSONAPI: Could not find resource 'strain/jsonapi/strain/variant'. (Class Strain::Jsonapi::Strain::VariantResource not found) /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:300:in `resource_for'
309
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:525:in `block in find'
310
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
311
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
312
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:524:in `find'
313
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operation.rb:45:in `apply'
314
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:23:in `block in process_operation'
315
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:90:in `with_default_handling'
316
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:21:in `process_operation'
317
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:53:in `block (5 levels) in process'
318
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
319
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_find_operation_callbacks'
320
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
321
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:52:in `block (4 levels) in process'
322
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
323
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_operation_callbacks'
324
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
325
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:50:in `block (3 levels) in process'
326
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:45:in `each'
327
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:45:in `block (2 levels) in process'
328
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:10:in `transaction'
329
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:41:in `block in process'
330
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
331
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_operations_callbacks'
332
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
333
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:40:in `process'
334
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/acts_as_resource_controller.rb:62:in `process_request'
335
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/acts_as_resource_controller.rb:12:in `index'
336
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
337
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:198:in `process_action'
338
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:10:in `process_action'
339
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
340
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
341
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
342
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
343
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
344
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
345
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
346
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
347
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
348
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
349
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rescue.rb:29:in `process_action'
350
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
351
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'
352
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
353
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'
354
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
355
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
356
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
357
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:137:in `process'
358
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:30:in `process'
359
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:196:in `dispatch'
360
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
361
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:237:in `block in action'
362
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `call'
363
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
364
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:45:in `serve'
365
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
366
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
367
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
368
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
369
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
370
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `public_send'
371
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `method_missing'
372
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:51:in `serve'
373
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
374
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
375
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
376
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
377
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
378
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
379
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
380
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
381
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/flash.rb:260:in `call'
382
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
383
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
384
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/cookies.rb:560:in `call'
385
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/query_cache.rb:36:in `call'
386
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
387
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/migration.rb:377:in `call'
388
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
389
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
390
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
391
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
392
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
393
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/reloader.rb:73:in `call'
394
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
395
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
396
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
397
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:38:in `call_app'
398
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `block in call'
399
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
400
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'
401
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'
402
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `call'
403
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
404
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
405
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
406
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
407
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
408
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/static.rb:116:in `call'
409
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
410
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
411
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:165:in `call'
412
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
413
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
414
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
415
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
416
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
417
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
418
+ Completed 500 Internal Server Error in 110ms (Views: 0.4ms | ActiveRecord: 9.6ms)
419
+
420
+
421
+ Started GET "/jsonapi/variants" for ::1 at 2015-11-06 17:49:31 -0500
422
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
423
+ Strain::Variant Load (0.6ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
424
+ Internal Server Error: JSONAPI: Could not find resource 'strain/jsonapi/strain/variant'. (Class Strain::Jsonapi::Strain::VariantResource not found) /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:300:in `resource_for'
425
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:525:in `block in find'
426
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
427
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
428
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:524:in `find'
429
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operation.rb:45:in `apply'
430
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:23:in `block in process_operation'
431
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:90:in `with_default_handling'
432
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:21:in `process_operation'
433
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:53:in `block (5 levels) in process'
434
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
435
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_find_operation_callbacks'
436
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
437
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:52:in `block (4 levels) in process'
438
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
439
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_operation_callbacks'
440
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
441
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:50:in `block (3 levels) in process'
442
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:45:in `each'
443
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:45:in `block (2 levels) in process'
444
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:10:in `transaction'
445
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:41:in `block in process'
446
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
447
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_operations_callbacks'
448
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
449
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:40:in `process'
450
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/acts_as_resource_controller.rb:62:in `process_request'
451
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/acts_as_resource_controller.rb:12:in `index'
452
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
453
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:198:in `process_action'
454
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:10:in `process_action'
455
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
456
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
457
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
458
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
459
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
460
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
461
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
462
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
463
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
464
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
465
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rescue.rb:29:in `process_action'
466
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
467
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'
468
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
469
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'
470
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
471
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
472
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
473
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:137:in `process'
474
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:30:in `process'
475
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:196:in `dispatch'
476
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
477
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:237:in `block in action'
478
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `call'
479
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
480
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:45:in `serve'
481
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
482
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
483
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
484
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
485
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
486
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `public_send'
487
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `method_missing'
488
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:51:in `serve'
489
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
490
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
491
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
492
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
493
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
494
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
495
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
496
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
497
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/flash.rb:260:in `call'
498
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
499
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
500
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/cookies.rb:560:in `call'
501
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/query_cache.rb:36:in `call'
502
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
503
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/migration.rb:377:in `call'
504
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
505
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
506
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
507
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
508
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
509
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/reloader.rb:73:in `call'
510
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
511
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
512
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
513
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:38:in `call_app'
514
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `block in call'
515
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
516
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'
517
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'
518
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `call'
519
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
520
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
521
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
522
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
523
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
524
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/static.rb:116:in `call'
525
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
526
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
527
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:165:in `call'
528
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
529
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
530
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
531
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
532
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
533
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
534
+ Completed 500 Internal Server Error in 5ms (Views: 0.3ms | ActiveRecord: 0.6ms)
535
+
536
+
537
+ Started GET "/jsonapi/variants" for ::1 at 2015-11-06 17:55:26 -0500
538
+
539
+ ActionController::RoutingError (No route matches [GET] "/jsonapi/variants"):
540
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
541
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
542
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
543
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
544
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
545
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
546
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
547
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
548
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
549
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
550
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
551
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
552
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
553
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
554
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
555
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
556
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
557
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
558
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
559
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
560
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
561
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
562
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
563
+
564
+
565
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.6ms)
566
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.0ms)
567
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.5ms)
568
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (8.5ms)
569
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (13.2ms)
570
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (140.4ms)
571
+
572
+
573
+ Started GET "/zerp/jsonapi/variants" for ::1 at 2015-11-06 17:55:31 -0500
574
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
575
+ Strain::Variant Load (1.8ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
576
+ Internal Server Error: JSONAPI: Could not find resource 'strain/jsonapi/strain/variant'. (Class Strain::Jsonapi::Strain::VariantResource not found) /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:300:in `resource_for'
577
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:525:in `block in find'
578
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
579
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
580
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:524:in `find'
581
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operation.rb:45:in `apply'
582
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:23:in `block in process_operation'
583
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:90:in `with_default_handling'
584
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:21:in `process_operation'
585
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:53:in `block (5 levels) in process'
586
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
587
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_find_operation_callbacks'
588
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
589
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:52:in `block (4 levels) in process'
590
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
591
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_operation_callbacks'
592
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
593
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:50:in `block (3 levels) in process'
594
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:45:in `each'
595
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:45:in `block (2 levels) in process'
596
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:10:in `transaction'
597
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:41:in `block in process'
598
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
599
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_operations_callbacks'
600
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
601
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:40:in `process'
602
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/acts_as_resource_controller.rb:62:in `process_request'
603
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/acts_as_resource_controller.rb:12:in `index'
604
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
605
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:198:in `process_action'
606
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:10:in `process_action'
607
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
608
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
609
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
610
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
611
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
612
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
613
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
614
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
615
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
616
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
617
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rescue.rb:29:in `process_action'
618
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
619
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'
620
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
621
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'
622
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
623
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
624
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
625
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:137:in `process'
626
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:30:in `process'
627
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:196:in `dispatch'
628
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
629
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:237:in `block in action'
630
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `call'
631
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
632
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:45:in `serve'
633
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
634
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
635
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
636
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
637
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
638
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `public_send'
639
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `method_missing'
640
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:51:in `serve'
641
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
642
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
643
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
644
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
645
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
646
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
647
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
648
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
649
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/flash.rb:260:in `call'
650
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
651
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
652
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/cookies.rb:560:in `call'
653
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/query_cache.rb:36:in `call'
654
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
655
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/migration.rb:377:in `call'
656
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
657
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
658
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
659
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
660
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
661
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/reloader.rb:73:in `call'
662
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
663
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
664
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
665
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:38:in `call_app'
666
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `block in call'
667
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
668
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'
669
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'
670
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `call'
671
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
672
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
673
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
674
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
675
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
676
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/static.rb:116:in `call'
677
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
678
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
679
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:165:in `call'
680
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
681
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
682
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
683
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
684
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
685
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
686
+ Completed 500 Internal Server Error in 62ms (Views: 0.4ms | ActiveRecord: 7.9ms)
687
+
688
+
689
+ Started GET "/routes" for ::1 at 2015-11-06 17:55:39 -0500
690
+
691
+ ActionController::RoutingError (No route matches [GET] "/routes"):
692
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
693
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
694
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
695
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
696
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
697
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
698
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
699
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
700
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
701
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
702
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
703
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
704
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
705
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
706
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
707
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
708
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
709
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
710
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
711
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
712
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
713
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
714
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
715
+
716
+
717
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.5ms)
718
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.7ms)
719
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.4ms)
720
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms)
721
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.0ms)
722
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (96.1ms)
723
+
724
+
725
+ Started GET "/rails/info/routes" for ::1 at 2015-11-06 17:55:46 -0500
726
+ Processing by Rails::InfoController#routes as HTML
727
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
728
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.4ms)
729
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.3ms)
730
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application (12.1ms)
731
+ Completed 200 OK in 24ms (Views: 23.5ms | ActiveRecord: 0.0ms)
732
+
733
+
734
+ Started GET "/zerp/jsonapi/variants" for ::1 at 2015-11-06 17:58:36 -0500
735
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
736
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
737
+ Internal Server Error: JSONAPI: Could not find resource 'strain/jsonapi/strain/variant'. (Class Strain::Jsonapi::Strain::VariantResource not found) /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:300:in `resource_for'
738
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:525:in `block in find'
739
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
740
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
741
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:524:in `find'
742
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operation.rb:45:in `apply'
743
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:23:in `block in process_operation'
744
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:90:in `with_default_handling'
745
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:21:in `process_operation'
746
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:53:in `block (5 levels) in process'
747
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
748
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_find_operation_callbacks'
749
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
750
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:52:in `block (4 levels) in process'
751
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
752
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_operation_callbacks'
753
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
754
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:50:in `block (3 levels) in process'
755
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:45:in `each'
756
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:45:in `block (2 levels) in process'
757
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:10:in `transaction'
758
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:41:in `block in process'
759
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
760
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_operations_callbacks'
761
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
762
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:40:in `process'
763
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/acts_as_resource_controller.rb:62:in `process_request'
764
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/acts_as_resource_controller.rb:12:in `index'
765
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
766
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:198:in `process_action'
767
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:10:in `process_action'
768
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
769
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
770
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
771
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
772
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
773
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
774
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
775
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
776
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
777
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
778
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rescue.rb:29:in `process_action'
779
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
780
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'
781
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
782
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'
783
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
784
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
785
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
786
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:137:in `process'
787
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:30:in `process'
788
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:196:in `dispatch'
789
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
790
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:237:in `block in action'
791
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `call'
792
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
793
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:45:in `serve'
794
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
795
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
796
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
797
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
798
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
799
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `public_send'
800
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `method_missing'
801
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:51:in `serve'
802
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
803
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
804
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
805
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
806
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
807
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
808
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
809
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
810
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/flash.rb:260:in `call'
811
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
812
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
813
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/cookies.rb:560:in `call'
814
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/query_cache.rb:36:in `call'
815
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
816
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/migration.rb:377:in `call'
817
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
818
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
819
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
820
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
821
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
822
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/reloader.rb:73:in `call'
823
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
824
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
825
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
826
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:38:in `call_app'
827
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `block in call'
828
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
829
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'
830
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'
831
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `call'
832
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
833
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
834
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
835
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
836
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
837
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/static.rb:116:in `call'
838
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
839
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
840
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:165:in `call'
841
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
842
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
843
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
844
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
845
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
846
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
847
+ Completed 500 Internal Server Error in 35ms (Views: 0.3ms | ActiveRecord: 2.9ms)
848
+
849
+
850
+ Started GET "/zerp/jsonapi/variants" for ::1 at 2015-11-06 18:00:40 -0500
851
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
852
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
853
+ Internal Server Error: JSONAPI: Could not find resource 'Jsonapi/variant'. (Class Jsonapi::VariantResource not found) /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:300:in `resource_for'
854
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:525:in `block in find'
855
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
856
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
857
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:524:in `find'
858
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operation.rb:45:in `apply'
859
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:23:in `block in process_operation'
860
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:90:in `with_default_handling'
861
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:21:in `process_operation'
862
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:53:in `block (5 levels) in process'
863
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
864
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_find_operation_callbacks'
865
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
866
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:52:in `block (4 levels) in process'
867
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
868
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_operation_callbacks'
869
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
870
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:50:in `block (3 levels) in process'
871
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:45:in `each'
872
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:45:in `block (2 levels) in process'
873
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:10:in `transaction'
874
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:41:in `block in process'
875
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
876
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_operations_callbacks'
877
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
878
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:40:in `process'
879
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/acts_as_resource_controller.rb:62:in `process_request'
880
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/acts_as_resource_controller.rb:12:in `index'
881
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
882
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:198:in `process_action'
883
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:10:in `process_action'
884
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
885
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
886
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
887
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
888
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
889
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
890
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
891
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
892
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
893
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
894
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rescue.rb:29:in `process_action'
895
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
896
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'
897
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
898
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'
899
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
900
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
901
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
902
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:137:in `process'
903
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:30:in `process'
904
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:196:in `dispatch'
905
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
906
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:237:in `block in action'
907
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `call'
908
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
909
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:45:in `serve'
910
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
911
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
912
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
913
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
914
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
915
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `public_send'
916
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `method_missing'
917
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:51:in `serve'
918
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
919
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
920
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
921
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
922
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
923
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
924
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
925
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
926
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/flash.rb:260:in `call'
927
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
928
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
929
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/cookies.rb:560:in `call'
930
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/query_cache.rb:36:in `call'
931
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
932
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/migration.rb:377:in `call'
933
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
934
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
935
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
936
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
937
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
938
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/reloader.rb:73:in `call'
939
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
940
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
941
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
942
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:38:in `call_app'
943
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `block in call'
944
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
945
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'
946
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'
947
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `call'
948
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
949
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
950
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
951
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
952
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
953
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/static.rb:116:in `call'
954
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
955
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
956
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:165:in `call'
957
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
958
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
959
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
960
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
961
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
962
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
963
+ Completed 500 Internal Server Error in 92ms (Views: 0.4ms | ActiveRecord: 2.9ms)
964
+
965
+
966
+ Started GET "/zerp/jsonapi/variants" for ::1 at 2015-11-06 18:01:24 -0500
967
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
968
+ Strain::Variant Load (0.5ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
969
+ Internal Server Error: JSONAPI: Could not find resource 'jsonapi/variant'. (Class Jsonapi::VariantResource not found) /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:300:in `resource_for'
970
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:525:in `block in find'
971
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
972
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/relation/delegation.rb:46:in `each'
973
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/resource.rb:524:in `find'
974
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operation.rb:45:in `apply'
975
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:23:in `block in process_operation'
976
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:90:in `with_default_handling'
977
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:21:in `process_operation'
978
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:53:in `block (5 levels) in process'
979
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
980
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_find_operation_callbacks'
981
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
982
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:52:in `block (4 levels) in process'
983
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
984
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_operation_callbacks'
985
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
986
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:50:in `block (3 levels) in process'
987
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:45:in `each'
988
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:45:in `block (2 levels) in process'
989
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/active_record_operations_processor.rb:10:in `transaction'
990
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:41:in `block in process'
991
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
992
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_operations_callbacks'
993
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
994
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/operations_processor.rb:40:in `process'
995
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/acts_as_resource_controller.rb:62:in `process_request'
996
+ /Users/adam/dev/opc/jr-new/jsonapi-resources/lib/jsonapi/acts_as_resource_controller.rb:12:in `index'
997
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
998
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:198:in `process_action'
999
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rendering.rb:10:in `process_action'
1000
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1001
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
1002
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:117:in `call'
1003
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
1004
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
1005
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:505:in `call'
1006
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:92:in `__run_callbacks__'
1007
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
1008
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
1009
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/callbacks.rb:19:in `process_action'
1010
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rescue.rb:29:in `process_action'
1011
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1012
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `block in instrument'
1013
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1014
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/notifications.rb:164:in `instrument'
1015
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1016
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1017
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1018
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/abstract_controller/base.rb:137:in `process'
1019
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionview-4.2.4/lib/action_view/rendering.rb:30:in `process'
1020
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:196:in `dispatch'
1021
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1022
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_controller/metal.rb:237:in `block in action'
1023
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `call'
1024
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
1025
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:45:in `serve'
1026
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
1027
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
1028
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
1029
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
1030
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
1031
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `public_send'
1032
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/railtie.rb:194:in `method_missing'
1033
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/mapper.rb:51:in `serve'
1034
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:43:in `block in serve'
1035
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `each'
1036
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/journey/router.rb:30:in `serve'
1037
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/routing/route_set.rb:821:in `call'
1038
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/etag.rb:24:in `call'
1039
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/conditionalget.rb:25:in `call'
1040
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/head.rb:13:in `call'
1041
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1042
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/flash.rb:260:in `call'
1043
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:225:in `context'
1044
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/session/abstract/id.rb:220:in `call'
1045
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/cookies.rb:560:in `call'
1046
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/query_cache.rb:36:in `call'
1047
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
1048
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.4/lib/active_record/migration.rb:377:in `call'
1049
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1050
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:88:in `__run_callbacks__'
1051
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
1052
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/callbacks.rb:81:in `run_callbacks'
1053
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1054
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/reloader.rb:73:in `call'
1055
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1056
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1057
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1058
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:38:in `call_app'
1059
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `block in call'
1060
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'
1061
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:26:in `tagged'
1062
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/tagged_logging.rb:68:in `tagged'
1063
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/rack/logger.rb:20:in `call'
1064
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'
1065
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/methodoverride.rb:22:in `call'
1066
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/runtime.rb:18:in `call'
1067
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activesupport-4.2.4/lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1068
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
1069
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/static.rb:116:in `call'
1070
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/sendfile.rb:113:in `call'
1071
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/engine.rb:518:in `call'
1072
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/application.rb:165:in `call'
1073
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/lock.rb:17:in `call'
1074
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/content_length.rb:15:in `call'
1075
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.4/lib/rack/handler/webrick.rb:88:in `service'
1076
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
1077
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
1078
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
1079
+ Completed 500 Internal Server Error in 65ms (Views: 0.4ms | ActiveRecord: 3.3ms)
1080
+
1081
+
1082
+ Started GET "/zerp/jsonapi/variants" for ::1 at 2015-11-06 18:01:44 -0500
1083
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
1084
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1085
+ Completed 200 OK in 17ms (Views: 0.4ms | ActiveRecord: 3.1ms)
1086
+
1087
+
1088
+ Started GET "/zerp/jsonapi/variants" for ::1 at 2015-11-06 18:02:24 -0500
1089
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
1090
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1091
+ Completed 200 OK in 12ms (Views: 0.3ms | ActiveRecord: 2.9ms)
1092
+
1093
+
1094
+ Started GET "/api/shared-links" for 127.0.0.1 at 2015-11-06 21:09:47 -0500
1095
+
1096
+ ActionController::RoutingError (No route matches [GET] "/api/shared-links"):
1097
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
1098
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1099
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
1100
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
1101
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1102
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
1103
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
1104
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
1105
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1106
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
1107
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
1108
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1109
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1110
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
1111
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
1112
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
1113
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
1114
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1115
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
1116
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
1117
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
1118
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
1119
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
1120
+
1121
+
1122
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.2ms)
1123
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.4ms)
1124
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.1ms)
1125
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (2.7ms)
1126
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.6ms)
1127
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (126.2ms)
1128
+
1129
+
1130
+ Started GET "/rails/info/routes" for ::1 at 2015-11-06 21:39:32 -0500
1131
+ Processing by Rails::InfoController#routes as HTML
1132
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.3ms)
1133
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.5ms)
1134
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.4ms)
1135
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application (11.3ms)
1136
+ Completed 200 OK in 22ms (Views: 21.3ms | ActiveRecord: 0.0ms)
1137
+
1138
+
1139
+ Started GET "/rails/info/routes" for ::1 at 2015-11-06 21:39:33 -0500
1140
+ Processing by Rails::InfoController#routes as HTML
1141
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.1ms)
1142
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.4ms)
1143
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.1ms)
1144
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/railties-4.2.4/lib/rails/templates/rails/info/routes.html.erb within layouts/application (9.2ms)
1145
+ Completed 200 OK in 17ms (Views: 16.4ms | ActiveRecord: 0.0ms)
1146
+
1147
+
1148
+ Started GET "/zerp/jsonapi/variants" for ::1 at 2015-11-06 21:39:35 -0500
1149
+
1150
+ ActionController::RoutingError (No route matches [GET] "/zerp/jsonapi/variants"):
1151
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
1152
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1153
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
1154
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
1155
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1156
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
1157
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
1158
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
1159
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1160
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
1161
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
1162
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1163
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1164
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
1165
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
1166
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
1167
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
1168
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1169
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
1170
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
1171
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
1172
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
1173
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
1174
+
1175
+
1176
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.4ms)
1177
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.7ms)
1178
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (2.1ms)
1179
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.4ms)
1180
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (3.5ms)
1181
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (118.6ms)
1182
+
1183
+
1184
+ Started GET "/jsonapi/variants" for ::1 at 2015-11-06 21:39:42 -0500
1185
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
1186
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1187
+ Completed 200 OK in 22ms (Views: 1.2ms | ActiveRecord: 5.3ms)
1188
+
1189
+
1190
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-15 22:52:53 -0500
1191
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
1192
+ Strain::Variant Load (1.8ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1193
+ Completed 200 OK in 32ms (Views: 0.7ms | ActiveRecord: 12.9ms)
1194
+
1195
+
1196
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for ::1 at 2015-11-15 22:53:32 -0500
1197
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
1198
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
1199
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1200
+ Strain::Article Load (1.9ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1201
+ Completed 500 Internal Server Error in 44ms (ActiveRecord: 4.9ms)
1202
+
1203
+ NoMethodError (undefined method `name' for #<Strain::Article:0x007fac6a1dea48>):
1204
+ activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing'
1205
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:322:in `public_send'
1206
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:322:in `block in attribute'
1207
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:142:in `public_send'
1208
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:142:in `block in attribute_hash'
1209
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `each'
1210
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `each_with_object'
1211
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `attribute_hash'
1212
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:116:in `object_hash'
1213
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:91:in `block in process_primary'
1214
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:85:in `each'
1215
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:85:in `process_primary'
1216
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:37:in `serialize_to_hash'
1217
+ jsonapi-resources (0.6.1) lib/jsonapi/response_document.rb:110:in `results_to_hash'
1218
+ jsonapi-resources (0.6.1) lib/jsonapi/response_document.rb:11:in `contents'
1219
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:147:in `render_results'
1220
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:168:in `process_request_operations'
1221
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:54:in `get_related_resources'
1222
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1223
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
1224
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
1225
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1226
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
1227
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
1228
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
1229
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
1230
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
1231
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
1232
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
1233
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
1234
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
1235
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
1236
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1237
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
1238
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1239
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
1240
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1241
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1242
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1243
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
1244
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
1245
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
1246
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1247
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
1248
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
1249
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
1250
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
1251
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1252
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
1253
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
1254
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
1255
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
1256
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
1257
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
1258
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1259
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1260
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
1261
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
1262
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
1263
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
1264
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
1265
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
1266
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1267
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
1268
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
1269
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
1270
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1271
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
1272
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
1273
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
1274
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1275
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
1276
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
1277
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
1278
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1279
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1280
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1281
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1282
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1283
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
1284
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
1285
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1286
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
1287
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
1288
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
1289
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1290
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
1291
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
1292
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1293
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1294
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
1295
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
1296
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
1297
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
1298
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1299
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
1300
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
1301
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
1302
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
1303
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
1304
+
1305
+
1306
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms)
1307
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms)
1308
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.0ms)
1309
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (95.6ms)
1310
+
1311
+
1312
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for ::1 at 2015-11-15 22:55:04 -0500
1313
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
1314
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
1315
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1316
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1317
+ Completed 200 OK in 22ms (Views: 0.4ms | ActiveRecord: 4.9ms)
1318
+
1319
+
1320
+ Started GET "/jsonapi/variants/f5ac53a6-0404-42fe-9a07-1d538e12b043" for ::1 at 2015-11-15 22:55:34 -0500
1321
+ Processing by Strain::Jsonapi::VariantsController#show as HTML
1322
+ Parameters: {"id"=>"f5ac53a6-0404-42fe-9a07-1d538e12b043"}
1323
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "f5ac53a6-0404-42fe-9a07-1d538e12b043"]]
1324
+ Completed 404 Not Found in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
1325
+
1326
+
1327
+ Started GET "/jsonapi/variants" for ::1 at 2015-11-15 22:55:40 -0500
1328
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
1329
+ Strain::Variant Load (0.5ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1330
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.5ms)
1331
+
1332
+
1333
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5" for ::1 at 2015-11-15 22:55:57 -0500
1334
+ Processing by Strain::Jsonapi::VariantsController#show as HTML
1335
+ Parameters: {"id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
1336
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1337
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.3ms)
1338
+
1339
+
1340
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/relationships/articles" for ::1 at 2015-11-15 22:56:05 -0500
1341
+ Processing by Strain::Jsonapi::VariantsController#show_relationship as HTML
1342
+ Parameters: {"relationship"=>"articles", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
1343
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1344
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1345
+ Completed 200 OK in 10ms (Views: 0.3ms | ActiveRecord: 0.7ms)
1346
+
1347
+
1348
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for ::1 at 2015-11-15 22:56:12 -0500
1349
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
1350
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
1351
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1352
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1353
+ Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.7ms)
1354
+
1355
+
1356
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/relationships/articles" for ::1 at 2015-11-15 22:56:14 -0500
1357
+ Processing by Strain::Jsonapi::VariantsController#show_relationship as HTML
1358
+ Parameters: {"relationship"=>"articles", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
1359
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1360
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1361
+ Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.6ms)
1362
+
1363
+
1364
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/relationships/articles" for ::1 at 2015-11-15 22:56:16 -0500
1365
+ Processing by Strain::Jsonapi::VariantsController#show_relationship as HTML
1366
+ Parameters: {"relationship"=>"articles", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
1367
+ Strain::Variant Load (0.2ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1368
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1369
+ Completed 200 OK in 4ms (Views: 0.3ms | ActiveRecord: 0.6ms)
1370
+
1371
+
1372
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for ::1 at 2015-11-15 22:56:18 -0500
1373
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
1374
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
1375
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1376
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1377
+ Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.7ms)
1378
+
1379
+
1380
+ Started GET "/jsonapi/variants/f5ac53a6-0404-42fe-9a07-1d538e12b043/articles" for ::1 at 2015-11-15 22:56:25 -0500
1381
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
1382
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"f5ac53a6-0404-42fe-9a07-1d538e12b043"}
1383
+ Strain::Variant Load (0.2ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "f5ac53a6-0404-42fe-9a07-1d538e12b043"]]
1384
+ Completed 404 Not Found in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
1385
+
1386
+
1387
+ Started GET "/jsonapi/variants" for ::1 at 2015-11-15 22:56:43 -0500
1388
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
1389
+ Strain::Variant Load (0.8ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1390
+ Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.8ms)
1391
+
1392
+
1393
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-15 23:07:03 -0500
1394
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
1395
+ Strain::Variant Load (0.9ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1396
+ Completed 200 OK in 22ms (Views: 1.9ms | ActiveRecord: 0.9ms)
1397
+
1398
+
1399
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-15 23:07:08 -0500
1400
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
1401
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1402
+ Completed 200 OK in 5ms (Views: 0.5ms | ActiveRecord: 0.4ms)
1403
+
1404
+
1405
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-15 23:07:11 -0500
1406
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
1407
+ Strain::Variant Load (0.5ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1408
+ Completed 200 OK in 6ms (Views: 0.7ms | ActiveRecord: 0.5ms)
1409
+
1410
+
1411
+ Started GET "/jsonapi/variants?include=articles" for 127.0.0.1 at 2015-11-15 23:15:51 -0500
1412
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
1413
+ Parameters: {"include"=>"articles"}
1414
+ Strain::Variant Load (0.6ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1415
+ Strain::Article Load (0.8ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" IN ('ab265b3a-23f2-4dc8-9889-03a4a25f16d5')
1416
+ Completed 200 OK in 49ms (Views: 2.5ms | ActiveRecord: 1.3ms)
1417
+
1418
+
1419
+ Started GET "/jsonapi/variants?include=articles" for 127.0.0.1 at 2015-11-15 23:16:43 -0500
1420
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
1421
+ Parameters: {"include"=>"articles"}
1422
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1423
+ Strain::Article Load (0.6ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" IN ('ab265b3a-23f2-4dc8-9889-03a4a25f16d5')
1424
+ Completed 500 Internal Server Error in 39ms (ActiveRecord: 6.9ms)
1425
+
1426
+ NoMethodError (undefined method `name' for #<Strain::Article:0x007fac623412d0>):
1427
+ activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing'
1428
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:322:in `public_send'
1429
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:322:in `block in attribute'
1430
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:142:in `public_send'
1431
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:142:in `block in attribute_hash'
1432
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `each'
1433
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `each_with_object'
1434
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `attribute_hash'
1435
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:116:in `object_hash'
1436
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:194:in `block (2 levels) in relationship_data'
1437
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:190:in `each'
1438
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:190:in `block in relationship_data'
1439
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:159:in `each'
1440
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:159:in `each_with_object'
1441
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:159:in `relationship_data'
1442
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:119:in `object_hash'
1443
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:91:in `block in process_primary'
1444
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:85:in `each'
1445
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:85:in `process_primary'
1446
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:37:in `serialize_to_hash'
1447
+ jsonapi-resources (0.6.1) lib/jsonapi/response_document.rb:110:in `results_to_hash'
1448
+ jsonapi-resources (0.6.1) lib/jsonapi/response_document.rb:11:in `contents'
1449
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:147:in `render_results'
1450
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:168:in `process_request_operations'
1451
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:14:in `index'
1452
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1453
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
1454
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
1455
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1456
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
1457
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
1458
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
1459
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
1460
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
1461
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
1462
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
1463
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
1464
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
1465
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
1466
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1467
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
1468
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1469
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
1470
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1471
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1472
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1473
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
1474
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
1475
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
1476
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1477
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
1478
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
1479
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
1480
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
1481
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1482
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
1483
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
1484
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
1485
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
1486
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
1487
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
1488
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1489
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1490
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
1491
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
1492
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
1493
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
1494
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
1495
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
1496
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1497
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
1498
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
1499
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
1500
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1501
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
1502
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
1503
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
1504
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1505
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
1506
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
1507
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
1508
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1509
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1510
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1511
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1512
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1513
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
1514
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
1515
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1516
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
1517
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
1518
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
1519
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1520
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
1521
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
1522
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1523
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1524
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
1525
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
1526
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
1527
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
1528
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1529
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
1530
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
1531
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
1532
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
1533
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
1534
+
1535
+
1536
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.7ms)
1537
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.7ms)
1538
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms)
1539
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (87.2ms)
1540
+ Strain::Article Load (0.8ms) SELECT "strain_articles".* FROM "strain_articles"
1541
+
1542
+
1543
+ Started GET "/jsonapi/articles" for ::1 at 2015-11-15 23:18:51 -0500
1544
+ Processing by Strain::Jsonapi::ArticlesController#index as HTML
1545
+ Strain::Article Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
1546
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1547
+ Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.8ms)
1548
+
1549
+
1550
+ Started GET "/jsonapi/articles/f5ac53a6-0404-42fe-9a07-1d538e12b043/variant" for ::1 at 2015-11-15 23:19:39 -0500
1551
+ Processing by Strain::Jsonapi::VariantsController#get_related_resource as HTML
1552
+ Parameters: {"relationship"=>"variant", "source"=>"strain/jsonapi/articles", "article_id"=>"f5ac53a6-0404-42fe-9a07-1d538e12b043"}
1553
+ Strain::Article Load (0.7ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."id" = $1 ORDER BY "strain_articles"."id" ASC LIMIT 1 [["id", "f5ac53a6-0404-42fe-9a07-1d538e12b043"]]
1554
+ Strain::Variant Load (0.6ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1555
+ Completed 500 Internal Server Error in 6ms (ActiveRecord: 1.3ms)
1556
+
1557
+ NoMethodError (undefined method `_attribute_options' for #<Class:0x007fac63861c78>):
1558
+ activerecord (4.2.4) lib/active_record/dynamic_matchers.rb:26:in `method_missing'
1559
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:106:in `object_hash'
1560
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:98:in `process_primary'
1561
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:37:in `serialize_to_hash'
1562
+ jsonapi-resources (0.6.1) lib/jsonapi/response_document.rb:108:in `results_to_hash'
1563
+ jsonapi-resources (0.6.1) lib/jsonapi/response_document.rb:11:in `contents'
1564
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:147:in `render_results'
1565
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:168:in `process_request_operations'
1566
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:50:in `get_related_resource'
1567
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1568
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
1569
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
1570
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1571
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
1572
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
1573
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
1574
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
1575
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
1576
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
1577
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
1578
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
1579
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
1580
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
1581
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1582
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
1583
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1584
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
1585
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1586
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1587
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1588
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
1589
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
1590
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
1591
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1592
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
1593
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
1594
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
1595
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
1596
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1597
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
1598
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
1599
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
1600
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
1601
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
1602
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
1603
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1604
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1605
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
1606
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
1607
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
1608
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
1609
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
1610
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
1611
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1612
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
1613
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
1614
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
1615
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1616
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
1617
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
1618
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
1619
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1620
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
1621
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
1622
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
1623
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1624
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1625
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1626
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1627
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1628
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
1629
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
1630
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1631
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
1632
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
1633
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
1634
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1635
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
1636
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
1637
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1638
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1639
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
1640
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
1641
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
1642
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
1643
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1644
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
1645
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
1646
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
1647
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
1648
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
1649
+
1650
+
1651
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.5ms)
1652
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.7ms)
1653
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
1654
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (88.3ms)
1655
+
1656
+
1657
+ Started GET "/jsonapi/articles" for ::1 at 2015-11-15 23:19:52 -0500
1658
+ Processing by Strain::Jsonapi::ArticlesController#index as HTML
1659
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
1660
+ Completed 200 OK in 12ms (Views: 0.4ms | ActiveRecord: 3.4ms)
1661
+
1662
+
1663
+ Started GET "/jsonapi/articles?include=variants" for ::1 at 2015-11-15 23:20:00 -0500
1664
+ Processing by Strain::Jsonapi::ArticlesController#index as HTML
1665
+ Parameters: {"include"=>"variants"}
1666
+ Filter chain halted as :setup_request rendered or redirected
1667
+ Completed 400 Bad Request in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1668
+
1669
+
1670
+ Started GET "/jsonapi/articles?include=variant" for ::1 at 2015-11-15 23:20:03 -0500
1671
+ Processing by Strain::Jsonapi::ArticlesController#index as HTML
1672
+ Parameters: {"include"=>"variant"}
1673
+ Strain::Article Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
1674
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" IN ('ab265b3a-23f2-4dc8-9889-03a4a25f16d5')
1675
+ Completed 200 OK in 16ms (Views: 0.7ms | ActiveRecord: 2.5ms)
1676
+
1677
+
1678
+ Started GET "/jsonapi/articles?include=variant" for ::1 at 2015-11-15 23:20:46 -0500
1679
+ Processing by Strain::Jsonapi::ArticlesController#index as HTML
1680
+ Parameters: {"include"=>"variant"}
1681
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
1682
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" IN ('ab265b3a-23f2-4dc8-9889-03a4a25f16d5')
1683
+ Completed 200 OK in 21ms (Views: 0.7ms | ActiveRecord: 5.4ms)
1684
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles"
1685
+ Strain::Article Load (1.4ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC LIMIT 1
1686
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1687
+
1688
+
1689
+ Started GET "/jsonapi/variants?include=articles" for 127.0.0.1 at 2015-11-15 23:25:10 -0500
1690
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
1691
+ Parameters: {"include"=>"articles"}
1692
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1693
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" IN ('ab265b3a-23f2-4dc8-9889-03a4a25f16d5')
1694
+ Completed 500 Internal Server Error in 21ms (ActiveRecord: 4.8ms)
1695
+
1696
+ NoMethodError (undefined method `name' for #<Strain::Article:0x007fac61e825a0>):
1697
+ activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing'
1698
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:322:in `public_send'
1699
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:322:in `block in attribute'
1700
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:142:in `public_send'
1701
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:142:in `block in attribute_hash'
1702
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `each'
1703
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `each_with_object'
1704
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `attribute_hash'
1705
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:116:in `object_hash'
1706
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:194:in `block (2 levels) in relationship_data'
1707
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:190:in `each'
1708
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:190:in `block in relationship_data'
1709
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:159:in `each'
1710
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:159:in `each_with_object'
1711
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:159:in `relationship_data'
1712
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:119:in `object_hash'
1713
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:91:in `block in process_primary'
1714
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:85:in `each'
1715
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:85:in `process_primary'
1716
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:37:in `serialize_to_hash'
1717
+ jsonapi-resources (0.6.1) lib/jsonapi/response_document.rb:110:in `results_to_hash'
1718
+ jsonapi-resources (0.6.1) lib/jsonapi/response_document.rb:11:in `contents'
1719
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:147:in `render_results'
1720
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:168:in `process_request_operations'
1721
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:14:in `index'
1722
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1723
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
1724
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
1725
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1726
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
1727
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
1728
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
1729
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
1730
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
1731
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
1732
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
1733
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
1734
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
1735
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
1736
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1737
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
1738
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1739
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
1740
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1741
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1742
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1743
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
1744
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
1745
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
1746
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1747
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
1748
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
1749
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
1750
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
1751
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1752
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
1753
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
1754
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
1755
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
1756
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
1757
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
1758
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1759
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1760
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
1761
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
1762
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
1763
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
1764
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
1765
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
1766
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1767
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
1768
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
1769
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
1770
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1771
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
1772
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
1773
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
1774
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1775
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
1776
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
1777
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
1778
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1779
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1780
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1781
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1782
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1783
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
1784
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
1785
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1786
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
1787
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
1788
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
1789
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1790
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
1791
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
1792
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1793
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1794
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
1795
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
1796
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
1797
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
1798
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1799
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
1800
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
1801
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
1802
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
1803
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
1804
+
1805
+
1806
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.3ms)
1807
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.1ms)
1808
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.3ms)
1809
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (71.9ms)
1810
+
1811
+
1812
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-15 23:25:19 -0500
1813
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
1814
+ Strain::Variant Load (0.6ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1815
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.6ms)
1816
+
1817
+
1818
+ Started GET "/jsonapi/articles" for 127.0.0.1 at 2015-11-15 23:25:29 -0500
1819
+ Processing by Strain::Jsonapi::ArticlesController#index as API_JSON
1820
+ Strain::Article Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
1821
+ Strain::Variant Load (0.5ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1822
+ Completed 200 OK in 6ms (Views: 0.4ms | ActiveRecord: 0.9ms)
1823
+
1824
+
1825
+ Started GET "/jsonapi/articles" for 127.0.0.1 at 2015-11-15 23:28:20 -0500
1826
+ Processing by Strain::Jsonapi::ArticlesController#index as API_JSON
1827
+ Strain::Article Load (0.7ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
1828
+ Strain::Variant Load (0.5ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1829
+ Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 1.2ms)
1830
+
1831
+
1832
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-15 23:29:22 -0500
1833
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
1834
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
1835
+ Completed 200 OK in 3ms (Views: 0.4ms | ActiveRecord: 0.4ms)
1836
+
1837
+
1838
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for 127.0.0.1 at 2015-11-15 23:29:47 -0500
1839
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
1840
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
1841
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1842
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1843
+ Completed 500 Internal Server Error in 5ms (ActiveRecord: 0.7ms)
1844
+
1845
+ NoMethodError (undefined method `name' for #<Strain::Article:0x007fac69d57808>):
1846
+ activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing'
1847
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:322:in `public_send'
1848
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:322:in `block in attribute'
1849
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:142:in `public_send'
1850
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:142:in `block in attribute_hash'
1851
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `each'
1852
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `each_with_object'
1853
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `attribute_hash'
1854
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:116:in `object_hash'
1855
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:91:in `block in process_primary'
1856
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:85:in `each'
1857
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:85:in `process_primary'
1858
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:37:in `serialize_to_hash'
1859
+ jsonapi-resources (0.6.1) lib/jsonapi/response_document.rb:110:in `results_to_hash'
1860
+ jsonapi-resources (0.6.1) lib/jsonapi/response_document.rb:11:in `contents'
1861
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:147:in `render_results'
1862
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:168:in `process_request_operations'
1863
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:54:in `get_related_resources'
1864
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1865
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
1866
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
1867
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1868
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
1869
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
1870
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
1871
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
1872
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
1873
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
1874
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
1875
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
1876
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
1877
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
1878
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1879
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
1880
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1881
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
1882
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1883
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1884
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1885
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
1886
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
1887
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
1888
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1889
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
1890
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
1891
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
1892
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
1893
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1894
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
1895
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
1896
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
1897
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
1898
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
1899
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
1900
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1901
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1902
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
1903
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
1904
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
1905
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
1906
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
1907
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
1908
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1909
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
1910
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
1911
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
1912
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1913
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
1914
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
1915
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
1916
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1917
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
1918
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
1919
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
1920
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1921
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1922
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1923
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1924
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1925
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
1926
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
1927
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1928
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
1929
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
1930
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
1931
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1932
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
1933
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
1934
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1935
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1936
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
1937
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
1938
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
1939
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
1940
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
1941
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
1942
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
1943
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
1944
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
1945
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
1946
+
1947
+
1948
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.6ms)
1949
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms)
1950
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
1951
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (73.3ms)
1952
+
1953
+
1954
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for 127.0.0.1 at 2015-11-15 23:33:09 -0500
1955
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
1956
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
1957
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1958
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
1959
+ Completed 500 Internal Server Error in 22ms (ActiveRecord: 5.8ms)
1960
+
1961
+ NoMethodError (undefined method `name' for #<Strain::Article:0x007fac63f6bed8>):
1962
+ activemodel (4.2.4) lib/active_model/attribute_methods.rb:433:in `method_missing'
1963
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:322:in `public_send'
1964
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:322:in `block in attribute'
1965
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:142:in `public_send'
1966
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:142:in `block in attribute_hash'
1967
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `each'
1968
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `each_with_object'
1969
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:139:in `attribute_hash'
1970
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:116:in `object_hash'
1971
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:91:in `block in process_primary'
1972
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:85:in `each'
1973
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:85:in `process_primary'
1974
+ jsonapi-resources (0.6.1) lib/jsonapi/resource_serializer.rb:37:in `serialize_to_hash'
1975
+ jsonapi-resources (0.6.1) lib/jsonapi/response_document.rb:110:in `results_to_hash'
1976
+ jsonapi-resources (0.6.1) lib/jsonapi/response_document.rb:11:in `contents'
1977
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:147:in `render_results'
1978
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:168:in `process_request_operations'
1979
+ jsonapi-resources (0.6.1) lib/jsonapi/acts_as_resource_controller.rb:54:in `get_related_resources'
1980
+ actionpack (4.2.4) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1981
+ actionpack (4.2.4) lib/abstract_controller/base.rb:198:in `process_action'
1982
+ actionpack (4.2.4) lib/action_controller/metal/rendering.rb:10:in `process_action'
1983
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1984
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
1985
+ activesupport (4.2.4) lib/active_support/callbacks.rb:117:in `call'
1986
+ activesupport (4.2.4) lib/active_support/callbacks.rb:555:in `block (2 levels) in compile'
1987
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
1988
+ activesupport (4.2.4) lib/active_support/callbacks.rb:505:in `call'
1989
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
1990
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_process_action_callbacks'
1991
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
1992
+ actionpack (4.2.4) lib/abstract_controller/callbacks.rb:19:in `process_action'
1993
+ actionpack (4.2.4) lib/action_controller/metal/rescue.rb:29:in `process_action'
1994
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
1995
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `block in instrument'
1996
+ activesupport (4.2.4) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1997
+ activesupport (4.2.4) lib/active_support/notifications.rb:164:in `instrument'
1998
+ actionpack (4.2.4) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1999
+ actionpack (4.2.4) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2000
+ activerecord (4.2.4) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2001
+ actionpack (4.2.4) lib/abstract_controller/base.rb:137:in `process'
2002
+ actionview (4.2.4) lib/action_view/rendering.rb:30:in `process'
2003
+ actionpack (4.2.4) lib/action_controller/metal.rb:196:in `dispatch'
2004
+ actionpack (4.2.4) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2005
+ actionpack (4.2.4) lib/action_controller/metal.rb:237:in `block in action'
2006
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `call'
2007
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:76:in `dispatch'
2008
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:45:in `serve'
2009
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2010
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
2011
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
2012
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
2013
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
2014
+ railties (4.2.4) lib/rails/railtie.rb:194:in `public_send'
2015
+ railties (4.2.4) lib/rails/railtie.rb:194:in `method_missing'
2016
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:51:in `serve'
2017
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2018
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `each'
2019
+ actionpack (4.2.4) lib/action_dispatch/journey/router.rb:30:in `serve'
2020
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:821:in `call'
2021
+ rack (1.6.4) lib/rack/etag.rb:24:in `call'
2022
+ rack (1.6.4) lib/rack/conditionalget.rb:25:in `call'
2023
+ rack (1.6.4) lib/rack/head.rb:13:in `call'
2024
+ actionpack (4.2.4) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2025
+ actionpack (4.2.4) lib/action_dispatch/middleware/flash.rb:260:in `call'
2026
+ rack (1.6.4) lib/rack/session/abstract/id.rb:225:in `context'
2027
+ rack (1.6.4) lib/rack/session/abstract/id.rb:220:in `call'
2028
+ actionpack (4.2.4) lib/action_dispatch/middleware/cookies.rb:560:in `call'
2029
+ activerecord (4.2.4) lib/active_record/query_cache.rb:36:in `call'
2030
+ activerecord (4.2.4) lib/active_record/connection_adapters/abstract/connection_pool.rb:653:in `call'
2031
+ activerecord (4.2.4) lib/active_record/migration.rb:377:in `call'
2032
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2033
+ activesupport (4.2.4) lib/active_support/callbacks.rb:88:in `__run_callbacks__'
2034
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_call_callbacks'
2035
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
2036
+ actionpack (4.2.4) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2037
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:73:in `call'
2038
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2039
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2040
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2041
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
2042
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
2043
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2044
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
2045
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
2046
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
2047
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2048
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
2049
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
2050
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2051
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
2052
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
2053
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
2054
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
2055
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
2056
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
2057
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
2058
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
2059
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
2060
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
2061
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
2062
+
2063
+
2064
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.9ms)
2065
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (4.0ms)
2066
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.5ms)
2067
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (75.5ms)
2068
+
2069
+
2070
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for 127.0.0.1 at 2015-11-15 23:33:21 -0500
2071
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2072
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
2073
+ Strain::Variant Load (0.2ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2074
+ Strain::Article Load (0.2ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2075
+ Completed 200 OK in 19ms (Views: 0.4ms | ActiveRecord: 4.9ms)
2076
+
2077
+
2078
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for 127.0.0.1 at 2015-11-15 23:34:31 -0500
2079
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2080
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
2081
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2082
+ Strain::Article Load (0.2ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2083
+ Completed 200 OK in 21ms (Views: 0.5ms | ActiveRecord: 4.9ms)
2084
+
2085
+
2086
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for 127.0.0.1 at 2015-11-15 23:34:37 -0500
2087
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2088
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
2089
+ Strain::Variant Load (0.2ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2090
+ Strain::Article Load (0.2ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2091
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.4ms)
2092
+
2093
+
2094
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for 127.0.0.1 at 2015-11-15 23:35:21 -0500
2095
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2096
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
2097
+ Strain::Variant Load (0.2ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2098
+ Strain::Article Load (0.2ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2099
+ Completed 200 OK in 20ms (Views: 0.4ms | ActiveRecord: 4.8ms)
2100
+
2101
+
2102
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for 127.0.0.1 at 2015-11-15 23:35:59 -0500
2103
+
2104
+ NoMethodError (undefined method `belongs_to' for Strain::Jsonapi::ArticleResource:Class):
2105
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:383:in `method_missing'
2106
+ /Users/adam/dev/strain/app/resources/strain/jsonapi/article_resource.rb:12:in `<class:ArticleResource>'
2107
+ /Users/adam/dev/strain/app/resources/strain/jsonapi/article_resource.rb:2:in `<module:Strain>'
2108
+ /Users/adam/dev/strain/app/resources/strain/jsonapi/article_resource.rb:1:in `<top (required)>'
2109
+ activesupport (4.2.4) lib/active_support/dependencies.rb:457:in `load'
2110
+ activesupport (4.2.4) lib/active_support/dependencies.rb:457:in `block in load_file'
2111
+ activesupport (4.2.4) lib/active_support/dependencies.rb:647:in `new_constants_in'
2112
+ activesupport (4.2.4) lib/active_support/dependencies.rb:456:in `load_file'
2113
+ activesupport (4.2.4) lib/active_support/dependencies.rb:354:in `require_or_load'
2114
+ activesupport (4.2.4) lib/active_support/dependencies.rb:494:in `load_missing_constant'
2115
+ activesupport (4.2.4) lib/active_support/dependencies.rb:184:in `const_missing'
2116
+ activesupport (4.2.4) lib/active_support/inflector/methods.rb:263:in `const_get'
2117
+ activesupport (4.2.4) lib/active_support/inflector/methods.rb:263:in `block in constantize'
2118
+ activesupport (4.2.4) lib/active_support/inflector/methods.rb:259:in `each'
2119
+ activesupport (4.2.4) lib/active_support/inflector/methods.rb:259:in `inject'
2120
+ activesupport (4.2.4) lib/active_support/inflector/methods.rb:259:in `constantize'
2121
+ activesupport (4.2.4) lib/active_support/inflector/methods.rb:304:in `safe_constantize'
2122
+ activesupport (4.2.4) lib/active_support/core_ext/string/inflections.rb:77:in `safe_constantize'
2123
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:279:in `resource_for'
2124
+ jsonapi-resources (0.6.1) lib/jsonapi/routing_ext.rb:201:in `jsonapi_related_resources'
2125
+ jsonapi-resources (0.6.1) lib/jsonapi/routing_ext.rb:51:in `block in jsonapi_relationships'
2126
+ jsonapi-resources (0.6.1) lib/jsonapi/routing_ext.rb:48:in `each'
2127
+ jsonapi-resources (0.6.1) lib/jsonapi/routing_ext.rb:48:in `jsonapi_relationships'
2128
+ jsonapi-resources (0.6.1) lib/jsonapi/routing_ext.rb:95:in `block in jsonapi_resources'
2129
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1356:in `block in resources'
2130
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1676:in `block (2 levels) in resource_scope'
2131
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:816:in `scope'
2132
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1676:in `block in resource_scope'
2133
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1665:in `with_scope_level'
2134
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1675:in `resource_scope'
2135
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1355:in `resources'
2136
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1615:in `block in apply_common_behavior_for'
2137
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:816:in `scope'
2138
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1614:in `apply_common_behavior_for'
2139
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1351:in `resources'
2140
+ jsonapi-resources (0.6.1) lib/jsonapi/routing_ext.rb:89:in `jsonapi_resources'
2141
+ /Users/adam/dev/strain/config/routes.rb:4:in `block (2 levels) in <top (required)>'
2142
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:881:in `block in namespace'
2143
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:816:in `scope'
2144
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:881:in `namespace'
2145
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1455:in `namespace'
2146
+ /Users/adam/dev/strain/config/routes.rb:3:in `block in <top (required)>'
2147
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:601:in `instance_exec'
2148
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:601:in `block in with_default_scope'
2149
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:816:in `scope'
2150
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:600:in `with_default_scope'
2151
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:432:in `eval_block'
2152
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:412:in `draw'
2153
+ /Users/adam/dev/strain/config/routes.rb:1:in `<top (required)>'
2154
+ activesupport (4.2.4) lib/active_support/dependencies.rb:268:in `load'
2155
+ activesupport (4.2.4) lib/active_support/dependencies.rb:268:in `block in load'
2156
+ activesupport (4.2.4) lib/active_support/dependencies.rb:240:in `load_dependency'
2157
+ activesupport (4.2.4) lib/active_support/dependencies.rb:268:in `load'
2158
+ railties (4.2.4) lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
2159
+ railties (4.2.4) lib/rails/application/routes_reloader.rb:40:in `each'
2160
+ railties (4.2.4) lib/rails/application/routes_reloader.rb:40:in `load_paths'
2161
+ railties (4.2.4) lib/rails/application/routes_reloader.rb:16:in `reload!'
2162
+ railties (4.2.4) lib/rails/application/routes_reloader.rb:26:in `block in updater'
2163
+ activesupport (4.2.4) lib/active_support/file_update_checker.rb:75:in `call'
2164
+ activesupport (4.2.4) lib/active_support/file_update_checker.rb:75:in `execute'
2165
+ railties (4.2.4) lib/rails/application/routes_reloader.rb:7:in `execute'
2166
+ railties (4.2.4) lib/rails/application/finisher.rb:81:in `block (2 levels) in <module:Finisher>'
2167
+ activesupport (4.2.4) lib/active_support/callbacks.rb:446:in `instance_exec'
2168
+ activesupport (4.2.4) lib/active_support/callbacks.rb:446:in `block in make_lambda'
2169
+ activesupport (4.2.4) lib/active_support/callbacks.rb:192:in `call'
2170
+ activesupport (4.2.4) lib/active_support/callbacks.rb:192:in `block in simple'
2171
+ activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call'
2172
+ activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call'
2173
+ activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each'
2174
+ activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call'
2175
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
2176
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_prepare_callbacks'
2177
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
2178
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:83:in `prepare!'
2179
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:71:in `call'
2180
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2181
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2182
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2183
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
2184
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
2185
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2186
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
2187
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
2188
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
2189
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2190
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
2191
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
2192
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2193
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
2194
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
2195
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
2196
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
2197
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
2198
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
2199
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
2200
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
2201
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
2202
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
2203
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
2204
+
2205
+
2206
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (7.7ms)
2207
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.0ms)
2208
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.2ms)
2209
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (71.7ms)
2210
+
2211
+
2212
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-15 23:38:44 -0500
2213
+
2214
+ NoMethodError (undefined method `belongs_to' for Strain::Jsonapi::ArticleResource:Class):
2215
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:383:in `method_missing'
2216
+ /Users/adam/dev/strain/app/resources/strain/jsonapi/article_resource.rb:12:in `<class:ArticleResource>'
2217
+ /Users/adam/dev/strain/app/resources/strain/jsonapi/article_resource.rb:2:in `<module:Strain>'
2218
+ /Users/adam/dev/strain/app/resources/strain/jsonapi/article_resource.rb:1:in `<top (required)>'
2219
+ activesupport (4.2.4) lib/active_support/dependencies.rb:457:in `load'
2220
+ activesupport (4.2.4) lib/active_support/dependencies.rb:457:in `block in load_file'
2221
+ activesupport (4.2.4) lib/active_support/dependencies.rb:647:in `new_constants_in'
2222
+ activesupport (4.2.4) lib/active_support/dependencies.rb:456:in `load_file'
2223
+ activesupport (4.2.4) lib/active_support/dependencies.rb:354:in `require_or_load'
2224
+ activesupport (4.2.4) lib/active_support/dependencies.rb:494:in `load_missing_constant'
2225
+ activesupport (4.2.4) lib/active_support/dependencies.rb:184:in `const_missing'
2226
+ activesupport (4.2.4) lib/active_support/inflector/methods.rb:263:in `const_get'
2227
+ activesupport (4.2.4) lib/active_support/inflector/methods.rb:263:in `block in constantize'
2228
+ activesupport (4.2.4) lib/active_support/inflector/methods.rb:259:in `each'
2229
+ activesupport (4.2.4) lib/active_support/inflector/methods.rb:259:in `inject'
2230
+ activesupport (4.2.4) lib/active_support/inflector/methods.rb:259:in `constantize'
2231
+ activesupport (4.2.4) lib/active_support/inflector/methods.rb:304:in `safe_constantize'
2232
+ activesupport (4.2.4) lib/active_support/core_ext/string/inflections.rb:77:in `safe_constantize'
2233
+ jsonapi-resources (0.6.1) lib/jsonapi/resource.rb:279:in `resource_for'
2234
+ jsonapi-resources (0.6.1) lib/jsonapi/routing_ext.rb:201:in `jsonapi_related_resources'
2235
+ jsonapi-resources (0.6.1) lib/jsonapi/routing_ext.rb:51:in `block in jsonapi_relationships'
2236
+ jsonapi-resources (0.6.1) lib/jsonapi/routing_ext.rb:48:in `each'
2237
+ jsonapi-resources (0.6.1) lib/jsonapi/routing_ext.rb:48:in `jsonapi_relationships'
2238
+ jsonapi-resources (0.6.1) lib/jsonapi/routing_ext.rb:95:in `block in jsonapi_resources'
2239
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1356:in `block in resources'
2240
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1676:in `block (2 levels) in resource_scope'
2241
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:816:in `scope'
2242
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1676:in `block in resource_scope'
2243
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1665:in `with_scope_level'
2244
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1675:in `resource_scope'
2245
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1355:in `resources'
2246
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1615:in `block in apply_common_behavior_for'
2247
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:816:in `scope'
2248
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1614:in `apply_common_behavior_for'
2249
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1351:in `resources'
2250
+ jsonapi-resources (0.6.1) lib/jsonapi/routing_ext.rb:89:in `jsonapi_resources'
2251
+ /Users/adam/dev/strain/config/routes.rb:4:in `block (2 levels) in <top (required)>'
2252
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:881:in `block in namespace'
2253
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:816:in `scope'
2254
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:881:in `namespace'
2255
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:1455:in `namespace'
2256
+ /Users/adam/dev/strain/config/routes.rb:3:in `block in <top (required)>'
2257
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:601:in `instance_exec'
2258
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:601:in `block in with_default_scope'
2259
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:816:in `scope'
2260
+ actionpack (4.2.4) lib/action_dispatch/routing/mapper.rb:600:in `with_default_scope'
2261
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:432:in `eval_block'
2262
+ actionpack (4.2.4) lib/action_dispatch/routing/route_set.rb:412:in `draw'
2263
+ /Users/adam/dev/strain/config/routes.rb:1:in `<top (required)>'
2264
+ activesupport (4.2.4) lib/active_support/dependencies.rb:268:in `load'
2265
+ activesupport (4.2.4) lib/active_support/dependencies.rb:268:in `block in load'
2266
+ activesupport (4.2.4) lib/active_support/dependencies.rb:240:in `load_dependency'
2267
+ activesupport (4.2.4) lib/active_support/dependencies.rb:268:in `load'
2268
+ railties (4.2.4) lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
2269
+ railties (4.2.4) lib/rails/application/routes_reloader.rb:40:in `each'
2270
+ railties (4.2.4) lib/rails/application/routes_reloader.rb:40:in `load_paths'
2271
+ railties (4.2.4) lib/rails/application/routes_reloader.rb:16:in `reload!'
2272
+ railties (4.2.4) lib/rails/application/routes_reloader.rb:26:in `block in updater'
2273
+ activesupport (4.2.4) lib/active_support/file_update_checker.rb:75:in `call'
2274
+ activesupport (4.2.4) lib/active_support/file_update_checker.rb:75:in `execute'
2275
+ railties (4.2.4) lib/rails/application/routes_reloader.rb:7:in `execute'
2276
+ railties (4.2.4) lib/rails/application/finisher.rb:81:in `block (2 levels) in <module:Finisher>'
2277
+ activesupport (4.2.4) lib/active_support/callbacks.rb:446:in `instance_exec'
2278
+ activesupport (4.2.4) lib/active_support/callbacks.rb:446:in `block in make_lambda'
2279
+ activesupport (4.2.4) lib/active_support/callbacks.rb:192:in `call'
2280
+ activesupport (4.2.4) lib/active_support/callbacks.rb:192:in `block in simple'
2281
+ activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call'
2282
+ activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `block in call'
2283
+ activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `each'
2284
+ activesupport (4.2.4) lib/active_support/callbacks.rb:504:in `call'
2285
+ activesupport (4.2.4) lib/active_support/callbacks.rb:92:in `__run_callbacks__'
2286
+ activesupport (4.2.4) lib/active_support/callbacks.rb:778:in `_run_prepare_callbacks'
2287
+ activesupport (4.2.4) lib/active_support/callbacks.rb:81:in `run_callbacks'
2288
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:83:in `prepare!'
2289
+ actionpack (4.2.4) lib/action_dispatch/middleware/reloader.rb:71:in `call'
2290
+ actionpack (4.2.4) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2291
+ actionpack (4.2.4) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2292
+ actionpack (4.2.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2293
+ railties (4.2.4) lib/rails/rack/logger.rb:38:in `call_app'
2294
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `block in call'
2295
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2296
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:26:in `tagged'
2297
+ activesupport (4.2.4) lib/active_support/tagged_logging.rb:68:in `tagged'
2298
+ railties (4.2.4) lib/rails/rack/logger.rb:20:in `call'
2299
+ actionpack (4.2.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2300
+ rack (1.6.4) lib/rack/methodoverride.rb:22:in `call'
2301
+ rack (1.6.4) lib/rack/runtime.rb:18:in `call'
2302
+ activesupport (4.2.4) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2303
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
2304
+ actionpack (4.2.4) lib/action_dispatch/middleware/static.rb:116:in `call'
2305
+ rack (1.6.4) lib/rack/sendfile.rb:113:in `call'
2306
+ railties (4.2.4) lib/rails/engine.rb:518:in `call'
2307
+ railties (4.2.4) lib/rails/application.rb:165:in `call'
2308
+ rack (1.6.4) lib/rack/lock.rb:17:in `call'
2309
+ rack (1.6.4) lib/rack/content_length.rb:15:in `call'
2310
+ rack (1.6.4) lib/rack/handler/webrick.rb:88:in `service'
2311
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:138:in `service'
2312
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/httpserver.rb:94:in `run'
2313
+ /Users/adam/.rbenv/versions/2.2.2/lib/ruby/2.2.0/webrick/server.rb:294:in `block in start_thread'
2314
+
2315
+
2316
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_source.erb (8.5ms)
2317
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (3.5ms)
2318
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (1.1ms)
2319
+ Rendered /Users/adam/.rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/actionpack-4.2.4/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (72.4ms)
2320
+
2321
+
2322
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-15 23:38:52 -0500
2323
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
2324
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
2325
+ Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 3.2ms)
2326
+
2327
+
2328
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for 127.0.0.1 at 2015-11-15 23:39:34 -0500
2329
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2330
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
2331
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2332
+ Strain::Article Load (0.2ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2333
+ Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 2.2ms)
2334
+
2335
+
2336
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-15 23:42:32 -0500
2337
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
2338
+ Strain::Variant Load (0.7ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
2339
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.7ms)
2340
+
2341
+
2342
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/relationships/articles" for ::1 at 2015-11-15 23:42:45 -0500
2343
+ Processing by Strain::Jsonapi::VariantsController#show_relationship as HTML
2344
+ Parameters: {"relationship"=>"articles", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
2345
+ Strain::Variant Load (0.2ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2346
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2347
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.6ms)
2348
+
2349
+
2350
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for ::1 at 2015-11-15 23:42:57 -0500
2351
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2352
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
2353
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2354
+ Strain::Article Load (0.2ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2355
+ Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.5ms)
2356
+
2357
+
2358
+ Started GET "/jsonapi/variants/f5ac53a6-0404-42fe-9a07-1d538e12b043/articles" for ::1 at 2015-11-15 23:43:26 -0500
2359
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2360
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"f5ac53a6-0404-42fe-9a07-1d538e12b043"}
2361
+ Strain::Variant Load (0.2ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "f5ac53a6-0404-42fe-9a07-1d538e12b043"]]
2362
+ Completed 404 Not Found in 2ms (Views: 0.3ms | ActiveRecord: 0.2ms)
2363
+
2364
+
2365
+ Started GET "/jsonapi/variants/f5ac53a6-0404-42fe-9a07-1d538e12b043" for ::1 at 2015-11-15 23:43:58 -0500
2366
+ Processing by Strain::Jsonapi::VariantsController#show as HTML
2367
+ Parameters: {"id"=>"f5ac53a6-0404-42fe-9a07-1d538e12b043"}
2368
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "f5ac53a6-0404-42fe-9a07-1d538e12b043"]]
2369
+ Completed 404 Not Found in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
2370
+
2371
+
2372
+ Started GET "/jsonapi/articles" for 127.0.0.1 at 2015-11-15 23:47:34 -0500
2373
+ Processing by Strain::Jsonapi::ArticlesController#index as API_JSON
2374
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
2375
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2376
+ Completed 200 OK in 19ms (Views: 0.5ms | ActiveRecord: 5.0ms)
2377
+
2378
+
2379
+ Started GET "/jsonapi/articles" for 127.0.0.1 at 2015-11-15 23:47:39 -0500
2380
+ Processing by Strain::Jsonapi::ArticlesController#index as API_JSON
2381
+ Strain::Article Load (0.6ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
2382
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2383
+ Completed 200 OK in 23ms (Views: 0.4ms | ActiveRecord: 6.2ms)
2384
+
2385
+
2386
+ Started GET "/jsonapi/articles" for 127.0.0.1 at 2015-11-15 23:47:46 -0500
2387
+ Processing by Strain::Jsonapi::ArticlesController#index as API_JSON
2388
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
2389
+ Strain::Variant Load (0.2ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2390
+ Completed 200 OK in 19ms (Views: 0.5ms | ActiveRecord: 5.2ms)
2391
+
2392
+
2393
+ Started GET "/jsonapi/articles" for 127.0.0.1 at 2015-11-15 23:48:19 -0500
2394
+ Processing by Strain::Jsonapi::ArticlesController#index as API_JSON
2395
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
2396
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2397
+ Completed 200 OK in 22ms (Views: 0.5ms | ActiveRecord: 6.3ms)
2398
+
2399
+
2400
+ Started GET "/jsonapi/articles/f5ac53a6-0404-42fe-9a07-1d538e12b043/relationships/variant" for ::1 at 2015-11-15 23:48:54 -0500
2401
+ Processing by Strain::Jsonapi::ArticlesController#show_relationship as HTML
2402
+ Parameters: {"relationship"=>"variant", "article_id"=>"f5ac53a6-0404-42fe-9a07-1d538e12b043"}
2403
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."id" = $1 ORDER BY "strain_articles"."id" ASC LIMIT 1 [["id", "f5ac53a6-0404-42fe-9a07-1d538e12b043"]]
2404
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.4ms)
2405
+
2406
+
2407
+ Started GET "/jsonapi/articles/f5ac53a6-0404-42fe-9a07-1d538e12b043/variant" for ::1 at 2015-11-15 23:49:24 -0500
2408
+ Processing by Strain::Jsonapi::VariantsController#get_related_resource as HTML
2409
+ Parameters: {"relationship"=>"variant", "source"=>"strain/jsonapi/articles", "article_id"=>"f5ac53a6-0404-42fe-9a07-1d538e12b043"}
2410
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."id" = $1 ORDER BY "strain_articles"."id" ASC LIMIT 1 [["id", "f5ac53a6-0404-42fe-9a07-1d538e12b043"]]
2411
+ Strain::Variant Load (0.2ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2412
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.5ms)
2413
+
2414
+
2415
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5" for ::1 at 2015-11-16 00:01:13 -0500
2416
+ Processing by Strain::Jsonapi::VariantsController#show as HTML
2417
+ Parameters: {"id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
2418
+ Strain::Variant Load (0.2ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2419
+ Completed 200 OK in 10ms (Views: 0.4ms | ActiveRecord: 2.6ms)
2420
+
2421
+
2422
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for ::1 at 2015-11-16 00:01:47 -0500
2423
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2424
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
2425
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2426
+ Strain::Article Load (0.2ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2427
+ Completed 200 OK in 13ms (Views: 0.4ms | ActiveRecord: 2.2ms)
2428
+
2429
+
2430
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/relationships/articles" for ::1 at 2015-11-16 00:01:51 -0500
2431
+ Processing by Strain::Jsonapi::VariantsController#show_relationship as HTML
2432
+ Parameters: {"relationship"=>"articles", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
2433
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2434
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2435
+ Completed 200 OK in 6ms (Views: 0.3ms | ActiveRecord: 0.7ms)
2436
+
2437
+
2438
+ Started GET "/jsonapi/variants/ab265b3a-23f2-4dc8-9889-03a4a25f16d5/articles" for ::1 at 2015-11-16 00:01:53 -0500
2439
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2440
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"ab265b3a-23f2-4dc8-9889-03a4a25f16d5"}
2441
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2442
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "ab265b3a-23f2-4dc8-9889-03a4a25f16d5"]]
2443
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.5ms)
2444
+
2445
+
2446
+ Started GET "/jsonapi/variants/f5ac53a6-0404-42fe-9a07-1d538e12b043/relationships/articles" for ::1 at 2015-11-16 00:02:49 -0500
2447
+ Processing by Strain::Jsonapi::VariantsController#show_relationship as HTML
2448
+ Parameters: {"relationship"=>"articles", "variant_id"=>"f5ac53a6-0404-42fe-9a07-1d538e12b043"}
2449
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "f5ac53a6-0404-42fe-9a07-1d538e12b043"]]
2450
+ Completed 404 Not Found in 2ms (Views: 0.3ms | ActiveRecord: 0.3ms)
2451
+
2452
+
2453
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-16 12:40:42 -0500
2454
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
2455
+ Strain::Variant Load (1.3ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
2456
+ Completed 200 OK in 23ms (Views: 2.0ms | ActiveRecord: 1.3ms)
2457
+ SQL (2.9ms) DELETE FROM "strain_articles"
2458
+ SQL (0.9ms) DELETE FROM "strain_variants"
2459
+  (0.2ms) BEGIN
2460
+ Strain::Variant Exists (1.8ms) SELECT 1 AS one FROM "strain_variants" WHERE LOWER("strain_variants"."name") = LOWER('tweet') LIMIT 1
2461
+ SQL (35.6ms) INSERT INTO "strain_variants" ("name", "schema", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "tweet"], ["schema", "{\"type\":\"object\",\"properties\":{\"status\":{\"type\":\"string\",\"maxLength\":140}}}"], ["created_at", "2015-11-16 17:45:42.023377"], ["updated_at", "2015-11-16 17:45:42.023377"]]
2462
+  (0.9ms) COMMIT
2463
+
2464
+
2465
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-16 12:45:48 -0500
2466
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
2467
+ Strain::Variant Load (0.6ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
2468
+ Completed 200 OK in 7ms (Views: 0.9ms | ActiveRecord: 0.6ms)
2469
+
2470
+
2471
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-16 12:46:17 -0500
2472
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
2473
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
2474
+ Completed 200 OK in 7ms (Views: 1.2ms | ActiveRecord: 0.4ms)
2475
+
2476
+
2477
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-16 12:46:20 -0500
2478
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
2479
+ Strain::Variant Load (0.5ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
2480
+ Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.5ms)
2481
+
2482
+
2483
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37" for 127.0.0.1 at 2015-11-16 12:46:33 -0500
2484
+ Processing by Strain::Jsonapi::VariantsController#show as HTML
2485
+ Parameters: {"id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2486
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2487
+ Completed 200 OK in 6ms (Views: 0.5ms | ActiveRecord: 0.4ms)
2488
+
2489
+
2490
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37" for 127.0.0.1 at 2015-11-16 12:49:13 -0500
2491
+ Processing by Strain::Jsonapi::VariantsController#show as HTML
2492
+ Parameters: {"id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2493
+ Strain::Variant Load (0.2ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2494
+ Completed 200 OK in 6ms (Views: 1.0ms | ActiveRecord: 0.2ms)
2495
+
2496
+
2497
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37/articles" for 127.0.0.1 at 2015-11-16 12:49:15 -0500
2498
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2499
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2500
+ Strain::Variant Load (0.2ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2501
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2502
+ Completed 200 OK in 7ms (Views: 0.2ms | ActiveRecord: 0.6ms)
2503
+
2504
+
2505
+ Started GET "/jsonapi/articles" for 127.0.0.1 at 2015-11-16 12:52:24 -0500
2506
+ Processing by Strain::Jsonapi::ArticlesController#index as API_JSON
2507
+ Strain::Article Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
2508
+ Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.5ms)
2509
+  (0.2ms) BEGIN
2510
+ Strain::Article Exists (0.6ms) SELECT 1 AS one FROM "strain_articles" WHERE LOWER("strain_articles"."slug") = LOWER('throwdown') LIMIT 1
2511
+ SQL (0.9ms) INSERT INTO "strain_articles" ("variant_id", "title", "body", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"], ["title", "tweet 12:54 PM"], ["body", "{\"status\":\"This is a throwdown, a showdown\"}"], ["slug", "throwdown"], ["created_at", "2015-11-16 17:55:34.978309"], ["updated_at", "2015-11-16 17:55:34.978309"]]
2512
+  (0.9ms) COMMIT
2513
+  (0.2ms) BEGIN
2514
+ Strain::Article Exists (0.4ms) SELECT 1 AS one FROM "strain_articles" WHERE LOWER("strain_articles"."slug") = LOWER('showdown') LIMIT 1
2515
+ SQL (0.3ms) INSERT INTO "strain_articles" ("variant_id", "body", "slug", "title", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"], ["body", "{\"status\":\"hell no I can't slow down\"}"], ["slug", "showdown"], ["title", "showdown"], ["created_at", "2015-11-16 17:56:29.660679"], ["updated_at", "2015-11-16 17:56:29.660679"]]
2516
+  (3.4ms) COMMIT
2517
+  (0.2ms) BEGIN
2518
+ Strain::Article Exists (0.8ms) SELECT 1 AS one FROM "strain_articles" WHERE (LOWER("strain_articles"."slug") = LOWER('showdown') AND "strain_articles"."id" != '09881cfb-9fdb-488a-bf81-518b340591a9') LIMIT 1
2519
+  (0.2ms) COMMIT
2520
+
2521
+
2522
+ Started GET "/jsonapi/articles" for 127.0.0.1 at 2015-11-16 12:58:34 -0500
2523
+ Processing by Strain::Jsonapi::ArticlesController#index as API_JSON
2524
+ Strain::Article Load (2.1ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
2525
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2526
+ CACHE (0.0ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2527
+ Completed 200 OK in 15ms (Views: 1.0ms | ActiveRecord: 2.5ms)
2528
+
2529
+
2530
+ Started GET "/jsonapi/variants" for 127.0.0.1 at 2015-11-16 12:59:20 -0500
2531
+ Processing by Strain::Jsonapi::VariantsController#index as API_JSON
2532
+ Strain::Variant Load (0.5ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
2533
+ Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.5ms)
2534
+
2535
+
2536
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37" for 127.0.0.1 at 2015-11-16 12:59:22 -0500
2537
+ Processing by Strain::Jsonapi::VariantsController#show as HTML
2538
+ Parameters: {"id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2539
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2540
+ Completed 200 OK in 4ms (Views: 0.5ms | ActiveRecord: 0.3ms)
2541
+
2542
+
2543
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37/articles" for 127.0.0.1 at 2015-11-16 12:59:27 -0500
2544
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2545
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2546
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2547
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2548
+ Completed 200 OK in 9ms (Views: 1.2ms | ActiveRecord: 0.5ms)
2549
+
2550
+
2551
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37/articles" for 127.0.0.1 at 2015-11-16 13:22:02 -0500
2552
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2553
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2554
+ Strain::Variant Load (0.6ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2555
+ Strain::Article Load (0.7ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2556
+ Completed 200 OK in 58ms (Views: 0.7ms | ActiveRecord: 10.6ms)
2557
+
2558
+
2559
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37" for 127.0.0.1 at 2015-11-16 13:22:20 -0500
2560
+ Processing by Strain::Jsonapi::VariantsController#show as HTML
2561
+ Parameters: {"id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2562
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2563
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.4ms)
2564
+
2565
+
2566
+ Started GET "/jsonapi/articles/cb9dbd6e-4c6d-4e5f-92e1-ee25c4e97a3f/variant" for ::1 at 2015-11-16 13:22:37 -0500
2567
+ Processing by Strain::Jsonapi::VariantsController#get_related_resource as HTML
2568
+ Parameters: {"relationship"=>"variant", "source"=>"strain/jsonapi/articles", "article_id"=>"cb9dbd6e-4c6d-4e5f-92e1-ee25c4e97a3f"}
2569
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."id" = $1 ORDER BY "strain_articles"."id" ASC LIMIT 1 [["id", "cb9dbd6e-4c6d-4e5f-92e1-ee25c4e97a3f"]]
2570
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2571
+ Completed 200 OK in 8ms (Views: 0.5ms | ActiveRecord: 0.7ms)
2572
+
2573
+
2574
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37/relationships/articles" for ::1 at 2015-11-16 13:22:48 -0500
2575
+ Processing by Strain::Jsonapi::VariantsController#show_relationship as HTML
2576
+ Parameters: {"relationship"=>"articles", "variant_id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2577
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2578
+ Strain::Article Load (0.3ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2579
+ Completed 200 OK in 5ms (Views: 0.3ms | ActiveRecord: 0.7ms)
2580
+
2581
+
2582
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37/articles" for ::1 at 2015-11-16 13:22:54 -0500
2583
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2584
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2585
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2586
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2587
+ Completed 200 OK in 7ms (Views: 0.6ms | ActiveRecord: 0.8ms)
2588
+
2589
+
2590
+ Started GET "/jsonapi/articles/09881cfb-9fdb-488a-bf81-518b340591a9/variant" for ::1 at 2015-11-16 13:23:24 -0500
2591
+ Processing by Strain::Jsonapi::VariantsController#get_related_resource as HTML
2592
+ Parameters: {"relationship"=>"variant", "source"=>"strain/jsonapi/articles", "article_id"=>"09881cfb-9fdb-488a-bf81-518b340591a9"}
2593
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."id" = $1 ORDER BY "strain_articles"."id" ASC LIMIT 1 [["id", "09881cfb-9fdb-488a-bf81-518b340591a9"]]
2594
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2595
+ Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.7ms)
2596
+
2597
+
2598
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37/articles" for ::1 at 2015-11-16 13:23:26 -0500
2599
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2600
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2601
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2602
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2603
+ Completed 200 OK in 7ms (Views: 0.7ms | ActiveRecord: 0.8ms)
2604
+
2605
+
2606
+ Started GET "/jsonapi/articles/09881cfb-9fdb-488a-bf81-518b340591a9/variant" for ::1 at 2015-11-16 13:23:27 -0500
2607
+ Processing by Strain::Jsonapi::VariantsController#get_related_resource as HTML
2608
+ Parameters: {"relationship"=>"variant", "source"=>"strain/jsonapi/articles", "article_id"=>"09881cfb-9fdb-488a-bf81-518b340591a9"}
2609
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."id" = $1 ORDER BY "strain_articles"."id" ASC LIMIT 1 [["id", "09881cfb-9fdb-488a-bf81-518b340591a9"]]
2610
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2611
+ Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.7ms)
2612
+
2613
+
2614
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37/articles" for ::1 at 2015-11-16 13:23:28 -0500
2615
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2616
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2617
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2618
+ Strain::Article Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2619
+ Completed 200 OK in 9ms (Views: 0.6ms | ActiveRecord: 0.9ms)
2620
+
2621
+
2622
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37/articles" for 127.0.0.1 at 2015-11-16 13:29:29 -0500
2623
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2624
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2625
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2626
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2627
+ Completed 200 OK in 53ms (Views: 1.1ms | ActiveRecord: 2.3ms)
2628
+
2629
+
2630
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37/articles" for 127.0.0.1 at 2015-11-16 13:29:35 -0500
2631
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2632
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2633
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2634
+ Strain::Article Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2635
+ Completed 200 OK in 9ms (Views: 0.8ms | ActiveRecord: 0.7ms)
2636
+
2637
+
2638
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37" for 127.0.0.1 at 2015-11-16 13:29:39 -0500
2639
+ Processing by Strain::Jsonapi::VariantsController#show as HTML
2640
+ Parameters: {"id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2641
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2642
+ Completed 200 OK in 10ms (Views: 0.5ms | ActiveRecord: 0.3ms)
2643
+
2644
+
2645
+ Started GET "/jsonapi/articles" for 127.0.0.1 at 2015-11-16 13:29:42 -0500
2646
+ Processing by Strain::Jsonapi::ArticlesController#index as API_JSON
2647
+ Strain::Article Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
2648
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2649
+ CACHE (0.0ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2650
+ Completed 200 OK in 10ms (Views: 0.8ms | ActiveRecord: 2.2ms)
2651
+
2652
+
2653
+ Started GET "/jsonapi/articles" for 127.0.0.1 at 2015-11-16 13:29:53 -0500
2654
+ Processing by Strain::Jsonapi::ArticlesController#index as API_JSON
2655
+ Strain::Article Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
2656
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2657
+ CACHE (0.0ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2658
+ Completed 200 OK in 14ms (Views: 0.8ms | ActiveRecord: 1.9ms)
2659
+
2660
+
2661
+ Started GET "/jsonapi/articles" for 127.0.0.1 at 2015-11-16 13:30:22 -0500
2662
+ Processing by Strain::Jsonapi::ArticlesController#index as API_JSON
2663
+ Strain::Article Load (1.5ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
2664
+ Strain::Variant Load (0.6ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2665
+ CACHE (0.0ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2666
+ Completed 200 OK in 57ms (Views: 1.1ms | ActiveRecord: 10.7ms)
2667
+ Strain::Variant Load (1.5ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC LIMIT 1
2668
+  (0.2ms) BEGIN
2669
+ Strain::Variant Exists (0.8ms) SELECT 1 AS one FROM "strain_variants" WHERE (LOWER("strain_variants"."name") = LOWER('tweet') AND "strain_variants"."id" != 'd81cc333-e10b-430f-a3e8-d67539dc5f37') LIMIT 1
2670
+ SQL (0.5ms) UPDATE "strain_variants" SET "schema" = $1, "updated_at" = $2 WHERE "strain_variants"."id" = $3 [["schema", "{\"type\":\"object\",\"properties\":{\"status\":{\"type\":\"string\",\"maxLength\":140,\"display\":\"body_text\"}}}"], ["updated_at", "2015-11-16 18:32:31.697033"], ["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2671
+  (0.6ms) COMMIT
2672
+
2673
+
2674
+ Started GET "/jsonapi/articles" for 127.0.0.1 at 2015-11-16 13:32:40 -0500
2675
+ Processing by Strain::Jsonapi::ArticlesController#index as API_JSON
2676
+ Strain::Article Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC
2677
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2678
+ CACHE (0.0ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2679
+ Completed 200 OK in 7ms (Views: 0.8ms | ActiveRecord: 0.8ms)
2680
+
2681
+
2682
+ Started GET "/jsonapi/articles/cb9dbd6e-4c6d-4e5f-92e1-ee25c4e97a3f/relationships/variant" for ::1 at 2015-11-16 13:59:33 -0500
2683
+ Processing by Strain::Jsonapi::ArticlesController#show_relationship as HTML
2684
+ Parameters: {"relationship"=>"variant", "article_id"=>"cb9dbd6e-4c6d-4e5f-92e1-ee25c4e97a3f"}
2685
+ Strain::Article Load (1.7ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."id" = $1 ORDER BY "strain_articles"."id" ASC LIMIT 1 [["id", "cb9dbd6e-4c6d-4e5f-92e1-ee25c4e97a3f"]]
2686
+ Completed 200 OK in 66ms (Views: 2.7ms | ActiveRecord: 1.7ms)
2687
+
2688
+
2689
+ Started GET "/jsonapi/variants" for ::1 at 2015-11-16 13:59:41 -0500
2690
+ Processing by Strain::Jsonapi::VariantsController#index as HTML
2691
+ Strain::Variant Load (1.2ms) SELECT "strain_variants".* FROM "strain_variants" ORDER BY "strain_variants"."id" ASC
2692
+ Completed 200 OK in 11ms (Views: 1.3ms | ActiveRecord: 1.2ms)
2693
+
2694
+
2695
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37/relationships/articles" for ::1 at 2015-11-16 14:00:01 -0500
2696
+ Processing by Strain::Jsonapi::VariantsController#show_relationship as HTML
2697
+ Parameters: {"relationship"=>"articles", "variant_id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2698
+ Strain::Variant Load (0.4ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2699
+ Strain::Article Load (0.4ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2700
+ Completed 200 OK in 30ms (Views: 0.4ms | ActiveRecord: 0.8ms)
2701
+
2702
+
2703
+ Started GET "/jsonapi/variants/d81cc333-e10b-430f-a3e8-d67539dc5f37/articles" for ::1 at 2015-11-16 14:00:08 -0500
2704
+ Processing by Strain::Jsonapi::ArticlesController#get_related_resources as HTML
2705
+ Parameters: {"relationship"=>"articles", "source"=>"strain/jsonapi/variants", "variant_id"=>"d81cc333-e10b-430f-a3e8-d67539dc5f37"}
2706
+ Strain::Variant Load (0.5ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 ORDER BY "strain_variants"."id" ASC LIMIT 1 [["id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2707
+ Strain::Article Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."variant_id" = $1 ORDER BY "strain_articles"."id" ASC [["variant_id", "d81cc333-e10b-430f-a3e8-d67539dc5f37"]]
2708
+ Completed 200 OK in 11ms (Views: 1.2ms | ActiveRecord: 1.1ms)
2709
+  (49.0ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2710
+  (10.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2711
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
2712
+ Strain::Article Load (2.1ms) SELECT "strain_articles".* FROM "strain_articles"
2713
+ PG::UndefinedTable: ERROR: relation "strain_articles" does not exist
2714
+ LINE 1: SELECT "strain_articles".* FROM "strain_articles"
2715
+ ^
2716
+ : SELECT "strain_articles".* FROM "strain_articles"
2717
+ Strain::Variant Load (0.6ms) SELECT "strain_variants".* FROM "strain_variants"
2718
+ PG::UndefinedTable: ERROR: relation "strain_variants" does not exist
2719
+ LINE 1: SELECT "strain_variants".* FROM "strain_variants"
2720
+ ^
2721
+ : SELECT "strain_variants".* FROM "strain_variants"
2722
+ ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations"
2723
+ Migrating to EnableUuid (20151103060035)
2724
+  (0.2ms) BEGIN
2725
+ SQL (84.3ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
2726
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151103060035"]]
2727
+  (0.6ms) COMMIT
2728
+ Migrating to CreateStrainVariants (20151103060224)
2729
+  (0.3ms) BEGIN
2730
+  (26.4ms) CREATE TABLE "strain_variants" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "schema" jsonb NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
2731
+  (2.6ms) CREATE UNIQUE INDEX "index_strain_variants_on_name" ON "strain_variants" ("name")
2732
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151103060224"]]
2733
+  (3.1ms) COMMIT
2734
+ Migrating to CreateStrainArticles (20151104200908)
2735
+  (0.2ms) BEGIN
2736
+  (6.4ms) CREATE TABLE "strain_articles" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "variant_id" uuid, "strain_type" character varying DEFAULT 'Article' NOT NULL, "title" character varying NOT NULL, "body" jsonb NOT NULL, "slug" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2737
+  (2.5ms) CREATE INDEX "index_strain_articles_on_variant_id" ON "strain_articles" ("variant_id")
2738
+  (1.2ms) CREATE UNIQUE INDEX "index_strain_articles_on_slug" ON "strain_articles" ("slug")
2739
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151104200908"]]
2740
+  (0.5ms) COMMIT
2741
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2742
+  (6.8ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
2743
+ FROM pg_constraint c
2744
+ JOIN pg_class t1 ON c.conrelid = t1.oid
2745
+ JOIN pg_class t2 ON c.confrelid = t2.oid
2746
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
2747
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
2748
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
2749
+ WHERE c.contype = 'f'
2750
+ AND t1.relname = 'strain_articles'
2751
+ AND t3.nspname = ANY (current_schemas(false))
2752
+ ORDER BY c.conname
2753
+
2754
+  (4.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
2755
+ FROM pg_constraint c
2756
+ JOIN pg_class t1 ON c.conrelid = t1.oid
2757
+ JOIN pg_class t2 ON c.confrelid = t2.oid
2758
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
2759
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
2760
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
2761
+ WHERE c.contype = 'f'
2762
+ AND t1.relname = 'strain_variants'
2763
+ AND t3.nspname = ANY (current_schemas(false))
2764
+ ORDER BY c.conname
2765
+ 
2766
+ Strain::Variant Load (1.1ms) SELECT "strain_variants".* FROM "strain_variants"
2767
+ Strain::Article Load (4.6ms) SELECT "strain_articles".* FROM "strain_articles"
2768
+  (0.2ms) BEGIN
2769
+ Strain::Variant Exists (0.5ms) SELECT 1 AS one FROM "strain_variants" WHERE "strain_variants"."name" IS NULL LIMIT 1
2770
+  (0.1ms) ROLLBACK
2771
+  (0.2ms) BEGIN
2772
+ Strain::Variant Exists (1.1ms) SELECT 1 AS one FROM "strain_variants" WHERE LOWER("strain_variants"."name") = LOWER('tweet') LIMIT 1
2773
+ SQL (4.3ms) INSERT INTO "strain_variants" ("name", "schema", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "tweet"], ["schema", "{\"type\":\"object\",\"properties\":{\"status\":{\"type\":\"string\",\"display\":\"body_text\",\"maxLength\":140}}}"], ["created_at", "2015-11-16 22:29:46.723374"], ["updated_at", "2015-11-16 22:29:46.723374"]]
2774
+  (0.5ms) COMMIT
2775
+  (0.2ms) BEGIN
2776
+ Strain::Article Exists (0.5ms) SELECT 1 AS one FROM "strain_articles" WHERE LOWER("strain_articles"."slug") = LOWER('toot') LIMIT 1
2777
+  (0.2ms) ROLLBACK
2778
+  (0.3ms) BEGIN
2779
+ Strain::Article Exists (0.6ms) SELECT 1 AS one FROM "strain_articles" WHERE LOWER("strain_articles"."slug") = LOWER('toot') LIMIT 1
2780
+  (0.2ms) ROLLBACK
2781
+  (0.3ms) BEGIN
2782
+ Strain::Article Exists (0.5ms) SELECT 1 AS one FROM "strain_articles" WHERE LOWER("strain_articles"."slug") = LOWER('toot') LIMIT 1
2783
+ SQL (0.6ms) INSERT INTO "strain_articles" ("variant_id", "title", "body", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["variant_id", "8048c6d1-876a-4c95-9f2f-58db5983bc1b"], ["title", "toot"], ["body", "{\"status\":\"This is a throwdown\"}"], ["slug", "toot"], ["created_at", "2015-11-16 22:31:19.863715"], ["updated_at", "2015-11-16 22:31:19.863715"]]
2784
+  (3.3ms) COMMIT
2785
+ Strain::Tweet Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."strain_type" IN ('Strain::Tweet')
2786
+ Strain::Article Load (4.7ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC LIMIT 1
2787
+  (6.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL) 
2788
+  (1.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2789
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
2790
+ Migrating to EnableUuid (20151103060035)
2791
+  (0.1ms) BEGIN
2792
+ SQL (4.1ms) CREATE EXTENSION IF NOT EXISTS "uuid-ossp"
2793
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151103060035"]]
2794
+  (0.6ms) COMMIT
2795
+ Migrating to CreateStrainVariants (20151103060224)
2796
+  (0.1ms) BEGIN
2797
+  (5.7ms) CREATE TABLE "strain_variants" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "name" character varying NOT NULL, "schema" jsonb NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) 
2798
+  (1.2ms) CREATE UNIQUE INDEX "index_strain_variants_on_name" ON "strain_variants" ("name")
2799
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151103060224"]]
2800
+  (0.4ms) COMMIT
2801
+ Migrating to CreateStrainArticles (20151104200908)
2802
+  (0.2ms) BEGIN
2803
+  (5.6ms) CREATE TABLE "strain_articles" ("id" uuid PRIMARY KEY DEFAULT uuid_generate_v4(), "variant_id" uuid, "strain_type" character varying DEFAULT 'Strain::Article' NOT NULL, "title" character varying NOT NULL, "body" jsonb NOT NULL, "slug" character varying NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
2804
+  (1.1ms) CREATE INDEX "index_strain_articles_on_variant_id" ON "strain_articles" ("variant_id")
2805
+  (1.1ms) CREATE UNIQUE INDEX "index_strain_articles_on_slug" ON "strain_articles" ("slug")
2806
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151104200908"]]
2807
+  (0.5ms) COMMIT
2808
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2809
+  (5.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
2810
+ FROM pg_constraint c
2811
+ JOIN pg_class t1 ON c.conrelid = t1.oid
2812
+ JOIN pg_class t2 ON c.confrelid = t2.oid
2813
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
2814
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
2815
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
2816
+ WHERE c.contype = 'f'
2817
+ AND t1.relname = 'strain_articles'
2818
+ AND t3.nspname = ANY (current_schemas(false))
2819
+ ORDER BY c.conname
2820
+
2821
+  (4.6ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
2822
+ FROM pg_constraint c
2823
+ JOIN pg_class t1 ON c.conrelid = t1.oid
2824
+ JOIN pg_class t2 ON c.confrelid = t2.oid
2825
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
2826
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
2827
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
2828
+ WHERE c.contype = 'f'
2829
+ AND t1.relname = 'strain_variants'
2830
+ AND t3.nspname = ANY (current_schemas(false))
2831
+ ORDER BY c.conname
2832
+ 
2833
+ Strain::Article Load (1.7ms) SELECT "strain_articles".* FROM "strain_articles" ORDER BY "strain_articles"."id" ASC LIMIT 1
2834
+  (0.2ms) BEGIN
2835
+  (0.2ms) ROLLBACK
2836
+  (0.2ms) BEGIN
2837
+ Strain::Variant Exists (1.5ms) SELECT 1 AS one FROM "strain_variants" WHERE LOWER("strain_variants"."name") = LOWER('tweet') LIMIT 1
2838
+ SQL (3.8ms) INSERT INTO "strain_variants" ("schema", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["schema", "{\"type\":\"object\",\"properties\":{\"status\":{\"type\":\"string\",\"display\":\"body_text\",\"maxLength\":140}}}"], ["name", "tweet"], ["created_at", "2015-11-16 22:40:43.251946"], ["updated_at", "2015-11-16 22:40:43.251946"]]
2839
+  (0.4ms) COMMIT
2840
+  (0.2ms) BEGIN
2841
+ Strain::Article Exists (0.5ms) SELECT 1 AS one FROM "strain_articles" WHERE "strain_articles"."slug" IS NULL LIMIT 1
2842
+  (0.2ms) ROLLBACK
2843
+  (0.2ms) BEGIN
2844
+ Strain::Article Exists (0.5ms) SELECT 1 AS one FROM "strain_articles" WHERE LOWER("strain_articles"."slug") = LOWER('Beep') LIMIT 1
2845
+  (0.2ms) ROLLBACK
2846
+  (0.2ms) BEGIN
2847
+ Strain::Article Exists (0.7ms) SELECT 1 AS one FROM "strain_articles" WHERE LOWER("strain_articles"."slug") = LOWER('beep') LIMIT 1
2848
+ SQL (0.7ms) INSERT INTO "strain_articles" ("strain_type", "variant_id", "title", "body", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id" [["strain_type", "Strain::Tweet"], ["variant_id", "d4d922d4-cb7e-4e0f-b7d3-e767c590ffbf"], ["title", "Beep"], ["body", "{\"status\":\"derp\"}"], ["slug", "beep"], ["created_at", "2015-11-16 22:41:46.982841"], ["updated_at", "2015-11-16 22:41:46.982841"]]
2849
+  (0.4ms) COMMIT
2850
+ Strain::Tweet Load (0.6ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."strain_type" IN ('Strain::Tweet')
2851
+ Strain::Article Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles"
2852
+ Strain::Variant Load (0.3ms) SELECT "strain_variants".* FROM "strain_variants" WHERE "strain_variants"."id" = $1 LIMIT 1 [["id", "d4d922d4-cb7e-4e0f-b7d3-e767c590ffbf"]]
2853
+ Strain::Tweet Load (0.5ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."strain_type" IN ('Strain::Tweet') ORDER BY "strain_articles"."id" ASC LIMIT 1
2854
+ Strain::Tweet Load (0.7ms) SELECT "strain_articles".* FROM "strain_articles" WHERE "strain_articles"."strain_type" IN ('Strain::Tweet') ORDER BY "strain_articles"."id" ASC LIMIT 1