static_blocks 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -7,7 +7,7 @@ module StaticBlocks
7
7
  source_root File.expand_path("../../templates", __FILE__)
8
8
 
9
9
  def copy_static_blocks_config
10
- copy_file "static_blocks_config_template.rb", "config/initializers/static_block.rb"
10
+ copy_file "static_blocks_config_template.rb", "config/initializers/static_blocks.rb"
11
11
  end
12
12
 
13
13
  def copy_migrations
@@ -1,3 +1,3 @@
1
1
  module StaticBlocks
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
@@ -3,4 +3,5 @@ StaticBlocks.config do |config|
3
3
  config.http_auth = false
4
4
  config.username = ENV['STATIC_BLOCKS_USERNAME']
5
5
  config.password = ENV['STATIC_BLOCKS_PASSWORD']
6
+ config.wysihtml5 = true
6
7
  end
@@ -157566,3 +157566,5 @@ Served asset /bootstrap-wysihtml5/index.js - 304 Not Modified (0ms)
157566
157566
 
157567
157567
  Started GET "/assets/static_blocks/application.js?body=1" for 127.0.0.1 at 2013-06-27 18:10:15 -0700
157568
157568
  Served asset /static_blocks/application.js - 304 Not Modified (0ms)
157569
+ Connecting to database specified by database.yml
157570
+ Connecting to database specified by database.yml
@@ -28149,3 +28149,623 @@ Completed 200 OK in 16ms (Views: 14.9ms | ActiveRecord: 0.4ms)
28149
28149
  StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28150
28150
   (0.0ms) RELEASE SAVEPOINT active_record_1
28151
28151
   (0.1ms) rollback transaction
28152
+ Connecting to database specified by database.yml
28153
+  (0.4ms) begin transaction
28154
+  (0.0ms) SAVEPOINT active_record_1
28155
+ StaticBlocks::Snippet Exists (1.7ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28156
+ SQL (2.7ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28157
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28158
+ SQL (0.3ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28159
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28160
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28161
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."status" = 'published' AND "static_blocks_snippets"."title" = 'foo' LIMIT 1
28162
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28163
+  (0.1ms) rollback transaction
28164
+  (0.0ms) begin transaction
28165
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28166
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28167
+ Processing by StaticBlocks::SnippetsController#index as HTML
28168
+ Parameters: {"locale"=>"en"}
28169
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets" 
28170
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28171
+ Completed 200 OK in 93ms (Views: 91.0ms | ActiveRecord: 0.3ms)
28172
+ Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28173
+ Processing by StaticBlocks::SnippetsController#new as HTML
28174
+ Parameters: {"locale"=>"en"}
28175
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.7ms)
28176
+ Completed 200 OK in 7ms (Views: 6.3ms | ActiveRecord: 0.0ms)
28177
+ Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28178
+ Processing by StaticBlocks::SnippetsController#create as HTML
28179
+ Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
28180
+  (0.1ms) SAVEPOINT active_record_1
28181
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28182
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28183
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28184
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28185
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28187
+ Redirected to http://www.example.com/static_blocks/en/snippets/1
28188
+ Completed 302 Found in 8ms (ActiveRecord: 0.9ms)
28189
+ Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28190
+ Processing by StaticBlocks::SnippetsController#show as HTML
28191
+ Parameters: {"locale"=>"en", "id"=>"1"}
28192
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28193
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28194
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms)
28195
+ Started GET "/static_blocks/en/snippets/export.csv" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28196
+ Processing by StaticBlocks::SnippetsController#export as CSV
28197
+ Parameters: {"locale"=>"en"}
28198
+  (0.1ms) select * from static_blocks_snippets
28199
+ Sent data static-blocks-20130627212008.csv (26.2ms)
28200
+ Completed 200 OK in 27ms (Views: 26.2ms | ActiveRecord: 0.1ms)
28201
+  (0.2ms) rollback transaction
28202
+  (0.0ms) begin transaction
28203
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28204
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28205
+ Processing by StaticBlocks::SnippetsController#index as HTML
28206
+ Parameters: {"locale"=>"en"}
28207
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets" 
28208
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28209
+ Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.2ms)
28210
+ Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28211
+ Processing by StaticBlocks::SnippetsController#new as HTML
28212
+ Parameters: {"locale"=>"en"}
28213
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (1.9ms)
28214
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
28215
+ Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28216
+ Processing by StaticBlocks::SnippetsController#create as HTML
28217
+ Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
28218
+  (0.1ms) SAVEPOINT active_record_1
28219
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28220
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28221
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28222
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28223
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28224
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28225
+ Redirected to http://www.example.com/static_blocks/en/snippets/1
28226
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
28227
+ Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28228
+ Processing by StaticBlocks::SnippetsController#show as HTML
28229
+ Parameters: {"locale"=>"en", "id"=>"1"}
28230
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28231
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28232
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
28233
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28234
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28235
+ Processing by StaticBlocks::SnippetsController#index as HTML
28236
+ Parameters: {"locale"=>"en"}
28237
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28238
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28239
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28240
+ Completed 200 OK in 14ms (Views: 13.3ms | ActiveRecord: 0.3ms)
28241
+ Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28242
+ Processing by StaticBlocks::SnippetsController#index as HTML
28243
+ Parameters: {"locale"=>"wk"}
28244
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets" 
28245
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28246
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28247
+ Completed 200 OK in 46ms (Views: 44.6ms | ActiveRecord: 0.3ms)
28248
+ Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28249
+ Processing by StaticBlocks::SnippetsController#edit as HTML
28250
+ Parameters: {"locale"=>"wk", "id"=>"1"}
28251
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28252
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28253
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.7ms)
28254
+ Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.2ms)
28255
+ Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28256
+ Processing by StaticBlocks::SnippetsController#update as HTML
28257
+ Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
28258
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28259
+  (0.0ms) SAVEPOINT active_record_1
28260
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28261
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
28262
+  (0.2ms) UPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-06-28 04:20:08.498179' WHERE "static_blocks_snippets"."id" = 1
28263
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28264
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1
28265
+  (0.1ms) UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-06-28 04:20:08.502756' WHERE "static_blocks_snippet_translations"."id" = 2
28266
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28267
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
28268
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28269
+ Redirected to http://www.example.com/static_blocks/wk/snippets/1
28270
+ Completed 302 Found in 12ms (ActiveRecord: 1.0ms)
28271
+ Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28272
+ Processing by StaticBlocks::SnippetsController#show as HTML
28273
+ Parameters: {"locale"=>"wk", "id"=>"1"}
28274
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28275
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28276
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.2ms)
28277
+ Started GET "/static_blocks/wk/snippets/export.csv" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28278
+ Processing by StaticBlocks::SnippetsController#export as CSV
28279
+ Parameters: {"locale"=>"wk"}
28280
+  (0.1ms) select * from static_blocks_snippets
28281
+ Sent data static-blocks-20130627212008.csv (0.3ms)
28282
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
28283
+  (0.2ms) rollback transaction
28284
+  (0.0ms) begin transaction
28285
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28286
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28287
+ Processing by StaticBlocks::SnippetsController#index as HTML
28288
+ Parameters: {"locale"=>"en"}
28289
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28290
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28291
+ Completed 200 OK in 12ms (Views: 11.4ms | ActiveRecord: 0.2ms)
28292
+ Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28293
+ Processing by StaticBlocks::SnippetsController#new as HTML
28294
+ Parameters: {"locale"=>"en"}
28295
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.0ms)
28296
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
28297
+ Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28298
+ Processing by StaticBlocks::SnippetsController#create as HTML
28299
+ Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
28300
+  (0.1ms) SAVEPOINT active_record_1
28301
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28302
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28303
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28304
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28305
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28307
+ Redirected to http://www.example.com/static_blocks/en/snippets/1
28308
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
28309
+ Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28310
+ Processing by StaticBlocks::SnippetsController#show as HTML
28311
+ Parameters: {"locale"=>"en", "id"=>"1"}
28312
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28313
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28314
+ Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.2ms)
28315
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28316
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28317
+ Processing by StaticBlocks::SnippetsController#index as HTML
28318
+ Parameters: {"locale"=>"en"}
28319
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets" 
28320
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28321
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28322
+ Completed 200 OK in 45ms (Views: 43.7ms | ActiveRecord: 0.3ms)
28323
+ Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28324
+ Processing by StaticBlocks::SnippetsController#index as HTML
28325
+ Parameters: {"locale"=>"wk"}
28326
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28327
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28328
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28329
+ Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.3ms)
28330
+ Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28331
+ Processing by StaticBlocks::SnippetsController#edit as HTML
28332
+ Parameters: {"locale"=>"wk", "id"=>"1"}
28333
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28334
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28335
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.1ms)
28336
+ Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
28337
+ Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28338
+ Processing by StaticBlocks::SnippetsController#update as HTML
28339
+ Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
28340
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28341
+  (0.0ms) SAVEPOINT active_record_1
28342
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28343
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
28344
+  (0.2ms) UPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-06-28 04:20:08.646620' WHERE "static_blocks_snippets"."id" = 1
28345
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28346
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1
28347
+  (0.1ms) UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-06-28 04:20:08.650208' WHERE "static_blocks_snippet_translations"."id" = 2
28348
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28349
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
28350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28351
+ Redirected to http://www.example.com/static_blocks/wk/snippets/1
28352
+ Completed 302 Found in 9ms (ActiveRecord: 0.9ms)
28353
+ Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28354
+ Processing by StaticBlocks::SnippetsController#show as HTML
28355
+ Parameters: {"locale"=>"wk", "id"=>"1"}
28356
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28357
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28358
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
28359
+ Started GET "/static_blocks/wk/snippets/export_translations.csv" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28360
+ Processing by StaticBlocks::SnippetsController#export_translations as CSV
28361
+ Parameters: {"locale"=>"wk"}
28362
+  (0.1ms) select * from static_blocks_snippet_translations
28363
+ Sent data static-blocks-translations-20130627212008.csv (0.3ms)
28364
+ Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.1ms)
28365
+  (0.2ms) rollback transaction
28366
+  (0.0ms) begin transaction
28367
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28368
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28369
+ Processing by StaticBlocks::SnippetsController#index as HTML
28370
+ Parameters: {"locale"=>"en"}
28371
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets" 
28372
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28373
+ Completed 200 OK in 13ms (Views: 11.6ms | ActiveRecord: 0.3ms)
28374
+ Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28375
+ Processing by StaticBlocks::SnippetsController#new as HTML
28376
+ Parameters: {"locale"=>"en"}
28377
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.0ms)
28378
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
28379
+ Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28380
+ Processing by StaticBlocks::SnippetsController#create as HTML
28381
+ Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
28382
+  (0.1ms) SAVEPOINT active_record_1
28383
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28384
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28385
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28386
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28387
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28388
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28389
+ Redirected to http://www.example.com/static_blocks/en/snippets/1
28390
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
28391
+ Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28392
+ Processing by StaticBlocks::SnippetsController#show as HTML
28393
+ Parameters: {"locale"=>"en", "id"=>"1"}
28394
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28395
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28396
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
28397
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28398
+ Processing by StaticBlocks::SnippetsController#index as HTML
28399
+ Parameters: {"locale"=>"en"}
28400
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28401
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28402
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28403
+ Completed 200 OK in 44ms (Views: 43.1ms | ActiveRecord: 0.3ms)
28404
+ Started GET "/static_blocks/en/snippets?utf8=%E2%9C%93&q[title_cont]=&q[translations_content_cont]=english+bar&q[status_cont]=&commit=Search" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28405
+ Processing by StaticBlocks::SnippetsController#index as HTML
28406
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"", "translations_content_cont"=>"english bar", "status_cont"=>""}, "commit"=>"Search", "locale"=>"en"}
28407
+  (0.1ms) SELECT COUNT(DISTINCT "static_blocks_snippets"."id") FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE ("static_blocks_snippet_translations"."content" LIKE '%english bar%')
28408
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE ("static_blocks_snippet_translations"."content" LIKE '%english bar%') ORDER BY title asc LIMIT 10 OFFSET 0
28409
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28410
+ Completed 200 OK in 20ms (Views: 15.5ms | ActiveRecord: 0.4ms)
28411
+  (0.2ms) rollback transaction
28412
+  (0.0ms) begin transaction
28413
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28414
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28415
+ Processing by StaticBlocks::SnippetsController#index as HTML
28416
+ Parameters: {"locale"=>"en"}
28417
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28418
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28419
+ Completed 200 OK in 13ms (Views: 12.1ms | ActiveRecord: 0.2ms)
28420
+ Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28421
+ Processing by StaticBlocks::SnippetsController#new as HTML
28422
+ Parameters: {"locale"=>"en"}
28423
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.0ms)
28424
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
28425
+ Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28426
+ Processing by StaticBlocks::SnippetsController#create as HTML
28427
+ Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"english bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
28428
+  (0.1ms) SAVEPOINT active_record_1
28429
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28430
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28431
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28432
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28433
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28434
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28435
+ Redirected to http://www.example.com/static_blocks/en/snippets/1
28436
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
28437
+ Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28438
+ Processing by StaticBlocks::SnippetsController#show as HTML
28439
+ Parameters: {"locale"=>"en", "id"=>"1"}
28440
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28441
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28442
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
28443
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28444
+ Processing by StaticBlocks::SnippetsController#index as HTML
28445
+ Parameters: {"locale"=>"en"}
28446
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets" 
28447
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28448
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28449
+ Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.3ms)
28450
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28451
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28452
+ Processing by StaticBlocks::SnippetsController#index as HTML
28453
+ Parameters: {"locale"=>"en"}
28454
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28455
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28456
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28457
+ Completed 200 OK in 14ms (Views: 13.1ms | ActiveRecord: 0.3ms)
28458
+ Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28459
+ Processing by StaticBlocks::SnippetsController#index as HTML
28460
+ Parameters: {"locale"=>"wk"}
28461
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets" 
28462
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28463
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28464
+ Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.3ms)
28465
+ Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28466
+ Processing by StaticBlocks::SnippetsController#edit as HTML
28467
+ Parameters: {"locale"=>"wk", "id"=>"1"}
28468
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28469
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28470
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.1ms)
28471
+ Completed 200 OK in 7ms (Views: 5.9ms | ActiveRecord: 0.2ms)
28472
+ Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28473
+ Processing by StaticBlocks::SnippetsController#update as HTML
28474
+ Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
28475
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28476
+  (0.0ms) SAVEPOINT active_record_1
28477
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28478
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
28479
+  (0.2ms) UPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "updated_at" = '2013-06-28 04:20:08.963135' WHERE "static_blocks_snippets"."id" = 1
28480
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:08 UTC +00:00]]
28481
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1
28482
+  (0.1ms) UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-06-28 04:20:08.966814' WHERE "static_blocks_snippet_translations"."id" = 2
28483
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28484
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
28485
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28486
+ Redirected to http://www.example.com/static_blocks/wk/snippets/1
28487
+ Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
28488
+ Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28489
+ Processing by StaticBlocks::SnippetsController#show as HTML
28490
+ Parameters: {"locale"=>"wk", "id"=>"1"}
28491
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28492
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28493
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
28494
+ Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28495
+ Processing by StaticBlocks::SnippetsController#index as HTML
28496
+ Parameters: {"locale"=>"wk"}
28497
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets" 
28498
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28499
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28500
+ Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.3ms)
28501
+ Started GET "/static_blocks/wk/snippets?utf8=%E2%9C%93&q[title_cont]=foo&q[translations_content_cont]=wookie+bar&q[status_cont]=published&commit=Search" for 127.0.0.1 at 2013-06-27 21:20:08 -0700
28502
+ Processing by StaticBlocks::SnippetsController#index as HTML
28503
+ Parameters: {"utf8"=>"✓", "q"=>{"title_cont"=>"foo", "translations_content_cont"=>"wookie bar", "status_cont"=>"published"}, "commit"=>"Search", "locale"=>"wk"}
28504
+  (0.2ms) SELECT COUNT(DISTINCT "static_blocks_snippets"."id") FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE (("static_blocks_snippets"."title" LIKE '%foo%' AND "static_blocks_snippet_translations"."content" LIKE '%wookie bar%' AND "static_blocks_snippets"."status" LIKE '%published%'))
28505
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" LEFT OUTER JOIN "static_blocks_snippet_translations" ON "static_blocks_snippet_translations"."static_blocks_snippet_id" = "static_blocks_snippets"."id" WHERE (("static_blocks_snippets"."title" LIKE '%foo%' AND "static_blocks_snippet_translations"."content" LIKE '%wookie bar%' AND "static_blocks_snippets"."status" LIKE '%published%')) ORDER BY title asc LIMIT 10 OFFSET 0
28506
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28507
+ Completed 200 OK in 19ms (Views: 14.7ms | ActiveRecord: 0.4ms)
28508
+  (0.2ms) rollback transaction
28509
+  (0.0ms) begin transaction
28510
+  (0.0ms) SAVEPOINT active_record_1
28511
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28512
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28513
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1
28514
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28515
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28517
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28518
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28519
+ Processing by StaticBlocks::SnippetsController#index as HTML
28520
+ Parameters: {"locale"=>"en"}
28521
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28522
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28523
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28524
+ Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.3ms)
28525
+  (0.2ms) rollback transaction
28526
+  (0.0ms) begin transaction
28527
+  (0.0ms) SAVEPOINT active_record_1
28528
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28529
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28530
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28531
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28532
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28533
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28534
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28535
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28536
+ Processing by StaticBlocks::SnippetsController#index as HTML
28537
+ Parameters: {"locale"=>"en"}
28538
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28539
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28540
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28541
+ Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.3ms)
28542
+ Started GET "/static_blocks/en/snippets/new" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28543
+ Processing by StaticBlocks::SnippetsController#new as HTML
28544
+ Parameters: {"locale"=>"en"}
28545
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (2.1ms)
28546
+ Completed 200 OK in 5ms (Views: 4.9ms | ActiveRecord: 0.0ms)
28547
+ Started POST "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28548
+ Processing by StaticBlocks::SnippetsController#create as HTML
28549
+ Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"baz", "content"=>"qux", "status"=>"published"}, "commit"=>"Submit", "locale"=>"en"}
28550
+  (0.1ms) SAVEPOINT active_record_1
28551
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'baz' LIMIT 1
28552
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["status", "published"], ["title", "baz"], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28553
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 2 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28554
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "qux"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 2], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28555
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
28556
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28557
+ Redirected to http://www.example.com/static_blocks/en/snippets/2
28558
+ Completed 302 Found in 7ms (ActiveRecord: 0.8ms)
28559
+ Started GET "/static_blocks/en/snippets/2" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28560
+ Processing by StaticBlocks::SnippetsController#show as HTML
28561
+ Parameters: {"locale"=>"en", "id"=>"2"}
28562
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "2"]]
28563
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 2
28564
+ Completed 200 OK in 5ms (Views: 3.9ms | ActiveRecord: 0.2ms)
28565
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28566
+  (0.1ms) rollback transaction
28567
+  (0.0ms) begin transaction
28568
+  (0.0ms) SAVEPOINT active_record_1
28569
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28570
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28571
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28572
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28573
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28575
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28576
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28577
+ Processing by StaticBlocks::SnippetsController#index as HTML
28578
+ Parameters: {"locale"=>"en"}
28579
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28580
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28581
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28582
+ Completed 200 OK in 15ms (Views: 13.5ms | ActiveRecord: 0.3ms)
28583
+  (0.2ms) rollback transaction
28584
+  (0.0ms) begin transaction
28585
+  (0.0ms) SAVEPOINT active_record_1
28586
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28587
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28588
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28589
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28590
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28591
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28592
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28593
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28594
+ Processing by StaticBlocks::SnippetsController#index as HTML
28595
+ Parameters: {"locale"=>"en"}
28596
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28597
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28598
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28599
+ Completed 200 OK in 15ms (Views: 13.7ms | ActiveRecord: 0.3ms)
28600
+ Started GET "/static_blocks/en/snippets/1/edit" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28601
+ Processing by StaticBlocks::SnippetsController#edit as HTML
28602
+ Parameters: {"locale"=>"en", "id"=>"1"}
28603
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28604
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28605
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.4ms)
28606
+ Completed 200 OK in 8ms (Views: 7.1ms | ActiveRecord: 0.2ms)
28607
+ Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28608
+ Processing by StaticBlocks::SnippetsController#edit as HTML
28609
+ Parameters: {"locale"=>"wk", "id"=>"1"}
28610
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28611
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28612
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.2ms)
28613
+ Completed 200 OK in 7ms (Views: 5.7ms | ActiveRecord: 0.2ms)
28614
+ Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28615
+ Processing by StaticBlocks::SnippetsController#update as HTML
28616
+ Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"argh", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
28617
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28618
+  (0.0ms) SAVEPOINT active_record_1
28619
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28620
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
28621
+  (0.2ms) UPDATE "static_blocks_snippets" SET "content" = 'argh', "status" = 'published', "updated_at" = '2013-06-28 04:20:09.360832' WHERE "static_blocks_snippets"."id" = 1
28622
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28623
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1
28624
+  (0.1ms) UPDATE "static_blocks_snippet_translations" SET "content" = 'argh', "updated_at" = '2013-06-28 04:20:09.364445' WHERE "static_blocks_snippet_translations"."id" = 2
28625
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28626
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
28627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28628
+ Redirected to http://www.example.com/static_blocks/wk/snippets/1
28629
+ Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
28630
+ Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28631
+ Processing by StaticBlocks::SnippetsController#show as HTML
28632
+ Parameters: {"locale"=>"wk", "id"=>"1"}
28633
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28634
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28635
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
28636
+ Started GET "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28637
+ Processing by StaticBlocks::SnippetsController#show as HTML
28638
+ Parameters: {"locale"=>"en", "id"=>"1"}
28639
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28640
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28641
+ Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.2ms)
28642
+  (0.2ms) rollback transaction
28643
+  (0.0ms) begin transaction
28644
+  (0.0ms) SAVEPOINT active_record_1
28645
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28646
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28647
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28648
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28649
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28651
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28652
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28653
+ Processing by StaticBlocks::SnippetsController#index as HTML
28654
+ Parameters: {"locale"=>"en"}
28655
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets" 
28656
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28657
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28658
+ Completed 200 OK in 41ms (Views: 40.3ms | ActiveRecord: 0.3ms)
28659
+ Started DELETE "/static_blocks/en/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28660
+ Processing by StaticBlocks::SnippetsController#destroy as HTML
28661
+ Parameters: {"locale"=>"en", "id"=>"1"}
28662
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28663
+  (0.0ms) SAVEPOINT active_record_1
28664
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28665
+ SQL (0.2ms) DELETE FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? [["id", 1]]
28666
+ SQL (0.1ms) DELETE FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? [["id", 1]]
28667
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28668
+ Redirected to http://www.example.com/static_blocks/en/snippets
28669
+ Completed 302 Found in 4ms (ActiveRecord: 0.5ms)
28670
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28671
+ Processing by StaticBlocks::SnippetsController#index as HTML
28672
+ Parameters: {"locale"=>"en"}
28673
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28674
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28675
+ Completed 200 OK in 12ms (Views: 11.3ms | ActiveRecord: 0.2ms)
28676
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28677
+  (0.1ms) rollback transaction
28678
+  (0.0ms) begin transaction
28679
+  (0.0ms) SAVEPOINT active_record_1
28680
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28681
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["status", "Published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28682
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28683
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "english bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28684
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28685
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28686
+ Started GET "/static_blocks" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28687
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28688
+ Processing by StaticBlocks::SnippetsController#index as HTML
28689
+ Parameters: {"locale"=>"en"}
28690
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28691
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28692
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28693
+ Completed 200 OK in 43ms (Views: 41.9ms | ActiveRecord: 0.3ms)
28694
+ Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28695
+ Processing by StaticBlocks::SnippetsController#index as HTML
28696
+ Parameters: {"locale"=>"wk"}
28697
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets" 
28698
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28699
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28700
+ Completed 200 OK in 15ms (Views: 13.8ms | ActiveRecord: 0.3ms)
28701
+ Started GET "/static_blocks/wk/snippets/1/edit" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28702
+ Processing by StaticBlocks::SnippetsController#edit as HTML
28703
+ Parameters: {"locale"=>"wk", "id"=>"1"}
28704
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28705
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28706
+ Rendered /home/travis/code/static_blocks/app/views/static_blocks/snippets/_form.html.erb (3.1ms)
28707
+ Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.2ms)
28708
+ Started PUT "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28709
+ Processing by StaticBlocks::SnippetsController#update as HTML
28710
+ Parameters: {"utf8"=>"✓", "snippet"=>{"title"=>"foo", "content"=>"wookie bar", "status"=>"published"}, "commit"=>"Submit", "locale"=>"wk", "id"=>"1"}
28711
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28712
+  (0.0ms) SAVEPOINT active_record_1
28713
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28714
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE ("static_blocks_snippets"."title" = 'foo' AND "static_blocks_snippets"."id" != 1) LIMIT 1
28715
+  (0.2ms) UPDATE "static_blocks_snippets" SET "content" = 'wookie bar', "status" = 'published', "updated_at" = '2013-06-28 04:20:09.596883' WHERE "static_blocks_snippets"."id" = 1
28716
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["locale", "wk"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28717
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'wk' LIMIT 1
28718
+  (0.1ms) UPDATE "static_blocks_snippet_translations" SET "content" = 'wookie bar', "updated_at" = '2013-06-28 04:20:09.600560' WHERE "static_blocks_snippet_translations"."id" = 2
28719
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28720
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 2]]
28721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28722
+ Redirected to http://www.example.com/static_blocks/wk/snippets/1
28723
+ Completed 302 Found in 10ms (ActiveRecord: 0.9ms)
28724
+ Started GET "/static_blocks/wk/snippets/1" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28725
+ Processing by StaticBlocks::SnippetsController#show as HTML
28726
+ Parameters: {"locale"=>"wk", "id"=>"1"}
28727
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."id" = ? LIMIT 1 [["id", "1"]]
28728
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28729
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.2ms)
28730
+ Started GET "/static_blocks/wk/snippets" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28731
+ Processing by StaticBlocks::SnippetsController#index as HTML
28732
+ Parameters: {"locale"=>"wk"}
28733
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets" 
28734
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28735
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28736
+ Completed 200 OK in 14ms (Views: 13.2ms | ActiveRecord: 0.3ms)
28737
+ Started GET "/static_blocks/en/snippets" for 127.0.0.1 at 2013-06-27 21:20:09 -0700
28738
+ Processing by StaticBlocks::SnippetsController#index as HTML
28739
+ Parameters: {"locale"=>"en"}
28740
+  (0.1ms) SELECT COUNT(*) FROM "static_blocks_snippets"
28741
+ StaticBlocks::Snippet Load (0.1ms) SELECT "static_blocks_snippets".* FROM "static_blocks_snippets" ORDER BY title asc LIMIT 10 OFFSET 0
28742
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1
28743
+ Completed 200 OK in 15ms (Views: 13.9ms | ActiveRecord: 0.3ms)
28744
+  (0.2ms) rollback transaction
28745
+  (0.0ms) begin transaction
28746
+  (0.0ms) SAVEPOINT active_record_1
28747
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28748
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28749
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28750
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28751
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28752
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28753
+  (0.1ms) rollback transaction
28754
+  (0.0ms) begin transaction
28755
+  (0.0ms) SAVEPOINT active_record_1
28756
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28757
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28758
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28759
+ SQL (0.3ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28760
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28761
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28762
+  (0.1ms) rollback transaction
28763
+  (0.0ms) begin transaction
28764
+  (0.0ms) SAVEPOINT active_record_1
28765
+ StaticBlocks::Snippet Exists (0.1ms) SELECT 1 AS one FROM "static_blocks_snippets" WHERE "static_blocks_snippets"."title" = 'foo' LIMIT 1
28766
+ SQL (0.3ms) INSERT INTO "static_blocks_snippets" ("content", "created_at", "status", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["status", "published"], ["title", "foo"], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28767
+ StaticBlocks::Snippet::Translation Load (0.1ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."static_blocks_snippet_id" = 1 AND "static_blocks_snippet_translations"."locale" = 'en' LIMIT 1
28768
+ SQL (0.2ms) INSERT INTO "static_blocks_snippet_translations" ("content", "created_at", "locale", "static_blocks_snippet_id", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "bar"], ["created_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00], ["locale", "en"], ["static_blocks_snippet_id", 1], ["updated_at", Fri, 28 Jun 2013 04:20:09 UTC +00:00]]
28769
+ StaticBlocks::Snippet::Translation Load (0.0ms) SELECT "static_blocks_snippet_translations".* FROM "static_blocks_snippet_translations" WHERE "static_blocks_snippet_translations"."id" = ? LIMIT 1 [["id", 1]]
28770
+  (0.0ms) RELEASE SAVEPOINT active_record_1
28771
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: static_blocks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -292,8 +292,8 @@ files:
292
292
  - app/helpers/static_blocks/application_helper.rb
293
293
  - config/initializers/kaminari.rb
294
294
  - config/routes.rb
295
- - db/migrate/20130611042319_create_static_blocks_static_blocks.rb
296
- - db/migrate/20130612034816_create_static_block_translations.rb
295
+ - db/migrate/20130612034816_create_snippet_translations.rb
296
+ - db/migrate/20130611042319_create_static_blocks_snippets.rb
297
297
  - lib/generators/install_generator.rb
298
298
  - lib/static_blocks.rb
299
299
  - lib/tasks/static_blocks_tasks.rake