meta_manager 0.1.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/{README.rdoc → README.md} +50 -33
- data/db/migrate/20120105114018_create_meta_tags.rb +7 -7
- data/lib/meta_manager/engine.rb +1 -1
- data/lib/meta_manager/helper.rb +53 -34
- data/lib/meta_manager/model.rb +10 -11
- data/lib/meta_manager/models/active_record/meta_tag.rb +5 -5
- data/lib/meta_manager/taggable.rb +85 -43
- data/lib/meta_manager/version.rb +1 -1
- data/test/dummy/app/controllers/posts_controller.rb +8 -8
- metadata +83 -102
- data/lib/tasks/meta_manager_tasks.rake +0 -4
- data/test/dummy/config/database.yml +0 -22
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +0 -241
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 1df37364e9141a3f320a81377dcb956dc1a54b9fcbdc31e87b8ae13b3c0ed153
|
4
|
+
data.tar.gz: 13c7d2687b4125a1815d4c9a09a614e335436ad1145a2f3ad62765f5d7a5499f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8bcfe8e26d3aa8c876e039fe5fa7daed6b59d4b10a58cb042592ca16d1b8804ac0444c952c93509cd2ebdf0319b1126513346df93c355ba12aef409730aefbc8
|
7
|
+
data.tar.gz: 5617c6224a11ee099dd6f34bb2cc69b76bd0190e9f1f8c1c59b770f1977cff21fdeae63233b8a2b09fea762d2cad1bc5097a6c468165eb46d7009bf1e55404d2
|
data/{README.rdoc → README.md}
RENAMED
@@ -1,23 +1,30 @@
|
|
1
|
-
|
1
|
+
# MetaManager
|
2
2
|
|
3
3
|
Enable meta tags in your model
|
4
4
|
|
5
|
-
|
5
|
+
## Install
|
6
6
|
|
7
|
+
```
|
7
8
|
gem "meta_manager"
|
8
|
-
|
9
|
-
ActiveRecord:
|
9
|
+
```
|
10
10
|
|
11
|
+
ActiveRecord:
|
12
|
+
|
13
|
+
```
|
11
14
|
require 'meta_manager/orm/active_record'
|
12
15
|
|
13
16
|
rake meta_manager_engine:install:migrations
|
17
|
+
```
|
14
18
|
|
15
19
|
Mongoid:
|
16
20
|
|
21
|
+
```
|
17
22
|
require 'meta_manager/orm/mongoid'
|
23
|
+
```
|
18
24
|
|
19
|
-
|
25
|
+
## Usage
|
20
26
|
|
27
|
+
```ruby
|
21
28
|
class Category < ActiveRecord::Base
|
22
29
|
include MetaManager::Taggable
|
23
30
|
end
|
@@ -26,76 +33,86 @@ Mongoid:
|
|
26
33
|
@category.tag_title = 'category test title'
|
27
34
|
@category.tag_keywords = "Some keywords"
|
28
35
|
@category.tag_description = "Some description"
|
29
|
-
|
36
|
+
|
30
37
|
@category.meta_tags.build(:name => "og:title", :content => 'category og:title')
|
31
|
-
|
32
|
-
# create dynamic meta tags, who will be overwrited the same category tag names
|
38
|
+
|
39
|
+
# create dynamic meta tags, who will be overwrited the same category tag names
|
33
40
|
# only with @meta_dynamic=true in controller
|
34
41
|
@category.meta_tags.build(:name => "og:title", :content => 'dynamic og:title - %{post.title}', :is_dynamic => true)
|
35
42
|
@category.meta_tags.build(:name => "title", :content => '%{post.title} - %{post.notes}', :is_dynamic => true)
|
36
|
-
|
43
|
+
|
37
44
|
@category.save
|
38
|
-
|
45
|
+
|
39
46
|
# create post for dynamic example
|
40
47
|
@post = Post.create(:title => 'post test title', :notes => 'post test notes')
|
41
|
-
|
42
|
-
|
48
|
+
```
|
49
|
+
|
50
|
+
## Rendering example
|
43
51
|
|
44
52
|
At layouts/application.html.erb
|
45
53
|
|
54
|
+
```html
|
46
55
|
<head>
|
47
56
|
<%= raw(render_meta_tags(@category)) %>
|
48
57
|
<title><%= render_page_title(@category) %></title>
|
49
|
-
|
58
|
+
```
|
59
|
+
|
50
60
|
At controllers/posts_controller.rb
|
51
61
|
|
52
|
-
|
53
|
-
|
54
|
-
|
62
|
+
```ruby
|
63
|
+
before_action :find_category
|
64
|
+
before_action :prepare_dynamic_page, :only => [:show]
|
65
|
+
|
55
66
|
def index
|
56
67
|
@posts = Post.order('id')
|
57
68
|
respond_with(@posts)
|
58
69
|
end
|
59
|
-
|
70
|
+
|
60
71
|
def show
|
61
72
|
@post = Post.find(params[:id])
|
62
73
|
respond_with(@post)
|
63
74
|
end
|
64
|
-
|
75
|
+
|
65
76
|
protected
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
+
|
78
|
+
def find_category
|
79
|
+
@category = Category.first
|
80
|
+
end
|
81
|
+
|
82
|
+
# set @meta_dynamic true to turn on dymanic meta tags.
|
83
|
+
def prepare_dynamic_page
|
84
|
+
@meta_dynamic = true
|
85
|
+
end
|
86
|
+
```
|
87
|
+
|
88
|
+
It will be generate meta tags and title for @category.
|
77
89
|
In action show we wont to generate dynamic meta tags from instance @post.
|
78
90
|
It means that meta tag 'og:title' and tag 'title' will be overwrited with attributes from instance @post.
|
79
91
|
|
80
|
-
|
92
|
+
### Results
|
81
93
|
|
82
94
|
Action index:
|
83
95
|
|
96
|
+
```html
|
84
97
|
<meta content='Some keywords' name='keywords' />
|
85
98
|
<meta content='Some description' name='description' />
|
86
99
|
<meta content='category og:title' property='og:title' />
|
87
100
|
<title>category test title</title>
|
88
|
-
|
101
|
+
```
|
102
|
+
|
89
103
|
Action show:
|
90
104
|
|
105
|
+
```html
|
91
106
|
<meta content='Some keywords' name='keywords' />
|
92
107
|
<meta content='Some description' name='description' />
|
93
108
|
<meta content='dynamic og:title - post test title' property='og:title' />
|
94
109
|
<title>post test title - post test notes</title>
|
110
|
+
```
|
95
111
|
|
112
|
+
## Test
|
96
113
|
|
97
|
-
|
98
|
-
|
114
|
+
```
|
99
115
|
rake test
|
116
|
+
```
|
100
117
|
|
101
118
|
Copyright (c) 2012 Fodojo, released under the MIT license
|
@@ -1,16 +1,16 @@
|
|
1
1
|
class CreateMetaTags < ActiveRecord::Migration
|
2
2
|
def self.up
|
3
3
|
create_table :meta_tags do |t|
|
4
|
-
t.string :name, :
|
4
|
+
t.string :name, limit: 64, null: false
|
5
5
|
t.text :content
|
6
|
-
t.boolean :is_dynamic, :
|
7
|
-
|
8
|
-
t.integer :taggable_id, :
|
9
|
-
t.string :taggable_type, :
|
10
|
-
|
6
|
+
t.boolean :is_dynamic, default: false
|
7
|
+
|
8
|
+
t.integer :taggable_id, null: false
|
9
|
+
t.string :taggable_type, limit: 64, null: false
|
10
|
+
|
11
11
|
t.timestamps
|
12
12
|
end
|
13
|
-
|
13
|
+
|
14
14
|
add_index :meta_tags, :name
|
15
15
|
add_index :meta_tags, [:taggable_type, :taggable_id]
|
16
16
|
end
|
data/lib/meta_manager/engine.rb
CHANGED
@@ -3,7 +3,7 @@ require 'meta_manager'
|
|
3
3
|
|
4
4
|
module MetaManager #:nodoc:
|
5
5
|
class Engine < ::Rails::Engine #:nodoc:
|
6
|
-
initializer
|
6
|
+
initializer 'meta_manager.setup' do
|
7
7
|
ActiveSupport.on_load :action_controller do
|
8
8
|
ActionController::Base.send :include, MetaManager::Helper
|
9
9
|
end
|
data/lib/meta_manager/helper.rb
CHANGED
@@ -1,58 +1,77 @@
|
|
1
1
|
module MetaManager
|
2
2
|
module Helper
|
3
|
-
|
4
|
-
|
3
|
+
include ::ActionView::Helpers::TagHelper
|
4
|
+
|
5
5
|
def self.included(base)
|
6
6
|
base.send :helper_method, :render_meta_tags, :render_page_title
|
7
7
|
end
|
8
|
-
|
8
|
+
|
9
9
|
def render_meta_tags(record)
|
10
10
|
return if record.nil?
|
11
|
-
|
11
|
+
|
12
12
|
dynamic = self.instance_variable_get("@meta_dynamic")
|
13
13
|
tags = []
|
14
|
-
|
14
|
+
|
15
15
|
get_actual_meta_tags(record, dynamic).each do |meta_tag|
|
16
16
|
unless meta_tag.name == 'title'
|
17
17
|
type = meta_tag.name =~ /og:/ ? 'property' : 'name'
|
18
|
-
tags <<
|
18
|
+
tags << tag(:meta, type => meta_tag.name, :content => render_meta_tag_content(meta_tag))
|
19
19
|
end
|
20
20
|
end
|
21
|
-
|
21
|
+
|
22
22
|
tags.join("\n\s\s")
|
23
23
|
end
|
24
|
-
|
24
|
+
|
25
25
|
def render_page_title(record=nil, options = {})
|
26
26
|
dynamic = self.instance_variable_get("@meta_dynamic")
|
27
|
-
|
28
|
-
meta_tags = get_actual_meta_tags(record, dynamic)
|
27
|
+
|
28
|
+
meta_tags = get_actual_meta_tags(record, dynamic)
|
29
29
|
meta_tags.detect{|t| t.name == 'title'}.try(:get_content, self) || get_page_title(record, options)
|
30
30
|
end
|
31
|
-
|
31
|
+
|
32
|
+
protected
|
33
|
+
|
34
|
+
# Call render_meta_tag_content_description if method exists
|
35
|
+
# Controller:
|
36
|
+
# protected
|
37
|
+
#
|
38
|
+
# def render_meta_tag_content_description(meta_tag)
|
39
|
+
# if !params[:page].blank? && params[:page] != '1'
|
40
|
+
# meta_tag.content += " - page #{params[:page].to_i}"
|
41
|
+
# end
|
42
|
+
# end
|
43
|
+
#
|
44
|
+
def render_meta_tag_content(meta_tag)
|
45
|
+
method_name = "render_meta_tag_content_#{meta_tag.name}".to_sym
|
46
|
+
send(method_name, meta_tag) if respond_to?(method_name, true)
|
47
|
+
|
48
|
+
meta_tag.get_content(self)
|
49
|
+
end
|
50
|
+
|
32
51
|
private
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
end
|
54
|
-
|
55
|
-
meta_tags.compact
|
52
|
+
|
53
|
+
def get_page_title(record, options)
|
54
|
+
options = { :spliter => ' - ', :append_title => true }.merge(options)
|
55
|
+
|
56
|
+
view_title = record.respond_to?(:title) ? record.title : (record.respond_to?(:name) ? record.name : nil) unless record.nil?
|
57
|
+
|
58
|
+
page_title = []
|
59
|
+
page_title << options[:title] if options.key?(:title)
|
60
|
+
page_title << view_title unless record.nil?
|
61
|
+
page_title << I18n.t("page.title") if options[:append_title]
|
62
|
+
|
63
|
+
page_title.flatten.compact.uniq.join(options[:spliter])
|
64
|
+
end
|
65
|
+
|
66
|
+
def get_actual_meta_tags(record, dynamic)
|
67
|
+
meta_tags = []
|
68
|
+
_meta_tags = record && record.respond_to?(:meta_tags) ? record.meta_tags : []
|
69
|
+
|
70
|
+
_meta_tags.group_by(&:name).each do |name, items|
|
71
|
+
meta_tags << (items.detect{|r| r.is_dynamic && dynamic} || items.detect{|r| !r.is_dynamic})
|
56
72
|
end
|
73
|
+
|
74
|
+
meta_tags.compact
|
75
|
+
end
|
57
76
|
end
|
58
77
|
end
|
data/lib/meta_manager/model.rb
CHANGED
@@ -1,20 +1,19 @@
|
|
1
1
|
module MetaManager
|
2
2
|
module Model
|
3
3
|
extend ::ActiveSupport::Concern
|
4
|
-
|
5
|
-
included do
|
6
|
-
validates_presence_of :name, :taggable_type
|
7
|
-
validates_uniqueness_of :name, :
|
8
|
-
|
9
|
-
attr_accessible :name, :content, :is_dynamic
|
4
|
+
|
5
|
+
included do
|
6
|
+
validates_presence_of :name, :taggable_type
|
7
|
+
validates_uniqueness_of :name, scope: %i[taggable_type taggable_id is_dynamic]
|
8
|
+
validates :content, length: { maximum: 4000 }
|
10
9
|
end
|
11
|
-
|
12
|
-
def get_content(controller=nil)
|
13
|
-
|
10
|
+
|
11
|
+
def get_content(controller = nil)
|
12
|
+
is_dynamic ? dynamic_content(controller) : content
|
14
13
|
end
|
15
|
-
|
14
|
+
|
16
15
|
def dynamic_content(controller)
|
17
|
-
|
16
|
+
content.gsub /%{([\w\.]+)}/ do
|
18
17
|
items = $1.split('.')
|
19
18
|
instance_name = items.shift
|
20
19
|
method_name = items.join('.')
|
@@ -1,8 +1,8 @@
|
|
1
1
|
class MetaTag < ::ActiveRecord::Base
|
2
2
|
include MetaManager::Model
|
3
3
|
|
4
|
-
belongs_to :taggable, :
|
5
|
-
|
6
|
-
validates_presence_of :name, :taggable_type
|
7
|
-
validates_uniqueness_of :name, :
|
8
|
-
end
|
4
|
+
belongs_to :taggable, polymorphic: true
|
5
|
+
|
6
|
+
validates_presence_of :name, :taggable_type
|
7
|
+
validates_uniqueness_of :name, scope: %i[taggable_type taggable_id is_dynamic]
|
8
|
+
end
|
@@ -1,59 +1,101 @@
|
|
1
1
|
module MetaManager
|
2
2
|
module Taggable
|
3
3
|
extend ::ActiveSupport::Concern
|
4
|
-
|
5
|
-
included do
|
6
|
-
has_many :meta_tags, :
|
7
|
-
|
8
|
-
accepts_nested_attributes_for :meta_tags, :
|
4
|
+
|
5
|
+
included do |base|
|
6
|
+
has_many :meta_tags, as: :taggable, dependent: :destroy, autosave: true
|
7
|
+
|
8
|
+
accepts_nested_attributes_for :meta_tags, reject_if: proc { |tag| tag['content'].nil? }, allow_destroy: true
|
9
|
+
|
10
|
+
base.prepend Extension
|
9
11
|
end
|
10
|
-
|
12
|
+
|
13
|
+
# some required extentions
|
14
|
+
module Extension
|
15
|
+
def respond_to_missing?(method_sym, include_all = false)
|
16
|
+
return true if method_sym.to_s =~ meta_match_case
|
17
|
+
|
18
|
+
super
|
19
|
+
end
|
20
|
+
|
21
|
+
def method_missing(method_sym, *args)
|
22
|
+
key = method_sym.to_s
|
23
|
+
return read_or_update(key, args.first) if key =~ meta_match_case
|
24
|
+
|
25
|
+
super
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
11
29
|
# Save meta tags records into one hash
|
12
|
-
def meta_tag(attr_name, options={})
|
30
|
+
def meta_tag(attr_name, options = {})
|
13
31
|
key = normalize_meta_tag_name(attr_name)
|
14
|
-
|
15
|
-
|
16
|
-
|
32
|
+
|
33
|
+
key = localized_key(key)
|
34
|
+
|
35
|
+
cached_meta_tags[key] ||= find_meta(key, options[:fallback])
|
36
|
+
cached_meta_tags[key] ||= meta_tags.build(name: key) if options[:build]
|
37
|
+
|
17
38
|
cached_meta_tags[key]
|
18
39
|
end
|
19
40
|
|
20
41
|
def cached_meta_tags
|
21
42
|
@cached_meta_tags ||= {}
|
22
43
|
end
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
44
|
+
|
45
|
+
private
|
46
|
+
|
47
|
+
def find_meta(key, fallback = false)
|
48
|
+
found = meta_tags.detect { |t| t.name == key }
|
49
|
+
return found unless fallback
|
50
|
+
|
51
|
+
fallback_keys(key).each do |alter_key|
|
52
|
+
found ||= meta_tags.detect { |t| t.name == alter_key } if fallback
|
53
|
+
|
54
|
+
break if found
|
29
55
|
end
|
56
|
+
|
57
|
+
found
|
58
|
+
end
|
59
|
+
|
60
|
+
def fallback_keys(key)
|
61
|
+
pure_key = key.gsub(/_(#{I18n.available_locales.join('|')})$/, '')
|
62
|
+
[
|
63
|
+
key,
|
64
|
+
"#{pure_key}_#{I18n.default_locale}",
|
65
|
+
pure_key
|
66
|
+
].compact
|
67
|
+
end
|
68
|
+
|
69
|
+
def read_or_update(key, value = nil)
|
70
|
+
attr_name = key.gsub(meta_match_case, '')
|
71
|
+
return find_tag_content(attr_name) if value.nil? || key =~ /[^=]$/
|
72
|
+
|
73
|
+
record = meta_tag(attr_name, build: value.present?, fallback: value.blank?)
|
74
|
+
return if record.blank?
|
75
|
+
return record.delete if value.blank?
|
76
|
+
|
77
|
+
record.content = value
|
78
|
+
end
|
79
|
+
|
80
|
+
def normalize_meta_tag_name(value)
|
81
|
+
value.to_s.downcase.strip.gsub('_before_type_cast', '').gsub(/=$/, '')
|
82
|
+
end
|
83
|
+
|
84
|
+
def meta_match_case
|
85
|
+
/^tag_/
|
86
|
+
end
|
87
|
+
|
88
|
+
def localized_meta_key_case
|
89
|
+
/^(.+?)(?:_(#{I18n.available_locales.join('|')}))?$/
|
90
|
+
end
|
91
|
+
|
92
|
+
def localized_key(key)
|
93
|
+
key, locale = localized_meta_key_case.match(key)[1..2]
|
94
|
+
[key, locale || I18n.locale].join('_')
|
95
|
+
end
|
96
|
+
|
97
|
+
def find_tag_content(attr_name)
|
98
|
+
meta_tag(attr_name, fallback: true).try(:content)
|
30
99
|
end
|
31
|
-
|
32
|
-
protected
|
33
|
-
|
34
|
-
def normalize_meta_tag_name(value)
|
35
|
-
value.to_s.downcase.strip.gsub("_before_type_cast", '').gsub(/=$/, '')
|
36
|
-
end
|
37
|
-
|
38
|
-
def method_missing(method, *args, &block)
|
39
|
-
key = method.to_s
|
40
|
-
|
41
|
-
if key =~ meta_match_case
|
42
|
-
attr_name = key.gsub(meta_match_case, '')
|
43
|
-
|
44
|
-
if key =~ /=$/ && !args.first.blank?
|
45
|
-
record = meta_tag(attr_name, :build => true)
|
46
|
-
record.content = args.first
|
47
|
-
else
|
48
|
-
meta_tag(attr_name).try(:content)
|
49
|
-
end
|
50
|
-
else
|
51
|
-
super
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
def meta_match_case
|
56
|
-
/^tag_/
|
57
|
-
end
|
58
100
|
end
|
59
101
|
end
|
data/lib/meta_manager/version.rb
CHANGED
@@ -1,25 +1,25 @@
|
|
1
1
|
class PostsController < ApplicationController
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
before_action :find_category
|
3
|
+
before_action :prepare_dynamic_page, :only => [:show]
|
4
|
+
|
5
5
|
def index
|
6
6
|
@posts = Post.order('id')
|
7
7
|
respond_with(@posts)
|
8
8
|
end
|
9
|
-
|
9
|
+
|
10
10
|
def show
|
11
11
|
@post = Post.find(params[:id])
|
12
12
|
respond_with(@post)
|
13
13
|
end
|
14
|
-
|
14
|
+
|
15
15
|
protected
|
16
|
-
|
16
|
+
|
17
17
|
def find_category
|
18
18
|
@category = Category.first
|
19
19
|
end
|
20
|
-
|
20
|
+
|
21
21
|
def prepare_dynamic_page
|
22
22
|
@meta_dynamic = true
|
23
23
|
end
|
24
|
-
|
24
|
+
|
25
25
|
end
|
metadata
CHANGED
@@ -1,96 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: meta_manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Pavel Galeta
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2020-11-04 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: orm_adapter
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: activerecord
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - ">="
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: 3.0.0
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - ">="
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: 3.0.0
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: mongoid
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
56
|
+
name: rails
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
|
-
- -
|
59
|
+
- - ">="
|
68
60
|
- !ruby/object:Gem::Version
|
69
|
-
version:
|
61
|
+
version: 3.1.3
|
70
62
|
type: :development
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
|
-
- -
|
66
|
+
- - ">="
|
76
67
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
68
|
+
version: 3.1.3
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
|
-
name:
|
70
|
+
name: sqlite3
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
|
-
- -
|
73
|
+
- - ">="
|
84
74
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
75
|
+
version: '0'
|
86
76
|
type: :development
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
|
-
- -
|
80
|
+
- - ">="
|
92
81
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
82
|
+
version: '0'
|
94
83
|
description: Aimbulance CMS
|
95
84
|
email:
|
96
85
|
- superp1987@gmail.com
|
@@ -98,133 +87,125 @@ executables: []
|
|
98
87
|
extensions: []
|
99
88
|
extra_rdoc_files: []
|
100
89
|
files:
|
90
|
+
- MIT-LICENSE
|
91
|
+
- README.md
|
92
|
+
- Rakefile
|
101
93
|
- db/migrate/20120105114018_create_meta_tags.rb
|
102
|
-
- lib/meta_manager
|
94
|
+
- lib/meta_manager.rb
|
103
95
|
- lib/meta_manager/engine.rb
|
104
96
|
- lib/meta_manager/helper.rb
|
105
|
-
- lib/meta_manager/taggable.rb
|
106
|
-
- lib/meta_manager/models/mongoid/meta_tag.rb
|
107
|
-
- lib/meta_manager/models/active_record/meta_tag.rb
|
108
97
|
- lib/meta_manager/model.rb
|
109
|
-
- lib/meta_manager/
|
98
|
+
- lib/meta_manager/models/active_record/meta_tag.rb
|
99
|
+
- lib/meta_manager/models/mongoid/meta_tag.rb
|
110
100
|
- lib/meta_manager/orm/active_record.rb
|
111
|
-
- lib/meta_manager.rb
|
112
|
-
- lib/
|
113
|
-
-
|
114
|
-
-
|
115
|
-
-
|
116
|
-
- test/
|
117
|
-
- test/dummy/db/test.sqlite3
|
118
|
-
- test/dummy/db/migrate/20111226131910_create_categories.rb
|
119
|
-
- test/dummy/db/migrate/20111226131911_create_posts.rb
|
120
|
-
- test/dummy/config.ru
|
121
|
-
- test/dummy/log/test.log
|
122
|
-
- test/dummy/app/assets/stylesheets/application.css
|
101
|
+
- lib/meta_manager/orm/mongoid.rb
|
102
|
+
- lib/meta_manager/taggable.rb
|
103
|
+
- lib/meta_manager/version.rb
|
104
|
+
- test/controllers/posts_controller_test.rb
|
105
|
+
- test/controllers/welcome_controller_test.rb
|
106
|
+
- test/dummy/Rakefile
|
123
107
|
- test/dummy/app/assets/javascripts/application.js
|
108
|
+
- test/dummy/app/assets/stylesheets/application.css
|
109
|
+
- test/dummy/app/controllers/application_controller.rb
|
110
|
+
- test/dummy/app/controllers/posts_controller.rb
|
111
|
+
- test/dummy/app/controllers/welcome_controller.rb
|
124
112
|
- test/dummy/app/helpers/application_helper.rb
|
125
|
-
- test/dummy/app/views/welcome/index.html.erb
|
126
|
-
- test/dummy/app/views/layouts/application.html.erb
|
127
|
-
- test/dummy/app/views/posts/show.html.erb
|
128
|
-
- test/dummy/app/views/posts/index.html.erb
|
129
113
|
- test/dummy/app/models/category.rb
|
130
114
|
- test/dummy/app/models/post.rb
|
131
|
-
- test/dummy/app/
|
132
|
-
- test/dummy/app/
|
133
|
-
- test/dummy/app/
|
134
|
-
- test/dummy/
|
135
|
-
- test/dummy/
|
136
|
-
- test/dummy/
|
137
|
-
- test/dummy/
|
138
|
-
- test/dummy/
|
115
|
+
- test/dummy/app/views/layouts/application.html.erb
|
116
|
+
- test/dummy/app/views/posts/index.html.erb
|
117
|
+
- test/dummy/app/views/posts/show.html.erb
|
118
|
+
- test/dummy/app/views/welcome/index.html.erb
|
119
|
+
- test/dummy/config.ru
|
120
|
+
- test/dummy/config/application.rb
|
121
|
+
- test/dummy/config/boot.rb
|
122
|
+
- test/dummy/config/environment.rb
|
139
123
|
- test/dummy/config/environments/development.rb
|
140
124
|
- test/dummy/config/environments/production.rb
|
141
125
|
- test/dummy/config/environments/test.rb
|
142
|
-
- test/dummy/config/
|
126
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
143
127
|
- test/dummy/config/initializers/inflections.rb
|
144
|
-
- test/dummy/config/initializers/secret_token.rb
|
145
128
|
- test/dummy/config/initializers/meta_manager.rb
|
146
|
-
- test/dummy/config/initializers/wrap_parameters.rb
|
147
129
|
- test/dummy/config/initializers/mime_types.rb
|
148
|
-
- test/dummy/config/initializers/
|
130
|
+
- test/dummy/config/initializers/secret_token.rb
|
149
131
|
- test/dummy/config/initializers/session_store.rb
|
132
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
150
133
|
- test/dummy/config/locales/en.yml
|
151
|
-
- test/dummy/config/application.rb
|
152
134
|
- test/dummy/config/routes.rb
|
153
|
-
- test/dummy/
|
154
|
-
- test/dummy/
|
135
|
+
- test/dummy/db/migrate/20111226131910_create_categories.rb
|
136
|
+
- test/dummy/db/migrate/20111226131911_create_posts.rb
|
137
|
+
- test/dummy/public/404.html
|
138
|
+
- test/dummy/public/422.html
|
139
|
+
- test/dummy/public/500.html
|
140
|
+
- test/dummy/public/favicon.ico
|
155
141
|
- test/dummy/script/rails
|
156
|
-
- test/
|
142
|
+
- test/meta_manager_test.rb
|
157
143
|
- test/models/category_test.rb
|
158
144
|
- test/models/meta_tag_test.rb
|
159
|
-
- test/
|
160
|
-
- test/controllers/posts_controller_test.rb
|
145
|
+
- test/test_helper.rb
|
161
146
|
homepage: https://github.com/superp/meta_manager
|
162
147
|
licenses: []
|
148
|
+
metadata: {}
|
163
149
|
post_install_message:
|
164
150
|
rdoc_options: []
|
165
151
|
require_paths:
|
166
152
|
- lib
|
167
153
|
required_ruby_version: !ruby/object:Gem::Requirement
|
168
|
-
none: false
|
169
154
|
requirements:
|
170
|
-
- -
|
155
|
+
- - ">="
|
171
156
|
- !ruby/object:Gem::Version
|
172
157
|
version: '0'
|
173
158
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
174
|
-
none: false
|
175
159
|
requirements:
|
176
|
-
- -
|
160
|
+
- - ">="
|
177
161
|
- !ruby/object:Gem::Version
|
178
162
|
version: '0'
|
179
163
|
requirements: []
|
180
164
|
rubyforge_project:
|
181
|
-
rubygems_version:
|
165
|
+
rubygems_version: 2.7.6.2
|
182
166
|
signing_key:
|
183
|
-
specification_version:
|
167
|
+
specification_version: 4
|
184
168
|
summary: Head meta tags manager for models.
|
185
169
|
test_files:
|
170
|
+
- test/controllers/welcome_controller_test.rb
|
171
|
+
- test/controllers/posts_controller_test.rb
|
172
|
+
- test/test_helper.rb
|
186
173
|
- test/meta_manager_test.rb
|
187
|
-
- test/dummy/db/test.sqlite3
|
188
|
-
- test/dummy/db/migrate/20111226131910_create_categories.rb
|
189
|
-
- test/dummy/db/migrate/20111226131911_create_posts.rb
|
190
|
-
- test/dummy/config.ru
|
191
|
-
- test/dummy/log/test.log
|
192
|
-
- test/dummy/app/assets/stylesheets/application.css
|
193
|
-
- test/dummy/app/assets/javascripts/application.js
|
194
|
-
- test/dummy/app/helpers/application_helper.rb
|
195
174
|
- test/dummy/app/views/welcome/index.html.erb
|
196
|
-
- test/dummy/app/views/layouts/application.html.erb
|
197
|
-
- test/dummy/app/views/posts/show.html.erb
|
198
175
|
- test/dummy/app/views/posts/index.html.erb
|
199
|
-
- test/dummy/app/
|
200
|
-
- test/dummy/app/
|
176
|
+
- test/dummy/app/views/posts/show.html.erb
|
177
|
+
- test/dummy/app/views/layouts/application.html.erb
|
178
|
+
- test/dummy/app/helpers/application_helper.rb
|
179
|
+
- test/dummy/app/controllers/application_controller.rb
|
201
180
|
- test/dummy/app/controllers/posts_controller.rb
|
202
181
|
- test/dummy/app/controllers/welcome_controller.rb
|
203
|
-
- test/dummy/app/
|
204
|
-
- test/dummy/
|
205
|
-
- test/dummy/
|
182
|
+
- test/dummy/app/assets/javascripts/application.js
|
183
|
+
- test/dummy/app/assets/stylesheets/application.css
|
184
|
+
- test/dummy/app/models/post.rb
|
185
|
+
- test/dummy/app/models/category.rb
|
206
186
|
- test/dummy/public/500.html
|
207
187
|
- test/dummy/public/422.html
|
188
|
+
- test/dummy/public/404.html
|
189
|
+
- test/dummy/public/favicon.ico
|
208
190
|
- test/dummy/Rakefile
|
209
|
-
- test/dummy/config/
|
210
|
-
- test/dummy/config/
|
211
|
-
- test/dummy/config/environments/test.rb
|
212
|
-
- test/dummy/config/database.yml
|
213
|
-
- test/dummy/config/initializers/inflections.rb
|
191
|
+
- test/dummy/config/application.rb
|
192
|
+
- test/dummy/config/boot.rb
|
214
193
|
- test/dummy/config/initializers/secret_token.rb
|
215
194
|
- test/dummy/config/initializers/meta_manager.rb
|
216
|
-
- test/dummy/config/initializers/
|
217
|
-
- test/dummy/config/initializers/mime_types.rb
|
195
|
+
- test/dummy/config/initializers/inflections.rb
|
218
196
|
- test/dummy/config/initializers/backtrace_silencers.rb
|
219
197
|
- test/dummy/config/initializers/session_store.rb
|
198
|
+
- test/dummy/config/initializers/mime_types.rb
|
199
|
+
- test/dummy/config/initializers/wrap_parameters.rb
|
200
|
+
- test/dummy/config/environment.rb
|
201
|
+
- test/dummy/config/environments/development.rb
|
202
|
+
- test/dummy/config/environments/production.rb
|
203
|
+
- test/dummy/config/environments/test.rb
|
220
204
|
- test/dummy/config/locales/en.yml
|
221
|
-
- test/dummy/config/application.rb
|
222
205
|
- test/dummy/config/routes.rb
|
223
|
-
- test/dummy/
|
224
|
-
- test/dummy/
|
206
|
+
- test/dummy/db/migrate/20111226131910_create_categories.rb
|
207
|
+
- test/dummy/db/migrate/20111226131911_create_posts.rb
|
208
|
+
- test/dummy/config.ru
|
225
209
|
- test/dummy/script/rails
|
226
|
-
- test/test_helper.rb
|
227
210
|
- test/models/category_test.rb
|
228
211
|
- test/models/meta_tag_test.rb
|
229
|
-
- test/controllers/welcome_controller_test.rb
|
230
|
-
- test/controllers/posts_controller_test.rb
|
@@ -1,22 +0,0 @@
|
|
1
|
-
# SQLite version 3.x
|
2
|
-
# gem install sqlite3
|
3
|
-
development:
|
4
|
-
adapter: sqlite3
|
5
|
-
database: db/development.sqlite3
|
6
|
-
pool: 5
|
7
|
-
timeout: 5000
|
8
|
-
|
9
|
-
# Warning: The database defined as "test" will be erased and
|
10
|
-
# re-generated from your development database when you run "rake".
|
11
|
-
# Do not set this db to the same as development or production.
|
12
|
-
test:
|
13
|
-
adapter: sqlite3
|
14
|
-
database: db/test.sqlite3
|
15
|
-
pool: 5
|
16
|
-
timeout: 5000
|
17
|
-
|
18
|
-
production:
|
19
|
-
adapter: sqlite3
|
20
|
-
database: db/production.sqlite3
|
21
|
-
pool: 5
|
22
|
-
timeout: 5000
|
data/test/dummy/db/test.sqlite3
DELETED
Binary file
|
data/test/dummy/log/test.log
DELETED
@@ -1,241 +0,0 @@
|
|
1
|
-
Connecting to database specified by database.yml
|
2
|
-
Connecting to database specified by database.yml
|
3
|
-
Connecting to database specified by database.yml
|
4
|
-
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
5
|
-
[1m[35m (9.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
6
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
7
|
-
[1m[35m (3.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
8
|
-
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9
|
-
Migrating to CreateMetaTags (20120105114018)
|
10
|
-
[1m[35m (0.1ms)[0m begin transaction
|
11
|
-
[1m[36m (0.8ms)[0m [1mCREATE 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 NOT NULL, "updated_at" datetime NOT NULL) [0m
|
12
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("meta_tags")
|
13
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_meta_tags_on_name" ON "meta_tags" ("name")[0m
|
14
|
-
[1m[35m (0.1ms)[0m PRAGMA index_list("meta_tags")
|
15
|
-
[1m[36m (0.1ms)[0m [1mPRAGMA index_info('index_meta_tags_on_name')[0m
|
16
|
-
[1m[35m (0.2ms)[0m CREATE INDEX "index_meta_tags_on_taggable_type_and_taggable_id" ON "meta_tags" ("taggable_type", "taggable_id")
|
17
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120105114018')[0m
|
18
|
-
[1m[35m (4.7ms)[0m commit transaction
|
19
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
20
|
-
Migrating to CreateCategories (20111226131910)
|
21
|
-
[1m[35m (0.1ms)[0m begin transaction
|
22
|
-
[1m[36m (1.1ms)[0m [1mCREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
23
|
-
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111226131910')
|
24
|
-
[1m[36m (6.0ms)[0m [1mcommit transaction[0m
|
25
|
-
Migrating to CreatePosts (20111226131911)
|
26
|
-
[1m[35m (0.1ms)[0m begin transaction
|
27
|
-
[1m[36m (0.5ms)[0m [1mCREATE TABLE "posts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "content" text, "notes" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
28
|
-
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111226131911')
|
29
|
-
[1m[36m (12.5ms)[0m [1mcommit transaction[0m
|
30
|
-
[1m[35m (0.1ms)[0m begin transaction
|
31
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
32
|
-
[1m[35m (0.1ms)[0m begin transaction
|
33
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
34
|
-
[1m[35mMetaTag Exists (0.3ms)[0m SELECT 1 AS one 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
|
35
|
-
[1m[36mMetaTag Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
36
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
37
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
38
|
-
[1m[35mSQL (1.8ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["title", "Test category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
39
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "title content"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
40
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "keywords content"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
41
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
42
|
-
[1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
43
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
44
|
-
[1m[35m (0.1ms)[0m begin transaction
|
45
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
46
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["title", "Test category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
47
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
48
|
-
[1m[35mCategory Load (0.1ms)[0m SELECT "categories".* FROM "categories" WHERE "categories"."id" = ? LIMIT 1 [["id", 1]]
|
49
|
-
[1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
50
|
-
[1m[35mMetaTag Load (0.1ms)[0m SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
|
51
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
52
|
-
[1m[35m (0.1ms)[0m begin transaction
|
53
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
54
|
-
[1m[35m (0.0ms)[0m begin transaction
|
55
|
-
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "meta_tags" [0m
|
56
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
57
|
-
[1m[36mMetaTag Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
58
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
59
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["title", "Test category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
60
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title content"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
61
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
62
|
-
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "meta_tags"
|
63
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
64
|
-
[1m[35m (0.0ms)[0m begin transaction
|
65
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
66
|
-
[1m[35m (0.1ms)[0m begin transaction
|
67
|
-
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68
|
-
[1m[35m (0.0ms)[0m begin transaction
|
69
|
-
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70
|
-
[1m[35m (0.1ms)[0m begin transaction
|
71
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
72
|
-
[1m[35mSQL (0.7ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "some content"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
73
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
74
|
-
[1m[35mMetaTag Exists (0.2ms)[0m SELECT 1 AS one 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
|
75
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1[0m
|
76
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
77
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
78
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
79
|
-
[1m[36mSQL (0.7ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "some content"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
80
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
81
|
-
[1m[36mMetaTag Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 2 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
82
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
83
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
84
|
-
[1m[35m (0.1ms)[0m begin transaction
|
85
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
86
|
-
[1m[35mMetaTag Exists (0.2ms)[0m SELECT 1 AS one 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
|
87
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
88
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "some content"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
89
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
90
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
91
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
92
|
-
[1m[35mMetaTag Exists (0.3ms)[0m SELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1
|
93
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" IS NULL AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
94
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
95
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
96
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
97
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "some content"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "test"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
98
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
99
|
-
[1m[36mMetaTag Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'test' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
100
|
-
[1m[35mMetaTag Exists (0.2ms)[0m SELECT 1 AS one 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
|
101
|
-
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
102
|
-
[1m[35m (0.1ms)[0m begin transaction
|
103
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
104
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "some content"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", true], ["name", "somename"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
105
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
106
|
-
[1m[35mMetaTag Exists (0.2ms)[0m SELECT 1 AS one 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
|
107
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'somename' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" = 1 AND "meta_tags"."is_dynamic" = 't') LIMIT 1[0m
|
108
|
-
[1m[35m (0.2ms)[0m rollback transaction
|
109
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
110
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
111
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
112
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
113
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
114
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
115
|
-
[1m[36mMetaTag Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
116
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
117
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
118
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
119
|
-
[1m[36mMetaTag Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
120
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
121
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
122
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
123
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1[0m
|
124
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
125
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1[0m
|
126
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
127
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["title", "Test category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
128
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
129
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "test, keywords"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
130
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
131
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "category og:title"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
132
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
133
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "dynamic og:title - %{post.title}"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
134
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
135
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
136
|
-
[1m[35mSQL (0.6ms)[0m INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
137
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
138
|
-
Processing by PostsController#index as HTML
|
139
|
-
[1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" LIMIT 1
|
140
|
-
Rendered posts/index.html.erb within layouts/application (3.0ms)
|
141
|
-
[1m[36mMetaTag Load (0.3ms)[0m [1mSELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
142
|
-
Completed 200 OK in 106ms (Views: 103.7ms | ActiveRecord: 0.5ms)
|
143
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
144
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
145
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
146
|
-
[1m[36mMetaTag Exists (0.3ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
147
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
148
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
149
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
150
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
151
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
152
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
153
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
154
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1[0m
|
155
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
156
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1[0m
|
157
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
158
|
-
[1m[36mSQL (0.5ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["title", "Test category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
159
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
160
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "test, keywords"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
161
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
162
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "category og:title"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
163
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
164
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "dynamic og:title - %{post.title}"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
165
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
166
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
167
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
168
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
169
|
-
Processing by PostsController#show as HTML
|
170
|
-
Parameters: {"id"=>"1"}
|
171
|
-
[1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" LIMIT 1
|
172
|
-
[1m[36mPost Load (0.2ms)[0m [1mSELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1[0m [["id", "1"]]
|
173
|
-
[1m[35mMetaTag Load (0.3ms)[0m SELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'
|
174
|
-
Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.6ms)
|
175
|
-
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
176
|
-
[1m[35m (0.1ms)[0m begin transaction
|
177
|
-
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
178
|
-
[1m[35mMetaTag Exists (0.2ms)[0m SELECT 1 AS one 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
|
179
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
180
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
181
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
182
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
183
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
184
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
185
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
186
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
187
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1[0m
|
188
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
189
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1[0m
|
190
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["title", "Test category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
191
|
-
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "test title"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
192
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test, keywords"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
193
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "test description"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
194
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "category og:title"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
195
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
196
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "dynamic og:title - %{post.title}"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
197
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
198
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
199
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?)[0m [["content", "test_content"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
200
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
201
|
-
Processing by PostsController#show as HTML
|
202
|
-
Parameters: {"id"=>"1"}
|
203
|
-
[1m[36mCategory Load (0.2ms)[0m [1mSELECT "categories".* FROM "categories" LIMIT 1[0m
|
204
|
-
[1m[35mPost Load (0.1ms)[0m SELECT "posts".* FROM "posts" WHERE "posts"."id" = ? LIMIT 1 [["id", "1"]]
|
205
|
-
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
206
|
-
Completed 200 OK in 5ms (Views: 3.0ms | ActiveRecord: 0.5ms)
|
207
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
208
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
209
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
210
|
-
[1m[36mMetaTag Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
211
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
212
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'keywords' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
213
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
214
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'description' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
215
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
216
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 'f') LIMIT 1[0m
|
217
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
218
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1[0m
|
219
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
220
|
-
[1m[36mMetaTag Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "meta_tags" WHERE ("meta_tags"."name" = 'og:title' AND "meta_tags"."taggable_type" = 'Category' AND "meta_tags"."taggable_id" IS NULL AND "meta_tags"."is_dynamic" = 't') LIMIT 1[0m
|
221
|
-
[1m[35mMetaTag Exists (0.1ms)[0m SELECT 1 AS one 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
|
222
|
-
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "categories" ("created_at", "title", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["title", "Test category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
223
|
-
[1m[35mSQL (0.3ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test title"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
224
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "test, keywords"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "keywords"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
225
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "test description"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "description"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
226
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "category og:title"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", false], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
227
|
-
[1m[35mSQL (0.2ms)[0m INSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["content", "title %{post.title}, content %{post.content}, notes %{post.notes}"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", true], ["name", "title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
228
|
-
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "meta_tags" ("content", "created_at", "is_dynamic", "name", "taggable_id", "taggable_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["content", "dynamic og:title - %{post.title}"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["is_dynamic", true], ["name", "og:title"], ["taggable_id", 1], ["taggable_type", "Category"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
229
|
-
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
230
|
-
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
231
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "posts" ("content", "created_at", "notes", "title", "updated_at") VALUES (?, ?, ?, ?, ?) [["content", "test_content"], ["created_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00], ["notes", "test_notes"], ["title", "test_title"], ["updated_at", Sat, 05 Jan 2013 21:59:37 UTC +00:00]]
|
232
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
233
|
-
Processing by PostsController#index as HTML
|
234
|
-
[1m[35mCategory Load (0.2ms)[0m SELECT "categories".* FROM "categories" LIMIT 1
|
235
|
-
[1m[36mMetaTag Load (0.2ms)[0m [1mSELECT "meta_tags".* FROM "meta_tags" WHERE "meta_tags"."taggable_id" = 1 AND "meta_tags"."taggable_type" = 'Category'[0m
|
236
|
-
Completed 200 OK in 5ms (Views: 3.2ms | ActiveRecord: 0.4ms)
|
237
|
-
[1m[35m (0.3ms)[0m rollback transaction
|
238
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
239
|
-
Processing by WelcomeController#index as HTML
|
240
|
-
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
241
|
-
[1m[35m (0.1ms)[0m rollback transaction
|