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.
- data/lib/meta_manager/taggable.rb +41 -34
- data/lib/meta_manager/version.rb +1 -1
- data/test/dummy/log/test.log +640 -0
- data/test/models/category_test.rb +6 -0
- metadata +8 -8
@@ -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
|
-
|
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
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
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
|
-
|
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
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
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
|
data/lib/meta_manager/version.rb
CHANGED
data/test/dummy/log/test.log
CHANGED
@@ -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
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9405
|
+
Migrating to CreateMetaTags (20120105114018)
|
9406
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
9407
|
+
Migrating to CreateCategories (20111226131910)
|
9408
|
+
Migrating to CreatePosts (20111226131911)
|
9409
|
+
[1m[36mMetaTag Load (0.3ms)[0m [1mSELECT "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[0m
|
9410
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9412
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9414
|
+
[1m[35mSQL (185.6ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9418
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
9419
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9420
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "meta_tags" [0m
|
9422
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9423
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9424
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
9429
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "meta_tags" [0m
|
9430
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9431
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9433
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9434
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9435
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9437
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9438
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9439
|
+
[1m[36m (27.2ms)[0m [1mSELECT 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[0m
|
9440
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9442
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9444
|
+
[1m[35mSQL (0.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9446
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9448
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9450
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mMetaTag Load (0.3ms)[0m [1mSELECT "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[0m
|
9452
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9454
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9455
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9456
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9458
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9460
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9469
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9470
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9472
|
+
Processing by PostsController#index as HTML
|
9473
|
+
[1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" LIMIT 1
|
9474
|
+
Rendered posts/index.html.erb within layouts/application (3.3ms)
|
9475
|
+
[1m[36mMetaTag Load (0.4ms)[0m [1mSELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
9476
|
+
Completed 200 OK in 213ms (Views: 211.6ms | ActiveRecord: 0.5ms)
|
9477
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9479
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9481
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9483
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9485
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9487
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9495
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9496
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9498
|
+
Processing by PostsController#show as HTML
|
9499
|
+
Parameters: {"id"=>"1"}
|
9500
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" LIMIT 1[0m
|
9501
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
9502
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
9503
|
+
Completed 200 OK in 5ms (Views: 3.5ms | ActiveRecord: 0.4ms)
|
9504
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "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[0m
|
9506
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9508
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSELECT 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[0m
|
9510
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9512
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9514
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9522
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
9523
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9525
|
+
Processing by PostsController#show as HTML
|
9526
|
+
Parameters: {"id"=>"1"}
|
9527
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" LIMIT 1[0m
|
9528
|
+
[1m[35mPost Load (0.0ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
9529
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
9530
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms)
|
9531
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9533
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9535
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9537
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9539
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9541
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9549
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9550
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9552
|
+
Processing by PostsController#index as HTML
|
9553
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" LIMIT 1[0m
|
9554
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9559
|
+
Migrating to CreateMetaTags (20120105114018)
|
9560
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
9561
|
+
Migrating to CreateCategories (20111226131910)
|
9562
|
+
Migrating to CreatePosts (20111226131911)
|
9563
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9564
|
+
[1m[35mSQL (92.6ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9566
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9568
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9570
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9572
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9575
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9576
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9577
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9579
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9580
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9581
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9583
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9584
|
+
Processing by WelcomeController#index as HTML
|
9585
|
+
Completed 200 OK in 88ms (Views: 87.8ms | ActiveRecord: 0.0ms)
|
9586
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9587
|
+
Migrating to CreateMetaTags (20120105114018)
|
9588
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
9589
|
+
Migrating to CreateCategories (20111226131910)
|
9590
|
+
Migrating to CreatePosts (20111226131911)
|
9591
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "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[0m
|
9592
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9594
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9596
|
+
[1m[35mSQL (1.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9600
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
9601
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9602
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "meta_tags" [0m
|
9604
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9605
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9606
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9611
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "meta_tags" [0m
|
9612
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9613
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9615
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9616
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9617
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9619
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9620
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9621
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9622
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9624
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9626
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9628
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9630
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9632
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "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[0m
|
9634
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9636
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9637
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9638
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9640
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9642
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9651
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9652
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9654
|
+
Processing by PostsController#index as HTML
|
9655
|
+
[1m[35mCategory Load (0.1ms)[0m 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
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "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[0m
|
9659
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9661
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9662
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9663
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9665
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9667
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9676
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9677
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9679
|
+
Processing by PostsController#show as HTML
|
9680
|
+
Parameters: {"id"=>"1"}
|
9681
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" LIMIT 1
|
9682
|
+
[1m[36mPost Load (0.1ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
|
9683
|
+
Completed 500 Internal Server Error in 4ms
|
9684
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9686
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9688
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9690
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9692
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9694
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9702
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9703
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9705
|
+
Processing by PostsController#show as HTML
|
9706
|
+
Parameters: {"id"=>"1"}
|
9707
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" LIMIT 1[0m
|
9708
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
9709
|
+
Completed 500 Internal Server Error in 3ms
|
9710
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "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[0m
|
9711
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9713
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9714
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9715
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9717
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9719
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9728
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9729
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9731
|
+
Processing by PostsController#index as HTML
|
9732
|
+
[1m[35mCategory Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9737
|
+
Migrating to CreateMetaTags (20120105114018)
|
9738
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
9739
|
+
Migrating to CreateCategories (20111226131910)
|
9740
|
+
Migrating to CreatePosts (20111226131911)
|
9741
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "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[0m
|
9742
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9744
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9746
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9750
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
9751
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9752
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "meta_tags" [0m
|
9754
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9755
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9756
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9761
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "meta_tags" [0m
|
9762
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9763
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9765
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9766
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9767
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9769
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9770
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9771
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9772
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9774
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9776
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9778
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9780
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9782
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "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[0m
|
9784
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9786
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9787
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9788
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9790
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9792
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9801
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9802
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9804
|
+
Processing by PostsController#index as HTML
|
9805
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" LIMIT 1
|
9806
|
+
Rendered posts/index.html.erb within layouts/application (1.9ms)
|
9807
|
+
[1m[36mMetaTag Load (0.3ms)[0m [1mSELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
9808
|
+
Completed 200 OK in 41ms (Views: 40.1ms | ActiveRecord: 0.4ms)
|
9809
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9811
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9813
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9815
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9817
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9819
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9827
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9828
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9830
|
+
Processing by PostsController#show as HTML
|
9831
|
+
Parameters: {"id"=>"1"}
|
9832
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" LIMIT 1[0m
|
9833
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
9834
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
9835
|
+
Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms)
|
9836
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9838
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9840
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9842
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9844
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9846
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9854
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9855
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9857
|
+
Processing by PostsController#show as HTML
|
9858
|
+
Parameters: {"id"=>"1"}
|
9859
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" LIMIT 1[0m
|
9860
|
+
[1m[35mPost Load (0.0ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
9861
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
9862
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.4ms)
|
9863
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9865
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9867
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9869
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9871
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9873
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9881
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9882
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9884
|
+
Processing by PostsController#index as HTML
|
9885
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" LIMIT 1[0m
|
9886
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9891
|
+
Migrating to CreateMetaTags (20120105114018)
|
9892
|
+
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
9893
|
+
Migrating to CreateCategories (20111226131910)
|
9894
|
+
Migrating to CreatePosts (20111226131911)
|
9895
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "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[0m
|
9896
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9898
|
+
[1m[35m (0.2ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9900
|
+
[1m[35mSQL (1.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9904
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
9905
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9906
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "meta_tags" [0m
|
9908
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9909
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9910
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9915
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "meta_tags" [0m
|
9916
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9917
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9919
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9920
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9921
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9923
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9924
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9925
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9926
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9928
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9930
|
+
[1m[35mSQL (0.4ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9932
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9934
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9936
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "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[0m
|
9938
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9940
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9941
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9942
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9944
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9946
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9955
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
9956
|
+
[1m[35mSQL (0.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9958
|
+
Processing by PostsController#index as HTML
|
9959
|
+
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" LIMIT 1
|
9960
|
+
Rendered posts/index.html.erb within layouts/application (1.9ms)
|
9961
|
+
[1m[36mMetaTag Load (0.3ms)[0m [1mSELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
9962
|
+
Completed 200 OK in 39ms (Views: 37.9ms | ActiveRecord: 0.4ms)
|
9963
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9965
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9967
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9969
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9971
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9973
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.2ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
9981
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
9982
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
9984
|
+
Processing by PostsController#show as HTML
|
9985
|
+
Parameters: {"id"=>"1"}
|
9986
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" LIMIT 1[0m
|
9987
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
9988
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
9989
|
+
Completed 200 OK in 5ms (Views: 2.9ms | ActiveRecord: 0.4ms)
|
9990
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
9992
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
9994
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9996
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
9998
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
10000
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10008
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10009
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10011
|
+
Processing by PostsController#show as HTML
|
10012
|
+
Parameters: {"id"=>"1"}
|
10013
|
+
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" LIMIT 1[0m
|
10014
|
+
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
10015
|
+
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
10016
|
+
Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.4ms)
|
10017
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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
|
+
[1m[36mMetaTag Load (0.1ms)[0m [1mSELECT "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[0m
|
10019
|
+
[1m[35mMetaTag Load (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10021
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
10023
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
10025
|
+
[1m[35m (0.1ms)[0m 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
|
+
[1m[36m (0.1ms)[0m [1mSELECT 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[0m
|
10027
|
+
[1m[35mSQL (0.3ms)[0m 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
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35mSQL (0.1ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10035
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10036
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["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
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10038
|
+
Processing by PostsController#index as HTML
|
10039
|
+
[1m[36mCategory Load (0.1ms)[0m [1mSELECT "categories".* FROM "categories" LIMIT 1[0m
|
10040
|
+
[1m[35mMetaTag Load (0.2ms)[0m 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.
|
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-
|
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: &
|
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: *
|
24
|
+
version_requirements: *73303480
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: sqlite3
|
27
|
-
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: *
|
35
|
+
version_requirements: *73302470
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rails
|
38
|
-
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: *
|
46
|
+
version_requirements: *73299920
|
47
47
|
description: Aimbulance CMS
|
48
48
|
email:
|
49
49
|
- superp1987@gmail.com
|