meta_manager 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,45 +8,52 @@ module MetaManager
8
8
  accepts_nested_attributes_for :meta_tags, :reject_if => :all_blank, :allow_destroy => true
9
9
  end
10
10
 
11
- module InstanceMethods
11
+ # Find meta tag by name or build new record
12
+ def find_or_build_meta_tag(attr_name)
13
+ key = normalize_meta_tag_name(attr_name)
14
+ self.meta_tags.where(:name => key).first || self.meta_tags.build(:name => key)
15
+ end
12
16
 
13
- # Find meta tag by name or build new record
14
- def find_or_build_meta_tag(attr_name)
15
- key = normalize_meta_tag_name(attr_name)
16
- self.meta_tags.where(:name => key).first || self.meta_tags.build(:name => key)
17
- end
18
-
19
- # Save meta tags records into one hash
20
- def meta_tag(attr_name)
21
- key = normalize_meta_tag_name(attr_name)
22
- @meta_tag ||= {}
23
- @meta_tag[key] ||= find_or_build_meta_tag(key)
17
+ # Save meta tags records into one hash
18
+ def meta_tag(attr_name)
19
+ key = normalize_meta_tag_name(attr_name)
20
+ @meta_tag ||= {}
21
+ @meta_tag[key] ||= find_or_build_meta_tag(key)
22
+ end
23
+
24
+ def respond_to?(method_sym, include_private = false)
25
+ if method_sym.to_s =~ meta_match_case
26
+ true
27
+ else
28
+ super
24
29
  end
30
+ end
31
+
32
+ protected
33
+
34
+ def normalize_meta_tag_name(value)
35
+ value.to_s.downcase.strip
36
+ end
37
+
38
+ def method_missing(method, *args, &block)
39
+ key = method.to_s
25
40
 
26
- protected
27
-
28
- def normalize_meta_tag_name(value)
29
- key = value.to_s.downcase.strip
30
- key
31
- end
41
+ if key =~ meta_match_case
42
+ attr_name = key.gsub(meta_match_case, '')
32
43
 
33
- def method_missing(method, *args, &block)
34
- key = method.to_s
35
-
36
- if key =~ /^tag_/
37
- attr_name = key.gsub(/^tag_/, '')
38
-
39
- if key =~ /=$/
40
- record = meta_tag(attr_name.chop)
41
- record.content = args.first
42
- else
43
- meta_tag(attr_name).try(:content)
44
- end
45
- else
46
- super
47
- end
44
+ if key =~ /=$/
45
+ record = meta_tag(attr_name.chop)
46
+ record.content = args.first
47
+ else
48
+ meta_tag(attr_name).try(:content)
48
49
  end
49
-
50
+ else
51
+ super
52
+ end
53
+ end
54
+
55
+ def meta_match_case
56
+ /^tag_/
50
57
  end
51
58
  end
52
59
  end
@@ -1,3 +1,3 @@
1
1
  module MetaManager
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -9401,3 +9401,643 @@ Completed 200 OK in 4ms (Views: 2.3ms | ActiveRecord: 0.4ms)
9401
9401
  Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
9402
9402
  Processing by WelcomeController#index as HTML
9403
9403
  Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
9404
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
9405
+ Migrating to CreateMetaTags (20120105114018)
9406
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
9407
+ Migrating to CreateCategories (20111226131910)
9408
+ Migrating to CreatePosts (20111226131911)
9409
+ MetaTag Load (0.3ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9410
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9411
+  (0.0ms) SAVEPOINT active_record_1
9412
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9413
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9414
+ SQL (185.6ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["title", "Test category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9415
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9416
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "keywords content"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9417
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9418
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
9419
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9420
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9421
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags" 
9422
+  (0.0ms) SAVEPOINT active_record_1
9423
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9424
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9425
+ SQL (0.2ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["title", "Test category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9426
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9427
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9429
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags" 
9430
+  (0.0ms) SAVEPOINT active_record_1
9431
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9432
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9433
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9434
+  (0.0ms) SAVEPOINT active_record_1
9435
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9436
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9437
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 2 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9438
+  (0.0ms) SAVEPOINT active_record_1
9439
+  (27.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9440
+ SQL (0.5ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9441
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9442
+  (0.3ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = '' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9443
+  (0.0ms) SAVEPOINT active_record_1
9444
+ SQL (0.6ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9445
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9446
+  (0.3ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9447
+  (0.0ms) SAVEPOINT active_record_1
9448
+ SQL (0.4ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", true], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9449
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9450
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9451
+ MetaTag Load (0.3ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9452
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9453
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9454
+  (0.0ms) SAVEPOINT active_record_1
9455
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9456
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9457
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9458
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9459
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9460
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9461
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["title", "Test category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9462
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9463
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9464
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9465
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9466
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9467
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9468
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9469
+  (0.0ms) SAVEPOINT active_record_1
9470
+ SQL (0.4ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9471
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9472
+ Processing by PostsController#index as HTML
9473
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" LIMIT 1
9474
+ Rendered posts/index.html.erb within layouts/application (3.3ms)
9475
+ MetaTag Load (0.4ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9476
+ Completed 200 OK in 213ms (Views: 211.6ms | ActiveRecord: 0.5ms)
9477
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9478
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9479
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9480
+  (0.1ms) SAVEPOINT active_record_1
9481
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9482
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9483
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9484
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9485
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9486
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9487
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["title", "Test category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9488
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9489
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9490
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9491
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9492
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9493
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9494
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9495
+  (0.0ms) SAVEPOINT active_record_1
9496
+ SQL (0.3ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9497
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9498
+ Processing by PostsController#show as HTML
9499
+ Parameters: {"id"=>"1"}
9500
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9501
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
9502
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9503
+ Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.4ms)
9504
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9505
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9506
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9507
+  (0.1ms) SAVEPOINT active_record_1
9508
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9509
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9510
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9511
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9512
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9513
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9514
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["title", "Test category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9515
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9516
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9517
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9518
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9519
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9520
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9521
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9522
+  (0.1ms) SAVEPOINT active_record_1
9523
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9524
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9525
+ Processing by PostsController#show as HTML
9526
+ Parameters: {"id"=>"1"}
9527
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9528
+ Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
9529
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9530
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms)
9531
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9532
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9533
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9534
+  (0.0ms) SAVEPOINT active_record_1
9535
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9536
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9537
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9538
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9539
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9540
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9541
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["title", "Test category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9542
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9543
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9544
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9545
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9546
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9547
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9548
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9549
+  (0.0ms) SAVEPOINT active_record_1
9550
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Mon, 28 May 2012 08:13:42 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Mon, 28 May 2012 08:13:42 UTC +00:00]]
9551
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9552
+ Processing by PostsController#index as HTML
9553
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9554
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9555
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
9556
+ Processing by WelcomeController#index as HTML
9557
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
9558
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
9559
+ Migrating to CreateMetaTags (20120105114018)
9560
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
9561
+ Migrating to CreateCategories (20111226131910)
9562
+ Migrating to CreatePosts (20111226131911)
9563
+  (0.0ms) SAVEPOINT active_record_1
9564
+ SQL (92.6ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:49:11 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:49:11 UTC +00:00]]
9565
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9566
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9567
+  (0.0ms) SAVEPOINT active_record_1
9568
+ SQL (0.4ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:49:11 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:49:11 UTC +00:00]]
9569
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9570
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 2 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9571
+  (0.0ms) SAVEPOINT active_record_1
9572
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9573
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:49:11 UTC +00:00], ["is_dynamic", false], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:49:11 UTC +00:00]]
9574
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9575
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = '' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9576
+  (0.0ms) SAVEPOINT active_record_1
9577
+ SQL (0.4ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:49:11 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:49:11 UTC +00:00]]
9578
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9579
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9580
+  (0.0ms) SAVEPOINT active_record_1
9581
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:49:11 UTC +00:00], ["is_dynamic", true], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:49:11 UTC +00:00]]
9582
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9583
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9584
+ Processing by WelcomeController#index as HTML
9585
+ Completed 200 OK in 88ms (Views: 87.8ms | ActiveRecord: 0.0ms)
9586
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
9587
+ Migrating to CreateMetaTags (20120105114018)
9588
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
9589
+ Migrating to CreateCategories (20111226131910)
9590
+ Migrating to CreatePosts (20111226131911)
9591
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9592
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9593
+  (0.0ms) SAVEPOINT active_record_1
9594
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9595
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9596
+ SQL (1.1ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9597
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9598
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "keywords content"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9599
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9600
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
9601
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9602
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9603
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags" 
9604
+  (0.0ms) SAVEPOINT active_record_1
9605
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9606
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9607
+ SQL (0.2ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9608
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9609
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9610
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9611
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags" 
9612
+  (0.0ms) SAVEPOINT active_record_1
9613
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9614
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9615
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9616
+  (0.0ms) SAVEPOINT active_record_1
9617
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9618
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9619
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 2 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9620
+  (0.0ms) SAVEPOINT active_record_1
9621
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9622
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9623
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9624
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = '' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9625
+  (0.0ms) SAVEPOINT active_record_1
9626
+ SQL (0.4ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9627
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9628
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9629
+  (0.0ms) SAVEPOINT active_record_1
9630
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", true], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9631
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9632
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9633
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9634
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9635
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9636
+  (0.0ms) SAVEPOINT active_record_1
9637
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9638
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9639
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9640
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9641
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9642
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9643
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9644
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9645
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9646
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9647
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9648
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9649
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9650
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9651
+  (0.1ms) SAVEPOINT active_record_1
9652
+ SQL (0.4ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9653
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9654
+ Processing by PostsController#index as HTML
9655
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9656
+ Rendered posts/index.html.erb within layouts/application (2.0ms)
9657
+ Completed 500 Internal Server Error in 45ms
9658
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9659
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9660
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9661
+  (0.0ms) SAVEPOINT active_record_1
9662
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9663
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9664
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9665
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9666
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9667
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9668
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9669
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9670
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9671
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9672
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9673
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9674
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9675
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9676
+  (0.0ms) SAVEPOINT active_record_1
9677
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9679
+ Processing by PostsController#show as HTML
9680
+ Parameters: {"id"=>"1"}
9681
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9682
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
9683
+ Completed 500 Internal Server Error in 4ms
9684
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9685
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9686
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9687
+  (0.0ms) SAVEPOINT active_record_1
9688
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9689
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9690
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9691
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9692
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9693
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9694
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9695
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9696
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9697
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9698
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9699
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9700
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9701
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9702
+  (0.0ms) SAVEPOINT active_record_1
9703
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9704
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9705
+ Processing by PostsController#show as HTML
9706
+ Parameters: {"id"=>"1"}
9707
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" LIMIT 1
9708
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
9709
+ Completed 500 Internal Server Error in 3ms
9710
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9711
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9712
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9713
+  (0.0ms) SAVEPOINT active_record_1
9714
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9715
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9716
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9717
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9718
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9719
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9720
+ SQL (0.2ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9721
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9722
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9723
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9724
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9725
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9726
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9727
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9728
+  (0.0ms) SAVEPOINT active_record_1
9729
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Wed, 30 May 2012 12:50:00 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Wed, 30 May 2012 12:50:00 UTC +00:00]]
9730
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9731
+ Processing by PostsController#index as HTML
9732
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9733
+ Completed 500 Internal Server Error in 28ms
9734
+ Processing by WelcomeController#index as HTML
9735
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
9736
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
9737
+ Migrating to CreateMetaTags (20120105114018)
9738
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
9739
+ Migrating to CreateCategories (20111226131910)
9740
+ Migrating to CreatePosts (20111226131911)
9741
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9742
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9743
+  (0.0ms) SAVEPOINT active_record_1
9744
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9745
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9746
+ SQL (1.2ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9747
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9748
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "keywords content"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9749
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9750
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
9751
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9752
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9753
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags" 
9754
+  (0.0ms) SAVEPOINT active_record_1
9755
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9756
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9757
+ SQL (0.2ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9758
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9759
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9760
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9761
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags" 
9762
+  (0.0ms) SAVEPOINT active_record_1
9763
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9764
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9765
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9766
+  (0.0ms) SAVEPOINT active_record_1
9767
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9768
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9769
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 2 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9770
+  (0.0ms) SAVEPOINT active_record_1
9771
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9772
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9773
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9774
+  (0.3ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = '' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9775
+  (0.0ms) SAVEPOINT active_record_1
9776
+ SQL (0.4ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9777
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9778
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9779
+  (0.0ms) SAVEPOINT active_record_1
9780
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", true], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9781
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9782
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9783
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9784
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9785
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9786
+  (0.0ms) SAVEPOINT active_record_1
9787
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9788
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9789
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9790
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9791
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9792
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9793
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9794
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9795
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9796
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9797
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9798
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9799
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9800
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9801
+  (0.1ms) SAVEPOINT active_record_1
9802
+ SQL (0.4ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9803
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9804
+ Processing by PostsController#index as HTML
9805
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9806
+ Rendered posts/index.html.erb within layouts/application (1.9ms)
9807
+ MetaTag Load (0.3ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9808
+ Completed 200 OK in 41ms (Views: 40.1ms | ActiveRecord: 0.4ms)
9809
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9810
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9811
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9812
+  (0.0ms) SAVEPOINT active_record_1
9813
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9814
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9815
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9816
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9817
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9818
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9819
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9820
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9821
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9822
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9823
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9824
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9825
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9826
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9827
+  (0.0ms) SAVEPOINT active_record_1
9828
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9829
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9830
+ Processing by PostsController#show as HTML
9831
+ Parameters: {"id"=>"1"}
9832
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9833
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
9834
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9835
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms)
9836
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9837
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9838
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9839
+  (0.0ms) SAVEPOINT active_record_1
9840
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9841
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9842
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9843
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9844
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9845
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9846
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9847
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9848
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9849
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9850
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9851
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9852
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9853
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9854
+  (0.0ms) SAVEPOINT active_record_1
9855
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9856
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9857
+ Processing by PostsController#show as HTML
9858
+ Parameters: {"id"=>"1"}
9859
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" LIMIT 1
9860
+ Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
9861
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9862
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.4ms)
9863
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9864
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9865
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9866
+  (0.0ms) SAVEPOINT active_record_1
9867
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9868
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9869
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9870
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9871
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9872
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9873
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9874
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9875
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9876
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9877
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9878
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9879
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9880
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9881
+  (0.0ms) SAVEPOINT active_record_1
9882
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Wed, 30 May 2012 12:51:05 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Wed, 30 May 2012 12:51:05 UTC +00:00]]
9883
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9884
+ Processing by PostsController#index as HTML
9885
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9886
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9887
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
9888
+ Processing by WelcomeController#index as HTML
9889
+ Completed 200 OK in 4ms (Views: 3.6ms | ActiveRecord: 0.0ms)
9890
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
9891
+ Migrating to CreateMetaTags (20120105114018)
9892
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
9893
+ Migrating to CreateCategories (20111226131910)
9894
+ Migrating to CreatePosts (20111226131911)
9895
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9896
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9897
+  (0.0ms) SAVEPOINT active_record_1
9898
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9899
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9900
+ SQL (1.2ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9901
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9902
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "keywords content"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9903
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9904
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
9905
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9906
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9907
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags" 
9908
+  (0.0ms) SAVEPOINT active_record_1
9909
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9910
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9911
+ SQL (0.2ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9912
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9913
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9914
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9915
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags" 
9916
+  (0.0ms) SAVEPOINT active_record_1
9917
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9918
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9919
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9920
+  (0.0ms) SAVEPOINT active_record_1
9921
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9922
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9923
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 2 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9924
+  (0.0ms) SAVEPOINT active_record_1
9925
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9926
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9927
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9928
+  (0.3ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = '' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9929
+  (0.0ms) SAVEPOINT active_record_1
9930
+ SQL (0.4ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9931
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9932
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9933
+  (0.0ms) SAVEPOINT active_record_1
9934
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", true], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9935
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9936
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9937
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9938
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9939
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9940
+  (0.0ms) SAVEPOINT active_record_1
9941
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9942
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9943
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9944
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9945
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9946
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9947
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9948
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9949
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9950
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9951
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9952
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9953
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9954
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9955
+  (0.1ms) SAVEPOINT active_record_1
9956
+ SQL (0.5ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9957
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9958
+ Processing by PostsController#index as HTML
9959
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9960
+ Rendered posts/index.html.erb within layouts/application (1.9ms)
9961
+ MetaTag Load (0.3ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9962
+ Completed 200 OK in 39ms (Views: 37.9ms | ActiveRecord: 0.4ms)
9963
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9964
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9965
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9966
+  (0.0ms) SAVEPOINT active_record_1
9967
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9968
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9969
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9970
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9971
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9972
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9973
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9974
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9975
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9976
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9977
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9978
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9979
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9980
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9981
+  (0.0ms) SAVEPOINT active_record_1
9982
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
9983
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9984
+ Processing by PostsController#show as HTML
9985
+ Parameters: {"id"=>"1"}
9986
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9987
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
9988
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9989
+ Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.4ms)
9990
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9991
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9992
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9993
+  (0.0ms) SAVEPOINT active_record_1
9994
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9995
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9996
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9997
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9998
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9999
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
10000
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10001
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10002
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10003
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10004
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10005
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10006
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10007
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10008
+  (0.0ms) SAVEPOINT active_record_1
10009
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10010
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10011
+ Processing by PostsController#show as HTML
10012
+ Parameters: {"id"=>"1"}
10013
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" LIMIT 1
10014
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
10015
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
10016
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.4ms)
10017
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
10018
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
10019
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
10020
+  (0.0ms) SAVEPOINT active_record_1
10021
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
10022
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
10023
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
10024
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
10025
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
10026
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
10027
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["title", "Test category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10028
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10029
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10030
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10031
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10032
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10033
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10034
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10035
+  (0.0ms) SAVEPOINT active_record_1
10036
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Wed, 30 May 2012 12:51:59 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Wed, 30 May 2012 12:51:59 UTC +00:00]]
10037
+  (0.0ms) RELEASE SAVEPOINT active_record_1
10038
+ Processing by PostsController#index as HTML
10039
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
10040
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
10041
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
10042
+ Processing by WelcomeController#index as HTML
10043
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
@@ -38,4 +38,10 @@ class CategoryTest < ActiveSupport::TestCase
38
38
  @category.tagg_method
39
39
  end
40
40
  end
41
+
42
+ test 'should be work with respond_to method' do
43
+ assert @category.respond_to?(:tag_title)
44
+ assert !@category.respond_to?(:tagg_title)
45
+ assert_respond_to(@category, :tag_title)
46
+ end
41
47
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-24 00:00:00.000000000 Z
12
+ date: 2012-05-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord
16
- requirement: &82367780 !ruby/object:Gem::Requirement
16
+ requirement: &73303480 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *82367780
24
+ version_requirements: *73303480
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sqlite3
27
- requirement: &82392500 !ruby/object:Gem::Requirement
27
+ requirement: &73302470 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *82392500
35
+ version_requirements: *73302470
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rails
38
- requirement: &82391940 !ruby/object:Gem::Requirement
38
+ requirement: &73299920 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 3.1.3
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *82391940
46
+ version_requirements: *73299920
47
47
  description: Aimbulance CMS
48
48
  email:
49
49
  - superp1987@gmail.com