meta_manager 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -34,15 +34,11 @@ module MetaManager
34
34
  def get_page_title(record, options)
35
35
  options = { :spliter => ' - ', :append_title => true }.merge(options)
36
36
 
37
- view_title = if record.respond_to?(:title)
38
- record.title
39
- elsif record.respond_to(:name)
40
- record.name
41
- end
37
+ view_title = record.respond_to?(:title) ? record.title : (record.respond_to?(:name) ? record.name : nil) unless record.nil?
42
38
 
43
39
  page_title = []
44
40
  page_title << options[:title] if options.key?(:title)
45
- page_title << view_title
41
+ page_title << view_title unless record.nil?
46
42
  page_title << I18n.t("page.title") if options[:append_title]
47
43
 
48
44
  page_title.flatten.compact.uniq.join(options[:spliter])
@@ -50,7 +46,7 @@ module MetaManager
50
46
 
51
47
  def get_actual_meta_tags(record, dynamic)
52
48
  meta_tags = []
53
- _meta_tags = record.respond_to?(:meta_tags) ? record.meta_tags : []
49
+ _meta_tags = record && record.respond_to?(:meta_tags) ? record.meta_tags : []
54
50
 
55
51
  _meta_tags.group_by(&:name).each do |name, items|
56
52
  meta_tags << (items.detect{|r| r.is_dynamic && dynamic} || items.detect{|r| !r.is_dynamic})
@@ -1,3 +1,3 @@
1
1
  module MetaManager
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ class WelcomeControllerTest < ActionController::TestCase
4
+
5
+ test "should get index without category" do
6
+ get :index
7
+ assert_response :success
8
+ end
9
+
10
+ end
@@ -0,0 +1,3 @@
1
+ class WelcomeController < ApplicationController
2
+
3
+ end
File without changes
@@ -1,4 +1,6 @@
1
1
  Dummy::Application.routes.draw do
2
+ root :to => 'welcome#index'
3
+
2
4
  resources :posts
3
5
  resources :categories
4
6
  # The priority is based upon order of creation:
@@ -8596,3 +8596,485 @@ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
8596
8596
  Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
8597
8597
  MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
8598
8598
  Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
8599
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
8600
+ Migrating to CreateMetaTags (20120105114018)
8601
+  (0.1ms) select sqlite_version(*)
8602
+  (0.3ms) CREATE TABLE "meta_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(50) NOT NULL, "content" text, "is_dynamic" boolean DEFAULT 'f', "taggable_id" integer NOT NULL, "taggable_type" varchar(50) NOT NULL, "created_at" datetime, "updated_at" datetime) 
8603
+ SQLite3::SQLException: table "meta_tags" already exists: CREATE TABLE "meta_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(50) NOT NULL, "content" text, "is_dynamic" boolean DEFAULT 'f', "taggable_id" integer NOT NULL, "taggable_type" varchar(50) NOT NULL, "created_at" datetime, "updated_at" datetime)
8604
+  (0.1ms) select sqlite_version(*)
8605
+  (147.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
8606
+  (0.1ms) PRAGMA index_list("schema_migrations")
8607
+  (79.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8608
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
8609
+ Migrating to CreateMetaTags (20120105114018)
8610
+  (0.5ms) CREATE TABLE "meta_tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(50) NOT NULL, "content" text, "is_dynamic" boolean DEFAULT 'f', "taggable_id" integer NOT NULL, "taggable_type" varchar(50) NOT NULL, "created_at" datetime, "updated_at" datetime)
8611
+  (0.0ms) PRAGMA index_list("meta_tags")
8612
+  (0.1ms) CREATE INDEX "index_meta_tags_on_name" ON "meta_tags" ("name")
8613
+  (0.0ms) PRAGMA index_list("meta_tags")
8614
+  (0.0ms) PRAGMA index_info('index_meta_tags_on_name')
8615
+  (0.1ms) CREATE INDEX "index_meta_tags_on_taggable_type_and_taggable_id" ON "meta_tags" ("taggable_type", "taggable_id")
8616
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120105114018')
8617
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
8618
+ Migrating to CreateCategories (20111226131910)
8619
+  (0.5ms) CREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime, "updated_at" datetime)
8620
+  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111226131910')
8621
+ Migrating to CreatePosts (20111226131911)
8622
+  (0.3ms) CREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "notes" varchar(255), "created_at" datetime, "updated_at" datetime)
8623
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111226131911')
8624
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8625
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8626
+  (0.0ms) SAVEPOINT active_record_1
8627
+  (0.3ms) 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
8628
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8629
+ SQL (27.4ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8630
+ SQL (0.5ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8631
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "keywords content"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8632
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8633
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
8634
+ MetaTag Load (0.3ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8635
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8636
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags"
8637
+  (0.1ms) SAVEPOINT active_record_1
8638
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8639
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8640
+ SQL (0.2ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8641
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8642
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8643
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8644
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags"
8645
+  (0.0ms) SAVEPOINT active_record_1
8646
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8647
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8648
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8649
+  (0.0ms) SAVEPOINT active_record_1
8650
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8651
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8652
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 2 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8653
+  (0.0ms) SAVEPOINT active_record_1
8654
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8655
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8656
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8657
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = '' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8658
+  (0.0ms) SAVEPOINT active_record_1
8659
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8660
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8661
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8662
+  (0.0ms) SAVEPOINT active_record_1
8663
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", true], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8664
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8665
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8666
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8667
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8668
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
8669
+  (0.0ms) SAVEPOINT active_record_1
8670
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8671
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8672
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8673
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8674
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8675
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8676
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8677
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8678
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8679
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8680
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8681
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8682
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8683
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8684
+  (0.1ms) SAVEPOINT active_record_1
8685
+ SQL (0.5ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8686
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8687
+ Processing by PostsController#index as HTML
8688
+ Category Load (0.3ms) SELECT "categories".* FROM "categories" LIMIT 1
8689
+ Rendered posts/index.html.erb within layouts/application (1.9ms)
8690
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
8691
+ Completed 200 OK in 62ms (Views: 60.1ms | ActiveRecord: 0.5ms)
8692
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8693
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8694
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
8695
+  (0.0ms) SAVEPOINT active_record_1
8696
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8697
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8698
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8699
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8700
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8701
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8702
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8703
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8704
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8705
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8706
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8707
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8708
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8710
+  (0.0ms) SAVEPOINT active_record_1
8711
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8713
+ Processing by PostsController#show as HTML
8714
+ Parameters: {"id"=>"1"}
8715
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
8716
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
8717
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
8718
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms)
8719
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8720
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8721
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
8722
+  (0.0ms) SAVEPOINT active_record_1
8723
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8724
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8725
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8726
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8727
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8728
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8729
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8730
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8731
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8732
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8733
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8734
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8735
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8736
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8737
+  (0.0ms) SAVEPOINT active_record_1
8738
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8739
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8740
+ Processing by PostsController#show as HTML
8741
+ Parameters: {"id"=>"1"}
8742
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" LIMIT 1
8743
+ Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
8744
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
8745
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.4ms)
8746
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8747
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8748
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
8749
+  (0.0ms) SAVEPOINT active_record_1
8750
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8751
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8752
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8753
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8754
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8755
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8756
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8757
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8758
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8759
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8760
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8761
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8762
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8763
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8764
+  (0.0ms) SAVEPOINT active_record_1
8765
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Fri, 06 Jan 2012 09:18:22 UTC +00:00]]
8766
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8767
+ Processing by PostsController#index as HTML
8768
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" LIMIT 1
8769
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
8770
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
8771
+ Processing by WelcomeController#index as HTML
8772
+ Completed 500 Internal Server Error in 30ms
8773
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
8774
+ Migrating to CreateMetaTags (20120105114018)
8775
+  (0.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
8776
+ Migrating to CreateCategories (20111226131910)
8777
+ Migrating to CreatePosts (20111226131911)
8778
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8779
+ MetaTag Load (21.6ms) 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
8780
+  (0.0ms) SAVEPOINT active_record_1
8781
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8782
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8783
+ SQL (1.2ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8784
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8785
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "keywords content"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8786
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8787
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
8788
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8789
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8790
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags" 
8791
+  (0.0ms) SAVEPOINT active_record_1
8792
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8793
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8794
+ SQL (0.2ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8795
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8796
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8797
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8798
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags" 
8799
+  (0.0ms) SAVEPOINT active_record_1
8800
+ SQL (0.5ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8801
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8802
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8803
+  (0.0ms) SAVEPOINT active_record_1
8804
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8805
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8806
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 2 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8807
+  (0.0ms) SAVEPOINT active_record_1
8808
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8809
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8810
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8811
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = '' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8812
+  (0.0ms) SAVEPOINT active_record_1
8813
+ SQL (0.4ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8814
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8815
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8816
+  (0.0ms) SAVEPOINT active_record_1
8817
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", true], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8818
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8819
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8820
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8821
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8822
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
8823
+  (0.0ms) SAVEPOINT active_record_1
8824
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8825
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8826
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8827
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8828
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8829
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8830
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8831
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8832
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8833
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8834
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8835
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8836
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8837
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8838
+  (0.0ms) SAVEPOINT active_record_1
8839
+ SQL (0.4ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8840
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8841
+ Processing by PostsController#index as HTML
8842
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" LIMIT 1
8843
+ Rendered posts/index.html.erb within layouts/application (23.5ms)
8844
+ MetaTag Load (0.3ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
8845
+ Completed 200 OK in 37ms (Views: 35.7ms | ActiveRecord: 0.4ms)
8846
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8847
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8848
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
8849
+  (0.0ms) SAVEPOINT active_record_1
8850
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8851
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8852
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8853
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8854
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8855
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8856
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8857
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8858
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8859
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8860
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8861
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8862
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8863
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8864
+  (0.0ms) SAVEPOINT active_record_1
8865
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8866
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8867
+ Processing by PostsController#show as HTML
8868
+ Parameters: {"id"=>"1"}
8869
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
8870
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
8871
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
8872
+ Completed 200 OK in 4ms (Views: 2.7ms | ActiveRecord: 0.4ms)
8873
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8874
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8875
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
8876
+  (0.1ms) SAVEPOINT active_record_1
8877
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8878
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8879
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8880
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8881
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8882
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8883
+ SQL (0.4ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8884
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8885
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8886
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8887
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8888
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8889
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
8891
+  (0.0ms) SAVEPOINT active_record_1
8892
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Fri, 06 Jan 2012 09:19:34 UTC +00:00]]
8893
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8894
+ Processing by PostsController#show as HTML
8895
+ Parameters: {"id"=>"1"}
8896
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
8897
+ Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
8898
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
8899
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
8900
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8901
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8902
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
8903
+  (0.0ms) SAVEPOINT active_record_1
8904
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8905
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8906
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8907
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8908
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8909
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8910
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00]]
8911
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00]]
8912
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00]]
8913
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00]]
8914
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00]]
8915
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00]]
8916
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00]]
8917
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8918
+  (0.0ms) SAVEPOINT active_record_1
8919
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Fri, 06 Jan 2012 09:19:35 UTC +00:00]]
8920
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8921
+ Processing by PostsController#index as HTML
8922
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
8923
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
8924
+ Completed 200 OK in 3ms (Views: 2.0ms | ActiveRecord: 0.3ms)
8925
+ Processing by WelcomeController#index as HTML
8926
+ Completed 500 Internal Server Error in 7ms
8927
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
8928
+ Migrating to CreateMetaTags (20120105114018)
8929
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
8930
+ Migrating to CreateCategories (20111226131910)
8931
+ Migrating to CreatePosts (20111226131911)
8932
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8933
+ MetaTag Load (21.4ms) 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
8934
+  (0.0ms) SAVEPOINT active_record_1
8935
+  (0.2ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8936
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8937
+ SQL (1.2ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8938
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8939
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "keywords content"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8940
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8941
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
8942
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8943
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8944
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags" 
8945
+  (0.0ms) SAVEPOINT active_record_1
8946
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8947
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8948
+ SQL (0.2ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8949
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8950
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8951
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8952
+  (0.1ms) SELECT COUNT(*) FROM "meta_tags" 
8953
+  (0.0ms) SAVEPOINT active_record_1
8954
+ SQL (0.4ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8955
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8956
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8957
+  (0.0ms) SAVEPOINT active_record_1
8958
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8959
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8960
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 2 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8961
+  (0.0ms) SAVEPOINT active_record_1
8962
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8963
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8964
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8965
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = '' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8966
+  (0.0ms) SAVEPOINT active_record_1
8967
+ SQL (0.4ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8968
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8969
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8970
+  (0.0ms) SAVEPOINT active_record_1
8971
+ SQL (0.3ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", nil], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", true], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8972
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8973
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8974
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
8975
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
8976
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
8977
+  (0.0ms) SAVEPOINT active_record_1
8978
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8979
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8980
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8981
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
8982
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8983
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
8984
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8985
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8986
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8987
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8988
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8989
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8990
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8991
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8992
+  (0.1ms) SAVEPOINT active_record_1
8993
+ SQL (0.4ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
8994
+  (0.0ms) RELEASE SAVEPOINT active_record_1
8995
+ Processing by PostsController#index as HTML
8996
+ Category Load (0.2ms) SELECT "categories".* FROM "categories" LIMIT 1
8997
+ Rendered posts/index.html.erb within layouts/application (26.3ms)
8998
+ MetaTag Load (0.3ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
8999
+ Completed 200 OK in 40ms (Views: 38.9ms | ActiveRecord: 0.4ms)
9000
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9001
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9002
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9003
+  (0.0ms) SAVEPOINT active_record_1
9004
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9005
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9006
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9007
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9008
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9009
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9010
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9011
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9012
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9013
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9014
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9015
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9016
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9017
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9018
+  (0.0ms) SAVEPOINT active_record_1
9019
+ SQL (0.3ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9020
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9021
+ Processing by PostsController#show as HTML
9022
+ Parameters: {"id"=>"1"}
9023
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9024
+ Post Load (0.1ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
9025
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9026
+ Completed 200 OK in 4ms (Views: 2.8ms | ActiveRecord: 0.4ms)
9027
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9028
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9029
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9030
+  (0.0ms) SAVEPOINT active_record_1
9031
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9032
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9033
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9034
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9035
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9036
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9037
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9038
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9039
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9040
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9041
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9042
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9043
+ SQL (0.2ms) 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", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9044
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9045
+  (0.0ms) SAVEPOINT active_record_1
9046
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Fri, 06 Jan 2012 09:22:55 UTC +00:00]]
9047
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9048
+ Processing by PostsController#show as HTML
9049
+ Parameters: {"id"=>"1"}
9050
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9051
+ Post Load (0.0ms) SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
9052
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9053
+ Completed 200 OK in 3ms (Views: 1.8ms | ActiveRecord: 0.3ms)
9054
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'title' LIMIT 1
9055
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'keywords' LIMIT 1
9056
+ MetaTag Load (0.1ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."name" = 'description' LIMIT 1
9057
+  (0.0ms) SAVEPOINT active_record_1
9058
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9059
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9060
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9061
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
9062
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9063
+  (0.1ms) SELECT 1 FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1
9064
+ SQL (0.3ms) INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00], ["title", "Test category"], ["updated_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00]]
9065
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00]]
9066
+ SQL (0.2ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00]]
9067
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00]]
9068
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00]]
9069
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00]]
9070
+ SQL (0.1ms) INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00]]
9071
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9072
+  (0.0ms) SAVEPOINT active_record_1
9073
+ SQL (0.2ms) INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Fri, 06 Jan 2012 09:22:56 UTC +00:00]]
9074
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9075
+ Processing by PostsController#index as HTML
9076
+ Category Load (0.1ms) SELECT "categories".* FROM "categories" LIMIT 1
9077
+ MetaTag Load (0.2ms) SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
9078
+ Completed 200 OK in 3ms (Views: 1.9ms | ActiveRecord: 0.3ms)
9079
+ Processing by WelcomeController#index as HTML
9080
+ Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
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.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-05 00:00:00.000000000 Z
12
+ date: 2012-01-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &73442950 !ruby/object:Gem::Requirement
16
+ requirement: &73735170 !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: *73442950
24
+ version_requirements: *73735170
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sqlite3
27
- requirement: &73442500 !ruby/object:Gem::Requirement
27
+ requirement: &73734850 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *73442500
35
+ version_requirements: *73734850
36
36
  description: Aimbulance CMS
37
37
  email:
38
38
  - superp1987@gmail.com
@@ -61,7 +61,7 @@ files:
61
61
  - test/dummy/Rakefile
62
62
  - test/dummy/db/migrate/20111226131910_create_categories.rb
63
63
  - test/dummy/db/migrate/20111226131911_create_posts.rb
64
- - test/dummy/db/test.sqlite.db
64
+ - test/dummy/app/views/welcome/index.html.erb
65
65
  - test/dummy/app/views/layouts/application.html.erb
66
66
  - test/dummy/app/views/posts/show.html.erb
67
67
  - test/dummy/app/views/posts/index.html.erb
@@ -70,6 +70,7 @@ files:
70
70
  - test/dummy/app/models/category.rb
71
71
  - test/dummy/app/assets/stylesheets/application.css
72
72
  - test/dummy/app/assets/javascripts/application.js
73
+ - test/dummy/app/controllers/welcome_controller.rb
73
74
  - test/dummy/app/controllers/posts_controller.rb
74
75
  - test/dummy/app/controllers/application_controller.rb
75
76
  - test/dummy/config.ru
@@ -92,6 +93,7 @@ files:
92
93
  - test/models/meta_tag_test.rb
93
94
  - test/models/category_test.rb
94
95
  - test/test_helper.rb
96
+ - test/controllers/welcome_controller_test.rb
95
97
  - test/controllers/posts_controller_test.rb
96
98
  homepage: https://github.com/superp/meta_manager
97
99
  licenses: []
@@ -128,7 +130,7 @@ test_files:
128
130
  - test/dummy/Rakefile
129
131
  - test/dummy/db/migrate/20111226131910_create_categories.rb
130
132
  - test/dummy/db/migrate/20111226131911_create_posts.rb
131
- - test/dummy/db/test.sqlite.db
133
+ - test/dummy/app/views/welcome/index.html.erb
132
134
  - test/dummy/app/views/layouts/application.html.erb
133
135
  - test/dummy/app/views/posts/show.html.erb
134
136
  - test/dummy/app/views/posts/index.html.erb
@@ -137,6 +139,7 @@ test_files:
137
139
  - test/dummy/app/models/category.rb
138
140
  - test/dummy/app/assets/stylesheets/application.css
139
141
  - test/dummy/app/assets/javascripts/application.js
142
+ - test/dummy/app/controllers/welcome_controller.rb
140
143
  - test/dummy/app/controllers/posts_controller.rb
141
144
  - test/dummy/app/controllers/application_controller.rb
142
145
  - test/dummy/config.ru
@@ -159,4 +162,5 @@ test_files:
159
162
  - test/models/meta_tag_test.rb
160
163
  - test/models/category_test.rb
161
164
  - test/test_helper.rb
165
+ - test/controllers/welcome_controller_test.rb
162
166
  - test/controllers/posts_controller_test.rb
Binary file