blogy 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d26798a5db1be88c7e508bd19f43716d44042e5d
4
- data.tar.gz: 770d08a6c454f1966b87694628ce9c4af48e3123
3
+ metadata.gz: 0c1d5c4bc054f5e518db30eabc0b46f3c5d5c4a9
4
+ data.tar.gz: 6c0fca3007dcc66a1b22cebbdedcf4adb20dd0fb
5
5
  SHA512:
6
- metadata.gz: 934f56c229de0c21e256834ff96087ed3328d11b934993908be6a5288cdf6d72bfedd3a06fea12f689e2adef37376cb582623c2e16fa8262e9f50f5287aefb38
7
- data.tar.gz: 4d5f43b74f8f6048bccce9aeca2a11c2e8977ea58f69833c04d889b85a0db0b70397dde87267e799ea0fd962347e4c4ef0bef99f780b8964e09f00f9e6ba81fa
6
+ metadata.gz: 3a1ce352b88da208b3ed050bba5ad1eec05750bdfc49f9417de9d4a3040c280b53963c81c46620428060f57c2c22654fc8dcec33e599d280290a0bc94439a67d
7
+ data.tar.gz: 5188e400a80efb6f6775100ef15c58d7ac0c5b5a7330f37c912b64f7a189069d0df5afabb1e1868e15cbad0b95d9abd58981d80f6d14b7fdd514d09c70f2f46c
@@ -6,7 +6,7 @@ module Blogy
6
6
 
7
7
  # GET /posts
8
8
  def index
9
- @posts = Post.all
9
+ @posts = Post.joins(:translations).all
10
10
  respond_with @posts, root: :'blogy/posts'
11
11
  end
12
12
 
@@ -47,12 +47,12 @@ module Blogy
47
47
  private
48
48
  # Use callbacks to share common setup or constraints between actions.
49
49
  def set_post
50
- @post = Post.find(params[:id])
50
+ @post = Post.joins(:translations).find(params[:id])
51
51
  end
52
52
 
53
53
  # Only allow a trusted parameter "white list" through.
54
54
  def post_params
55
- params.require(:'blogy/post').permit(:published, :draft, :ilustration, :title, :locale, :slug, :text)
55
+ params.require(:'blogy/post').permit(:published, :draft, :ilustration, :title, :locale, :slug, :text, :storage, :format)
56
56
  end
57
57
  end
58
58
  end
@@ -2,14 +2,14 @@ module Blogy
2
2
  class Post < ActiveRecord::Base
3
3
 
4
4
  # Translations
5
- has_many :translations, class_name: 'Blogy::Post::Translation', foreign_key: :blogy_post_id
5
+ has_many :translations, class_name: 'Blogy::Post::Translation', foreign_key: :blogy_post_id, autosave: true
6
6
  validates :translations, presence: :true
7
7
  accepts_nested_attributes_for :translations, allow_destroy: true
8
- delegate :locale, :slug, :title, :text, :content, to: :translation
9
- delegate :locale=, :slug=, :title=, :text=, to: :translation
8
+ delegate :locale, :slug, :title, :text, :storage, :format, :content, to: :translation
9
+ delegate :locale=, :slug=, :title=, :text=, :storage=, :format=, to: :translation
10
10
 
11
11
  def translation locale = I18n.locale
12
- @translation ||= translations.find_or_initialize_by(locale: locale)
12
+ translations.detect{|t| t.locale.to_s == locale.to_s} || translations.build(locale: locale)
13
13
  end
14
14
  end
15
15
  end
@@ -1,7 +1,39 @@
1
1
  module Blogy
2
2
  class Post::Translation < ActiveRecord::Base
3
+ extend Enumerize
4
+ enumerize :storage, in: [:text, :document, :remote]
5
+ enumerize :format, in: [:plain, :html, :markdown]
6
+
7
+ validates :storage, :format, presence: true
8
+
3
9
  def content
4
- text
10
+ formated
5
11
  end
12
+
13
+ def formated
14
+ case format.to_sym
15
+ when :plain, :html
16
+ value
17
+ when :markdown
18
+ markdown
19
+ end
20
+ end
21
+
22
+ def value
23
+ case storage.to_sym
24
+ when :text
25
+ text
26
+ when :document
27
+ # TODO
28
+ # document.file.read if document?
29
+ when :remote
30
+ open(remote).read if remote?
31
+ end
32
+ end
33
+
34
+ private
35
+ def markdown
36
+ Kramdown::Document.new(value.force_encoding('UTF-8'), input: 'GFM').to_html
37
+ end
6
38
  end
7
39
  end
@@ -0,0 +1,9 @@
1
+ class AddDocumentDocumentTmpRemoteStorageFormatToBlogyPostTranslations < ActiveRecord::Migration
2
+ def change
3
+ add_column :blogy_post_translations, :document, :string
4
+ add_column :blogy_post_translations, :document_tmp, :string
5
+ add_column :blogy_post_translations, :remote, :string
6
+ add_column :blogy_post_translations, :storage, :string
7
+ add_column :blogy_post_translations, :format, :string
8
+ end
9
+ end
@@ -1,4 +1,8 @@
1
1
  require 'responders'
2
+ require 'enumerize'
3
+ require 'kramdown'
4
+ require 'coderay'
5
+ require 'open-uri'
2
6
 
3
7
  module Blogy
4
8
  class Engine < ::Rails::Engine
@@ -1,3 +1,3 @@
1
1
  module Blogy
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20150211205643) do
14
+ ActiveRecord::Schema.define(version: 20150216204624) do
15
15
 
16
16
  create_table "blogy_post_translations", force: :cascade do |t|
17
17
  t.integer "blogy_post_id"
@@ -21,6 +21,11 @@ ActiveRecord::Schema.define(version: 20150211205643) do
21
21
  t.text "text"
22
22
  t.datetime "created_at", null: false
23
23
  t.datetime "updated_at", null: false
24
+ t.string "document"
25
+ t.string "document_tmp"
26
+ t.string "remote"
27
+ t.string "storage"
28
+ t.string "format"
24
29
  end
25
30
 
26
31
  add_index "blogy_post_translations", ["blogy_post_id"], name: "index_blogy_post_translations_on_blogy_post_id"
Binary file
@@ -64,3 +64,3539 @@ Migrating to CreateBlogyPostTranslations (20150211205643)
64
64
  FROM sqlite_temp_master
65
65
  WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
66
66
 
67
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
68
+  (0.5ms) select sqlite_version(*)
69
+  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
70
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
71
+ Migrating to CreateBlogyPosts (20150211002506)
72
+  (0.1ms) begin transaction
73
+  (1.1ms) CREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
74
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150211002506"]]
75
+  (1.3ms) commit transaction
76
+ Migrating to CreateBlogyPostTranslations (20150211205643)
77
+  (0.1ms) begin transaction
78
+  (0.5ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
79
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
80
+  (0.1ms) SELECT sql
81
+ FROM sqlite_master
82
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
83
+ UNION ALL
84
+ SELECT sql
85
+ FROM sqlite_temp_master
86
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
87
+
88
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
89
+  (0.1ms) SELECT sql
90
+ FROM sqlite_master
91
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
92
+ UNION ALL
93
+ SELECT sql
94
+ FROM sqlite_temp_master
95
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
96
+
97
+  (0.1ms)  SELECT sql
98
+ FROM sqlite_master
99
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
100
+ UNION ALL
101
+ SELECT sql
102
+ FROM sqlite_temp_master
103
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
104
+ 
105
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
106
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150211205643"]]
107
+  (1.0ms) commit transaction
108
+ Migrating to AddDocumentDocumentTmpRemoteContentTypeToBlogyPostTranslations (20150216204624)
109
+  (0.1ms) begin transaction
110
+  (1.4ms) ALTER TABLE "blogy_post_translations" ADD "document" varchar
111
+  (0.3ms) ALTER TABLE "blogy_post_translations" ADD "document_tmp" varchar
112
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "remote" varchar
113
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "content_type" varchar
114
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150216204624"]]
115
+  (3.5ms) commit transaction
116
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
117
+  (0.1ms)  SELECT sql
118
+ FROM sqlite_master
119
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
120
+ UNION ALL
121
+ SELECT sql
122
+ FROM sqlite_temp_master
123
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
124
+ 
125
+  (0.1ms) SELECT sql
126
+ FROM sqlite_master
127
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
128
+ UNION ALL
129
+ SELECT sql
130
+ FROM sqlite_temp_master
131
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
132
+
133
+  (0.1ms)  SELECT sql
134
+ FROM sqlite_master
135
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
136
+ UNION ALL
137
+ SELECT sql
138
+ FROM sqlite_temp_master
139
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
140
+ 
141
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
142
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
143
+ Migrating to AddDocumentDocumentTmpRemoteContentTypeToBlogyPostTranslations (20150216204624)
144
+  (17.6ms) begin transaction
145
+  (1.9ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "content_type" varchar)
146
+  (0.6ms)  SELECT sql
147
+ FROM sqlite_master
148
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
149
+ UNION ALL
150
+ SELECT sql
151
+ FROM sqlite_temp_master
152
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
153
+ 
154
+  (0.4ms) SELECT sql
155
+ FROM sqlite_master
156
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
157
+ UNION ALL
158
+ SELECT sql
159
+ FROM sqlite_temp_master
160
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
161
+
162
+  (0.1ms)  SELECT sql
163
+ FROM sqlite_master
164
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
165
+ UNION ALL
166
+ SELECT sql
167
+ FROM sqlite_temp_master
168
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
169
+ 
170
+  (0.1ms) select sqlite_version(*)
171
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
172
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
173
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
174
+  (0.4ms) SELECT * FROM "blogy_post_translations"
175
+  (1.8ms) DROP TABLE "blogy_post_translations"
176
+  (0.3ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar)
177
+  (0.1ms)  SELECT sql
178
+ FROM sqlite_master
179
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
180
+ UNION ALL
181
+ SELECT sql
182
+ FROM sqlite_temp_master
183
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
184
+ 
185
+  (0.1ms) SELECT sql
186
+ FROM sqlite_master
187
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
188
+ UNION ALL
189
+ SELECT sql
190
+ FROM sqlite_temp_master
191
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
192
+
193
+  (0.1ms)  SELECT sql
194
+ FROM sqlite_master
195
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
196
+ UNION ALL
197
+ SELECT sql
198
+ FROM sqlite_temp_master
199
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
200
+ 
201
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
202
+  (0.1ms)  SELECT sql
203
+ FROM sqlite_master
204
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
205
+ UNION ALL
206
+ SELECT sql
207
+ FROM sqlite_temp_master
208
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
209
+ 
210
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
211
+  (0.1ms)  SELECT sql
212
+ FROM sqlite_master
213
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
214
+ UNION ALL
215
+ SELECT sql
216
+ FROM sqlite_temp_master
217
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
218
+ 
219
+  (0.1ms) SELECT sql
220
+ FROM sqlite_master
221
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
222
+ UNION ALL
223
+ SELECT sql
224
+ FROM sqlite_temp_master
225
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
226
+
227
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
228
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
229
+  (1.6ms) DROP TABLE "ablogy_post_translations"
230
+  (0.5ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar)
231
+  (0.1ms)  SELECT sql
232
+ FROM sqlite_master
233
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
234
+ UNION ALL
235
+ SELECT sql
236
+ FROM sqlite_temp_master
237
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
238
+ 
239
+  (0.2ms) SELECT sql
240
+ FROM sqlite_master
241
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
242
+ UNION ALL
243
+ SELECT sql
244
+ FROM sqlite_temp_master
245
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
246
+
247
+  (0.1ms)  SELECT sql
248
+ FROM sqlite_master
249
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
250
+ UNION ALL
251
+ SELECT sql
252
+ FROM sqlite_temp_master
253
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
254
+ 
255
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
256
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
257
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
258
+  (0.1ms) SELECT * FROM "blogy_post_translations"
259
+  (0.6ms) DROP TABLE "blogy_post_translations"
260
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar) 
261
+  (0.1ms) SELECT sql
262
+ FROM sqlite_master
263
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
264
+ UNION ALL
265
+ SELECT sql
266
+ FROM sqlite_temp_master
267
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
268
+
269
+  (0.1ms)  SELECT sql
270
+ FROM sqlite_master
271
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
272
+ UNION ALL
273
+ SELECT sql
274
+ FROM sqlite_temp_master
275
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
276
+ 
277
+  (0.1ms) SELECT sql
278
+ FROM sqlite_master
279
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
280
+ UNION ALL
281
+ SELECT sql
282
+ FROM sqlite_temp_master
283
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
284
+
285
+  (0.4ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
286
+  (0.1ms) SELECT sql
287
+ FROM sqlite_master
288
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
289
+ UNION ALL
290
+ SELECT sql
291
+ FROM sqlite_temp_master
292
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
293
+
294
+  (3.0ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
295
+  (0.1ms) SELECT sql
296
+ FROM sqlite_master
297
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
298
+ UNION ALL
299
+ SELECT sql
300
+ FROM sqlite_temp_master
301
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
302
+
303
+  (0.1ms)  SELECT sql
304
+ FROM sqlite_master
305
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
306
+ UNION ALL
307
+ SELECT sql
308
+ FROM sqlite_temp_master
309
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
310
+ 
311
+  (14.0ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
312
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
313
+  (0.2ms) DROP TABLE "ablogy_post_translations"
314
+  (3.6ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar) 
315
+  (0.1ms) SELECT sql
316
+ FROM sqlite_master
317
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
318
+ UNION ALL
319
+ SELECT sql
320
+ FROM sqlite_temp_master
321
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
322
+
323
+  (3.0ms)  SELECT sql
324
+ FROM sqlite_master
325
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
326
+ UNION ALL
327
+ SELECT sql
328
+ FROM sqlite_temp_master
329
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
330
+ 
331
+  (0.1ms) SELECT sql
332
+ FROM sqlite_master
333
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
334
+ UNION ALL
335
+ SELECT sql
336
+ FROM sqlite_temp_master
337
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
338
+
339
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
340
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
341
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
342
+  (0.1ms) SELECT * FROM "blogy_post_translations"
343
+  (0.2ms) DROP TABLE "blogy_post_translations"
344
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar)
345
+  (0.1ms)  SELECT sql
346
+ FROM sqlite_master
347
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
348
+ UNION ALL
349
+ SELECT sql
350
+ FROM sqlite_temp_master
351
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
352
+ 
353
+  (0.1ms) SELECT sql
354
+ FROM sqlite_master
355
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
356
+ UNION ALL
357
+ SELECT sql
358
+ FROM sqlite_temp_master
359
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
360
+
361
+  (0.1ms)  SELECT sql
362
+ FROM sqlite_master
363
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
364
+ UNION ALL
365
+ SELECT sql
366
+ FROM sqlite_temp_master
367
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
368
+ 
369
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
370
+  (0.4ms)  SELECT sql
371
+ FROM sqlite_master
372
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
373
+ UNION ALL
374
+ SELECT sql
375
+ FROM sqlite_temp_master
376
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
377
+ 
378
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
379
+  (0.1ms)  SELECT sql
380
+ FROM sqlite_master
381
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
382
+ UNION ALL
383
+ SELECT sql
384
+ FROM sqlite_temp_master
385
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
386
+ 
387
+  (0.1ms) SELECT sql
388
+ FROM sqlite_master
389
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
390
+ UNION ALL
391
+ SELECT sql
392
+ FROM sqlite_temp_master
393
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
394
+
395
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
396
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
397
+  (0.2ms) DROP TABLE "ablogy_post_translations"
398
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar)
399
+  (0.4ms)  SELECT sql
400
+ FROM sqlite_master
401
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
402
+ UNION ALL
403
+ SELECT sql
404
+ FROM sqlite_temp_master
405
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
406
+ 
407
+  (0.1ms) SELECT sql
408
+ FROM sqlite_master
409
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
410
+ UNION ALL
411
+ SELECT sql
412
+ FROM sqlite_temp_master
413
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
414
+
415
+  (0.1ms)  SELECT sql
416
+ FROM sqlite_master
417
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
418
+ UNION ALL
419
+ SELECT sql
420
+ FROM sqlite_temp_master
421
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
422
+ 
423
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
424
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
425
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
426
+  (0.1ms) SELECT * FROM "blogy_post_translations"
427
+  (0.3ms) DROP TABLE "blogy_post_translations"
428
+  (0.3ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
429
+  (0.1ms) SELECT sql
430
+ FROM sqlite_master
431
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
432
+ UNION ALL
433
+ SELECT sql
434
+ FROM sqlite_temp_master
435
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
436
+
437
+  (0.1ms)  SELECT sql
438
+ FROM sqlite_master
439
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
440
+ UNION ALL
441
+ SELECT sql
442
+ FROM sqlite_temp_master
443
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
444
+ 
445
+  (0.1ms) SELECT sql
446
+ FROM sqlite_master
447
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
448
+ UNION ALL
449
+ SELECT sql
450
+ FROM sqlite_temp_master
451
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
452
+
453
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
454
+  (0.1ms) SELECT sql
455
+ FROM sqlite_master
456
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
457
+ UNION ALL
458
+ SELECT sql
459
+ FROM sqlite_temp_master
460
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
461
+
462
+  (2.3ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
463
+  (0.1ms) SELECT sql
464
+ FROM sqlite_master
465
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
466
+ UNION ALL
467
+ SELECT sql
468
+ FROM sqlite_temp_master
469
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
470
+
471
+  (0.1ms)  SELECT sql
472
+ FROM sqlite_master
473
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
474
+ UNION ALL
475
+ SELECT sql
476
+ FROM sqlite_temp_master
477
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
478
+ 
479
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
480
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
481
+  (0.3ms) DROP TABLE "ablogy_post_translations"
482
+ SQL (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20150216204624"]]
483
+  (1.7ms) commit transaction
484
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
485
+  (0.1ms) SELECT sql
486
+ FROM sqlite_master
487
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
488
+ UNION ALL
489
+ SELECT sql
490
+ FROM sqlite_temp_master
491
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
492
+
493
+  (0.1ms)  SELECT sql
494
+ FROM sqlite_master
495
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
496
+ UNION ALL
497
+ SELECT sql
498
+ FROM sqlite_temp_master
499
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
500
+ 
501
+  (0.2ms) SELECT sql
502
+ FROM sqlite_master
503
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
504
+ UNION ALL
505
+ SELECT sql
506
+ FROM sqlite_temp_master
507
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
508
+
509
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
510
+ Migrating to AddDocumentDocumentTmpRemoteContentTypeFormatToBlogyPostTranslations (20150216204624)
511
+  (0.1ms) begin transaction
512
+  (0.6ms) ALTER TABLE "blogy_post_translations" ADD "document" varchar
513
+  (0.3ms) ALTER TABLE "blogy_post_translations" ADD "document_tmp" varchar
514
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "remote" varchar
515
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "content_type" varchar
516
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "format" varchar
517
+ SQL (1.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150216204624"]]
518
+  (1.2ms) commit transaction
519
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
520
+  (0.3ms)  SELECT sql
521
+ FROM sqlite_master
522
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
523
+ UNION ALL
524
+ SELECT sql
525
+ FROM sqlite_temp_master
526
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
527
+ 
528
+  (0.2ms) SELECT sql
529
+ FROM sqlite_master
530
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
531
+ UNION ALL
532
+ SELECT sql
533
+ FROM sqlite_temp_master
534
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
535
+
536
+  (0.1ms)  SELECT sql
537
+ FROM sqlite_master
538
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
539
+ UNION ALL
540
+ SELECT sql
541
+ FROM sqlite_temp_master
542
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
543
+ 
544
+ ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations"
545
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
546
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
547
+ Migrating to AddDocumentDocumentTmpRemoteContentTypeFormatToBlogyPostTranslations (20150216204624)
548
+  (0.1ms) begin transaction
549
+  (3.8ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "content_type" varchar, "format" varchar) 
550
+  (0.1ms) SELECT sql
551
+ FROM sqlite_master
552
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
553
+ UNION ALL
554
+ SELECT sql
555
+ FROM sqlite_temp_master
556
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
557
+
558
+  (0.1ms)  SELECT sql
559
+ FROM sqlite_master
560
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
561
+ UNION ALL
562
+ SELECT sql
563
+ FROM sqlite_temp_master
564
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
565
+ 
566
+  (0.1ms) SELECT sql
567
+ FROM sqlite_master
568
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
569
+ UNION ALL
570
+ SELECT sql
571
+ FROM sqlite_temp_master
572
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
573
+
574
+  (0.5ms) select sqlite_version(*)
575
+  (0.6ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
576
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
577
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
578
+  (0.5ms) SELECT * FROM "blogy_post_translations"
579
+  (3.2ms) DROP TABLE "blogy_post_translations"
580
+  (0.3ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "content_type" varchar) 
581
+  (0.1ms) SELECT sql
582
+ FROM sqlite_master
583
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
584
+ UNION ALL
585
+ SELECT sql
586
+ FROM sqlite_temp_master
587
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
588
+
589
+  (0.1ms)  SELECT sql
590
+ FROM sqlite_master
591
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
592
+ UNION ALL
593
+ SELECT sql
594
+ FROM sqlite_temp_master
595
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
596
+ 
597
+  (0.1ms) SELECT sql
598
+ FROM sqlite_master
599
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
600
+ UNION ALL
601
+ SELECT sql
602
+ FROM sqlite_temp_master
603
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
604
+
605
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
606
+  (0.1ms) SELECT sql
607
+ FROM sqlite_master
608
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
609
+ UNION ALL
610
+ SELECT sql
611
+ FROM sqlite_temp_master
612
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
613
+
614
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
615
+  (0.1ms) SELECT sql
616
+ FROM sqlite_master
617
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
618
+ UNION ALL
619
+ SELECT sql
620
+ FROM sqlite_temp_master
621
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
622
+
623
+  (0.1ms)  SELECT sql
624
+ FROM sqlite_master
625
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
626
+ UNION ALL
627
+ SELECT sql
628
+ FROM sqlite_temp_master
629
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
630
+ 
631
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
632
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
633
+  (0.6ms) DROP TABLE "ablogy_post_translations"
634
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "content_type" varchar) 
635
+  (0.1ms) SELECT sql
636
+ FROM sqlite_master
637
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
638
+ UNION ALL
639
+ SELECT sql
640
+ FROM sqlite_temp_master
641
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
642
+
643
+  (0.1ms)  SELECT sql
644
+ FROM sqlite_master
645
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
646
+ UNION ALL
647
+ SELECT sql
648
+ FROM sqlite_temp_master
649
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
650
+ 
651
+  (0.1ms) SELECT sql
652
+ FROM sqlite_master
653
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
654
+ UNION ALL
655
+ SELECT sql
656
+ FROM sqlite_temp_master
657
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
658
+
659
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
660
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
661
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
662
+  (0.1ms) SELECT * FROM "blogy_post_translations"
663
+  (0.5ms) DROP TABLE "blogy_post_translations"
664
+  (0.3ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar)
665
+  (0.1ms)  SELECT sql
666
+ FROM sqlite_master
667
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
668
+ UNION ALL
669
+ SELECT sql
670
+ FROM sqlite_temp_master
671
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
672
+ 
673
+  (0.1ms) SELECT sql
674
+ FROM sqlite_master
675
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
676
+ UNION ALL
677
+ SELECT sql
678
+ FROM sqlite_temp_master
679
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
680
+
681
+  (0.1ms)  SELECT sql
682
+ FROM sqlite_master
683
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
684
+ UNION ALL
685
+ SELECT sql
686
+ FROM sqlite_temp_master
687
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
688
+ 
689
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
690
+  (0.1ms)  SELECT sql
691
+ FROM sqlite_master
692
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
693
+ UNION ALL
694
+ SELECT sql
695
+ FROM sqlite_temp_master
696
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
697
+ 
698
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
699
+  (0.1ms)  SELECT sql
700
+ FROM sqlite_master
701
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
702
+ UNION ALL
703
+ SELECT sql
704
+ FROM sqlite_temp_master
705
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
706
+ 
707
+  (0.1ms) SELECT sql
708
+ FROM sqlite_master
709
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
710
+ UNION ALL
711
+ SELECT sql
712
+ FROM sqlite_temp_master
713
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
714
+
715
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
716
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
717
+  (0.3ms) DROP TABLE "ablogy_post_translations"
718
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar)
719
+  (0.1ms)  SELECT sql
720
+ FROM sqlite_master
721
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
722
+ UNION ALL
723
+ SELECT sql
724
+ FROM sqlite_temp_master
725
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
726
+ 
727
+  (0.1ms) SELECT sql
728
+ FROM sqlite_master
729
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
730
+ UNION ALL
731
+ SELECT sql
732
+ FROM sqlite_temp_master
733
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
734
+
735
+  (0.1ms)  SELECT sql
736
+ FROM sqlite_master
737
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
738
+ UNION ALL
739
+ SELECT sql
740
+ FROM sqlite_temp_master
741
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
742
+ 
743
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
744
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
745
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
746
+  (0.1ms) SELECT * FROM "blogy_post_translations"
747
+  (0.3ms) DROP TABLE "blogy_post_translations"
748
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar) 
749
+  (0.1ms) SELECT sql
750
+ FROM sqlite_master
751
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
752
+ UNION ALL
753
+ SELECT sql
754
+ FROM sqlite_temp_master
755
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
756
+
757
+  (0.1ms)  SELECT sql
758
+ FROM sqlite_master
759
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
760
+ UNION ALL
761
+ SELECT sql
762
+ FROM sqlite_temp_master
763
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
764
+ 
765
+  (0.1ms) SELECT sql
766
+ FROM sqlite_master
767
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
768
+ UNION ALL
769
+ SELECT sql
770
+ FROM sqlite_temp_master
771
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
772
+
773
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
774
+  (0.1ms) SELECT sql
775
+ FROM sqlite_master
776
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
777
+ UNION ALL
778
+ SELECT sql
779
+ FROM sqlite_temp_master
780
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
781
+
782
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
783
+  (0.1ms) SELECT sql
784
+ FROM sqlite_master
785
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
786
+ UNION ALL
787
+ SELECT sql
788
+ FROM sqlite_temp_master
789
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
790
+
791
+  (0.1ms)  SELECT sql
792
+ FROM sqlite_master
793
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
794
+ UNION ALL
795
+ SELECT sql
796
+ FROM sqlite_temp_master
797
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
798
+ 
799
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
800
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
801
+  (0.4ms) DROP TABLE "ablogy_post_translations"
802
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar) 
803
+  (0.1ms) SELECT sql
804
+ FROM sqlite_master
805
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
806
+ UNION ALL
807
+ SELECT sql
808
+ FROM sqlite_temp_master
809
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
810
+
811
+  (0.1ms)  SELECT sql
812
+ FROM sqlite_master
813
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
814
+ UNION ALL
815
+ SELECT sql
816
+ FROM sqlite_temp_master
817
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
818
+ 
819
+  (0.1ms) SELECT sql
820
+ FROM sqlite_master
821
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
822
+ UNION ALL
823
+ SELECT sql
824
+ FROM sqlite_temp_master
825
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
826
+
827
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
828
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
829
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
830
+  (0.1ms) SELECT * FROM "blogy_post_translations"
831
+  (0.2ms) DROP TABLE "blogy_post_translations"
832
+  (0.5ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar)
833
+  (0.1ms)  SELECT sql
834
+ FROM sqlite_master
835
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
836
+ UNION ALL
837
+ SELECT sql
838
+ FROM sqlite_temp_master
839
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
840
+ 
841
+  (0.1ms) SELECT sql
842
+ FROM sqlite_master
843
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
844
+ UNION ALL
845
+ SELECT sql
846
+ FROM sqlite_temp_master
847
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
848
+
849
+  (0.1ms)  SELECT sql
850
+ FROM sqlite_master
851
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
852
+ UNION ALL
853
+ SELECT sql
854
+ FROM sqlite_temp_master
855
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
856
+ 
857
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
858
+  (0.1ms)  SELECT sql
859
+ FROM sqlite_master
860
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
861
+ UNION ALL
862
+ SELECT sql
863
+ FROM sqlite_temp_master
864
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
865
+ 
866
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
867
+  (0.1ms)  SELECT sql
868
+ FROM sqlite_master
869
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
870
+ UNION ALL
871
+ SELECT sql
872
+ FROM sqlite_temp_master
873
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
874
+ 
875
+  (0.1ms) SELECT sql
876
+ FROM sqlite_master
877
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
878
+ UNION ALL
879
+ SELECT sql
880
+ FROM sqlite_temp_master
881
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
882
+
883
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
884
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
885
+  (0.2ms) DROP TABLE "ablogy_post_translations"
886
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar)
887
+  (0.1ms)  SELECT sql
888
+ FROM sqlite_master
889
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
890
+ UNION ALL
891
+ SELECT sql
892
+ FROM sqlite_temp_master
893
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
894
+ 
895
+  (0.1ms) SELECT sql
896
+ FROM sqlite_master
897
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
898
+ UNION ALL
899
+ SELECT sql
900
+ FROM sqlite_temp_master
901
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
902
+
903
+  (0.1ms)  SELECT sql
904
+ FROM sqlite_master
905
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
906
+ UNION ALL
907
+ SELECT sql
908
+ FROM sqlite_temp_master
909
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
910
+ 
911
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
912
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
913
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
914
+  (0.1ms) SELECT * FROM "blogy_post_translations"
915
+  (0.2ms) DROP TABLE "blogy_post_translations"
916
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
917
+  (0.1ms) SELECT sql
918
+ FROM sqlite_master
919
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
920
+ UNION ALL
921
+ SELECT sql
922
+ FROM sqlite_temp_master
923
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
924
+
925
+  (0.1ms)  SELECT sql
926
+ FROM sqlite_master
927
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
928
+ UNION ALL
929
+ SELECT sql
930
+ FROM sqlite_temp_master
931
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
932
+ 
933
+  (0.1ms) SELECT sql
934
+ FROM sqlite_master
935
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
936
+ UNION ALL
937
+ SELECT sql
938
+ FROM sqlite_temp_master
939
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
940
+
941
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
942
+  (0.1ms) SELECT sql
943
+ FROM sqlite_master
944
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
945
+ UNION ALL
946
+ SELECT sql
947
+ FROM sqlite_temp_master
948
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
949
+
950
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
951
+  (0.1ms) SELECT sql
952
+ FROM sqlite_master
953
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
954
+ UNION ALL
955
+ SELECT sql
956
+ FROM sqlite_temp_master
957
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
958
+
959
+  (0.1ms)  SELECT sql
960
+ FROM sqlite_master
961
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
962
+ UNION ALL
963
+ SELECT sql
964
+ FROM sqlite_temp_master
965
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
966
+ 
967
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
968
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
969
+  (0.2ms) DROP TABLE "ablogy_post_translations"
970
+ SQL (1.0ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20150216204624"]]
971
+  (1.5ms) commit transaction
972
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
973
+  (0.1ms) SELECT sql
974
+ FROM sqlite_master
975
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
976
+ UNION ALL
977
+ SELECT sql
978
+ FROM sqlite_temp_master
979
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
980
+
981
+  (0.1ms)  SELECT sql
982
+ FROM sqlite_master
983
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
984
+ UNION ALL
985
+ SELECT sql
986
+ FROM sqlite_temp_master
987
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
988
+ 
989
+  (0.1ms) SELECT sql
990
+ FROM sqlite_master
991
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
992
+ UNION ALL
993
+ SELECT sql
994
+ FROM sqlite_temp_master
995
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
996
+
997
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
998
+ Migrating to AddDocumentDocumentTmpRemoteContentTypeFormatToBlogyPostTranslations (20150216204624)
999
+  (0.1ms) begin transaction
1000
+  (2.3ms) ALTER TABLE "blogy_post_translations" ADD "document" varchar
1001
+  (0.3ms) ALTER TABLE "blogy_post_translations" ADD "document_tmp" varchar
1002
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "remote" varchar
1003
+  (0.3ms) ALTER TABLE "blogy_post_translations" ADD "content_type" varchar
1004
+  (0.4ms) ALTER TABLE "blogy_post_translations" ADD "content_format" varchar
1005
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150216204624"]]
1006
+  (1.1ms) commit transaction
1007
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1008
+  (0.2ms)  SELECT sql
1009
+ FROM sqlite_master
1010
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1011
+ UNION ALL
1012
+ SELECT sql
1013
+ FROM sqlite_temp_master
1014
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1015
+ 
1016
+  (0.1ms) SELECT sql
1017
+ FROM sqlite_master
1018
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1019
+ UNION ALL
1020
+ SELECT sql
1021
+ FROM sqlite_temp_master
1022
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1023
+
1024
+  (0.1ms)  SELECT sql
1025
+ FROM sqlite_master
1026
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1027
+ UNION ALL
1028
+ SELECT sql
1029
+ FROM sqlite_temp_master
1030
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1031
+ 
1032
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
1033
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1034
+ Migrating to AddDocumentDocumentTmpRemoteContentTypeFormatToBlogyPostTranslations (20150216204624)
1035
+  (0.1ms) begin transaction
1036
+  (1.9ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "content_type" varchar, "content_format" varchar)
1037
+  (0.1ms)  SELECT sql
1038
+ FROM sqlite_master
1039
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1040
+ UNION ALL
1041
+ SELECT sql
1042
+ FROM sqlite_temp_master
1043
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1044
+ 
1045
+  (0.1ms) SELECT sql
1046
+ FROM sqlite_master
1047
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1048
+ UNION ALL
1049
+ SELECT sql
1050
+ FROM sqlite_temp_master
1051
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1052
+
1053
+  (0.1ms)  SELECT sql
1054
+ FROM sqlite_master
1055
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1056
+ UNION ALL
1057
+ SELECT sql
1058
+ FROM sqlite_temp_master
1059
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1060
+ 
1061
+  (0.1ms) select sqlite_version(*)
1062
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
1063
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
1064
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
1065
+  (0.5ms) SELECT * FROM "blogy_post_translations"
1066
+  (2.5ms) DROP TABLE "blogy_post_translations"
1067
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "content_type" varchar)
1068
+  (0.1ms)  SELECT sql
1069
+ FROM sqlite_master
1070
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
1071
+ UNION ALL
1072
+ SELECT sql
1073
+ FROM sqlite_temp_master
1074
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
1075
+ 
1076
+  (0.1ms) SELECT sql
1077
+ FROM sqlite_master
1078
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
1079
+ UNION ALL
1080
+ SELECT sql
1081
+ FROM sqlite_temp_master
1082
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
1083
+
1084
+  (0.1ms)  SELECT sql
1085
+ FROM sqlite_master
1086
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
1087
+ UNION ALL
1088
+ SELECT sql
1089
+ FROM sqlite_temp_master
1090
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
1091
+ 
1092
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
1093
+  (0.1ms)  SELECT sql
1094
+ FROM sqlite_master
1095
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1096
+ UNION ALL
1097
+ SELECT sql
1098
+ FROM sqlite_temp_master
1099
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1100
+ 
1101
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
1102
+  (0.1ms)  SELECT sql
1103
+ FROM sqlite_master
1104
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1105
+ UNION ALL
1106
+ SELECT sql
1107
+ FROM sqlite_temp_master
1108
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1109
+ 
1110
+  (0.1ms) SELECT sql
1111
+ FROM sqlite_master
1112
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1113
+ UNION ALL
1114
+ SELECT sql
1115
+ FROM sqlite_temp_master
1116
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1117
+
1118
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
1119
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
1120
+  (0.9ms) DROP TABLE "ablogy_post_translations"
1121
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar, "content_type" varchar)
1122
+  (0.1ms)  SELECT sql
1123
+ FROM sqlite_master
1124
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1125
+ UNION ALL
1126
+ SELECT sql
1127
+ FROM sqlite_temp_master
1128
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1129
+ 
1130
+  (0.1ms) SELECT sql
1131
+ FROM sqlite_master
1132
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1133
+ UNION ALL
1134
+ SELECT sql
1135
+ FROM sqlite_temp_master
1136
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1137
+
1138
+  (0.1ms)  SELECT sql
1139
+ FROM sqlite_master
1140
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1141
+ UNION ALL
1142
+ SELECT sql
1143
+ FROM sqlite_temp_master
1144
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1145
+ 
1146
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
1147
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
1148
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
1149
+  (0.1ms) SELECT * FROM "blogy_post_translations"
1150
+  (0.8ms) DROP TABLE "blogy_post_translations"
1151
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar) 
1152
+  (0.1ms) SELECT sql
1153
+ FROM sqlite_master
1154
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
1155
+ UNION ALL
1156
+ SELECT sql
1157
+ FROM sqlite_temp_master
1158
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
1159
+
1160
+  (0.1ms)  SELECT sql
1161
+ FROM sqlite_master
1162
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
1163
+ UNION ALL
1164
+ SELECT sql
1165
+ FROM sqlite_temp_master
1166
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
1167
+ 
1168
+  (0.1ms) SELECT sql
1169
+ FROM sqlite_master
1170
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
1171
+ UNION ALL
1172
+ SELECT sql
1173
+ FROM sqlite_temp_master
1174
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
1175
+
1176
+  (0.3ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
1177
+  (0.1ms) SELECT sql
1178
+ FROM sqlite_master
1179
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1180
+ UNION ALL
1181
+ SELECT sql
1182
+ FROM sqlite_temp_master
1183
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1184
+
1185
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
1186
+  (0.1ms) SELECT sql
1187
+ FROM sqlite_master
1188
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1189
+ UNION ALL
1190
+ SELECT sql
1191
+ FROM sqlite_temp_master
1192
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1193
+
1194
+  (0.1ms)  SELECT sql
1195
+ FROM sqlite_master
1196
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1197
+ UNION ALL
1198
+ SELECT sql
1199
+ FROM sqlite_temp_master
1200
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1201
+ 
1202
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
1203
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
1204
+  (0.2ms) DROP TABLE "ablogy_post_translations"
1205
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar, "remote" varchar) 
1206
+  (0.1ms) SELECT sql
1207
+ FROM sqlite_master
1208
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1209
+ UNION ALL
1210
+ SELECT sql
1211
+ FROM sqlite_temp_master
1212
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1213
+
1214
+  (0.1ms)  SELECT sql
1215
+ FROM sqlite_master
1216
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1217
+ UNION ALL
1218
+ SELECT sql
1219
+ FROM sqlite_temp_master
1220
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1221
+ 
1222
+  (0.1ms) SELECT sql
1223
+ FROM sqlite_master
1224
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1225
+ UNION ALL
1226
+ SELECT sql
1227
+ FROM sqlite_temp_master
1228
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1229
+
1230
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
1231
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
1232
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
1233
+  (0.1ms) SELECT * FROM "blogy_post_translations"
1234
+  (0.2ms) DROP TABLE "blogy_post_translations"
1235
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar)
1236
+  (0.1ms)  SELECT sql
1237
+ FROM sqlite_master
1238
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
1239
+ UNION ALL
1240
+ SELECT sql
1241
+ FROM sqlite_temp_master
1242
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
1243
+ 
1244
+  (0.1ms) SELECT sql
1245
+ FROM sqlite_master
1246
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
1247
+ UNION ALL
1248
+ SELECT sql
1249
+ FROM sqlite_temp_master
1250
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
1251
+
1252
+  (0.1ms)  SELECT sql
1253
+ FROM sqlite_master
1254
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
1255
+ UNION ALL
1256
+ SELECT sql
1257
+ FROM sqlite_temp_master
1258
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
1259
+ 
1260
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
1261
+  (0.1ms)  SELECT sql
1262
+ FROM sqlite_master
1263
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1264
+ UNION ALL
1265
+ SELECT sql
1266
+ FROM sqlite_temp_master
1267
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1268
+ 
1269
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
1270
+  (0.1ms)  SELECT sql
1271
+ FROM sqlite_master
1272
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1273
+ UNION ALL
1274
+ SELECT sql
1275
+ FROM sqlite_temp_master
1276
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1277
+ 
1278
+  (0.1ms) SELECT sql
1279
+ FROM sqlite_master
1280
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1281
+ UNION ALL
1282
+ SELECT sql
1283
+ FROM sqlite_temp_master
1284
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1285
+
1286
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
1287
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
1288
+  (0.2ms) DROP TABLE "ablogy_post_translations"
1289
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar, "document_tmp" varchar)
1290
+  (0.2ms)  SELECT sql
1291
+ FROM sqlite_master
1292
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1293
+ UNION ALL
1294
+ SELECT sql
1295
+ FROM sqlite_temp_master
1296
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1297
+ 
1298
+  (0.1ms) SELECT sql
1299
+ FROM sqlite_master
1300
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1301
+ UNION ALL
1302
+ SELECT sql
1303
+ FROM sqlite_temp_master
1304
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1305
+
1306
+  (0.6ms)  SELECT sql
1307
+ FROM sqlite_master
1308
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1309
+ UNION ALL
1310
+ SELECT sql
1311
+ FROM sqlite_temp_master
1312
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1313
+ 
1314
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
1315
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
1316
+  (0.2ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
1317
+  (0.1ms) SELECT * FROM "blogy_post_translations"
1318
+  (0.2ms) DROP TABLE "blogy_post_translations"
1319
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar) 
1320
+  (0.1ms) SELECT sql
1321
+ FROM sqlite_master
1322
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
1323
+ UNION ALL
1324
+ SELECT sql
1325
+ FROM sqlite_temp_master
1326
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
1327
+
1328
+  (0.1ms)  SELECT sql
1329
+ FROM sqlite_master
1330
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
1331
+ UNION ALL
1332
+ SELECT sql
1333
+ FROM sqlite_temp_master
1334
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
1335
+ 
1336
+  (0.1ms) SELECT sql
1337
+ FROM sqlite_master
1338
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
1339
+ UNION ALL
1340
+ SELECT sql
1341
+ FROM sqlite_temp_master
1342
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
1343
+
1344
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
1345
+  (0.1ms) SELECT sql
1346
+ FROM sqlite_master
1347
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1348
+ UNION ALL
1349
+ SELECT sql
1350
+ FROM sqlite_temp_master
1351
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1352
+
1353
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
1354
+  (0.1ms) SELECT sql
1355
+ FROM sqlite_master
1356
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1357
+ UNION ALL
1358
+ SELECT sql
1359
+ FROM sqlite_temp_master
1360
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1361
+
1362
+  (0.1ms)  SELECT sql
1363
+ FROM sqlite_master
1364
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1365
+ UNION ALL
1366
+ SELECT sql
1367
+ FROM sqlite_temp_master
1368
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1369
+ 
1370
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
1371
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
1372
+  (0.2ms) DROP TABLE "ablogy_post_translations"
1373
+  (0.2ms) CREATE TEMPORARY TABLE "ablogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "document" varchar) 
1374
+  (0.1ms) SELECT sql
1375
+ FROM sqlite_master
1376
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1377
+ UNION ALL
1378
+ SELECT sql
1379
+ FROM sqlite_temp_master
1380
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1381
+
1382
+  (0.1ms)  SELECT sql
1383
+ FROM sqlite_master
1384
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1385
+ UNION ALL
1386
+ SELECT sql
1387
+ FROM sqlite_temp_master
1388
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1389
+ 
1390
+  (0.1ms) SELECT sql
1391
+ FROM sqlite_master
1392
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1393
+ UNION ALL
1394
+ SELECT sql
1395
+ FROM sqlite_temp_master
1396
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1397
+
1398
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_slug" ON "ablogy_post_translations" ("slug")
1399
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_locale" ON "ablogy_post_translations" ("locale")
1400
+  (0.1ms) CREATE INDEX "tindex_ablogy_post_translations_on_blogy_post_id" ON "ablogy_post_translations" ("blogy_post_id")
1401
+  (0.1ms) SELECT * FROM "blogy_post_translations"
1402
+  (0.2ms) DROP TABLE "blogy_post_translations"
1403
+  (0.2ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
1404
+  (0.1ms)  SELECT sql
1405
+ FROM sqlite_master
1406
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
1407
+ UNION ALL
1408
+ SELECT sql
1409
+ FROM sqlite_temp_master
1410
+ WHERE name='tindex_ablogy_post_translations_on_blogy_post_id' AND type='index'
1411
+ 
1412
+  (0.1ms) SELECT sql
1413
+ FROM sqlite_master
1414
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
1415
+ UNION ALL
1416
+ SELECT sql
1417
+ FROM sqlite_temp_master
1418
+ WHERE name='tindex_ablogy_post_translations_on_locale' AND type='index'
1419
+
1420
+  (0.1ms)  SELECT sql
1421
+ FROM sqlite_master
1422
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
1423
+ UNION ALL
1424
+ SELECT sql
1425
+ FROM sqlite_temp_master
1426
+ WHERE name='tindex_ablogy_post_translations_on_slug' AND type='index'
1427
+ 
1428
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
1429
+  (0.1ms)  SELECT sql
1430
+ FROM sqlite_master
1431
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1432
+ UNION ALL
1433
+ SELECT sql
1434
+ FROM sqlite_temp_master
1435
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1436
+ 
1437
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
1438
+  (0.1ms)  SELECT sql
1439
+ FROM sqlite_master
1440
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1441
+ UNION ALL
1442
+ SELECT sql
1443
+ FROM sqlite_temp_master
1444
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1445
+ 
1446
+  (0.1ms) SELECT sql
1447
+ FROM sqlite_master
1448
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1449
+ UNION ALL
1450
+ SELECT sql
1451
+ FROM sqlite_temp_master
1452
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1453
+
1454
+  (0.1ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
1455
+  (0.1ms) SELECT * FROM "ablogy_post_translations"
1456
+  (0.2ms) DROP TABLE "ablogy_post_translations"
1457
+ SQL (0.3ms) DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = ? [["version", "20150216204624"]]
1458
+  (2.3ms) commit transaction
1459
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1460
+  (0.2ms)  SELECT sql
1461
+ FROM sqlite_master
1462
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1463
+ UNION ALL
1464
+ SELECT sql
1465
+ FROM sqlite_temp_master
1466
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1467
+ 
1468
+  (0.1ms) SELECT sql
1469
+ FROM sqlite_master
1470
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1471
+ UNION ALL
1472
+ SELECT sql
1473
+ FROM sqlite_temp_master
1474
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1475
+
1476
+  (0.1ms)  SELECT sql
1477
+ FROM sqlite_master
1478
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1479
+ UNION ALL
1480
+ SELECT sql
1481
+ FROM sqlite_temp_master
1482
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1483
+ 
1484
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1485
+ Migrating to AddDocumentDocumentTmpRemoteTypeFormatToBlogyPostTranslations (20150216204624)
1486
+  (0.1ms) begin transaction
1487
+  (1.6ms) ALTER TABLE "blogy_post_translations" ADD "document" varchar
1488
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "document_tmp" varchar
1489
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "remote" varchar
1490
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "type" varchar
1491
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "format" varchar
1492
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150216204624"]]
1493
+  (1.2ms) commit transaction
1494
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1495
+  (0.2ms)  SELECT sql
1496
+ FROM sqlite_master
1497
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1498
+ UNION ALL
1499
+ SELECT sql
1500
+ FROM sqlite_temp_master
1501
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
1502
+ 
1503
+  (0.1ms) SELECT sql
1504
+ FROM sqlite_master
1505
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1506
+ UNION ALL
1507
+ SELECT sql
1508
+ FROM sqlite_temp_master
1509
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
1510
+
1511
+  (0.1ms)  SELECT sql
1512
+ FROM sqlite_master
1513
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1514
+ UNION ALL
1515
+ SELECT sql
1516
+ FROM sqlite_temp_master
1517
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
1518
+ 
1519
+ Blogy::Post Load (0.6ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
1520
+  (0.2ms) begin transaction
1521
+ SQL (0.9ms) INSERT INTO "blogy_posts" ("published", "draft", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["published", "t"], ["draft", "f"], ["created_at", "2015-02-18 08:12:34.886191"], ["updated_at", "2015-02-18 08:12:34.886191"]]
1522
+ SQL (0.6ms) INSERT INTO "blogy_post_translations" ("locale", "title", "text", "blogy_post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["locale", "en"], ["title", "Rails"], ["text", "## That is h2 and _bold_"], ["blogy_post_id", 1], ["created_at", "2015-02-18 08:12:34.889967"], ["updated_at", "2015-02-18 08:12:34.889967"]]
1523
+  (4.7ms) commit transaction
1524
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
1525
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1526
+  (0.1ms) begin transaction
1527
+ Blogy::Post::Translation Load (0.4ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
1528
+  (0.1ms) commit transaction
1529
+  (0.2ms) begin transaction
1530
+  (0.1ms) rollback transaction
1531
+  (0.1ms) begin transaction
1532
+  (0.1ms) rollback transaction
1533
+  (0.2ms) begin transaction
1534
+  (0.1ms) rollback transaction
1535
+  (0.1ms) begin transaction
1536
+  (0.1ms) rollback transaction
1537
+  (0.1ms) begin transaction
1538
+  (0.1ms) rollback transaction
1539
+  (0.1ms) begin transaction
1540
+  (0.1ms) rollback transaction
1541
+
1542
+
1543
+ Started GET "/blogy/posts" for ::1 at 2015-02-18 09:15:42 +0100
1544
+ Processing by Blogy::PostsController#index as HTML
1545
+ Completed 406 Not Acceptable in 32ms
1546
+
1547
+ ActionController::UnknownFormat (ActionController::UnknownFormat):
1548
+ responders (2.1.0) lib/action_controller/respond_with.rb:205:in `respond_with'
1549
+ /Users/jirikolarik/Documents/werein/blogy/app/controllers/blogy/posts_controller.rb:10:in `index'
1550
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1551
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
1552
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
1553
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1554
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
1555
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
1556
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
1557
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
1558
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
1559
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
1560
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
1561
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
1562
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
1563
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
1564
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1565
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
1566
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
1567
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1568
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
1569
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1570
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
1571
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1572
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1573
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1574
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
1575
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
1576
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
1577
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1578
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
1579
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
1580
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
1581
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
1582
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1583
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1584
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1585
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1586
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1587
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
1588
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
1589
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1590
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1591
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1592
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1593
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1594
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
1595
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
1596
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
1597
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1598
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
1599
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
1600
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
1601
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1602
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
1603
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
1604
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
1605
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1606
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
1607
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
1608
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
1609
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1610
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1611
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1612
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1613
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1614
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1615
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
1616
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
1617
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1618
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
1619
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
1620
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
1621
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1622
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
1623
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
1624
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1625
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1626
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
1627
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
1628
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1629
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
1630
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1631
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
1632
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
1633
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
1634
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
1635
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
1636
+
1637
+
1638
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (9.9ms)
1639
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (14.8ms)
1640
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (18.4ms)
1641
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (68.4ms)
1642
+
1643
+
1644
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 09:15:46 +0100
1645
+ Processing by Blogy::PostsController#index as JSON
1646
+ Blogy::Post Load (2.8ms) SELECT "blogy_posts".* FROM "blogy_posts"
1647
+ Blogy::Post::Translation Load (0.7ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1648
+ Completed 500 Internal Server Error in 98ms
1649
+
1650
+ NoMethodError (undefined method `to_sym' for nil:NilClass):
1651
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post/translation.rb:14:in `formated'
1652
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post/translation.rb:10:in `content'
1653
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post.rb:8:in `content'
1654
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:99:in `block in attribute'
1655
+ (eval):11:in `_fast_attributes'
1656
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:467:in `rescue in attributes'
1657
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:455:in `attributes'
1658
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:479:in `_serializable_hash'
1659
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:361:in `serializable_hash'
1660
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:89:in `block in _serializable_array'
1661
+ activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map'
1662
+ activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map'
1663
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:79:in `_serializable_array'
1664
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:73:in `serializable_array'
1665
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:49:in `as_json'
1666
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:34:in `encode'
1667
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:21:in `encode'
1668
+ activesupport (4.2.0) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
1669
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:63:in `to_json'
1670
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
1671
+ active_model_serializers (0.8.3) lib/action_controller/serialization.rb:48:in `block (2 levels) in <module:Serialization>'
1672
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
1673
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/set.rb:263:in `each_key'
1674
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/set.rb:263:in `each'
1675
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
1676
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
1677
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
1678
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
1679
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
1680
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
1681
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
1682
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
1683
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
1684
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
1685
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
1686
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
1687
+ responders (2.1.0) lib/action_controller/responder.rb:258:in `display'
1688
+ responders (2.1.0) lib/action_controller/responder.rb:212:in `api_behavior'
1689
+ responders (2.1.0) lib/action_controller/responder.rb:191:in `rescue in to_format'
1690
+ responders (2.1.0) lib/action_controller/responder.rb:185:in `to_format'
1691
+ responders (2.1.0) lib/action_controller/responder.rb:163:in `respond'
1692
+ responders (2.1.0) lib/action_controller/responder.rb:156:in `call'
1693
+ responders (2.1.0) lib/action_controller/respond_with.rb:203:in `respond_with'
1694
+ /Users/jirikolarik/Documents/werein/blogy/app/controllers/blogy/posts_controller.rb:10:in `index'
1695
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1696
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
1697
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
1698
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1699
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
1700
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
1701
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
1702
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
1703
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
1704
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
1705
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
1706
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
1707
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
1708
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
1709
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1710
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
1711
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
1712
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1713
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
1714
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1715
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
1716
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1717
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1718
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1719
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
1720
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
1721
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
1722
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1723
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
1724
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
1725
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
1726
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
1727
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1728
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1729
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1730
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1731
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1732
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
1733
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
1734
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1735
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1736
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1737
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1738
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1739
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
1740
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
1741
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
1742
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1743
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
1744
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
1745
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
1746
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1747
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
1748
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
1749
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
1750
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1751
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
1752
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
1753
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
1754
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1755
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1756
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1757
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1758
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1759
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1760
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
1761
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
1762
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1763
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
1764
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
1765
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
1766
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1767
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
1768
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
1769
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1770
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1771
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
1772
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
1773
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1774
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
1775
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1776
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
1777
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
1778
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
1779
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
1780
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
1781
+
1782
+
1783
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.9ms)
1784
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (9.3ms)
1785
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.8ms)
1786
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (53.8ms)
1787
+ Blogy::Post Load (14.7ms) SELECT "blogy_posts".* FROM "blogy_posts"
1788
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
1789
+ Blogy::Post::Translation Load (3.1ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1790
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
1791
+  (0.1ms) begin transaction
1792
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1793
+ Blogy::Post::Translation Load (0.7ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
1794
+  (0.1ms) commit transaction
1795
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts"
1796
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1797
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
1798
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1799
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
1800
+  (0.1ms) begin transaction
1801
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1802
+ Blogy::Post::Translation Load (0.1ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
1803
+  (0.2ms) commit transaction
1804
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
1805
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1806
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
1807
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1808
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
1809
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1810
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
1811
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1812
+  (0.1ms) begin transaction
1813
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
1814
+  (0.1ms) commit transaction
1815
+  (0.1ms) begin transaction
1816
+  (0.1ms) commit transaction
1817
+  (0.1ms) begin transaction
1818
+  (0.2ms) commit transaction
1819
+
1820
+
1821
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 09:20:11 +0100
1822
+ Processing by Blogy::PostsController#index as JSON
1823
+ Blogy::Post Load (2.9ms) SELECT "blogy_posts".* FROM "blogy_posts"
1824
+ Blogy::Post::Translation Load (1.0ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1825
+ Completed 500 Internal Server Error in 131ms
1826
+
1827
+ NoMethodError (undefined method `to_sym' for nil:NilClass):
1828
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post/translation.rb:14:in `formated'
1829
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post/translation.rb:10:in `content'
1830
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post.rb:8:in `content'
1831
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:99:in `block in attribute'
1832
+ (eval):11:in `_fast_attributes'
1833
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:467:in `rescue in attributes'
1834
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:455:in `attributes'
1835
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:479:in `_serializable_hash'
1836
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:361:in `serializable_hash'
1837
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:89:in `block in _serializable_array'
1838
+ activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map'
1839
+ activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map'
1840
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:79:in `_serializable_array'
1841
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:73:in `serializable_array'
1842
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:49:in `as_json'
1843
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:34:in `encode'
1844
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:21:in `encode'
1845
+ activesupport (4.2.0) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
1846
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:63:in `to_json'
1847
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
1848
+ active_model_serializers (0.8.3) lib/action_controller/serialization.rb:48:in `block (2 levels) in <module:Serialization>'
1849
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
1850
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/set.rb:263:in `each_key'
1851
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/set.rb:263:in `each'
1852
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
1853
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
1854
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
1855
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
1856
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
1857
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
1858
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
1859
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
1860
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
1861
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
1862
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
1863
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
1864
+ responders (2.1.0) lib/action_controller/responder.rb:258:in `display'
1865
+ responders (2.1.0) lib/action_controller/responder.rb:212:in `api_behavior'
1866
+ responders (2.1.0) lib/action_controller/responder.rb:191:in `rescue in to_format'
1867
+ responders (2.1.0) lib/action_controller/responder.rb:185:in `to_format'
1868
+ responders (2.1.0) lib/action_controller/responder.rb:163:in `respond'
1869
+ responders (2.1.0) lib/action_controller/responder.rb:156:in `call'
1870
+ responders (2.1.0) lib/action_controller/respond_with.rb:203:in `respond_with'
1871
+ /Users/jirikolarik/Documents/werein/blogy/app/controllers/blogy/posts_controller.rb:10:in `index'
1872
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
1873
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
1874
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
1875
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
1876
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
1877
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
1878
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
1879
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
1880
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
1881
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
1882
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
1883
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
1884
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
1885
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
1886
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1887
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
1888
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
1889
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
1890
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
1891
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
1892
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
1893
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
1894
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
1895
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
1896
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
1897
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
1898
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
1899
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
1900
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
1901
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
1902
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
1903
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
1904
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1905
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1906
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1907
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1908
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1909
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
1910
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
1911
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
1912
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
1913
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
1914
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
1915
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
1916
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
1917
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
1918
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
1919
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
1920
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
1921
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
1922
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
1923
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
1924
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
1925
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
1926
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
1927
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
1928
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
1929
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
1930
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
1931
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
1932
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
1933
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
1934
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
1935
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
1936
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
1937
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
1938
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
1939
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
1940
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
1941
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
1942
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
1943
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
1944
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
1945
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
1946
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
1947
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1948
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
1949
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
1950
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
1951
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
1952
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
1953
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
1954
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
1955
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
1956
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
1957
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
1958
+
1959
+
1960
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.6ms)
1961
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.1ms)
1962
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.7ms)
1963
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (61.9ms)
1964
+
1965
+
1966
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 09:20:13 +0100
1967
+ Processing by Blogy::PostsController#index as JSON
1968
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
1969
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
1970
+ Completed 500 Internal Server Error in 8ms
1971
+
1972
+ NoMethodError (undefined method `to_sym' for nil:NilClass):
1973
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post/translation.rb:14:in `formated'
1974
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post/translation.rb:10:in `content'
1975
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post.rb:8:in `content'
1976
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:99:in `block in attribute'
1977
+ (eval):11:in `_fast_attributes'
1978
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:467:in `rescue in attributes'
1979
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:455:in `attributes'
1980
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:479:in `_serializable_hash'
1981
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:361:in `serializable_hash'
1982
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:89:in `block in _serializable_array'
1983
+ activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map'
1984
+ activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map'
1985
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:79:in `_serializable_array'
1986
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:73:in `serializable_array'
1987
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:49:in `as_json'
1988
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:34:in `encode'
1989
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:21:in `encode'
1990
+ activesupport (4.2.0) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
1991
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:63:in `to_json'
1992
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
1993
+ active_model_serializers (0.8.3) lib/action_controller/serialization.rb:48:in `block (2 levels) in <module:Serialization>'
1994
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
1995
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/set.rb:263:in `each_key'
1996
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/set.rb:263:in `each'
1997
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
1998
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
1999
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
2000
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
2001
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
2002
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
2003
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
2004
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
2005
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
2006
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
2007
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
2008
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
2009
+ responders (2.1.0) lib/action_controller/responder.rb:258:in `display'
2010
+ responders (2.1.0) lib/action_controller/responder.rb:212:in `api_behavior'
2011
+ responders (2.1.0) lib/action_controller/responder.rb:191:in `rescue in to_format'
2012
+ responders (2.1.0) lib/action_controller/responder.rb:185:in `to_format'
2013
+ responders (2.1.0) lib/action_controller/responder.rb:163:in `respond'
2014
+ responders (2.1.0) lib/action_controller/responder.rb:156:in `call'
2015
+ responders (2.1.0) lib/action_controller/respond_with.rb:203:in `respond_with'
2016
+ /Users/jirikolarik/Documents/werein/blogy/app/controllers/blogy/posts_controller.rb:10:in `index'
2017
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2018
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
2019
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
2020
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2021
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
2022
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
2023
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
2024
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
2025
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
2026
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
2027
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
2028
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
2029
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
2030
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
2031
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2032
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
2033
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
2034
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2035
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
2036
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2037
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
2038
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2039
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2040
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2041
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
2042
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
2043
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
2044
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2045
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
2046
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
2047
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2048
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
2049
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2050
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
2051
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
2052
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
2053
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2054
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
2055
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
2056
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
2057
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2058
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
2059
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
2060
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
2061
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
2062
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
2063
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
2064
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2065
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
2066
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
2067
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
2068
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
2069
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
2070
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
2071
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
2072
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2073
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
2074
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
2075
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
2076
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2077
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2078
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
2079
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2080
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2081
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2082
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
2083
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
2084
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2085
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
2086
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
2087
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
2088
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2089
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
2090
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
2091
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2092
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2093
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
2094
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
2095
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2096
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
2097
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2098
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
2099
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
2100
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
2101
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
2102
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
2103
+
2104
+
2105
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (14.7ms)
2106
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.0ms)
2107
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (2.0ms)
2108
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (37.7ms)
2109
+  (0.3ms) SELECT COUNT(*) FROM "blogy_posts"
2110
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2111
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2112
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2113
+  (0.1ms) begin transaction
2114
+  (0.1ms) commit transaction
2115
+  (0.1ms) begin transaction
2116
+ SQL (0.7ms) UPDATE "blogy_post_translations" SET "format" = ?, "type" = ?, "updated_at" = ? WHERE "blogy_post_translations"."id" = ? [["format", "markdown"], ["type", "text"], ["updated_at", "2015-02-18 08:21:05.514811"], ["id", 1]]
2117
+  (1.3ms) commit transaction
2118
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2119
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2120
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2121
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2122
+  (0.2ms) SELECT sql
2123
+ FROM sqlite_master
2124
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2125
+ UNION ALL
2126
+ SELECT sql
2127
+ FROM sqlite_temp_master
2128
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2129
+
2130
+  (0.1ms)  SELECT sql
2131
+ FROM sqlite_master
2132
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2133
+ UNION ALL
2134
+ SELECT sql
2135
+ FROM sqlite_temp_master
2136
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2137
+ 
2138
+  (0.1ms) SELECT sql
2139
+ FROM sqlite_master
2140
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2141
+ UNION ALL
2142
+ SELECT sql
2143
+ FROM sqlite_temp_master
2144
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2145
+
2146
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
2147
+  (0.2ms) SELECT sql
2148
+ FROM sqlite_master
2149
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2150
+ UNION ALL
2151
+ SELECT sql
2152
+ FROM sqlite_temp_master
2153
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2154
+
2155
+  (0.1ms)  SELECT sql
2156
+ FROM sqlite_master
2157
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2158
+ UNION ALL
2159
+ SELECT sql
2160
+ FROM sqlite_temp_master
2161
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2162
+ 
2163
+  (0.1ms) SELECT sql
2164
+ FROM sqlite_master
2165
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2166
+ UNION ALL
2167
+ SELECT sql
2168
+ FROM sqlite_temp_master
2169
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2170
+
2171
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
2172
+  (0.2ms) SELECT sql
2173
+ FROM sqlite_master
2174
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2175
+ UNION ALL
2176
+ SELECT sql
2177
+ FROM sqlite_temp_master
2178
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2179
+
2180
+  (0.1ms)  SELECT sql
2181
+ FROM sqlite_master
2182
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2183
+ UNION ALL
2184
+ SELECT sql
2185
+ FROM sqlite_temp_master
2186
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2187
+ 
2188
+  (0.1ms) SELECT sql
2189
+ FROM sqlite_master
2190
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2191
+ UNION ALL
2192
+ SELECT sql
2193
+ FROM sqlite_temp_master
2194
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2195
+
2196
+
2197
+
2198
+ Started GET "/" for ::1 at 2015-02-18 21:04:11 +0100
2199
+ Processing by Rails::WelcomeController#index as HTML
2200
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/railties-4.2.0/lib/rails/templates/rails/welcome/index.html.erb (2.6ms)
2201
+ Completed 200 OK in 16ms (Views: 15.8ms | ActiveRecord: 0.0ms)
2202
+
2203
+
2204
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:05:01 +0100
2205
+ Processing by Blogy::PostsController#index as JSON
2206
+ Blogy::Post Load (2.8ms) SELECT "blogy_posts".* FROM "blogy_posts"
2207
+ Blogy::Post::Translation Load (1.6ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2208
+ Completed 500 Internal Server Error in 103ms
2209
+
2210
+ ActiveRecord::SubclassNotFound (The single-table inheritance mechanism failed to locate the subclass: 'text'. This error is raised because the column 'type' is reserved for storing the class in case of inheritance. Please rename this column if you didn't intend it to be used for storing the inheritance class or overwrite Blogy::Post::Translation.inheritance_column to use another column for that information.):
2211
+ activerecord (4.2.0) lib/active_record/inheritance.rb:186:in `rescue in find_sti_class'
2212
+ activerecord (4.2.0) lib/active_record/inheritance.rb:180:in `find_sti_class'
2213
+ activerecord (4.2.0) lib/active_record/inheritance.rb:169:in `discriminate_class_for_record'
2214
+ activerecord (4.2.0) lib/active_record/persistence.rb:67:in `instantiate'
2215
+ activerecord (4.2.0) lib/active_record/querying.rb:50:in `block (2 levels) in find_by_sql'
2216
+ activerecord (4.2.0) lib/active_record/result.rb:51:in `block in each'
2217
+ activerecord (4.2.0) lib/active_record/result.rb:51:in `each'
2218
+ activerecord (4.2.0) lib/active_record/result.rb:51:in `each'
2219
+ activerecord (4.2.0) lib/active_record/querying.rb:50:in `map'
2220
+ activerecord (4.2.0) lib/active_record/querying.rb:50:in `block in find_by_sql'
2221
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2222
+ activerecord (4.2.0) lib/active_record/querying.rb:49:in `find_by_sql'
2223
+ activerecord (4.2.0) lib/active_record/relation.rb:638:in `exec_queries'
2224
+ activerecord (4.2.0) lib/active_record/association_relation.rb:19:in `exec_queries'
2225
+ activerecord (4.2.0) lib/active_record/relation.rb:514:in `load'
2226
+ activerecord (4.2.0) lib/active_record/relation.rb:243:in `to_a'
2227
+ activerecord (4.2.0) lib/active_record/relation/finder_methods.rb:487:in `find_take'
2228
+ activerecord (4.2.0) lib/active_record/relation/finder_methods.rb:105:in `take'
2229
+ activerecord (4.2.0) lib/active_record/relation/finder_methods.rb:84:in `find_by'
2230
+ activerecord (4.2.0) lib/active_record/relation.rb:224:in `find_or_initialize_by'
2231
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post.rb:12:in `translation'
2232
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post.rb:8:in `title'
2233
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:99:in `block in attribute'
2234
+ (eval):7:in `_fast_attributes'
2235
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:467:in `rescue in attributes'
2236
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:455:in `attributes'
2237
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:479:in `_serializable_hash'
2238
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:361:in `serializable_hash'
2239
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:89:in `block in _serializable_array'
2240
+ activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map'
2241
+ activerecord (4.2.0) lib/active_record/relation/delegation.rb:46:in `map'
2242
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:79:in `_serializable_array'
2243
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:73:in `serializable_array'
2244
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:49:in `as_json'
2245
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:34:in `encode'
2246
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:21:in `encode'
2247
+ activesupport (4.2.0) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
2248
+ active_model_serializers (0.8.3) lib/active_model/array_serializer.rb:63:in `to_json'
2249
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
2250
+ active_model_serializers (0.8.3) lib/action_controller/serialization.rb:48:in `block (2 levels) in <module:Serialization>'
2251
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
2252
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/set.rb:263:in `each_key'
2253
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/set.rb:263:in `each'
2254
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
2255
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
2256
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
2257
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
2258
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
2259
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
2260
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
2261
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
2262
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
2263
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
2264
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
2265
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
2266
+ responders (2.1.0) lib/action_controller/responder.rb:258:in `display'
2267
+ responders (2.1.0) lib/action_controller/responder.rb:212:in `api_behavior'
2268
+ responders (2.1.0) lib/action_controller/responder.rb:191:in `rescue in to_format'
2269
+ responders (2.1.0) lib/action_controller/responder.rb:185:in `to_format'
2270
+ responders (2.1.0) lib/action_controller/responder.rb:163:in `respond'
2271
+ responders (2.1.0) lib/action_controller/responder.rb:156:in `call'
2272
+ responders (2.1.0) lib/action_controller/respond_with.rb:203:in `respond_with'
2273
+ /Users/jirikolarik/Documents/werein/blogy/app/controllers/blogy/posts_controller.rb:10:in `index'
2274
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2275
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
2276
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
2277
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2278
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
2279
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
2280
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
2281
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
2282
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
2283
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
2284
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
2285
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
2286
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
2287
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
2288
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2289
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
2290
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
2291
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2292
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
2293
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2294
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
2295
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2296
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2297
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2298
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
2299
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
2300
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
2301
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2302
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
2303
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
2304
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2305
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
2306
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2307
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
2308
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
2309
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
2310
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2311
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
2312
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
2313
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
2314
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2315
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
2316
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
2317
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
2318
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
2319
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
2320
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
2321
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2322
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
2323
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
2324
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
2325
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
2326
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
2327
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
2328
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
2329
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2330
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
2331
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
2332
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
2333
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2334
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2335
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
2336
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2337
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2338
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2339
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
2340
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
2341
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2342
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
2343
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
2344
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
2345
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2346
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
2347
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
2348
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2349
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2350
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
2351
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
2352
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2353
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
2354
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2355
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
2356
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
2357
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
2358
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
2359
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
2360
+
2361
+
2362
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (15.8ms)
2363
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (5.9ms)
2364
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (16.3ms)
2365
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (60.9ms)
2366
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2367
+  (0.3ms) select sqlite_version(*)
2368
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2369
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2370
+  (1.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2371
+  (0.1ms) select sqlite_version(*)
2372
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2373
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2374
+ Migrating to CreateBlogyPosts (20150211002506)
2375
+  (0.1ms) begin transaction
2376
+  (0.6ms) CREATE TABLE "blogy_posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "published" boolean, "draft" boolean, "ilustration" varchar, "ilustration_tmp" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2377
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150211002506"]]
2378
+  (1.2ms) commit transaction
2379
+ Migrating to CreateBlogyPostTranslations (20150211205643)
2380
+  (0.1ms) begin transaction
2381
+  (0.5ms) CREATE TABLE "blogy_post_translations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "blogy_post_id" integer, "locale" varchar, "title" varchar, "slug" varchar, "text" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
2382
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_blogy_post_id" ON "blogy_post_translations" ("blogy_post_id")
2383
+  (0.1ms) SELECT sql
2384
+ FROM sqlite_master
2385
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2386
+ UNION ALL
2387
+ SELECT sql
2388
+ FROM sqlite_temp_master
2389
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2390
+
2391
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_locale" ON "blogy_post_translations" ("locale")
2392
+  (0.1ms) SELECT sql
2393
+ FROM sqlite_master
2394
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2395
+ UNION ALL
2396
+ SELECT sql
2397
+ FROM sqlite_temp_master
2398
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2399
+
2400
+  (0.1ms)  SELECT sql
2401
+ FROM sqlite_master
2402
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2403
+ UNION ALL
2404
+ SELECT sql
2405
+ FROM sqlite_temp_master
2406
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2407
+ 
2408
+  (0.2ms) CREATE INDEX "index_blogy_post_translations_on_slug" ON "blogy_post_translations" ("slug")
2409
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150211205643"]]
2410
+  (0.9ms) commit transaction
2411
+ Migrating to AddDocumentDocumentTmpRemoteStorageFormatToBlogyPostTranslations (20150216204624)
2412
+  (0.1ms) begin transaction
2413
+  (0.8ms) ALTER TABLE "blogy_post_translations" ADD "document" varchar
2414
+  (0.3ms) ALTER TABLE "blogy_post_translations" ADD "document_tmp" varchar
2415
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "remote" varchar
2416
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "storage" varchar
2417
+  (0.2ms) ALTER TABLE "blogy_post_translations" ADD "format" varchar
2418
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150216204624"]]
2419
+  (1.4ms) commit transaction
2420
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2421
+  (0.2ms) SELECT sql
2422
+ FROM sqlite_master
2423
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2424
+ UNION ALL
2425
+ SELECT sql
2426
+ FROM sqlite_temp_master
2427
+ WHERE name='index_blogy_post_translations_on_slug' AND type='index'
2428
+
2429
+  (0.3ms)  SELECT sql
2430
+ FROM sqlite_master
2431
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2432
+ UNION ALL
2433
+ SELECT sql
2434
+ FROM sqlite_temp_master
2435
+ WHERE name='index_blogy_post_translations_on_locale' AND type='index'
2436
+ 
2437
+  (0.1ms) SELECT sql
2438
+ FROM sqlite_master
2439
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2440
+ UNION ALL
2441
+ SELECT sql
2442
+ FROM sqlite_temp_master
2443
+ WHERE name='index_blogy_post_translations_on_blogy_post_id' AND type='index'
2444
+
2445
+
2446
+
2447
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:07:10 +0100
2448
+ Processing by Blogy::PostsController#index as JSON
2449
+ Blogy::Post Load (2.7ms) SELECT "blogy_posts".* FROM "blogy_posts"
2450
+ Completed 200 OK in 43ms (Views: 9.6ms | ActiveRecord: 3.0ms)
2451
+  (0.2ms) begin transaction
2452
+  (0.1ms) rollback transaction
2453
+  (0.1ms) begin transaction
2454
+  (0.1ms) rollback transaction
2455
+  (0.1ms) begin transaction
2456
+ SQL (1.2ms) INSERT INTO "blogy_posts" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-02-18 20:08:05.927313"], ["updated_at", "2015-02-18 20:08:05.927313"]]
2457
+ SQL (1.4ms) INSERT INTO "blogy_post_translations" ("locale", "title", "storage", "format", "blogy_post_id", "created_at", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["locale", "en"], ["title", "Rails"], ["storage", "text"], ["format", "html"], ["blogy_post_id", 1], ["created_at", "2015-02-18 20:08:05.935787"], ["updated_at", "2015-02-18 20:08:05.935787"]]
2458
+  (1.0ms) commit transaction
2459
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2460
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2461
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2462
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2463
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2464
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2465
+
2466
+
2467
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:08:53 +0100
2468
+ Processing by Blogy::PostsController#index as JSON
2469
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
2470
+ Blogy::Post::Translation Load (0.5ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2471
+ Completed 200 OK in 91ms (Views: 87.0ms | ActiveRecord: 1.6ms)
2472
+ Blogy::Post Load (0.6ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2473
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2474
+  (0.1ms) begin transaction
2475
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2476
+  (0.1ms) commit transaction
2477
+  (0.2ms) begin transaction
2478
+  (0.1ms) commit transaction
2479
+
2480
+
2481
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:10:08 +0100
2482
+ Processing by Blogy::PostsController#index as JSON
2483
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
2484
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2485
+ Completed 200 OK in 9ms (Views: 6.3ms | ActiveRecord: 0.4ms)
2486
+
2487
+
2488
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:10:09 +0100
2489
+ Processing by Blogy::PostsController#index as JSON
2490
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
2491
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2492
+ Completed 200 OK in 10ms (Views: 7.0ms | ActiveRecord: 0.6ms)
2493
+
2494
+
2495
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:10:10 +0100
2496
+ Processing by Blogy::PostsController#index as JSON
2497
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
2498
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2499
+ Completed 200 OK in 10ms (Views: 7.4ms | ActiveRecord: 0.6ms)
2500
+  (0.2ms) begin transaction
2501
+  (0.1ms) commit transaction
2502
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2503
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2504
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2505
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2506
+  (0.1ms) begin transaction
2507
+  (0.1ms) commit transaction
2508
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2509
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2510
+  (0.1ms) begin transaction
2511
+ SQL (0.8ms) UPDATE "blogy_post_translations" SET "text" = ?, "format" = ?, "updated_at" = ? WHERE "blogy_post_translations"."id" = ? [["text", "## Thats h2 and _bold_"], ["format", "markdown"], ["updated_at", "2015-02-18 20:11:18.925925"], ["id", 1]]
2512
+  (1.3ms) commit transaction
2513
+
2514
+
2515
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:11:21 +0100
2516
+ Processing by Blogy::PostsController#index as JSON
2517
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts"
2518
+ Blogy::Post::Translation Load (1.7ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2519
+ Completed 200 OK in 172ms (Views: 168.3ms | ActiveRecord: 2.2ms)
2520
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2521
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2522
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2523
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2524
+  (0.1ms) begin transaction
2525
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2526
+  (0.1ms) commit transaction
2527
+ Blogy::Post Load (1.0ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2528
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2529
+  (0.2ms) begin transaction
2530
+  (0.1ms) commit transaction
2531
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2532
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2533
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2534
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2535
+  (0.1ms) begin transaction
2536
+  (0.1ms) commit transaction
2537
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2538
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2539
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2540
+ Blogy::Post::Translation Load (0.4ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2541
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2542
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2543
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2544
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2545
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2546
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2547
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2548
+ Blogy::Post::Translation Load (0.4ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2549
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = ? [["blogy_post_id", 1], ["locale", "en"]]
2550
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2551
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' [["blogy_post_id", 1]]
2552
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2553
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2554
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2555
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2556
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2557
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2558
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2559
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2560
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2561
+ Blogy::Post::Translation Load (0.4ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2562
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2563
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2564
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2565
+  (0.2ms) begin transaction
2566
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2567
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2568
+  (0.2ms) commit transaction
2569
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = 'en' LIMIT 1 [["blogy_post_id", 1]]
2570
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2571
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = ? LIMIT 1 [["blogy_post_id", 1], ["locale", "en"]]
2572
+ Blogy::Post::Translation Load (0.4ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2573
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = ? LIMIT 1 [["blogy_post_id", 1], ["locale", "en"]]
2574
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = ? LIMIT 1 [["blogy_post_id", 1], ["locale", "en"]]
2575
+ Blogy::Post::Translation Load (0.4ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = ? ORDER BY "blogy_post_translations"."id" ASC LIMIT 1 [["blogy_post_id", 1], ["locale", "en"]]
2576
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? AND "blogy_post_translations"."locale" = ? ORDER BY "blogy_post_translations"."id" ASC LIMIT 1 [["blogy_post_id", 1], ["locale", "en"]]
2577
+  (0.1ms) begin transaction
2578
+  (0.1ms) commit transaction
2579
+ Blogy::Post Load (0.5ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2580
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2581
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2582
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2583
+  (0.2ms) begin transaction
2584
+ SQL (0.6ms) UPDATE "blogy_post_translations" SET "title" = ?, "updated_at" = ? WHERE "blogy_post_translations"."id" = ? [["title", "new"], ["updated_at", "2015-02-18 20:51:25.785918"], ["id", 1]]
2585
+  (0.7ms) commit transaction
2586
+  (0.1ms) begin transaction
2587
+  (0.1ms) rollback transaction
2588
+  (0.1ms) begin transaction
2589
+  (0.1ms) rollback transaction
2590
+  (0.1ms) begin transaction
2591
+  (0.1ms) commit transaction
2592
+
2593
+
2594
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:55:45 +0100
2595
+ Processing by Blogy::PostsController#index as JSON
2596
+ Blogy::Post Load (0.6ms) SELECT "blogy_posts".* FROM "blogy_posts"
2597
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2598
+ Completed 200 OK in 54ms (Views: 37.0ms | ActiveRecord: 2.1ms)
2599
+
2600
+
2601
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:55:46 +0100
2602
+ Processing by Blogy::PostsController#index as JSON
2603
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
2604
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2605
+ Completed 200 OK in 11ms (Views: 8.4ms | ActiveRecord: 0.5ms)
2606
+
2607
+
2608
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:55:53 +0100
2609
+ Processing by Blogy::PostsController#index as JSON
2610
+ Blogy::Post Load (0.7ms) SELECT "blogy_posts".* FROM "blogy_posts"
2611
+ Blogy::Post::Translation Load (0.5ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2612
+ Completed 200 OK in 15ms (Views: 11.5ms | ActiveRecord: 1.1ms)
2613
+  (0.1ms) begin transaction
2614
+  (0.1ms) rollback transaction
2615
+  (0.1ms) begin transaction
2616
+  (0.2ms) rollback transaction
2617
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
2618
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2619
+  (0.1ms) begin transaction
2620
+ SQL (0.5ms) UPDATE "blogy_post_translations" SET "title" = ?, "text" = ?, "updated_at" = ? WHERE "blogy_post_translations"."id" = ? [["title", "Rails"], ["text", "##Rails _rulezz_"], ["updated_at", "2015-02-18 20:56:29.094354"], ["id", 1]]
2621
+  (1.3ms) commit transaction
2622
+
2623
+
2624
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:56:31 +0100
2625
+ Processing by Blogy::PostsController#index as JSON
2626
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts"
2627
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2628
+ Completed 200 OK in 17ms (Views: 13.6ms | ActiveRecord: 0.6ms)
2629
+  (0.1ms) begin transaction
2630
+  (0.1ms) commit transaction
2631
+
2632
+
2633
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:56:46 +0100
2634
+ Processing by Blogy::PostsController#index as JSON
2635
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
2636
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2637
+ Completed 200 OK in 19ms (Views: 16.5ms | ActiveRecord: 0.5ms)
2638
+
2639
+
2640
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:56:48 +0100
2641
+ Processing by Blogy::PostsController#index as JSON
2642
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
2643
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2644
+ Completed 200 OK in 13ms (Views: 10.5ms | ActiveRecord: 0.5ms)
2645
+
2646
+
2647
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:56:52 +0100
2648
+ Processing by Blogy::PostsController#index as JSON
2649
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
2650
+ Blogy::Post::Translation Load (1.7ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2651
+ Completed 200 OK in 10ms (Views: 6.4ms | ActiveRecord: 2.0ms)
2652
+
2653
+
2654
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:57:12 +0100
2655
+ Processing by Blogy::PostsController#index as JSON
2656
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
2657
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2658
+ Completed 200 OK in 17ms (Views: 14.5ms | ActiveRecord: 0.5ms)
2659
+
2660
+
2661
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:57:14 +0100
2662
+ Processing by Blogy::PostsController#index as JSON
2663
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
2664
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2665
+ Completed 200 OK in 14ms (Views: 9.5ms | ActiveRecord: 0.6ms)
2666
+
2667
+
2668
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 21:57:15 +0100
2669
+ Processing by Blogy::PostsController#index as JSON
2670
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
2671
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2672
+ Completed 200 OK in 13ms (Views: 9.8ms | ActiveRecord: 0.5ms)
2673
+
2674
+
2675
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-18 22:09:42 +0100
2676
+ Processing by Blogy::PostsController#index as JSON
2677
+ Blogy::Post Load (2.5ms) SELECT "blogy_posts".* FROM "blogy_posts"
2678
+ Blogy::Post::Translation Load (1.1ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2679
+ Completed 200 OK in 290ms (Views: 249.2ms | ActiveRecord: 4.9ms)
2680
+
2681
+
2682
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-18 22:09:47 +0100
2683
+ Processing by Blogy::PostsController#show as JSON
2684
+ Parameters: {"id"=>"1"}
2685
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
2686
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2687
+ Completed 200 OK in 24ms (Views: 6.2ms | ActiveRecord: 0.5ms)
2688
+
2689
+
2690
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-18 22:09:49 +0100
2691
+ Processing by Blogy::PostsController#index as JSON
2692
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
2693
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2694
+ Completed 200 OK in 12ms (Views: 9.4ms | ActiveRecord: 0.5ms)
2695
+ Blogy::Post Load (0.5ms) SELECT "blogy_posts".* FROM "blogy_posts" ORDER BY "blogy_posts"."id" ASC LIMIT 1
2696
+ Blogy::Post::Translation Load (1.0ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2697
+  (0.2ms) begin transaction
2698
+ SQL (0.5ms) UPDATE "blogy_post_translations" SET "text" = ?, "updated_at" = ? WHERE "blogy_post_translations"."id" = ? [["text", "## Rails __rulezz__"], ["updated_at", "2015-02-18 21:10:47.611766"], ["id", 1]]
2699
+  (1.2ms) commit transaction
2700
+
2701
+
2702
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-18 22:10:50 +0100
2703
+ Processing by Blogy::PostsController#index as JSON
2704
+ Blogy::Post Load (1.8ms) SELECT "blogy_posts".* FROM "blogy_posts"
2705
+ Blogy::Post::Translation Load (0.5ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2706
+ Completed 200 OK in 12ms (Views: 8.0ms | ActiveRecord: 2.3ms)
2707
+  (0.1ms) begin transaction
2708
+ SQL (0.5ms) UPDATE "blogy_post_translations" SET "text" = ?, "updated_at" = ? WHERE "blogy_post_translations"."id" = ? [["text", "# Building web application from scratch in one post\nJust from the beginning I’d like to mention, that I’m not good in writing articles and my English isn’t perfect either, so feel free to update these articles using this “Github” button bellow. \n\n## Before we start\nWe can’t just sit down and start writing apps, we need found a smart way, how to do handle everything from beginning to end (which is never ending), pick up the right tools, which fits our needs, help us speed up development and don’t let us get crazy. One of the most important things is planning, which is also super boring and annoying, so we’ll skip that for now and we’ll focus on development. After a while, when we know what are we doing, we can go back and start planning properly\n\n## Prepare your desk(top)\nLet’s say it’s awful weather out there, so we just sit behind the computer, prepared cup of coffee opened __SublimeText__ and.. __initialized empty git repository__ (not literally). I don’t think, that I need to mention that and everyone is already using it, who is not, then just open google and you know.. We’re using two services __Github__ and __Gitlab__. For Open Source projects it’s of course Github, because what’s not in there it’s not existing at all, you can use it also for private repositories, but if you are looking for something cheaper and in this case even free for unlimited number of private repositories then is Gitlab the right choice (much better then BitBucket) and you can host it also on your own servers. Really great client for Mac (and I think it’s also for windows) is __SourceTree__. After first commit please click on __Git flow__ button on the right side in SourceTree App and checkout this post, where is very well explained how to work properly with Git and not just committing to the master with “save current changes” message.\n\n## Building our application\nThere is lot of programming languages and frameworks these days, which one to choose? Actually it depends on things you need and what do you prefer. We started with Ruby on Rails and there is no reason to change that. __Ruby__ is very clear, powerful, easy to understand and at the same time complex language with very nice syntax. __Ruby on Rails__ is brilliant framework using this languages with lot of gems, guides, tutorials and strong community following “convence over configuration” patterns, great command line and so on (you can read more about Ruby and Ruby on Rails in my previous topics). In these days is very cool to use front-end frameworks and let Ruby and Rails only for backend. Once again, there is lot of front-end frameworks, the best one (from my point of view) is __Ember.js__, it works very well out of the box with Rails, using ActiveSerializers and following the same patterns as Rails. One of the reasons why I really love it it’s because that I don’t need to explain anything about Ember, just point you to official websites, where are awesome guides, how to start with Ember. Just go throw both guides or checkout interactive course on CodeSchool and then go back to reading these guides. Last thing I want to mention is __Ember-CLI__ which is awesome command line for Ember and Ember plugin for FF. __Don’t try to create new app by yourself, use Ember-CLI__ So go to learn Ruby, Rails and Ember.\n\n## Hello world!\nIt doesn’t really matter, how much code did we wrote. We’ll extend, improve, rewrite, test the code again, again and again. The most important thing is, that we’re familiar with git flow, we’re writing tests and we’re ready to go online (or staging). To be sure, that everything works fine, as we expected, we’ll use CI server (continuos integration) which runs all the test after every commit we make. The most popular CI server is __Travis__, it’s free for OpenSource projects and good know by the community. My favorite CI server is __Magnum-CI__, not just because it’s still free for private projects, but it has very clean interface and it’s very easy to setup the dependencies and deployment with Capistrano, Heroku or just by providing our own deploy script, but I’ll talk about that later.\n\n## Go online!\nHooray, we just finished our “hello world” app, it’s time to make a fortune and go online. That’s the part, where we have been fighting all the time. Picking up the right provider, setting up server, managing them, deploying the code. It’s not easy to set up a server, that’s the reason why is __Heroku__ so popular, so if you’re ok with that, or at least from beginning, just go for it! Checkout again awesome guide they provide and commit to the server. Then setup our CI server to CD - continuous delivery server to trigger deployment and keep your website up-to-date with your current codebase, when all tests pass. When you want to move the deployment on another level, or want to set up everything by yourself as we do. Checkout __Chef__ for deploying and maintaining servers, and it doesn’t matter if you have one VM running on __DigitalOcean__ or real servers in rack. Read this article get more informations on how to deploy Ember and Rails for almost nothing using Heroku, Amazon S3, Cloudflare and Chef. \n\n## We’re up un running\nCongratulations! That’s basically everything we need, good workflow, knowledge about programming languages, code is automatically tested, in production and always up to date. Now it’s time to look on Agile practices, make some planning, when we already know what are we doing and then focus on development and integration lot of 3rd party services for logging, error reporting, analytics and so on.\n"], ["updated_at", "2015-02-18 21:11:26.407872"], ["id", 1]]
2709
+  (0.8ms) commit transaction
2710
+
2711
+
2712
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-18 22:11:28 +0100
2713
+ Processing by Blogy::PostsController#index as JSON
2714
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
2715
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2716
+ Completed 200 OK in 20ms (Views: 17.1ms | ActiveRecord: 0.5ms)
2717
+
2718
+
2719
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-18 22:11:32 +0100
2720
+ Processing by Blogy::PostsController#show as JSON
2721
+ Parameters: {"id"=>"1"}
2722
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
2723
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2724
+ Completed 200 OK in 32ms (Views: 25.9ms | ActiveRecord: 0.4ms)
2725
+
2726
+
2727
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-18 22:12:04 +0100
2728
+ Processing by Blogy::PostsController#index as JSON
2729
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
2730
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2731
+ Completed 200 OK in 25ms (Views: 21.9ms | ActiveRecord: 0.6ms)
2732
+
2733
+
2734
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-18 22:12:06 +0100
2735
+ Processing by Blogy::PostsController#show as JSON
2736
+ Parameters: {"id"=>"1"}
2737
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
2738
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2739
+ Completed 200 OK in 23ms (Views: 18.4ms | ActiveRecord: 0.5ms)
2740
+
2741
+
2742
+ Started GET "/blogy/posts.json" for ::1 at 2015-02-18 22:16:56 +0100
2743
+ Processing by Blogy::PostsController#index as JSON
2744
+ Blogy::Post Load (3.4ms) SELECT "blogy_posts".* FROM "blogy_posts"
2745
+ Blogy::Post::Translation Load (0.4ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2746
+ Completed 200 OK in 382ms (Views: 334.8ms | ActiveRecord: 5.0ms)
2747
+
2748
+
2749
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-18 22:18:15 +0100
2750
+ Processing by Blogy::PostsController#show as JSON
2751
+ Parameters: {"id"=>"1"}
2752
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
2753
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2754
+ Completed 200 OK in 53ms (Views: 40.2ms | ActiveRecord: 0.5ms)
2755
+
2756
+
2757
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-18 22:18:17 +0100
2758
+ Processing by Blogy::PostsController#index as JSON
2759
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
2760
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2761
+ Completed 200 OK in 47ms (Views: 43.6ms | ActiveRecord: 0.4ms)
2762
+
2763
+
2764
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-18 22:18:21 +0100
2765
+ Processing by Blogy::PostsController#show as JSON
2766
+ Parameters: {"id"=>"1"}
2767
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
2768
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2769
+ Completed 200 OK in 44ms (Views: 40.8ms | ActiveRecord: 0.4ms)
2770
+
2771
+
2772
+ Started GET "/blogy/posts/new" for 127.0.0.1 at 2015-02-18 22:18:36 +0100
2773
+ Processing by Blogy::PostsController#new as JSON
2774
+ Completed 500 Internal Server Error in 13ms
2775
+
2776
+ NoMethodError (undefined method `to_sym' for nil:NilClass):
2777
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post/translation.rb:18:in `formated'
2778
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post/translation.rb:14:in `content'
2779
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post.rb:8:in `content'
2780
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:99:in `block in attribute'
2781
+ (eval):11:in `_fast_attributes'
2782
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:467:in `rescue in attributes'
2783
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:455:in `attributes'
2784
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:479:in `_serializable_hash'
2785
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:361:in `serializable_hash'
2786
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:345:in `as_json'
2787
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:34:in `encode'
2788
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:21:in `encode'
2789
+ activesupport (4.2.0) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
2790
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:333:in `to_json'
2791
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
2792
+ active_model_serializers (0.8.3) lib/action_controller/serialization.rb:48:in `block (2 levels) in <module:Serialization>'
2793
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
2794
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/set.rb:263:in `each_key'
2795
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/set.rb:263:in `each'
2796
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
2797
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
2798
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
2799
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
2800
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
2801
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
2802
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
2803
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
2804
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
2805
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
2806
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
2807
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
2808
+ responders (2.1.0) lib/action_controller/responder.rb:258:in `display'
2809
+ responders (2.1.0) lib/action_controller/responder.rb:212:in `api_behavior'
2810
+ responders (2.1.0) lib/action_controller/responder.rb:191:in `rescue in to_format'
2811
+ responders (2.1.0) lib/action_controller/responder.rb:185:in `to_format'
2812
+ responders (2.1.0) lib/action_controller/responder.rb:163:in `respond'
2813
+ responders (2.1.0) lib/action_controller/responder.rb:156:in `call'
2814
+ responders (2.1.0) lib/action_controller/respond_with.rb:203:in `respond_with'
2815
+ /Users/jirikolarik/Documents/werein/blogy/app/controllers/blogy/posts_controller.rb:21:in `new'
2816
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
2817
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
2818
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
2819
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
2820
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
2821
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
2822
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
2823
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
2824
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
2825
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
2826
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
2827
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
2828
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
2829
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
2830
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2831
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
2832
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
2833
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
2834
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
2835
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
2836
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
2837
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
2838
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
2839
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
2840
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
2841
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
2842
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
2843
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
2844
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
2845
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
2846
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
2847
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
2848
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2849
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
2850
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
2851
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
2852
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2853
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
2854
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
2855
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
2856
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
2857
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
2858
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
2859
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
2860
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
2861
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
2862
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
2863
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
2864
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
2865
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
2866
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
2867
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
2868
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
2869
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
2870
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
2871
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
2872
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
2873
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
2874
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
2875
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
2876
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
2877
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
2878
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
2879
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
2880
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
2881
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
2882
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
2883
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
2884
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
2885
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
2886
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
2887
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
2888
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
2889
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
2890
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
2891
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2892
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
2893
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
2894
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
2895
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
2896
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
2897
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
2898
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
2899
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
2900
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
2901
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
2902
+
2903
+
2904
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (20.0ms)
2905
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.0ms)
2906
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (18.6ms)
2907
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (63.1ms)
2908
+
2909
+
2910
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-18 23:17:15 +0100
2911
+ Processing by Blogy::PostsController#index as JSON
2912
+ Blogy::Post Load (0.8ms) SELECT "blogy_posts".* FROM "blogy_posts"
2913
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2914
+ Completed 200 OK in 60ms (Views: 56.1ms | ActiveRecord: 1.0ms)
2915
+
2916
+
2917
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-18 23:17:16 +0100
2918
+ Processing by Blogy::PostsController#show as JSON
2919
+ Parameters: {"id"=>"1"}
2920
+ Blogy::Post Load (0.6ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
2921
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2922
+ Completed 200 OK in 50ms (Views: 41.1ms | ActiveRecord: 0.8ms)
2923
+
2924
+
2925
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-18 23:17:19 +0100
2926
+ Processing by Blogy::PostsController#index as JSON
2927
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
2928
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2929
+ Completed 200 OK in 59ms (Views: 49.2ms | ActiveRecord: 0.5ms)
2930
+
2931
+
2932
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-18 23:17:20 +0100
2933
+ Processing by Blogy::PostsController#show as JSON
2934
+ Parameters: {"id"=>"1"}
2935
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
2936
+ Blogy::Post::Translation Load (0.5ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2937
+ Completed 200 OK in 61ms (Views: 58.0ms | ActiveRecord: 0.6ms)
2938
+
2939
+
2940
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-18 23:17:23 +0100
2941
+ Processing by Blogy::PostsController#index as JSON
2942
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
2943
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2944
+ Completed 200 OK in 44ms (Views: 39.7ms | ActiveRecord: 0.4ms)
2945
+
2946
+
2947
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-18 23:17:33 +0100
2948
+ Processing by Blogy::PostsController#index as JSON
2949
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts"
2950
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2951
+ Completed 200 OK in 50ms (Views: 47.2ms | ActiveRecord: 0.6ms)
2952
+
2953
+
2954
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-18 23:18:57 +0100
2955
+ Processing by Blogy::PostsController#show as JSON
2956
+ Parameters: {"id"=>"1"}
2957
+ Blogy::Post Load (0.7ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
2958
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2959
+ Completed 200 OK in 44ms (Views: 39.7ms | ActiveRecord: 0.9ms)
2960
+
2961
+
2962
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-18 23:23:44 +0100
2963
+ Processing by Blogy::PostsController#show as JSON
2964
+ Parameters: {"id"=>"1"}
2965
+ Blogy::Post Load (12.6ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
2966
+ Blogy::Post::Translation Load (1.1ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2967
+ Completed 200 OK in 635ms (Views: 528.7ms | ActiveRecord: 16.8ms)
2968
+
2969
+
2970
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-18 23:24:20 +0100
2971
+ Processing by Blogy::PostsController#show as JSON
2972
+ Parameters: {"id"=>"1"}
2973
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
2974
+ Blogy::Post::Translation Load (0.5ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
2975
+ Completed 200 OK in 56ms (Views: 51.1ms | ActiveRecord: 0.7ms)
2976
+
2977
+
2978
+ Started GET "/blogy/posts/new" for 127.0.0.1 at 2015-02-18 23:24:20 +0100
2979
+ Processing by Blogy::PostsController#new as JSON
2980
+ Completed 500 Internal Server Error in 13ms
2981
+
2982
+ NoMethodError (undefined method `to_sym' for nil:NilClass):
2983
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post/translation.rb:18:in `formated'
2984
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post/translation.rb:14:in `content'
2985
+ /Users/jirikolarik/Documents/werein/blogy/app/models/blogy/post.rb:8:in `content'
2986
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:99:in `block in attribute'
2987
+ (eval):11:in `_fast_attributes'
2988
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:467:in `rescue in attributes'
2989
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:455:in `attributes'
2990
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:479:in `_serializable_hash'
2991
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:361:in `serializable_hash'
2992
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:345:in `as_json'
2993
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:34:in `encode'
2994
+ activesupport (4.2.0) lib/active_support/json/encoding.rb:21:in `encode'
2995
+ activesupport (4.2.0) lib/active_support/core_ext/object/json.rb:37:in `to_json_with_active_support_encoder'
2996
+ active_model_serializers (0.8.3) lib/active_model/serializer.rb:333:in `to_json'
2997
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:116:in `block in <module:Renderers>'
2998
+ active_model_serializers (0.8.3) lib/action_controller/serialization.rb:48:in `block (2 levels) in <module:Serialization>'
2999
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:45:in `block in _render_to_body_with_renderer'
3000
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/set.rb:263:in `each_key'
3001
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/set.rb:263:in `each'
3002
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:41:in `_render_to_body_with_renderer'
3003
+ actionpack (4.2.0) lib/action_controller/metal/renderers.rb:37:in `render_to_body'
3004
+ actionpack (4.2.0) lib/abstract_controller/rendering.rb:25:in `render'
3005
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:16:in `render'
3006
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block (2 levels) in render'
3007
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `block in ms'
3008
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/benchmark.rb:294:in `realtime'
3009
+ activesupport (4.2.0) lib/active_support/core_ext/benchmark.rb:12:in `ms'
3010
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:41:in `block in render'
3011
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:84:in `cleanup_view_runtime'
3012
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:25:in `cleanup_view_runtime'
3013
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:40:in `render'
3014
+ responders (2.1.0) lib/action_controller/responder.rb:258:in `display'
3015
+ responders (2.1.0) lib/action_controller/responder.rb:212:in `api_behavior'
3016
+ responders (2.1.0) lib/action_controller/responder.rb:191:in `rescue in to_format'
3017
+ responders (2.1.0) lib/action_controller/responder.rb:185:in `to_format'
3018
+ responders (2.1.0) lib/action_controller/responder.rb:163:in `respond'
3019
+ responders (2.1.0) lib/action_controller/responder.rb:156:in `call'
3020
+ responders (2.1.0) lib/action_controller/respond_with.rb:203:in `respond_with'
3021
+ /Users/jirikolarik/Documents/werein/blogy/app/controllers/blogy/posts_controller.rb:21:in `new'
3022
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
3023
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
3024
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
3025
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
3026
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
3027
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
3028
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
3029
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
3030
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
3031
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
3032
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
3033
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
3034
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
3035
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
3036
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
3037
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
3038
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
3039
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
3040
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
3041
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
3042
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
3043
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
3044
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
3045
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
3046
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
3047
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
3048
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
3049
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
3050
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
3051
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
3052
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
3053
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
3054
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
3055
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
3056
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
3057
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
3058
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
3059
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
3060
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
3061
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
3062
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
3063
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
3064
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
3065
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
3066
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
3067
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
3068
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
3069
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
3070
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
3071
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
3072
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
3073
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
3074
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
3075
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
3076
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
3077
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
3078
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
3079
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
3080
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
3081
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
3082
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3083
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
3084
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
3085
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
3086
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3087
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
3088
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
3089
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3090
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
3091
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
3092
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
3093
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3094
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
3095
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
3096
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
3097
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3098
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
3099
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
3100
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
3101
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
3102
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3103
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
3104
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
3105
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
3106
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
3107
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
3108
+
3109
+
3110
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (12.1ms)
3111
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.4ms)
3112
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.text.erb (29.6ms)
3113
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.text.erb (155.9ms)
3114
+
3115
+
3116
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-18 23:24:55 +0100
3117
+ Processing by Blogy::PostsController#show as JSON
3118
+ Parameters: {"id"=>"1"}
3119
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3120
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3121
+ Completed 200 OK in 46ms (Views: 42.6ms | ActiveRecord: 0.5ms)
3122
+
3123
+
3124
+ Started GET "/api/blogy/posts" for 127.0.0.1 at 2015-02-22 14:55:34 +0100
3125
+
3126
+ ActionController::RoutingError (No route matches [GET] "/api/blogy/posts"):
3127
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
3128
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3129
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
3130
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
3131
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3132
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
3133
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
3134
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
3135
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3136
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
3137
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
3138
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
3139
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3140
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
3141
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
3142
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
3143
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
3144
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3145
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
3146
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
3147
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
3148
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
3149
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
3150
+
3151
+
3152
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.9ms)
3153
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (17.8ms)
3154
+
3155
+
3156
+ Started GET "/api/blogy/posts" for 127.0.0.1 at 2015-02-22 14:56:13 +0100
3157
+
3158
+ ActionController::RoutingError (No route matches [GET] "/api/blogy/posts"):
3159
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
3160
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3161
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
3162
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
3163
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3164
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
3165
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
3166
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
3167
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3168
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
3169
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
3170
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
3171
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3172
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
3173
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
3174
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
3175
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
3176
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3177
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
3178
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
3179
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
3180
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
3181
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
3182
+
3183
+
3184
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms)
3185
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (5.5ms)
3186
+
3187
+
3188
+ Started GET "/api/blogy/posts" for 127.0.0.1 at 2015-02-22 14:56:38 +0100
3189
+
3190
+ ActionController::RoutingError (No route matches [GET] "/api/blogy/posts"):
3191
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
3192
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3193
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
3194
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
3195
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3196
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
3197
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
3198
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
3199
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3200
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
3201
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
3202
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
3203
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3204
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
3205
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
3206
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
3207
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
3208
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3209
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
3210
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
3211
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
3212
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
3213
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
3214
+
3215
+
3216
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms)
3217
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (7.4ms)
3218
+
3219
+
3220
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-22 14:57:09 +0100
3221
+ Processing by Blogy::PostsController#index as JSON
3222
+ Blogy::Post Load (150.4ms) SELECT "blogy_posts".* FROM "blogy_posts"
3223
+ Blogy::Post::Translation Load (1.4ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3224
+ Completed 200 OK in 2128ms (Views: 1884.6ms | ActiveRecord: 154.3ms)
3225
+
3226
+
3227
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 14:57:18 +0100
3228
+ Processing by Blogy::PostsController#show as JSON
3229
+ Parameters: {"id"=>"1"}
3230
+ Blogy::Post Load (1.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3231
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3232
+ Completed 200 OK in 52ms (Views: 34.4ms | ActiveRecord: 1.4ms)
3233
+
3234
+
3235
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 14:57:27 +0100
3236
+ Processing by Blogy::PostsController#show as JSON
3237
+ Parameters: {"id"=>"1"}
3238
+ Blogy::Post Load (0.7ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3239
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3240
+ Completed 200 OK in 48ms (Views: 44.0ms | ActiveRecord: 1.0ms)
3241
+
3242
+
3243
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 14:59:15 +0100
3244
+ Processing by Blogy::PostsController#show as JSON
3245
+ Parameters: {"id"=>"1"}
3246
+ Blogy::Post Load (0.4ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3247
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3248
+ Completed 200 OK in 39ms (Views: 35.6ms | ActiveRecord: 0.6ms)
3249
+
3250
+
3251
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 14:59:46 +0100
3252
+ Processing by Blogy::PostsController#show as JSON
3253
+ Parameters: {"id"=>"1"}
3254
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3255
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3256
+ Completed 200 OK in 38ms (Views: 34.9ms | ActiveRecord: 0.4ms)
3257
+
3258
+
3259
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 15:00:06 +0100
3260
+ Processing by Blogy::PostsController#show as JSON
3261
+ Parameters: {"id"=>"1"}
3262
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3263
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3264
+ Completed 200 OK in 80ms (Views: 77.2ms | ActiveRecord: 0.4ms)
3265
+
3266
+
3267
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-22 15:00:12 +0100
3268
+ Processing by Blogy::PostsController#index as JSON
3269
+ Blogy::Post Load (0.6ms) SELECT "blogy_posts".* FROM "blogy_posts"
3270
+ Blogy::Post::Translation Load (1.0ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3271
+ Completed 200 OK in 61ms (Views: 54.7ms | ActiveRecord: 1.7ms)
3272
+
3273
+
3274
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 15:00:13 +0100
3275
+ Processing by Blogy::PostsController#show as JSON
3276
+ Parameters: {"id"=>"1"}
3277
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3278
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3279
+ Completed 200 OK in 70ms (Views: 65.2ms | ActiveRecord: 0.4ms)
3280
+
3281
+
3282
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 15:00:50 +0100
3283
+ Processing by Blogy::PostsController#show as JSON
3284
+ Parameters: {"id"=>"1"}
3285
+ Blogy::Post Load (2.4ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3286
+ Blogy::Post::Translation Load (0.9ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3287
+ Completed 200 OK in 63ms (Views: 50.9ms | ActiveRecord: 3.4ms)
3288
+
3289
+
3290
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 15:01:09 +0100
3291
+ Processing by Blogy::PostsController#show as JSON
3292
+ Parameters: {"id"=>"1"}
3293
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3294
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3295
+ Completed 200 OK in 53ms (Views: 49.7ms | ActiveRecord: 0.4ms)
3296
+
3297
+
3298
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 15:01:43 +0100
3299
+ Processing by Blogy::PostsController#show as JSON
3300
+ Parameters: {"id"=>"1"}
3301
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3302
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3303
+ Completed 200 OK in 37ms (Views: 34.0ms | ActiveRecord: 0.4ms)
3304
+
3305
+
3306
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 15:01:48 +0100
3307
+ Processing by Blogy::PostsController#show as JSON
3308
+ Parameters: {"id"=>"1"}
3309
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3310
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3311
+ Completed 200 OK in 48ms (Views: 45.2ms | ActiveRecord: 0.4ms)
3312
+
3313
+
3314
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-22 15:02:10 +0100
3315
+ Processing by Blogy::PostsController#index as JSON
3316
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
3317
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3318
+ Completed 200 OK in 43ms (Views: 39.5ms | ActiveRecord: 0.5ms)
3319
+
3320
+
3321
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 15:02:11 +0100
3322
+ Processing by Blogy::PostsController#show as JSON
3323
+ Parameters: {"id"=>"1"}
3324
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3325
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3326
+ Completed 200 OK in 68ms (Views: 61.4ms | ActiveRecord: 0.4ms)
3327
+
3328
+
3329
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 15:03:02 +0100
3330
+ Processing by Blogy::PostsController#show as JSON
3331
+ Parameters: {"id"=>"1"}
3332
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3333
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3334
+ Completed 200 OK in 53ms (Views: 50.4ms | ActiveRecord: 0.4ms)
3335
+
3336
+
3337
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-22 15:03:36 +0100
3338
+ Processing by Blogy::PostsController#index as JSON
3339
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
3340
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3341
+ Completed 200 OK in 69ms (Views: 67.2ms | ActiveRecord: 0.4ms)
3342
+
3343
+
3344
+ Started GET "/blogy/posts/1" for 127.0.0.1 at 2015-02-22 15:03:38 +0100
3345
+ Processing by Blogy::PostsController#show as JSON
3346
+ Parameters: {"id"=>"1"}
3347
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts" WHERE "blogy_posts"."id" = ? LIMIT 1 [["id", 1]]
3348
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3349
+ Completed 200 OK in 65ms (Views: 62.6ms | ActiveRecord: 0.4ms)
3350
+
3351
+
3352
+ Started GET "/api/locales" for 127.0.0.1 at 2015-02-23 20:16:19 +0100
3353
+
3354
+ ActionController::RoutingError (No route matches [GET] "/api/locales"):
3355
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
3356
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3357
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
3358
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
3359
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3360
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
3361
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
3362
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
3363
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3364
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
3365
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
3366
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
3367
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3368
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
3369
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
3370
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
3371
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
3372
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3373
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
3374
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
3375
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
3376
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
3377
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
3378
+
3379
+
3380
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (0.8ms)
3381
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (43.5ms)
3382
+
3383
+
3384
+ Started GET "/api/locales" for 127.0.0.1 at 2015-02-23 20:16:31 +0100
3385
+
3386
+ ActionController::RoutingError (No route matches [GET] "/api/locales"):
3387
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
3388
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3389
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
3390
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
3391
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3392
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
3393
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
3394
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
3395
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3396
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
3397
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
3398
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
3399
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3400
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
3401
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
3402
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
3403
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
3404
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3405
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
3406
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
3407
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
3408
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
3409
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
3410
+
3411
+
3412
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (2.1ms)
3413
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (36.4ms)
3414
+
3415
+
3416
+ Started GET "/api/blogy/posts" for 127.0.0.1 at 2015-02-23 20:17:11 +0100
3417
+
3418
+ ActionController::RoutingError (No route matches [GET] "/api/blogy/posts"):
3419
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
3420
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3421
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
3422
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
3423
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3424
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
3425
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
3426
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
3427
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3428
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
3429
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
3430
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
3431
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3432
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
3433
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
3434
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
3435
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
3436
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3437
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
3438
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
3439
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
3440
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
3441
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
3442
+
3443
+
3444
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.text.erb (1.0ms)
3445
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/routing_error.text.erb (7.0ms)
3446
+
3447
+
3448
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-23 20:17:31 +0100
3449
+ Processing by Blogy::PostsController#index as JSON
3450
+ Blogy::Post Load (10.7ms) SELECT "blogy_posts".* FROM "blogy_posts"
3451
+ Blogy::Post::Translation Load (1.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3452
+ Completed 200 OK in 494ms (Views: 444.8ms | ActiveRecord: 13.2ms)
3453
+
3454
+
3455
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-23 20:17:37 +0100
3456
+ Processing by Blogy::PostsController#index as JSON
3457
+ Blogy::Post Load (0.3ms) SELECT "blogy_posts".* FROM "blogy_posts"
3458
+ Blogy::Post::Translation Load (0.8ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3459
+ Completed 200 OK in 66ms (Views: 60.7ms | ActiveRecord: 1.0ms)
3460
+
3461
+
3462
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-23 20:17:41 +0100
3463
+ Processing by Blogy::PostsController#index as JSON
3464
+ Blogy::Post Load (1.4ms) SELECT "blogy_posts".* FROM "blogy_posts"
3465
+ Blogy::Post::Translation Load (2.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3466
+ Completed 200 OK in 94ms (Views: 87.9ms | ActiveRecord: 3.6ms)
3467
+
3468
+
3469
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-23 20:17:52 +0100
3470
+ Processing by Blogy::PostsController#index as JSON
3471
+ Blogy::Post Load (0.6ms) SELECT "blogy_posts".* FROM "blogy_posts"
3472
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3473
+ Completed 200 OK in 48ms (Views: 45.6ms | ActiveRecord: 0.8ms)
3474
+
3475
+
3476
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-23 20:17:56 +0100
3477
+ Processing by Blogy::PostsController#index as JSON
3478
+ Blogy::Post Load (0.2ms) SELECT "blogy_posts".* FROM "blogy_posts"
3479
+ Blogy::Post::Translation Load (0.3ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3480
+ Completed 200 OK in 157ms (Views: 150.8ms | ActiveRecord: 0.5ms)
3481
+
3482
+
3483
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-23 20:18:06 +0100
3484
+ Processing by Blogy::PostsController#index as JSON
3485
+ Blogy::Post Load (0.5ms) SELECT "blogy_posts".* FROM "blogy_posts"
3486
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3487
+ Completed 200 OK in 47ms (Views: 43.9ms | ActiveRecord: 0.8ms)
3488
+
3489
+
3490
+ Started GET "/blogy/posts" for 127.0.0.1 at 2015-02-23 20:18:23 +0100
3491
+ Processing by Blogy::PostsController#index as JSON
3492
+ Blogy::Post Load (0.7ms) SELECT "blogy_posts".* FROM "blogy_posts"
3493
+ Blogy::Post::Translation Load (0.2ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3494
+ Completed 200 OK in 83ms (Views: 79.0ms | ActiveRecord: 0.9ms)
3495
+
3496
+
3497
+ Started GET "/blogy/posts" for ::1 at 2015-03-28 15:46:09 +0100
3498
+ Processing by Blogy::PostsController#index as HTML
3499
+ Completed 406 Not Acceptable in 57ms
3500
+
3501
+ ActionController::UnknownFormat (ActionController::UnknownFormat):
3502
+ responders (2.1.0) lib/action_controller/respond_with.rb:205:in `respond_with'
3503
+ /Users/jirikolarik/Documents/werein/blogy/app/controllers/blogy/posts_controller.rb:10:in `index'
3504
+ actionpack (4.2.0) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
3505
+ actionpack (4.2.0) lib/abstract_controller/base.rb:198:in `process_action'
3506
+ actionpack (4.2.0) lib/action_controller/metal/rendering.rb:10:in `process_action'
3507
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:20:in `block in process_action'
3508
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
3509
+ activesupport (4.2.0) lib/active_support/callbacks.rb:117:in `call'
3510
+ activesupport (4.2.0) lib/active_support/callbacks.rb:151:in `block in halting_and_conditional'
3511
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `call'
3512
+ activesupport (4.2.0) lib/active_support/callbacks.rb:234:in `block in halting'
3513
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `call'
3514
+ activesupport (4.2.0) lib/active_support/callbacks.rb:169:in `block in halting'
3515
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `call'
3516
+ activesupport (4.2.0) lib/active_support/callbacks.rb:92:in `_run_callbacks'
3517
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_process_action_callbacks'
3518
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
3519
+ actionpack (4.2.0) lib/abstract_controller/callbacks.rb:19:in `process_action'
3520
+ actionpack (4.2.0) lib/action_controller/metal/rescue.rb:29:in `process_action'
3521
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
3522
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `block in instrument'
3523
+ activesupport (4.2.0) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
3524
+ activesupport (4.2.0) lib/active_support/notifications.rb:164:in `instrument'
3525
+ actionpack (4.2.0) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
3526
+ actionpack (4.2.0) lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
3527
+ activerecord (4.2.0) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
3528
+ actionpack (4.2.0) lib/abstract_controller/base.rb:137:in `process'
3529
+ actionview (4.2.0) lib/action_view/rendering.rb:30:in `process'
3530
+ actionpack (4.2.0) lib/action_controller/metal.rb:195:in `dispatch'
3531
+ actionpack (4.2.0) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
3532
+ actionpack (4.2.0) lib/action_controller/metal.rb:236:in `block in action'
3533
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `call'
3534
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
3535
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:42:in `serve'
3536
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
3537
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
3538
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
3539
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
3540
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
3541
+ railties (4.2.0) lib/rails/railtie.rb:194:in `public_send'
3542
+ railties (4.2.0) lib/rails/railtie.rb:194:in `method_missing'
3543
+ actionpack (4.2.0) lib/action_dispatch/routing/mapper.rb:51:in `serve'
3544
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:43:in `block in serve'
3545
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `each'
3546
+ actionpack (4.2.0) lib/action_dispatch/journey/router.rb:30:in `serve'
3547
+ actionpack (4.2.0) lib/action_dispatch/routing/route_set.rb:802:in `call'
3548
+ rack (1.6.0) lib/rack/etag.rb:24:in `call'
3549
+ rack (1.6.0) lib/rack/conditionalget.rb:25:in `call'
3550
+ rack (1.6.0) lib/rack/head.rb:13:in `call'
3551
+ actionpack (4.2.0) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
3552
+ actionpack (4.2.0) lib/action_dispatch/middleware/flash.rb:260:in `call'
3553
+ rack (1.6.0) lib/rack/session/abstract/id.rb:225:in `context'
3554
+ rack (1.6.0) lib/rack/session/abstract/id.rb:220:in `call'
3555
+ actionpack (4.2.0) lib/action_dispatch/middleware/cookies.rb:560:in `call'
3556
+ activerecord (4.2.0) lib/active_record/query_cache.rb:36:in `call'
3557
+ activerecord (4.2.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:647:in `call'
3558
+ activerecord (4.2.0) lib/active_record/migration.rb:378:in `call'
3559
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
3560
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `call'
3561
+ activesupport (4.2.0) lib/active_support/callbacks.rb:88:in `_run_callbacks'
3562
+ activesupport (4.2.0) lib/active_support/callbacks.rb:734:in `_run_call_callbacks'
3563
+ activesupport (4.2.0) lib/active_support/callbacks.rb:81:in `run_callbacks'
3564
+ actionpack (4.2.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
3565
+ actionpack (4.2.0) lib/action_dispatch/middleware/reloader.rb:73:in `call'
3566
+ actionpack (4.2.0) lib/action_dispatch/middleware/remote_ip.rb:78:in `call'
3567
+ actionpack (4.2.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
3568
+ actionpack (4.2.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
3569
+ railties (4.2.0) lib/rails/rack/logger.rb:38:in `call_app'
3570
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `block in call'
3571
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `block in tagged'
3572
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:26:in `tagged'
3573
+ activesupport (4.2.0) lib/active_support/tagged_logging.rb:68:in `tagged'
3574
+ railties (4.2.0) lib/rails/rack/logger.rb:20:in `call'
3575
+ actionpack (4.2.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
3576
+ rack (1.6.0) lib/rack/methodoverride.rb:22:in `call'
3577
+ rack (1.6.0) lib/rack/runtime.rb:18:in `call'
3578
+ activesupport (4.2.0) lib/active_support/cache/strategy/local_cache_middleware.rb:28:in `call'
3579
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3580
+ actionpack (4.2.0) lib/action_dispatch/middleware/static.rb:113:in `call'
3581
+ rack (1.6.0) lib/rack/sendfile.rb:113:in `call'
3582
+ railties (4.2.0) lib/rails/engine.rb:518:in `call'
3583
+ railties (4.2.0) lib/rails/application.rb:164:in `call'
3584
+ rack (1.6.0) lib/rack/lock.rb:17:in `call'
3585
+ rack (1.6.0) lib/rack/content_length.rb:15:in `call'
3586
+ rack (1.6.0) lib/rack/handler/webrick.rb:89:in `service'
3587
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
3588
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
3589
+ /Users/jirikolarik/.rvm/rubies/ruby-2.1.4/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
3590
+
3591
+
3592
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (42.2ms)
3593
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (340.6ms)
3594
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (45.3ms)
3595
+ Rendered /Users/jirikolarik/.rvm/gems/ruby-2.1.4/gems/actionpack-4.2.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.html.erb within rescues/layout (664.0ms)
3596
+
3597
+
3598
+ Started GET "/blogy/posts.json" for ::1 at 2015-03-28 15:46:22 +0100
3599
+ Processing by Blogy::PostsController#index as JSON
3600
+ Blogy::Post Load (3.3ms) SELECT "blogy_posts".* FROM "blogy_posts" INNER JOIN "blogy_post_translations" ON "blogy_post_translations"."blogy_post_id" = "blogy_posts"."id"
3601
+ Blogy::Post::Translation Load (5.1ms) SELECT "blogy_post_translations".* FROM "blogy_post_translations" WHERE "blogy_post_translations"."blogy_post_id" = ? [["blogy_post_id", 1]]
3602
+ Completed 200 OK in 950ms (Views: 901.4ms | ActiveRecord: 31.2ms)